I have a java processing running as a system service using a shell script to launch it. It runs under a user other than root via sudo -u.
The process runs just fine but seems to die sometimes for no apparent reason. When the process is killed normally (via service stop), it fires a shutdown hook in java and you can see the process going away.
What I see in the log now is nothing the process just dies. When I checked the system.log I found at the same time this:
Code:
messages:Mar 2 19:43:22 beta_web gconfd (sifagent-16786): starting (version 2.14.0), pid 16786 user 'sifagent'
messages:Mar 2 19:43:22 beta_web gconfd (sifagent-16786): Resolved address "xml:readonly:/etc/gconf/gconf.xml.mandatory" to a read-only configuration source at position 0
messages:Mar 2 19:43:22 beta_web gconfd (sifagent-16786): Resolved address "xml:readwrite:/home/sifagent//.gconf" to a writable configuration source at position 1
messages:Mar 2 19:43:22 beta_web gconfd (sifagent-16786): Resolved address "xml:readonly:/etc/gconf/gconf.xml.defaults" to a read-only configuration source at position 2
The user is just for this service, so they didn't have a home. Previously the same gconfd message appeared but with an error about not having a writable home. I fixed that and part but the apparent connection between the gconfd messages in system.log and the java process having died persist.
Any ideas?
Thanks
-Doug