DirectAdmin, all users gone?

michel-br

New member
Joined
Sep 15, 2006
Messages
4
Hi, i got a little problem :D

Yesterday i got the message from messagesystem (after i pressed 'update' in directadmin):

"The service 'directadmin' on server <myhostname> is currently down"

So i tried to restart directadmin, but that failed. so i rebooted the machine.

Then, the worst nightmare of any hoster. the server did not came up again :(

I just came back from the datacentre and im realy tired now, and fixed the machine. (little " issue at rc.conf (oops))
And tried to start directadmin again.

I did the command:

[root@s09:/usr/local/directadmin]# ./directadmin
ELF binary type "0" not known.
-bash: ./directadmin: cannot execute binary file

Ok, strange.

Then i executed:
readelf -e directadmin. it was telling me it was a System V type.

Then i executed:
brandelf -t "Linux" directadmin

And started the service again with the same command above.

"DirectAdmin 1.27.5
Accepting Connections on port 2222"


So, wohoo i guess, directadmin was running again!

Then i tried to login at directadmin and i was getting this notice:
Invalid login. Please verify your Username and Password

Hmm, thats strange. So i tried 5 other accounts with the same result :( The first account was the root account.

I dont have a clue to check if the users are still existing :( and i dont know what the problem is :(

http, ftp, and everything is working fine except for DA

im running FreeBSD

Does anyone knows a fix for this ?
That would be awesome!!

Thanks, regards Michel.
 
Last edited:
Sure you box hasnt been rooted? Have you looked around for signs of a compromise? Unless something got corrupted it strange that you were getting that message on a binary.
 
What do you mean by rooted?

I started DirectAdmin with the user root. is that not good ?


This is what I get when starting directadmin with the user diradmin

diradmin@s09# /usr/local/etc/rc.d/directadmin start
Starting DirectAdmin: [ OK ]
touch: /var/spool/lock/directadmin: Permission denied
 
Last edited:
Can you be a little more specific and helpfull on this? this is a big deal, and i am a rookie :(
 
[root@s09:/usr/local/directadmin]# ./directadmin
ELF binary type "0" not known.
-bash: ./directadmin: cannot execute binary file
says that the binaries are corrupted, or not correct. The first thing to try is to get new ones:
http://help.directadmin.com/item.php?id=29

If you end up with the same error, then those are not the right binaries for you. You'd need to let us know what OS you're running and your license ID number and email it to support at directadmin.com requesting an OS change (then use the update guide again)

John
 
Back
Top