adding net service to monitor list does not work

B3rt

Verified User
Joined
Oct 12, 2007
Messages
81
I added in /usr/local/directadmin/data/admin/services.status the value:
pdns=ON
(pdns = powerdns)

After restarting DA the service shows up in the monitor list but as not running.
When I try to start it gives an error:
An error has occurred
/sbin/service pdns start 2>&1

When I start it manually on the commandline with /sbin/service pdns start 2>&1 it starts as it suppose to be without any error, only when I try this using DA it does not work. The log file of DA does not give any error:
2010:10:06-12:42:14: pdns restarted
2010:10:06-12:43:01: pdns started

Is there something else what I should change or add to get this to work?
 
DirectAdmin doesn't know how to start the PowerDNS daemon. Have you set up the startup script properly for your OS? DirectAdmin is somehow triggering the wrong information being sent.

DirectAdmin doesn't check to see if PowerDNS has started successfully; it simply forwards the output it gets from the startup script. If the startup script doesn't report that PowerDNS hasn't started, then DirectAdmin won't tell you.

This is troubleshooting information only; I've never added any daemons to the monitor list, so I don't have more information on the details.

Jeff
 
Back
Top