how can i restart rsyslog or rsyslogd on ubuntu 10

root@terminator:/etc/init.d# service rsyslog status
rsyslog stop/waiting
root@terminator:/etc/init.d# service rsyslog stop
stop: Unknown instance:
root@terminator:/etc/init.d# service rsyslog restart
restart: Unknown instance:
root@terminator:/etc/init.d# service rsyslog start
start: Job failed to start
root@terminator:/etc/init.d# service rsyslogd start
rsyslogd: unrecognized service
link|improve this question
Debugging info: rsyslog.com/doc/troubleshoot.html – Grizly Sep 1 '10 at 3:55
feedback

1 Answer

up vote 4 down vote accepted

sudo service rsyslog restart

That should do it.

link|improve this answer
the output is shown above in the post – John Sep 1 '10 at 1:45
1  
Have you modified the rsyslog.conf? If the config file is somehow invalid, service command cannot bring up the rsyslog. – Janne Pikkarainen Sep 1 '10 at 2:59
feedback

Your Answer

 
or
required, but never shown