DirectAdmin will not start after build update_versions

HighFly

Verified User
Joined
Jan 15, 2008
Messages
28
Hi,

I wanted to upgrade Zend version and did (by mistake) ./build update_versions.

So all my programs are up-to-date :D. But after that DA will not start. Websites are running luckily!

If i do directadmin b200 then this is the result:
Code:
server:/usr/local/directadmin# ./directadmin b200
Debug mode. Level 200

Bind Error: Make sure there aren't any copies running in the background
Address already in use

If DirectAdmin is running, but you cannot connect to port 2222, check this guide:
http://help.directadmin.com/item.php?id=75

So i've googled further and found this topic: http://www.directadmin.com/features.php?id=1168 regarding IpV6. If i do netstat -lnp | grep :2222:
Code:
server:/usr/local/directadmin# netstat -lnp | grep :2222
tcp6       0      0 :::2222                 :::*                    LISTEN      21512/directadmin

I don't have file /etc/sysctl.d/bindv6only.conf, however it seems that this server is compiled with IPv6:
Code:
server:/usr/local/directadmin# ./directadmin o
Compiled on 'Debian 6.0 64-bit'
Compile time: Dec  4 2012 at 00:18:10
Compiled with IPv6

What to do to get DA up-and-running again?

Thanks in advance!
 
Code:
server:/usr/local/directadmin# ./directadmin o
Compiled on 'Debian 6.0 64-bit'
Compile time: Dec  4 2012 at 00:18:10
Compiled with IPv6

When reading your compile time, it seems you are running a old version of DirectAdmin. So try upgrading DirectAdmin first:

Code:
cd /usr/local/directadmin/custombuild
./build update
./build update_da

If you did not run ./build update previously, that can also help. It is a good thing to always run ./build update before doing upgrades.

The line "Compiled with IPv6" is normal, I have it also, even though I am not using IPV6. So don't worry about that.
 
Last edited:
instead of ./build directadmin (option is not valid) i've used:

Code:
cd /usr/local/directadmin/custombuild
./build update
./build update_da

That did the trick! It is working now!

Thanks Ditto!
 
Sorry about saying ./build directadmin (I usually upgrade DirectAdmin from the control panel itself, so I was not sure). I am happy it is working for you now. I would recommend that you now do:

Code:
cd /usr/local/directadmin/custombuild
./build versions

Then it will show you all versions and wich of them is available to upgrade. Then do ./build NameToUpgradeHere to upgrade each one, one at the time, that is available in newer version.
 
I sometimes have this problem myself when upgrading DA (Debian).. Seems as though it doesn't shut down properly, leaving a zombie process. Need to kill the process, start it then everything is okay.
 
Hi,
me after
./build update_da
i have this error ?
./build update_da
/usr/local/directadmin/directadmin: error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file or directory
./build: line 23: [: : integer expression expected
Updating DirectAdmin
/usr/local/directadmin/dataskq: error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file or directory
Thanks
 
I guess it must be a problem of license, mail sent to OVH and directadmin.
this feels to OVH and directadmin -. OVH is the dealer licensing =
thank you
 
Back
Top