You are not logged in.
Pages: 1
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 wtmpCan anyone give some advice or provide some resources?
Offline
Please paste your /etc/syslog-ng/syslog-ng.conf
Offline
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
Pages: 1