I don't exactly know what i did to make it change but now i get this error when i try to run deluge daemon as user deluge :
Code: Select all
$ su deluge deluged
/usr/bin/deluged: line 3: __requires__: command not found
/usr/bin/deluged: line 4: import: command not found
from: can't read /var/mail/pkg_resources
/usr/bin/deluged: deluged: line 8: syntax error near unexpected token `newline'
/usr/bin/deluged: deluged: line 8: ` sys.exit('
All i did before it stopped working was changing the ssh config (port, AllowUsers, PermittRootLogin) and rebooting my server.
I tried removing deluged, purging it, reinstall it again. I reverted the ssh config back to default.
I even tried to run /usr/bin/deluged as python script.
(the location /var/mail/pkg_resources in the error message indeed does not exist)