What to do with DA after installation of Debian 8?

THN Data

Verified User
Joined
Jun 2, 2013
Messages
39
My VPS host have changed my License to Debian 8 but my Directadmin values state still Debian 6.

Code:
server:~# /usr/local/directadmin/directadmin o
Compiled on 'Debian 6.0 64-bit'
Compile time: Feb 21 2016 at 01:51:03
Compiled with IPv6

What shall i do next to upgrade my Directadmin to the right license version?

Best regards
Jukka
 
Thanks Alex.

Code:
server:~# cd /usr/local/directadmin/scripts
server:/usr/local/directadmin/scripts# ./getLicense.sh mykey mykey 109.74.2.21
--2016-04-19 18:04:49--  https://www.directadmin.com/cgi-bin/licenseupdate?lid=mykey&uid=mykey
Resolving www.directadmin.com (www.directadmin.com)... 216.144.255.179
Connecting to www.directadmin.com (www.directadmin.com)|216.144.255.179|:443...                                                  connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/octet-stream]
Saving to: â/usr/local/directadmin/conf/license.keyâ

/usr/local/directad     [ <=>                  ]   1.52K  --.-KB/s   in 0s

2016-04-19 18:04:50 (9.20 MB/s) - â/usr/local/directadmin/conf/license.keyâ save                                                 d [1559]

server:/usr/local/directadmin/scripts# /etc/init.d/directadmin restart
Stopping DirectAdmin: [ FAILED ]
Starting DirectAdmin: [ OK ]

Then i do this.
Code:
killall -9 directadmin
server:~# /etc/init.d/directadmin start
Starting DirectAdmin: [ OK ]
server:~# /etc/init.d/directadmin restart
Stopping DirectAdmin: [ OK ]
Starting DirectAdmin: [ OK ]

But the version does not update

Best regards
Jukka
 
Last edited:
Contact VPS host for details.


You can probably still run Directadmin compiled for Debian 6 on your Debian 8 with this option enabled:


Code:
echo "systemd=1" >> /usr/local/directadmin/conf/directadmin.conf


and restart directadmin.
 
Thanks Alex.

DA seems to work as it should even if it seems to be compiled with the wrong Debian version.

The one thing that don't work is when i try to say restart httpd in DA trough the Service Monitor i get this error
Code:
Cannot find the script
 

Details

/etc/init.d/httpd

It's not a biggie but would be nice to get this working to. It could also be that this isn't a DA problem.

Best Regards
Jukka
 
Last edited:
Alex.. You know your stuff.

I did that but it didn't work the first time and now i ran it again and it works flawless.

Big thanks again. I do this on my three servers and all good to go.

Best Regards
Jukka
 
Last edited:
You're welcome. ;)

If you add a new line into directadmin.conf in a file editor remember to add an empty line, otherwise directadmin won't see the added line.
 
Back
Top