Operating System - HP-UX
1834602 Members
4118 Online
110069 Solutions
New Discussion

var/opt/hparray/log files

 
Michael Bowler
Occasional Contributor

var/opt/hparray/log files

I have been following the results of a previous query regarding the "L0000???" logfiles in "/var/opt/hparray/log" and am still a little unclear on some points. Can you just delete some of these files with "rm", or do they all have to be deleted at once, or should they only be cleared using the arraylog commands? Any assistance would be gratefully received!
Regards,
Mikey.
3 REPLIES 3
Bill McNAMARA_1
Honored Contributor

Re: var/opt/hparray/log files

How do I get rid of the "warning: log full" message on the display panel?
This is a sign that something bad has been happening to the array while you have been running with the ARMServer off. Otherwise, the messages would have been recorded in the /var/opt/hparray log files and then deleted from the array. You can turn on the ARMServer and let it dump the logs. Then use logprint to see what's been happening to your array. You can also clear the logs by force using arraylog.

or...

Stop ARMServer daemon

/sbin/init.d/hparray stop

Remove everything in array log directory

cd /var/opt/hparray/log

pwd (to ensure we are in the log directory

rm -i *

will force you to confirm deletion of each file

Create empty catalog file /var/opt/hparray/log
touch LOGCATLG

Restart the ARMServer daemon

/sbin/init.d/hparray start

Wait for the ioscan to complete and the ARMServer to start and the array is now ready to go.

Later,
Bill
It works for me (tm)
Vincenzo Restuccia
Honored Contributor

Re: var/opt/hparray/log files

arraylog -C -c


Vincenzo Restuccia
Honored Contributor

Re: var/opt/hparray/log files

/opt/hparray/bin/arraylog -C -c .