|
From: Nicolas V. <ni...@va...> - 2008-01-09 10:47:50
|
hareesh 83 nair a écrit : > > > > Dear Sir, > > I have succesfully, created a new syetem service for RHE > 4.0 (32-bit) using 32-bit wrapper for linux. I have created link to > the shell script to start my appln in /etc/init.d/. I am able to > start/stop the services mannualy by typing '/etc/init.d/myservice > start' . But when I rebooted the machine, while booting it says that > "Starting myservice" > > But after login , I found that it is not running. Mannually I can > start. What may be the problem? Please help me out. > First thing, are you 'root' when you are running '/etc/init.d/myservice start' ? At boot time, this command is running as 'root' user. Try to type 'service myservice start' instead of '/etc/init.d/myservice start'. Second thing, environements variables are different during the init process. Hope that helps, Regards Nicolas |