Red Hat Enterprise Linux 4
I have added a "user defined service" named orainfra. I created in /etc/init.d/orainfra script to startup and stop some application services.
I have added the service with:
chkconfig --add orainfra
[root@svr04 ~]# chkconfig --list |grep orainfra
orainfra 0

ff 1

ff 2

ff 3

n 4

ff 5

n 6

ff
After this it added the corresponding links in rcX.d correct levels.
This line (into the script) defines the levels to run:
# chkconfig: 35 98 11
At the start of the server I can see that is trying with my service (orainfra) but the service (script) does not executes succesfully. AT startup it does not shows any messages about the succesfull or not of the service execution.
Eventhough once started the server, if I execute manually the service (orainfra) it wors fine:
service orainfra start
or
service orainfra stop
Any idea about why it is not working at the starting up of the server?