Invader Zim
Verified User
- Joined
- Sep 4, 2004
- Messages
- 188
So, ever since this morning DA does not start anymore. The usual
systemctl start directadmin
just gives
Job for directadmin.service failed because the control process exited with error code. See "systemctl status directadmin.service" and "journalctl -xe" for details.
journalctl -xe says
-- Unit directadmin.service has begun starting up.
directadmin[11440]: 2021/06/11 08:19:06 fatal creating second HTTP server error=listen tcp :2222: bind: address already in use port=2222
systemd[1]: directadmin.service: main process exited, code=exited, status=1/FAILURE
systemd[1]: Failed to start DirectAdmin Web Control Panel.
-- Subject: Unit directadmin.service has failed
But there's nothing listening on port 2222. Just in case, I rebooted the server, but that didn't help at all. The error remains. The error log doesn't say anything useful either.
I did see a couple of lines like this:
2021:06:11-03:00:26: addIPtoFailedAttempts: Error creating ./data/admin/ip_access/165.227.77.164: mkdir(./data/admin/ip_access/165.227.77.164) error: Permission denied<br>
but there any no weird entries in /usr/local/directadmin/data/admin/ip_access/
Debug doesn't tell me much either.
# /usr/local/directadmin/directadmin b2000
2021/06/11 08:24:32 fatal creating second HTTP server error=listen tcp :2222: bind: address already in use port=2222
systemctl start directadmin
just gives
Job for directadmin.service failed because the control process exited with error code. See "systemctl status directadmin.service" and "journalctl -xe" for details.
journalctl -xe says
-- Unit directadmin.service has begun starting up.
directadmin[11440]: 2021/06/11 08:19:06 fatal creating second HTTP server error=listen tcp :2222: bind: address already in use port=2222
systemd[1]: directadmin.service: main process exited, code=exited, status=1/FAILURE
systemd[1]: Failed to start DirectAdmin Web Control Panel.
-- Subject: Unit directadmin.service has failed
But there's nothing listening on port 2222. Just in case, I rebooted the server, but that didn't help at all. The error remains. The error log doesn't say anything useful either.
I did see a couple of lines like this:
2021:06:11-03:00:26: addIPtoFailedAttempts: Error creating ./data/admin/ip_access/165.227.77.164: mkdir(./data/admin/ip_access/165.227.77.164) error: Permission denied<br>
but there any no weird entries in /usr/local/directadmin/data/admin/ip_access/
Debug doesn't tell me much either.
# /usr/local/directadmin/directadmin b2000
2021/06/11 08:24:32 fatal creating second HTTP server error=listen tcp :2222: bind: address already in use port=2222