On fresh installation at the end

M K Mathur

Verified User
Joined
Feb 5, 2020
Messages
15
Hi,
On fresh installation at the end I am getting following error

Job for directadmin.service failed because the control process exited with error code. See "systemctl status directadmin.service" and "journalctl -xe" for details.
[setup.sh] Failed to start directadmin service, please make sure you have a valid license
● directadmin.service - DirectAdmin Web Control Panel
Loaded: loaded (/etc/systemd/system/directadmin.service; enabled; vendor preset: disabled)
Active: activating (auto-restart) (Result: exit-code) since Mon 2022-06-20 17:05:30 IST; 15ms ago
Docs: http://www.directadmin.com
Process: 19991 ExecStart=/usr/local/directadmin/directadmin server (code=exited, status=1/FAILURE)
Main PID: 19991 (code=exited, status=1/FAILURE)

Jun 20 17:05:30 server.domain.com systemd[1]: directadmin.service: main process exited, code=exited, status=1/FAILURE
Jun 20 17:05:30 server.domain.com systemd[1]: Failed to start DirectAdmin Web Control Panel.
Jun 20 17:05:30 server.domain.com systemd[1]: Unit directadmin.service entered failed state.
Jun 20 17:05:30 server.domain.com systemd[1]: directadmin.service failed.
 
[setup.sh] Failed to start directadmin service, please make sure you have a valid license
Seems you have a license issue. Fresh installation. Is this a new license or from another system?
Did you get it from DA itself or from your hoster/datacenter?
What kind of license is it? Personal, Lite, Standard?
 
Seems you have a license issue. Fresh installation. Is this a new license or from another system?
Did you get it from DA itself or from your hoster/datacenter?
What kind of license is it? Personal, Lite, Standard?

Yes, issue was due to wrong OS license. It`s now working.
 
Now Directadmin has changed my own hostname. I have also updated hostname from control panel and reboot the server also. But command prompt is showing correct but login url is the same old. DA control panel is not loading with our hostname.domain.com.
 
hostname can be set in license descritption in DA cabinet, or OS can get it from rDNS. Check both.
 
hostname can be set in license descritption in DA cabinet, or OS can get it from rDNS. Check both.

Thanks. DA control panel is showing correct hostname. Well please let me know more about - license descritption in DA cabinet . Where can I get this ?
 
where you buy license - at directadmin.com
but i think in faster loaded from rDNS for your IP
 
Where can I get this ?
I think he means your customer account with DA if you login there.

Check if the hostname in the OS is also correct.
Issue this command via SSH as root:
hostnamectl
it will give the hostname and other info as output.

If the hostname from the OS is not correct, you can change it via the hostnamectl command.
 
Back
Top