You are not logged in.

#1 2012-08-17 16:05:42

redredblueblue1
Member
Registered: 2012-02-28
Posts: 2

Log issue

Hi, I've recently been receiving some errors during my boot process regarding logs. My /var/log/boot records this

 
...
Fri Aug 17 08:39:23 2012: :: Removing leftover files    [BUSY] Failed to create file /var/log/wtmp: No such file or directory
Fri Aug 17 08:39:23 2012: Failed to create file /var/log/btmp: No such file or directory
...
Fri Aug 17 08:39:23 2012: :: Saving dmesg log    [BUSY] install: cannot create regular file ‘/var/log/dmesg.log’: No such file or directory
Fri Aug 17 08:39:23 2012:    [FAIL] 
...

My /var/log/errors.log then has a lot of these lines:

Aug 17 08:39:22 localhost syslog-ng[347]: Error opening file for writing; filename='/var/log/everything.log', error='No such file or directory (2)'
Aug 17 08:39:22 localhost syslog-ng[347]: Error opening file for writing; filename='/var/log/syslog.log', error='No such file or directory (2)'
Aug 17 08:39:22 localhost syslog-ng[347]: Error opening file for writing; filename='/var/log/errors.log', error='No such file or directory (2)'

These files do exists and I believe have the correct permissions. When I run ls -l in /var/log, I receive

-rw------- 1 root utmp   384 Aug  1 18:19 btmp
-rw-r--r-- 1 root root   50K Aug 16 08:23 dmesg.log
-rw-r----- 1 root log   120K Aug 17 08:39 errors.log
-rw-r----- 1 root log   1.6M Aug 17 08:59 everything.log
-rw-r----- 1 root log   106K Aug 17 08:39 syslog.log
-rw-rw-r-- 1 root utmp  708K Aug 17 08:39 wtmp

Can anyone give some advice or provide some resources?

Offline

#2 2012-08-23 20:35:43

Boohbah
Member
Registered: 2011-11-19
Posts: 20

Re: Log issue

Please paste your /etc/syslog-ng/syslog-ng.conf

Offline

#3 2012-08-24 01:15:18

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: Log issue

is /var on a separate partition?  I'm just brainstorming here as I don't have the experience to really know, but it seems feasible that if var is a separate partition that it's mount may lag behind attempts to write to the logs.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB