Re: empty log files

2008-07-02 Thread michael
On Tue, 2008-07-01 at 14:38 +0100, Jonathan Underwood wrote:
> 2008/7/1 michael <[EMAIL PROTECTED]>:
> > I can't recall doing anything 'wrong' but I now notice most of my log
> > files are, unexpectedly, empty (see example, below). Anybody care to
> > suggest how I can debug why this is so? Thanks, M
> 
> Did you by chance happen to install vmware? Installing vmware seems to
> change the SEli9nux context of /etc/services, which prevents syslog
> from working. To fix:
> 
> 1) run /sbin/restorecon -v /etc/services
> 2) /sbin/service syslog restart

yes I had installed vmware! what a mess up by them...

I've got it all working now, thanks

M

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: empty log files

2008-07-01 Thread Jonathan Underwood
2008/7/1 michael <[EMAIL PROTECTED]>:
> I can't recall doing anything 'wrong' but I now notice most of my log
> files are, unexpectedly, empty (see example, below). Anybody care to
> suggest how I can debug why this is so? Thanks, M

Did you by chance happen to install vmware? Installing vmware seems to
change the SEli9nux context of /etc/services, which prevents syslog
from working. To fix:

1) run /sbin/restorecon -v /etc/services
2) /sbin/service syslog restart

HTH,
Jonathan.

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: empty log files

2008-07-01 Thread michael
On Tue, 2008-07-01 at 10:34 +0100, michael wrote:
> I can't recall doing anything 'wrong' but I now notice most of my log
> files are, unexpectedly, empty (see example, below). Anybody care to
> suggest how I can debug why this is so? Thanks, M
> 
> [EMAIL PROTECTED]:/var/log$ ls -lt |head -33
> total 163828
> -rw-rw-r-- 1 root utmp  321792 2008-07-01 10:29 wtmp
> -rw-r--r-- 1 root root   28525 2008-07-01 10:14 Xorg.0.log
> drwxr-xr-x 2 root root4096 2008-07-01 10:14 gdm/
> -rw-r--r-- 1 root root   26360 2008-07-01 10:13 dmesg
> drwxr-xr-x 2 root root4096 2008-07-01 10:13 sa/
> -rw-r--r-- 1 root root  292584 2008-06-30 22:43 lastlog
> -rw--- 1 root utmp   164902656 2008-06-30 22:28 btmp
> drwxr-xr-x 2 lp   sys 4096 2008-06-30 20:52 cups/
> drwx-- 2 root root   12288 2008-06-30 20:00 tiger/
> -rw-r--r-- 1 root root   29008 2008-06-30 16:49 Xorg.0.log.old
> -rw-r--r-- 1 root root   52438 2008-06-30 09:13 rpmpkgs
> -rw--- 1 root root 252 2008-06-29 17:08 yum.log
> -rw--- 1 root root   0 2008-06-29 04:38 boot.log
> -rw--- 1 root root   0 2008-06-29 04:38 cron
> -rw--- 1 root root   0 2008-06-29 04:38 maillog
> -rw--- 1 root root   0 2008-06-29 04:38 messages
> -rw--- 1 root root   0 2008-06-29 04:38 secure
> drwxr-xr-x 2 root root4096 2008-06-29 04:38 setroubleshoot/
> -rw--- 1 root root   0 2008-06-29 04:38 spooler
> -rw-r--r-- 1 root root   52403 2008-06-28 04:39 rpmpkgs.1
> drwxr-x--- 2 root root4096 2008-06-26 22:59 audit/
> -rw-r--r-- 1 root root  827985 2008-06-25 10:46 scrollkeeper.log
> -rw--- 1 root root   30920 2008-06-25 10:46 yum.log.1
> -rw--- 1 root root   0 2008-06-23 14:30 boot.log.1
> -rw--- 1 root root   0 2008-06-23 14:30 cron.1
> -rw--- 1 root root   0 2008-06-23 14:30 maillog.1
> -rw--- 1 root root   0 2008-06-23 14:30 messages.1
> -rw--- 1 root root   0 2008-06-23 14:30 secure.1
> -rw--- 1 root root   0 2008-06-23 14:30 spooler.1
> -rw-r--r-- 1 root root   52208 2008-06-21 04:39 rpmpkgs.2
> -rw--- 1 root root   0 2008-06-15 04:38 boot.log.2
> -rw--- 1 root root   0 2008-06-15 04:38 cron.2
> 

and here's my 
[EMAIL PROTECTED]:/var/log$ cat /etc/syslog.conf 
# Log all kernel messages to the console.
# Logging much else clutters up the screen.
#kern.* /dev/console

# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
*.info;mail.none;authpriv.none;cron.none/var/log/messages

# The authpriv file has restricted access.
authpriv.*  /var/log/secure

# Log all the mail messages in one place.
mail.*
-/var/log/maillog


# Log cron stuff
cron.*  /var/log/cron

# Everybody gets emergency messages
*.emerg *

# Save news errors of level crit and higher in a special file.
uucp,news.crit  /var/log/spooler

# Save boot messages also to boot.log
local7.*/var/log/boot.log

[EMAIL PROTECTED]:/var/log$ 



-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list