1821643 Members
3241 Online
109633 Solutions
New Discussion юеВ

/etc/rc.log filling up

 
SOLVED
Go to solution
Philip Dunn_1
Frequent Advisor

/etc/rc.log filling up

Hi everyone,
I have an annoying problem in that my rc.log file keeps filling up despite the server being up and running.

Every minute or so something is writing the following...

at com.hp.xpsl.xml.Utilities.parseInputStream(Utilities.java:158)
at com.hp.xpsl.xml.Utilities.sendToServer(Utilities.java:206)
at com.hp.xpsl.xml.SerializingMethods.receiveViaXML(SerializingMethods.java:64)
at com.hp.xpsl.hostagent.HostAgent.getHostConfig(HostAgent.java:616)
at com.hp.xpsl.hostagent.HostAgent.run(HostAgent.java:206)
at com.hp.xpsl.hostagent.HostAgent.main(HostAgent.java:130)

Anyone have any ideas?

Thanks in advance

Phil
4 REPLIES 4
RAC_1
Honored Contributor
Solution

Re: /etc/rc.log filling up

Poor coding. Why a program/apps should write to rc.log except startup scripts? Check what program/apps is doing that.

fuser -u /etc/rc.clog
lsof /etc/rc.log
There is no substitute to HARDWORK
Pete Randall
Outstanding Contributor

Re: /etc/rc.log filling up

Perhaps you have an "at" job that re-schedules itself every minute and (mistakenly) writes to /etc/rc.log? Do an "at -l" and see what's out there.


Pete

Pete
Bill Hassell
Honored Contributor

Re: /etc/rc.log filling up

Check your startup scripts in /sbin/init.d:

ll -t /sbin/init.d

Check the scripts listed at the top of this list as they have been recently changed. Look for custom scripts that are starting Java programs. It would appear that one of these scripts is not exiting. Processes that are launched in startup scripts must be placed in the background or the program(s) turn into daemon processes. Apparently a Java process is still running (and running in a debug/trace mode).

Normally, /etc/rc.log is only used during during startup and shutdown although there is nothing to prevent some Java coder (with root privileges) from writing directly to this file.


Bill Hassell, sysadmin
Philip Dunn_1
Frequent Advisor

Re: /etc/rc.log filling up

Thanks for all your replys,
Looks like its the xppa agent going screwy.
I'll try restarting it and see what happens!
Very helpful and fast as always.

Phil