71

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

2 Answers2

122

sudo service rsyslog restart

That should do it.

9

If you are using systemctl, you can use:

systemctl restart rsyslog.service 

Once restarted, check its status with the command:

systemctl status rsyslog.service