Operating System - HP-UX
1748058 Members
5378 Online
108758 Solutions
New Discussion юеВ

var files ystsme full, unbale to stop diagnostic

 
trilok_pvp
Frequent Advisor

var files ystsme full, unbale to stop diagnostic

Hi All,

Suddenly my var file system is getting full 100%. When i checked the var, stm logs are created more and disk reached full.

i had already moved the log files, but when i try to stop the stm. it is given error as unable to excutive the permission.

/sbin/init.d/diagnostic stop

3 REPLIES 3
Deepankar Panda
Advisor

Re: var files ystsme full, unbale to stop diagnostic

Hi..,
Please dont worry.
there are many ways that you can reduce the /var.

please use
cleanup -p -c 1 then
cleanup -c 1

what it will do that the patches that has been superseed at least once will be cleaned up from the sw.. which resides in side the /var/opt/sw.
then as a result the /var file system will be recuced by some extend..
another way also there... the syslog.log file may be occupying a big space.. so we need to trim the syslog file..

As you told that u had already moved the log file.. then please do a bdf
and check the status of /var file system.

But you are saying the stm issue is there...
so please refer to
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=958767

Hope this helps

Thanks
Kapil Jha
Honored Contributor

Re: var files ystsme full, unbale to stop diagnostic

what exactly is the error?
what verion of hpux and what stm version?

still stm logs filling up the space or it stopped.

do u have lsof.
BR,
Kapil+
I am in this small bowl, I wane see the real world......
Suraj K Sankari
Honored Contributor

Re: var files ystsme full, unbale to stop diagnostic

Hi,

did you check what the big files under /var use this command.
#find /var -size +100000 -exec ls -lrt {} \;

please let me know the output.

Suraj