Disk Enclosures
1751957 Members
5448 Online
108783 Solutions
New Discussion юеВ

Re: Clearing ARMServer Log files

 
SOLVED
Go to solution
Daniel Spooner
Occasional Contributor

Clearing ARMServer Log files

Hi,

How can I clear the ARMServer log files in /var/opt/hparray/log? They are taking up a fair amount of disk space.

arraylog -C -c looks like it should do the job, but it doesn't.

Thanks
Dan
2 REPLIES 2
Eugeny Brychkov
Honored Contributor
Solution

Re: Clearing ARMServer Log files

Dan,
this command you wrote clears logs in controllers themselves, not really in directory on the connected host. To remove logs do the following:
- stop ARMServer;
- remove all log files (rm);
- create empty file 'touch LOGCATG' in logs directory;
- start ARMServer
Eugeny
Daniel Spooner
Occasional Contributor

Re: Clearing ARMServer Log files

Good Stuff Eugeny,

I had to touch LOGCATLG, but that's it all sorted.
Thanks
Dan