setup.sh aborts with exit 1

Bitboxes

New member
Joined
Jun 30, 2022
Messages
3
on a clean os install i'm getting an error with the install

2022/06/30 20:27:10 fatal executing cli command error=install directadmin: exit status 1

any ideas?
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
10,486
Location
LT, EU
Thank you for the details. The problem is caused by:
Code:
Could not set property: Failed to activate service 'org.freedesktop.hostname1': timed out (service_start_timeout=25000ms

For example, if we execute:
Code:
[email protected]:~# hostnamectl set-hostname server.your-server.net


Could not set property: Connection timed out

May you try updating/rebooting the server to see that solves it?
 

Bitboxes

New member
Joined
Jun 30, 2022
Messages
3
Thank you for checking. some digging into that and abit of googling, seems to be a LXC bug of the vps server that stops the systemd-hostnamed service from working.

<code below for any one wondering what it was doing>
Code:
[email protected]:~# systemctl restart systemd-hostnamed
Job for systemd-hostnamed.service failed because the control process exited with error code.
See "systemctl status systemd-hostnamed.service" and "journalctl -xe" for details.
[email protected]:~# journalctl -xe
Jul 02 09:34:54 server named[364]: all zones loaded
Jul 02 09:34:54 server named[364]: running
Jul 02 09:35:04 server named[364]: managed-keys-zone: Unable to fetch DNSKEY set '.': timed out
Jul 02 09:35:04 server named[364]: resolver priming query complete
Jul 02 09:35:41 server systemd[1]: Starting Hostname Service...
░░ Subject: A start job for unit systemd-hostnamed.service has begun execution
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit systemd-hostnamed.service has begun execution.
░░
░░ The job identifier is 453.
Jul 02 09:35:41 server systemd[376]: systemd-hostnamed.service: Failed to set up mount namespacing: Permission denied
Jul 02 09:35:41 server systemd[376]: systemd-hostnamed.service: Failed at step NAMESPACE spawning /lib/systemd/systemd-hostnamed: Permission denied
░░ Subject: Process /lib/systemd/systemd-hostnamed could not be executed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The process /lib/systemd/systemd-hostnamed could not be executed and failed.
░░
░░ The error number returned by this process is ERRNO.
Jul 02 09:35:41 server systemd[1]: systemd-hostnamed.service: Main process exited, code=exited, status=226/NAMESPACE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ An ExecStart= process belonging to unit systemd-hostnamed.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 226.
Jul 02 09:35:41 server systemd[1]: systemd-hostnamed.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit systemd-hostnamed.service has entered the 'failed' state with result 'exit-code'.
Jul 02 09:35:41 server systemd[1]: Failed to start Hostname Service.
░░ Subject: A start job for unit systemd-hostnamed.service has failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit systemd-hostnamed.service has finished with a failure.
░░
░░ The job identifier is 453 and the job result is failed.
 
Top