0
Answered

Can't start Ajenti service

Bert Geelen 7 years ago updated by Andrew Raiher 4 years ago 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 ?

Answer

Answer
Answered

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