View Full Version : directadmin: cannot execute binary file?
micheld
11-28-2011, 01:26 PM
Hello,
I hope someone can help me? I wait many days for e-mail support, so i place it here.
On friday i try to update diirectadmin to the last version 1.4.0 on the the system CentOS release 5.7 (Final) 32bit.
I do this the last 3 years on this way:
cd /usr/local/directadmin/custombuild
./build update
./build clean
./build versions
But i get :
-bash: ./directadmin: cannot execute binary file
I found on google and the forum the OS and license setting is not correct.
On friday the support tell me : Do this (the change license setting the 64 to 32bit):
http://help.directadmin.com/item.php?id=29
Everything work download update en extract the update, but when i do this
[root@www3 directadmin]# ./directadmin p
-bash: ./directadmin: cannot execute binary file
Stil same error but the last support answer was on friday and still no answer, i hope someone can help me here. I have 3 same systems only one have this problem, please help me!
Best regards,
Michel
Do this then after you run the above commands...it will tell you whats wrong.
head -n 1 update.tar.gz
micheld
11-28-2011, 01:38 PM
Thanks for the fast replay :-)
I get no errors for extracting the update.tar.gz file. But when i start it i get some strange characters! see:
[root@www3 directadmin]# head -n 1 update.tar.gz WÚÍNÄ
UÇ@x¨8f5¢
< DD!F|T:ÝÕé&ý¢º;TøB|QQGÄ¢£ø*È£2ÌÎ,2ãÂÎÙesVdge¿ï«êô¿söåÙâ|¹õÿÕ*{¿ÿ½·«JÅ´-oÂã +/3JK+*ÊËÇ/-#^ZVQ^j|oÁ'<va¡aG£¿WÏ´¿ßQúÿÙNVY1¦b\q<Z\&mÎØMê§ÆcÛ÷©3||ÉæË&ý©|bñÁ/×Îi-<¹bØ:öwQ4Q¼%¥Qìqu«[R|HQA±â-î±w(®q÷ï¡XçîÏwËO(ºû©1¾Þ-Û)n¦¸¢bµËߣh£Eñ2Eb»{ìY·|Ò-ºå¯)~âîÿâD
Michel
I am not sure what that means. It might just mean there is no error.
Did you try to chmod the directadmin binary?
chmod 0755 /usr/local/directadmin/directadmin
cd /usr/local/directadmin
./directadmin p
micheld
11-29-2011, 06:53 AM
Yes i try but thats not the problem:
[root@www3 ~]# cd /usr/local/directadmin
[root@www3 directadmin]# chmod 0755 /usr/local/directadmin/directadmin
[root@www3 directadmin]# ./directadmin p
-bash: ./directadmin: cannot execute binary file
I still waiting for support e-mail? Thanks for helping me!
zEitEr
11-29-2011, 07:16 AM
Then I guess, you still got wrong binary. Make sure you download correct archive for your OS type and architecture.
SeLLeRoNe
11-29-2011, 07:16 AM
as far as ive read on
http://help.directadmin.com/item.php?id=267
should be related on bad os version in client section, check it please
Regards
micheld
11-29-2011, 07:28 AM
Yes i think that the problem i get a 64bit binary on a 32bit system, but stil waiting for support. The support (Mark) can change it on my license...and for the updates. I use CentOS 5.7 (final) 32bit.
Hope the support of directadmin can change/help me, some customers waiting....for 3 days!
SeLLeRoNe
11-29-2011, 07:43 AM
Ok so for sure that is the problem, try use safesubmit: https://www.directadmin.com/clients/safesubmit.php
Regards
zEitEr
11-29-2011, 07:47 AM
Yes i think that the problem i get a 64bit binary on a 32bit system, but stil waiting for support. The support (Mark) can change it on my license...and for the updates. I use CentOS 5.7 (final) 32bit.
Hope the support of directadmin can change/help me, some customers waiting....for 3 days!
If you've got a valid update.tar.gz on any other CentOS 5.x of yours, you might want to update it manually.
micheld
11-29-2011, 12:25 PM
Thanks i try the safesubmit, and now i wait ;-)
Also i have 3 other systems same OS and ZEiter that's a good idea, i already think about it, but i do not now if there any license in the file "update.tar.gz
Thanks for helping me!
zEitEr
11-29-2011, 08:42 PM
License file comes separately.
micheld
11-29-2011, 11:39 PM
The support anwser on the safesubmit: https://www.directadmin.com/clients/safesubmit.php :-)
And the say I think the problem was on this end -- can you please give it another try? I reset the license
And it works. :-) Thank you for helping me!
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.