Operating System - HP-UX
1834586 Members
3542 Online
110069 Solutions
New Discussion

Re: What would cause rc.log to be filled with Java output?

 
John_950
New Member

What would cause rc.log to be filled with Java output?

We have a java process that runs, and the output from this process is ending up in the /etc/rc.log file. Does anyone know why this would be happening?
Thanks in advance for your help.
8 REPLIES 8
Steven E. Protter
Exalted Contributor

Re: What would cause rc.log to be filled with Java output?

Two ideas come to mind:

1) A startup script is messed up and that is supposed to go to rc.log
2) You have bad redirection in one of your scripts, directing output to the rc.log file

Check the startup script that starts the java enabled products.

Also make sure you are fully patched http://www.hp.com/go/java

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
John_950
New Member

Re: What would cause rc.log to be filled with Java output?

This java process does not run during boot-up. This is an on demand process that the users are running...
Steven E. Protter
Exalted Contributor

Re: What would cause rc.log to be filled with Java output?

Okay, to clarify, if you start oracle for example, it does start a java server process. This could be to blame.

Otherwise, check into option 2 and patches.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
john korterman
Honored Contributor

Re: What would cause rc.log to be filled with Java output?

Hi,
have you checked whether the user starting up the application has an environment variable pointing at /etc/cr.log?

regards,
John K.
it would be nice if you always got a second chance
Kent Ostby
Honored Contributor

Re: What would cause rc.log to be filled with Java output?

John --

Can you tell us how the process is started ?

If its in a script, can you post it ?

As for why, there is no default behaviour that would point us to rc.log so it would have to be in an environment variable, .profile or some other file.

Have the users type "env" and see if there is some variable there that is pointing us to rc.log.

"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
B. Hulst
Trusted Contributor

Re: What would cause rc.log to be filled with Java output?

Hi,

You could also have your log deamon write into the rc.log file.

Check in /etc/syslog.conf, the configuration file for syslog deamon.

You should check if there is any entry about rc.log.

- Bob
John_950
New Member

Re: What would cause rc.log to be filled with Java output?

It was the Oracle Forms server that was running. We fixed it, thanks for the help.
John_950
New Member

Re: What would cause rc.log to be filled with Java output?

See comment above.