Re: Empty /var/log/messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi Larry

The permission is -rw------- 1 root  root same with the another log in /var/log
And there is alot of output in dmesg. And I already restart the daemon too.
I also try:
# logger -p daemon.warn
"This is only a test."

And in the /var/log/messages
# tail -f messages
Dec 13 04:02:39 server2 syslogd 1.4.1: restart.
Dec 14 08:37:39 server2 kernel: Kernel logging (proc) stopped.
Dec 14 08:37:39 server2 kernel: Kernel log daemon terminating.
Dec 14 08:37:40 server2 exiting on signal 15
Dec 14 08:37:40 server2 syslogd 1.4.1: restart.
Dec 14 08:37:40 server2 kernel: klogd 1.4.1, log source = /proc/kmsg started.
Dec 14 08:39:18 server2 root: "This is only a test."
Dec 14 08:39:19 server2 root:

But only that what I get from /var/log/messages, nothing else.

Best regards.


On Mon, Dec 14, 2009 at 8:57 AM, Larry Brower <larry-lists@xxxxxxxxx> wrote:
> onay wrote:
>>
>> Hi all,
>>
>> I don't know if anybody already ask this question. Sorry if I repost
>> it again. I googling already, but don't find any clue.
>> I'm using centos 5.3, but why the /var/log/messages is empty. Even the
>> sylogd daemon is run.
>> Me already compare /etc/syslog.conf with another centos machine. The
>> /etc/syslog.conf is same.
>> Anybody know what happen?
>>
>> Many thanks.
>>
>
>
> have you checked permissions / ownership of /var /var/log and
> /var/log/messages ?
> Have you tried restarting syslogd?
> Is there anything in dmesg ?
>
>
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
>
>



-- 
If knowledge belong to the world,
why don't you give me some?
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux