Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Systemctl not found #2

Open
izzatzr opened this issue Jun 23, 2020 · 2 comments
Open

Systemctl not found #2

izzatzr opened this issue Jun 23, 2020 · 2 comments

Comments

@izzatzr
Copy link

izzatzr commented Jun 23, 2020

I got this error when running the docker image

virtualmin-7c4664cc9b-fnwtgvirtualmin2020-06-23 03:14:31,752 fail2ban.server [29]: INFO Starting in daemon mode
virtualmin-7c4664cc9b-fnwtgvirtualminTraceback (most recent call last):
virtualmin-7c4664cc9b-fnwtgvirtualmin File "/usr/bin/systemctl", line 3162, in <module>
virtualmin-7c4664cc9b-fnwtgvirtualmin result = command_func()
virtualmin-7c4664cc9b-fnwtgvirtualmin File "/usr/bin/systemctl", line 2807, in system_default
virtualmin-7c4664cc9b-fnwtgvirtualmin self.start_system_default(init = init)
virtualmin-7c4664cc9b-fnwtgvirtualmin File "/usr/bin/systemctl", line 2814, in start_system_default
virtualmin-7c4664cc9b-fnwtgvirtualmin self.start_units(default_services)
virtualmin-7c4664cc9b-fnwtgvirtualmin File "/usr/bin/systemctl", line 1280, in start_units
virtualmin-7c4664cc9b-fnwtgvirtualmin if not self.start_unit(unit):
virtualmin-7c4664cc9b-fnwtgvirtualmin File "/usr/bin/systemctl", line 1295, in start_unit
virtualmin-7c4664cc9b-fnwtgvirtualmin return self.start_unit_from(conf)
virtualmin-7c4664cc9b-fnwtgvirtualmin File "/usr/bin/systemctl", line 1317, in start_unit_from
virtualmin-7c4664cc9b-fnwtgvirtualmin run = subprocess_wait(sudo+newcmd, env)
virtualmin-7c4664cc9b-fnwtgvirtualmin File "/usr/bin/systemctl", line 410, in subprocess_wait
virtualmin-7c4664cc9b-fnwtgvirtualmin run = subprocess.Popen(cmd, shell=shell, env=env)
virtualmin-7c4664cc9b-fnwtgvirtualmin File "/usr/lib/python2.7/subprocess.py", line 711, in __init__
virtualmin-7c4664cc9b-fnwtgvirtualmin errread, errwrite)
virtualmin-7c4664cc9b-fnwtgvirtualmin File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child
virtualmin-7c4664cc9b-fnwtgvirtualmin raise child_exception
virtualmin-7c4664cc9b-fnwtgvirtualminOSError: [Errno 2] No such file or directory```
@jaylfc
Copy link

jaylfc commented Jul 1, 2020

Same here, is it related to me running Ubuntu 20.04 and it not being supported yet?

@Peelige
Copy link

Peelige commented Jul 26, 2021

Same issue here. Shame as this looks to be the defacto virtualmin image to use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants