Sign up ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

I'm trying to start a service on HPUX 11.31 at boot time. I generated the appropriate symlinks, but the system is not starting it up. If I run the script once the system is up, everything works as expected (but I need the service to come up at boot time by itself).

 $ ls -l /sbin/init.d/weblogic
 -rwxr-xr-x   1 oracle     oracle 3066 Sep 23 13:59 /sbin/init.d/weblogic

 $ ls -l /sbin/rc?.d/*weblogic
 lrwxr-xr-x   1 root  sys  21 Sep 23 13:38 /sbin/rc2.d/S998weblogic -> /sbin/init.d/weblogic
 lrwxr-xr-x   1 root  sys  21 Sep 23 13:38 /sbin/rc3.d/S998weblogic -> /sbin/init.d/weblogic
 lrwxr-xr-x   1 root  sys  21 Sep 23 13:38 /sbin/rc4.d/S998weblogic -> /sbin/init.d/weblogic
share|improve this question

1 Answer 1

up vote 3 down vote accepted

Weblogic server is picky about hwo it starts. Does the script /sbin/init.d/weblogic start WLS as user ID root, or does it do an "su" to some WLS-specific user ID? It seems to me that WLS refuses to run under the root user ID.

Another thing to try, change ownership of /sbin/init.d/weblogic to match other scripts in /sbin/init.d/.

share|improve this answer
Thanks for your answer. The script is not the problem, it runs like a charm on Linux, and the weblogic processes are spawned by the user that is supposed to run it. After a long debugging session I found the problem is HPUX and how the environment is inherited at boot time ... –  Torian Sep 24 '11 at 0:02

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.