help Needed ASAP Direct Admin Service will not start

darknightmare

Verified User
Joined
Sep 18, 2013
Messages
13
Ok so I done a complete upgrade on my server via custombuild and run into a few problems after (nothing would start except httpd) after going threw and re-building/installing the services 1 by 1 with custom build I finally seem to have everything started ...except the directadmin service....I see no way to re-install this to fix the broken scripts or do I understand why it is broken I have looked at all the guides I can find on here and nothing mentions the same error I have unfortunately....so please please someone help me before I take a hammer to my monitor lol

/etc/init.d/directadmin start Starting DirectAdmin: /etc/init.d/directadmin: line 22: /usr/local/directadmin/directadmin: cannot execute binary file
[ FAILED ]

This is as far as I can get....I even tryed updating to custombuild 2.0 then re-running complete upgrade but again I just get this error

Regards
steve
 
Are your license registered on the correct OS, and also registered with the correct 32 or 64 bit? I think that is your problem. Please see this:

./install.sh: line 225: ./directadmin: cannot execute binary file: http://help.directadmin.com/item.php?id=267

If that is not the problem, then also see this:
Updating DirectAdmin Manually: http://help.directadmin.com/item.php?id=29

And this: «scsi: Is your chmod wrong on the file?»: http://forum.directadmin.com/showthread.php?t=43310&p=219896#post219896 (reply #5)

But again, I think it is that you have wrong OS in your licenses, so please check that first.
 
Are your license registered on the correct OS, and also registered with the correct 32 or 64 bit? I think that is your problem. Please see this:

./install.sh: line 225: ./directadmin: cannot execute binary file: http://help.directadmin.com/item.php?id=267

If that is not the problem, then also see this:
Updating DirectAdmin Manually: http://help.directadmin.com/item.php?id=29

And this: «scsi: Is your chmod wrong on the file?»: http://forum.directadmin.com/showthread.php?t=43310&p=219896#post219896 (reply #5)

But again, I think it is that you have wrong OS in your licenses, so please check that first.

How do I find my licence details to do update...it was installed by my webhost (wish I done it myself now lol) so they have all the licence details
 
server:/usr/local/directadmin# cat /etc/debian_version
5.0.9
server:/usr/local/directadmin# uname
Linux
server:/usr/local/directadmin# uname -r
2.6.26-2-686
server:/usr/local/directadmin# uname -m/usr/local/directadmin/directadmin o
uname: invalid option -- /
Try `uname --help' for more information.
server:/usr/local/directadmin#
server:/usr/local/directadmin# /usr/local/directadmin/directadmin o
-bash: /usr/local/directadmin/directadmin: cannot execute binary file
server:/usr/local/directadmin#
 
What are the permissions on /usr/local/directadmin/ directory and on the file: /usr/local/directadmin/directadmin ?
 
I have never seen 2755 permission used before. But I don't think that is a problem. I don't know why you can't check your compiled version with the command:
Code:
/usr/local/directadmin/directadmin o

Try to update DirectAdmin manually: http://help.directadmin.com/item.php?id=29

If you have your own license, contact DirectAdmin support, if not, ask your datacenter to contact DirectAdmin support. I don't think I am able to help anymore.

Also if you have your own license, try to log in at https://www.directadmin.com/clients/ and check what OS and version is listed on your license?

(Edit: By the way, /usr/local/directadmin/directadmin should not be 0755, but should be 0700, but that should not be the problem.)
 
Last edited:
Ok thanks for your help i will try and get in touch with the DC

Regards


I have never seen 2755 permission used before. But I don't think that is a problem. I don't know why you can't check your compiled version with the command:
Code:
/usr/local/directadmin/directadmin o

Try to update DirectAdmin manually: http://help.directadmin.com/item.php?id=29

If you have your own license, contact DirectAdmin support, if not, ask your datacenter to contact DirectAdmin support. I don't think I am able to help anymore.

Also if you have your own license, try to log in at https://www.directadmin.com/clients/ and check what OS and version is listed on your license?

(Edit: By the way, /usr/local/directadmin/directadmin should not be 0755, but should be 0700, but that should not be the problem.)
 
As I have said, I think you have the wrong OS in your license. The owner of the license need to log into https://www.directadmin.com/clients/ and check what OS, and if it is 32 or 64 bit, in the license, to see if it is the same as your server OS actually is. If not, the license holder must contact DirectAdmin support and ask them to change the OS wich is registered on the license. After you have changed the OS in the license, then you can manually update DirectAdmin. That is the only way to solve the problem.
 
Last edited:
Back
Top