Current time: 04-30-2024, 03:10 AM Hello There, Guest! (LoginRegister)


Post Reply 
Daemon Status Codes?
Author Message
Wachert Offline
Banned

Posts: 60
Joined: Jun 2008
Post: #1
Daemon Status Codes?
What means: Daemon returned 0 as status code

What defines "0"?

In Server Status the Daemon is not running, but when i go to my shell und look in top or htop, theres a ispcp daemon running and active. After a restart the Status Page still says Daemon not running.

Maybe cos im using a vserver and iptables is not usable?
04-12-2009 09:36 PM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #2
RE: Daemon Status Codes?
Found this in the daemon:
Code:
case "$status" in
                0)
                        log_success_msg "$NAME running"
                ;;
                1)
                        log_warning_msg "$NAME not running (but pid file found)"
                ;;
                2)
                        log_warning_msg "$NAME not running (but lock file found)"
                ;;
                3)
                        log_warning_msg "$NAME not running"
                ;;
                4|*)
                        log_failure_msg "Service status is unknown"
                        exit 1
                ;;
        esac
IP-Tables are set with the ispcp_networkmanager only.

Greez BeNe
04-14-2009 04:24 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Wachert Offline
Banned

Posts: 60
Joined: Jun 2008
Post: #3
RE: Daemon Status Codes?
lol?

The Systems says Status Code 0, so the daemon is running (same says top and htop).

But under Server Status in the Panel the Daemon is shown as offline.
04-14-2009 09:03 PM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #4
RE: Daemon Status Codes?
Server status in the gui looks at the ports - e.g. localhost:9876

Maybe this may bring you to the right direction...
/J
04-14-2009 09:53 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)