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
Start a service on HPUX at boot
services;startup;hp ux
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/.