Can't stop/restart directadmin service

duskhorizon

New member
Joined
Apr 16, 2020
Messages
2
Code:
root@srv1:/var# service directadmin stop
Stopping DirectAdmin: [ FAILED ]

Code:
root@srv1:/var# service directadmin restart
Stopping DirectAdmin: [ FAILED ]
Starting DirectAdmin: [ OK ]

following advice i found on this forum i did :

- checked /var/log/directadmin/error.log - nothing found about that issue
- tried to run ./directadmin manually :

Code:
root@srv1:/usr/local/directadmin# ./directadmin
Bind Error: Make sure there aren't any copies running in the background
Address already in use

If DirectAdmin is running, but you cannot connect to port 8080, check this guide:
http://help.directadmin.com/item.php?id=75

so it is working in background it seems like, any help would be appreciated
 
Als in your second command, you can see that Directadmin is started.
It says "Starting Directadmin: [OK]" so it is started.
So you can't start it a second time.

Is the only problem you can't stop or restart? Have you tried a server reboot?

root@srv1:/usr/local/directadmin# ./directadmin
This is not what it said. It said: ./diretadmin b200
The b200 is important because it starts a debug level which shows more information.

However, as said, you can't start a new instance when already one is running.
Try this command to stop it:
killall -9 directadmin
 
Back
Top