Service Monitor is empty

Hello Julien,

I don't see anything in the guide which could break the service monitor. What do you see with:

Code:
cat /usr/local/directadmin/data/admin/services.status
?
 
Run this:

Code:
cd /usr/local/directadmin/custombuild
./build update

and recover services with:

Code:
./build set_service service ON

where you should replace service with a real service name.

or you can use the following from mine /usr/local/directadmin/data/admin/services.status:

Code:
directadmin=ON
dovecot=ON
exim=ON
httpd=ON
mysqld=ON
named=OFF
proftpd=ON
sshd=ON
nginx=ON
freshclam=ON
clamd=ON

You might have other services different from mine.
 
How to turn on sshd service when its currently off and I dont have access to ssh, only to DA or FTP ?
 
Connect to DirectAdmin: Admin Tools -> Service Monitor. Find sshd, try and start it there.

If it does not start then you might need to check and update its config: System Info & Files -> File Editor -> /etc/ssh/sshd_config
 
System Info & Files -> File Editor -> Modify /usr/local/directadmin/data/templates/edit_files.txt and add a line with /usr/local/directadmin/data/admin/services.status into the file using existing format of the file.

That's up to you to read format of the file /usr/local/directadmin/data/templates/edit_files.txt and follow it by adding a new line.

System Info & Files -> File Editor -> Modify /usr/local/directadmin/data/admin/services.status and add a line:

Code:
sshd=ON

That should do the things.
 
Back
Top