1819578 Members
3288 Online
109603 Solutions
New Discussion юеВ

Re: /var/log full

 
SOLVED
Go to solution
Mathieu P.
Advisor

/var/log full

Hello, I have a puzzling problem.

I have 11.31 and there is something filling up my log. I dont quite understand it (I also think it may relates to other troubles in the bootup process.

I have attached the full " HP-UX Start-up in progress", any suggestions !?

Thx,

Matt.
Programmers are tools to convert cafeine into code.
10 REPLIES 10
Pete Randall
Outstanding Contributor

Re: /var/log full

First off, it would be helpful to know what is mounted at /dev/vg00/lvol8. Post "bdf" output so we can tell. Presumably it is /var and it is /var that is full, not /var/log. Post the output of "du -sk /var/* |sort -n" and we can take a look at what might be filling things.


Pete

Pete
James R. Ferguson
Acclaimed Contributor

Re: /var/log full

Hi Matt:

OK, so what's taking all of your space in '/var'?

You might run 'cleanup -c 1' to discard rollback copies of patches superceded at least once. Do *not* remove anything manually from '/var/adm/sw'.

See if you have any crash dumps in '/var/adm/crash'.

You could look at your logs in '/var/adm' too.

Regards!

...JRF...
Mathieu P.
Advisor

Re: /var/log full

Problem is that I cant bootup, hangs on bootup at : "Start NFS core system.

So for now I managed to go single user mode (hpux -is).


Programmers are tools to convert cafeine into code.
Torsten.
Acclaimed Contributor
Solution

Re: /var/log full

Reason for this is the failed network start.

This must be fixed first - besides the space problem.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
James R. Ferguson
Acclaimed Contributor

Re: /var/log full

Hi (again) Matt:

> Problem is that I cant bootup, hangs on bootup at : "Start NFS core system

You might be able to break this by hitting the CONTROL key plus a pipe ( "|" ) symbol.

This will allow you to continue the startup.

Regards!

...JRF...
James R. Ferguson
Acclaimed Contributor

Re: /var/log full

Hi (again):

> Problem is that I cant bootup, hangs on bootup at : "Start NFS core system.

Well, stating that that was your principal question at the onset would have been more appropriate than the subject line you did.

Regards!

...JRF...
Mathieu P.
Advisor

Re: /var/log full

bdf output :
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 1048576 315384 727480 30% /
/dev/vg00/lvol1 1835008 291216 1531824 16% /stand
/dev/vg00/lvol8 8912896 8912896 0 100% /var
/dev/vg00/lvol7 4456448 2854712 1589296 64% /usr
/dev/vg00/lvol4 524288 21176 499192 4% /tmp
/dev/vg00/lvol6 10485760 4961384 5481272 48% /opt
/dev/vg00/lvol5 114688 5840 108008 5% /home
DevFS 13 13 0 100% /dev/deviceFileSystem
Programmers are tools to convert cafeine into code.
Vivek Bhatia
Trusted Contributor

Re: /var/log full

Hi,

As i have gone through the logs attached.

Error:
vxfs: msgcnt 4 mesg 001: V-2-1: vx_nospace - /dev/vg00/lvol8 file system full

This is the error which has repeated many times, so it seems that someone has copied and /var is full.

so you can run du command to check the files with maximum size.

du -k /var/* |sort -n -r |more

1. Check if someone has accidently copied a big file in /var
2. Increase the size of /var of space is available in the VG using

fsadm -F vxfs -b M /var
fsadm -F vxfs -b 6000M /var
so the size of the /var becomes 6000MB.

Revert if you have any other question.

Regards
Vivek Bhatia

Mathieu P.
Advisor

Re: /var/log full

Ok,

problem is /var/opt/hpsmh/session/0001

I had HUGE logs in there ! Thats what happens when you dont kill jobs running in the background !

So I deleted these files, /var went from 100% to 7 % !


Thanks all :)


Programmers are tools to convert cafeine into code.
Victor Fridyev
Honored Contributor

Re: /var/log full

Hi,
Can you check name resolution for the server hostname ? Usually such a thing happens when the hostname is defined differently in /etc/hosts (or NIS, or DNS) and /etc/rc.config.d/netconf

HTH
Entities are not to be multiplied beyond necessity - RTFM