0
Є відповідь

Can't start Ajenti service

Bert Geelen 7 років тому оновлено Andrew Raiher 5 років тому 2

Can't seem to start ajenti on Ubuntu 12.04.


Starting Ajenti:
Traceback (most recent call last):
  File "/usr/bin/ajenti-panel", line 63, in <module>
  os.chmod(config_file, stat.S_IRWXU)
OSError: [Errno 1] Operation not permitted: '/etc/ajenti/config.json'
 * failed


Any clues ?

Відповідь

Відповідь
Є відповідь

Ajenti must be run as root

I chmod /etc/ajenti/config.json and also /usr/bin/ajenti-panel 775 How can I get it to run as root? I've got the same error although it says the service is started and then not running