service: command not found

R

reybie

Guest
I updated spamassassin using the sa-update && service spamassassin restart command but got the service: command not found error message. service is in /sbin but I could not execute it.

Thanks
 
Hello,

Please, check if there is Ubuntu installed at the server. There is no "service" utility at the early Ubuntu versions. That is why you get such response from the server:

service: command not found

In this case the spamassassign can be restarted with the following command:

# /etc/init.d/spamassassin restart

Thank you
 
Back
Top