Directadmin does not start after update

bahramsing

Verified User
Joined
Jan 20, 2014
Messages
20
Hello
I was updated Directadmin via interface last day
After some times we get some tickets that users can not access directadmin.
Unable to connect
Firefox can't establish a connection to the server at servername.com:2222.

I found that Directadmin service is not started
[root@sky ~]# service directadmin restart
Stopping DirectAdmin: [FAILED]
Starting DirectAdmin: [FAILED]

directadmin error.log is empty, and there is not any related error in /var/log/messages
this is ./build versions output
[root@sky custombuild]# ./build versions
Latest version of DirectAdmin: 1.46.2
Installed version of DirectAdmin:

DirectAdmin [no version number here - this text added by me!] to 1.46.2 update is available.

I also used http://files.directadmin.com/services/custombuild/1.2/custombuild.tar.gz and build all command

[root@sky custombuild]# ./build update_versions
Updating DirectAdmin
[nothing happened - text added by me!]
[root@sky custombuild]#

[root@sky custombuild]# service directadmin restart
Stopping DirectAdmin: [FAILED]
Starting DirectAdmin: [FAILED]
 
It seams some files are deleted after DA update.
for example :
/etc/rc.conf
/etc/newsyslog.conf

and probably some other files.


[root@sky scripts]# ./update.sh
grep: /etc/rc.conf: No such file or directory
./update.sh: line 76: [: : integer expression expected
 
I think problem is directadmin version
It is null in server.

[root@sky custombuild]# ./build versions
Latest version of DirectAdmin: 1.46.2
Installed version of DirectAdmin: [null]

DirectAdmin to 1.46.2 update is available.
 
It looks like an incomplete setup of DA. Please check if /usr/local/directadmin/conf/directadmin.conf exists on your system, and let us know the output of "/usr/local/directadmin/directadmin o".
 
Hello
There was no problem until yesterday (before DA update). This server is online more than 1 year.
directadmin.conf exists.
unfortunately there is no output
[root@sky ~]# /usr/local/directadmin/directadmin o
[root@sky ~]#
 
Last edited:
This is latest tickets sent by directadmin:
yesterday @ 11:37
DirectAdmin has been updated
This is an automated message notifying you that the DirectAdmin software has been successfully updated.
To view what has changed, please visit:
http://www.directadmin.com/versions.php

yesterday @ 11:37
The service 'directadmin' on server sky.servername.com is currently down
This message has been automatically generated notifying you that the service directadmin is currently down.
 
I found that 3rd parameter in file /usr/local/directadmin/custombuild/versions.txt for directadmin is empty:
.
.
.
dovecot_boot_debian:1:fc8c7b09b1527b755443b3c41a899e65
directadmin:1.46.2:
exim:4.84:25e2721081e6df3d8e1bc0cf89829bb2
.
.
.

I don't know this is related to my problem or not.
 
Your versions.txt is okay. Please check:
Code:
ldd /usr/local/directadmin/directadmin
ls -l /usr/local/directadmin/directadmin
 
Your versions.txt is okay. Please check:
Code:
ldd /usr/local/directadmin/directadmin
ls -l /usr/local/directadmin/directadmin

[root@sky custombuild]# ldd /usr/local/directadmin/directadmin
not a dynamic executable
[root@sky directadmin]# ls -l /usr/local/directadmin/directadmin
-rwxr-xr-x 1 root wheel 4089562 Mar 17 2013 /usr/local/directadmin/directadmin
 
Try: /usr/local/directadmin/custombuild/build update_da

The re-update should solve your issue.

Already see this 4 times now all on the last update.

Regards
 
Try: /usr/local/directadmin/custombuild/build update_da

The re-update should solve your issue.

Already see this 4 times now all on the last update.

Regards

Hello dear
Thank you for your reply.
Unfortunately this not work too
this commant (/usr/local/directadmin/custombuild/build update_da) add a line to task.queue file.
But I can see that task.queue is growing without running any command
I checked /var/log/cron and it seams there is no problem with cron daemon
Oct 6 16:49:01 sky CROND[24678]: (root) CMD (/usr/local/directadmin/dataskq)
 
Your directadmin binary is very old, and it should be linked dynamically. What's your OS? "uname -a" might provide some useful information.
 
Your directadmin binary is very old, and it should be linked dynamically. What's your OS? "uname -a" might provide some useful information.

It is Centos 6.5 64bit
Linux 2.6.32-431.29.2.el6.x86_64 #1 SMP Tue Sep 9 21:36:05 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
, I don't know what should I do. I have only one DA server, Others are cPanel and windows..

Regards
 
May I login to your server and fix it? (free of charge) For me it seems that you still haven't replaced DirectAdmin binary files with the ones form manual update tutorial.
 
May I login to your server and fix it? (free of charge) For me it seems that you still haven't replaced DirectAdmin binary files with the ones form manual update tutorial.
Hello dear
Thank you for your reply

Server details sent. check pm please :)

Regards.
 
Back
Top