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

Install to Centos6.8 #169

Open
1392273211 opened this issue Nov 5, 2023 · 1 comment
Open

Install to Centos6.8 #169

1392273211 opened this issue Nov 5, 2023 · 1 comment

Comments

@1392273211
Copy link

I installed to Centos6.8 and wrote a startup script using Python system ctl. py to manage the error Traceback (most recent call last) during startup

File "/usr/bin/systemctl", line 6808, in

Sys. exit (run (command, * modules))

File "/usr/bin/systemctl", line 6564, in run

Exitcode=is_ Not_ OK (systemctl. start_modules (* modules))

File "/usr/bin/systemctl", line 2889, in start_ Modules

Return self.start_ Units (units, init) and found_ All

File "/usr/bin/systemctl", line 2899, in start_ Units

If not self.start_ Unit:

File "/usr/bin/systemctl", line 2917, in start_ Unit

Return self.start_ Unit_ From (conf)

File "/usr/bin/systemctl", line 2932, in start_ Unit_ From

Return self.do_ Start_ Unit_ From (conf)

File "/usr/bin/systemctl", line 2935, in do_ Start_ Unit_ From

Return self.do_ Start_ Service_ From (conf)

File "/usr/bin/systemctl", line 3021, in do_ Start_ Service_ From

Self. write_ Status_ From (conf, MainPID=forkpid)

File "/usr/bin/systemctl", line 1933, in write_ Status_ From

Content="{}={} n". format (key, str (value))

ValueError: zero length field name in format

@gdraheim
Copy link
Owner

gdraheim commented Feb 5, 2024

This looks like some old version of systemctl.py - can you clarify?

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

2 participants