PDA

View Full Version : auto restart servers?



sander815
12-20-2003, 03:37 AM
does DA auto restart a service when it goes down?

currently i can't access pop mail and webmail to check email

everythinh is running though:
Apache 1.3.28 Running
DirectAdmin 1.20.3 Running
Exim 3.36 Running
MySQL 4.0.12 Running
Named 9.2.0 Running
ProFTPd 1.2.8 Running
sshd Running
vm-Pop3d 1.1.6 Running

ProWebUK
12-20-2003, 10:14 AM
Yes if a service goes down DirectAdmin will attempt to bring it back up.

Apache
DirectAdmin
Exim
MySQL
Named
ProFTP
sshd
vm-pop3d

If you require other services to be monitered you may also want to consider installing SIM on your server.

Chris

(moved to directadmin general discussion)

DirectAdmin Support
12-20-2003, 02:27 PM
Hello,

If pop is acting up, check /var/log/messages and/or /var/log/maillog for possible causes.

John

sander815
04-23-2004, 03:57 PM
if i stop f.i. httpd by hand, in DA, should DA restart it automatically?

i just stopped it, and its been 10 min, and its still stopped....
and, on what email adress should ik get an email a service has stopped? admin's email adress?

didn't recieve anything

sander815
04-23-2004, 04:31 PM
nm, i stopped it through DA, stopping it via ssh will make DA start it again

but still, i don't get emails..........

ProWebUK
04-23-2004, 04:42 PM
You get a message in the message system to notify you the service has been restarted.

Chris

sander815
04-24-2004, 12:57 AM
i did it a few times, but no msg in msg system...
only about backups being ready

DirectAdmin Support
04-24-2004, 04:31 PM
Hello,

If the restart happens without an issue, no message is sent. Only if the restart fails does DA send you an email.

Process:

check for program?
yes: done
no: service program start

wait 10 seconds

check for program?
yes: done
no: service program restart

wait 10 seconds

check for program?
yes: done
no: send an email to all administrators.

John

brew
11-24-2004, 03:49 AM
where is the conf file installed?

can i disable monitoring?

i installed ssh2 instead of ssh

DirectAdmin Sales
11-24-2004, 12:34 PM
Hi brew,

You can disable monitoring of specific services by editing this as root:

/usr/local/directadmin/data/admin/services.status

For example, to stop DA from touching SSH set:

sshd=OFF

Mark