ispCP - Board - Support
Daemon not running (Architecture issue?) - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: Daemon not running (Architecture issue?) (/thread-2493.html)

Pages: 1 2


RE: Daemon not running (Architecture issue?) - DaSilva - 03-01-2008 03:31 AM

update-rc.d ispcp_daemon defaults 99

gave me this:

System startup links for /etc/init.d/ispcp_daemon already exist.

So what should I do now?

EDIT: I just started the machine and now the daemon is already up! Don't know why...


RE: Daemon not running (Architecture issue?) - DaSilva - 03-02-2008 10:11 AM

I always have this error message when I type "/etc/init.d/ispcp_daemon stop":

Stopping ispCP GUI-Backend communication Daemon: ispcp_daemon/sbin/start-stop-daemon: warning: failed to kill 24080: No such process
.

The daemon will be stopped but how can I fix this error message?


RE: Daemon not running (Architecture issue?) - Cube - 03-02-2008 10:33 AM

I can confirm this error. Seems to be a bug.
Other example:
Code:
# /etc/init.d/ispcp_daemon start
Starting ispCP GUI-Backend communication Daemon: ispcp_daemon.
# /etc/init.d/ispcp_daemon restart
Stopping ispCP GUI-Backend communication Daemon: ispcp_daemon/sbin/start-stop-daemon: warning: failed to kill 29859: No such process
.
Starting ispCP GUI-Backend communication Daemon: ispcp_daemon.
# /etc/init.d/ispcp_daemon stop
Stopping ispCP GUI-Backend communication Daemon: ispcp_daemon.
#
# ps ax | grep ispcp
29884 ?        S      0:00 /var/www/ispcp/daemon/ispcp_daemon -- -p /var/run/ispcp_daemon.pid
29912 pts/0    R+     0:00 grep ispcp



RE: Daemon not running (Architecture issue?) - joximu - 03-02-2008 11:19 AM

Yes - it's a little bug. But not critical.


RE: Daemon not running (Architecture issue?) - DaSilva - 03-02-2008 08:43 PM

And how can I fix it?


RE: Daemon not running (Architecture issue?) - joximu - 03-02-2008 08:48 PM

read the init script and the helper scripts delivered by debian and write a correction.


RE: Daemon not running (Architecture issue?) - Breaki - 03-02-2008 08:56 PM

i'm sitting here for two hours now, and tested everything, but i can't find the error... the one thing i don't understand... if you restart the server, the first time you shutdown the daemon it prints this error, but the next times not... and everytime on start it creates the pid-file with the right pid, and on stop it deletes it, so everything is o.k. ...

Greetz

*confused*


RE: Daemon not running (Architecture issue?) - gOOvER - 03-02-2008 11:16 PM

@Breaki: Take a look at the german Corner. Joxi and I talked about this error. maybe it helps.


RE: Daemon not running (Architecture issue?) - Breaki - 03-03-2008 08:35 AM

yes, i have seen it and tried to implement some code in the daemon to delete the pid file short before it stops, but something went wrong. maybe i have this week a bit time to try more and understand why some parts of the code are not executed and why the one command is executed before it should ( atexit() should only be executed if the daemon gets a stop ... )
but i will have a eye on it Wink

Greetz