0
Not a bug
installation worked, no errors, won't run, (debian 7)
pi@MySQL / $ service ajenti restart
Stopping Ajenti:
[FAIL] not running ... failed!
Starting Ajenti:
31.08.2014 23:47 INFO Using config file /etc/ajenti/config.json
Traceback (most recent call last):
File "/usr/bin/ajenti-panel", line 107, in <module>
os.chmod(config_file, stat.S_IRWXU)
OSError: [Errno 1] Operation not permitted: '/etc/ajenti/config.json'
[FAIL] failed ... failed!
so do i have to chmod /etc/ajenti/config.json to something manually or .. whats going on here?
Answer
0
Answer
Not a bug
Eugene Pankov (Project coordinator) 10 years ago
Manipulating services requires root permissions. Use sudo.
Answer
Not a bug
Manipulating services requires root permissions. Use sudo.
pi@MySQL / $ sudo service ajenti restart
Stopping Ajenti:
[FAIL] not running ... failed!
Starting Ajenti:
31.08.2014 23:47 INFO Using config file /etc/ajenti/config.json
Traceback (most recent call last):
File "/usr/bin/ajenti-panel", line 107, in <module>
os.chmod(config_file, stat.S_IRWXU)
OSError: [Errno 1] Operation not permitted: '/etc/ajenti/config.json'
[FAIL] failed ... failed!
Stopping Ajenti:
[FAIL] not running ... failed!
Starting Ajenti:
31.08.2014 23:47 INFO Using config file /etc/ajenti/config.json
Traceback (most recent call last):
File "/usr/bin/ajenti-panel", line 107, in <module>
os.chmod(config_file, stat.S_IRWXU)
OSError: [Errno 1] Operation not permitted: '/etc/ajenti/config.json'
[FAIL] failed ... failed!
Are you running under some virtualization container? SELinux? How come that root can't chmod a file?
Customer support service by UserEcho