Can't start Ajenti service

Bert Geelen 7 year бұрын updated by Andrew Raiher 5 year бұрын 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 ?

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