• We had to restore from a backup today after a failed software update. Backup was from 0000 EDT and restored it at 0800 EDT so we lost about 8hrs. Today is 07/20/2024. More info here.

Service cannot start



Pb: cannot start a service.
OS:Ubuntu 10.04.4
Login via ssh as root. To launch an app: Run "xxx.sh", OK. Run "start-stop-daemon --start –background --exec xxx.sh", Ok too. (checked with ps and netstat.)
But run "service service_script start" without any effect (in service_script, do_start() contains only "start-stop-daemon --start –background --exec xxx.sh" which has been proved workable above). And the script can be started as service at other PCs of Ubuntu.
What can the problem be? How can I get the failure msg, such like logs, in the system? Well I configured daemon.log but seems no msg related logged.

Thanks for any possible clues and helps.

Members online

No members online now.