Operating System - HP-UX
1751692 Members
4778 Online
108781 Solutions
New Discussion юеВ

Re: /tmp directory extension help needed!!!!

 
SOLVED
Go to solution
Horia Chirculescu
Honored Contributor

Re: /tmp directory extension help needed!!!!

You must log into your system using root credentials.

Horia.

Best regards from Romania,
Horia.
Horia Chirculescu
Honored Contributor

Re: /tmp directory extension help needed!!!!

.. or any other user you are using on your HP-UX server and then su to root if you prefer this approach.

Horia.
Best regards from Romania,
Horia.
Zishan
Regular Advisor

Re: /tmp directory extension help needed!!!!

I connect to CO with root user

>Login then stop your application.

Pls tell me how to stop my application (command).

Regars,
Horia Chirculescu
Honored Contributor

Re: /tmp directory extension help needed!!!!

"application" means any application you are running on your server.

Any application have specific requirements and must be stopped according to those requirements. You should know the applications running on the server. Ask someone who knows better your server - maybe an application administrator ?)

Failing to properly close your applications can lead to loss of data, and even can render your applications on some inconsistent state.

Horia.
Best regards from Romania,
Horia.
Zishan
Regular Advisor

Re: /tmp directory extension help needed!!!!

Hello horia,

I have only 10g database is running on this server. Although this is Application Administrator job but I am the only person who know little bit unix where so thats y i am asking from you :)Kinldy tell me
- how to view and stop the all application this is a testing server I can stop any application.

Regards,
Horia Chirculescu
Honored Contributor

Re: /tmp directory extension help needed!!!!

Oracle (both database and application) have scripts to start/stop the instance and the application. First you must stop the oracle application and then the instance (database).

Find out the scripts -those are usually called by some special user - one for application, another for instance.

Then su as those user(s)

su -

then run the stop script

The same for oracle application

Horia.
Best regards from Romania,
Horia.
Zishan
Regular Advisor

Re: /tmp directory extension help needed!!!!

Oracle DB is stop following is my output.

# fuser /tmp/*
/tmp/MSV2V3Check_B.11.23.0907_HP-UX_B.11.23_IA_PA.depot:
/tmp/ipv6agt.crashlog: 1372o
/tmp/llbdbase.dat:
/tmp/mail-metamail.6789.200:
/tmp/patches11g1:
/tmp/portmap.file:
/tmp/prngd.log:
/tmp/root.errorlog:
/tmp/rpcbind.file:
/tmp/sensor_info:
/tmp/stcp.conf.513:
/tmp/wd_action.dbg:

#

How to kill the remaining processes?
Pete Randall
Outstanding Contributor

Re: /tmp directory extension help needed!!!!

WHOA, WHOA, WHOA!

How about just cleaning the junk out /tmp? Using "rm -rf" is appropriate but maybe overkill. You might want to look at what is in there to start with, but /tmp is just that: a repository for temporary files for which no retention is required. If someone is misusing /tmp for other purposes, this will be a great way to find out.

The fullest /tmp I have is about 50MB so you've obviously got some crap in there.


Pete

Pete
Zishan
Regular Advisor

Re: /tmp directory extension help needed!!!!

I know but I need 3 GB space in /tmp bec I need to install oracle 11g and I put this source in /tmp.
Is there any possibility and I can create /tmp in anyother location then after installtion switch to current one ???

This I did in Tru64 Unix:
#mkfset usr_domain#tmp /tmp
#mount usr_domain#tmp /tmp
change is entry in /etc/fstab

Is there something like this in HP Ux

Regards,
Dennis Handly
Acclaimed Contributor

Re: /tmp directory extension help needed!!!!

>Is there any possibility and I can create /tmp in any other location then after installation switch to current one?

You can create a directory under /tmp and mount on top of that and if you can get Oracle to use that path it would work.

>Horia: A lot of daemons have sockets that are located on /tmp.

Right:
# lsof /tmp
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
hp_unixag 1212 root 1r DIR 64,0x3 40960 12 /tmp
ipv6agt 1223 root 1r DIR 64,0x3 40960 12 /tmp
mib2agt 1233 root 1r DIR 64,0x3 40960 12 /tmp
trapdesta 1253 root 2r DIR 64,0x3 40960 12 /tmp