deluged not starting, command not found
Posted: Thu Jun 04, 2015 7:01 pm
Hi everyone; i have a server running Debian 7, installed deluge daemon and deluge-web, worked good so far.
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 :
What i first understand is that i'm trying to run python script (in /usr/bin/deluged) as a shell script, but why i get this error now ?!
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)
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)