These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Syslog is empty on the new forum.
This website is deprecated, and remains online only for historic access to old issues and docs for historic versions of Virtualmin. It has been unmaintained for several years, and should not be relied on for up-to-date information. Please visit www.virtualmin.com instead.
root@ks311625:~# /etc/init.d/rsyslog restart Rather than invoking init scripts through /etc/init.d, use the service(8) utility, e.g. service rsyslog restart
Since the script you are attempting to invoke has been converted to an Upstart job, you may also use the restart(8) utility, e.g. restart rsyslog rsyslog start/running, process 25822
then syslog contains the following
Mar 25 08:15:43 ks311625 kernel: imklog 4.2.0, log source = /proc/kmsg started. Mar 25 08:15:43 ks311625 rsyslogd: [origin software="rsyslogd" swVersion="4.2.0" x-pid="25822" x-info="http://www.rsys$ Mar 25 08:15:43 ks311625 rsyslogd: rsyslogd's groupid changed to 103 Mar 25 08:15:43 ks311625 rsyslogd: rsyslogd's userid changed to 101 Mar 25 08:15:43 ks311625 rsyslogd-2039: Could no open output file '/dev/xconsole' [try http://www.rsyslog.com/e/2039 ] Mar 25 08:16:01 ks311625 CRON[25830]: (root) CMD (/usr/local/rtm/bin/rtm 0 > /dev/null 2> /dev/null) Mar 25 08:17:01 ks311625 CRON[25895]: (root) CMD (/usr/local/rtm/bin/rtm 0 > /dev/null 2> /dev/null) Mar 25 08:17:01 ks311625 CRON[25894]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Howdy,
Which file is it that's empty?
And what distribution/version is it that you're using?
-Eric
the file /var/log/syslog is empty (and all logrotate archves)
The distrib is Ubuntu Linux 10.04.2 Webmin is 3.90.gpl GPL
A simular config (Debain Lenny) runs OK
Yeah, syslog should be functioning on an Ubuntu server.
It's possible something went awry with the syslog daemon though, and if that's the case, it may be possible to fix it by imply restarting syslog.
What happens if you run this command:
/etc/init.d/rsyslog restart
After that, do you see any data in your /var/log/syslog file?
-Eric
Thanks for the indications
root@ks311625:~# /etc/init.d/rsyslog restart
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service rsyslog restart
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the restart(8) utility, e.g. restart rsyslog
rsyslog start/running, process 25822
then syslog contains the following
Mar 25 08:15:43 ks311625 kernel: imklog 4.2.0, log source = /proc/kmsg started.
Mar 25 08:15:43 ks311625 rsyslogd: [origin software="rsyslogd" swVersion="4.2.0" x-pid="25822" x-info="http://www.rsys$
Mar 25 08:15:43 ks311625 rsyslogd: rsyslogd's groupid changed to 103
Mar 25 08:15:43 ks311625 rsyslogd: rsyslogd's userid changed to 101
Mar 25 08:15:43 ks311625 rsyslogd-2039: Could no open output file '/dev/xconsole' [try http://www.rsyslog.com/e/2039 ]
Mar 25 08:16:01 ks311625 CRON[25830]: (root) CMD (/usr/local/rtm/bin/rtm 0 > /dev/null 2> /dev/null)
Mar 25 08:17:01 ks311625 CRON[25895]: (root) CMD (/usr/local/rtm/bin/rtm 0 > /dev/null 2> /dev/null)
Mar 25 08:17:01 ks311625 CRON[25894]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Howdy,
Okay, that all looks good now.
Are you having any more problems?
-Eric
Seems OK now I reboot the server, still loging.
thanks!