FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 12-14-2009, 12:52 AM
onay
 
Default Empty /var/log/messages

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.

--
If knowledge belong to the world,
why don't you give me some?
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 12-14-2009, 12:57 AM
Larry Brower
 
Default Empty /var/log/messages

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@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 12-14-2009, 01:08 AM
onay
 
Default Empty /var/log/messages

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@maxqe.com> 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@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>



--
If knowledge belong to the world,
why don't you give me some?
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 12-14-2009, 03:39 AM
Kwan Lowe
 
Default Empty /var/log/messages

On Sun, Dec 13, 2009 at 9:08 PM, onay <ronald.santosa@gmail.com> wrote:
>
> But only that what I get from /var/log/messages, nothing else.
>
> Best regards.

You'll often see this when someone manually clears the messages file
improperly. For example, instead of doing something like:
"cat /dev/null > /var/log/messages" or ">/var/log/messages" they do
an "rm /var/log/messages". Until syslog is restarted the file won't
clear.
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 06:46 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org