Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: ajkeane on October 19, 2005, 09:40:33 AM
-
Multilog: Warning: Unable to write to /var/log/imap/current: input/output error
This is appearing on the console once a day at the moment the error message referrs to imap, smtp etc as being unable to write to.
The server is not accessable once this happens.
I end up doing a reboot and the server will usually fail to reboot if I am lucky I will be able to repair with fcsk.
Does anyone have any ideas on what to look at with this.
I have plenty of disk space 183G to be exact.
Any thought welcome.
Tony
-
.. on my system:
[root@kryten /]# more logperms.txt
total 5548
drwxr-xr-x 29 root root 4096 Oct 16 04:22 .
drwxr-xr-x 24 root root 4096 Oct 19 2004 ..
drwxr-xr-x 2 qmailq qmail 4096 Oct 16 04:22 amavis-ng
lrwxrwxrwx 1 root root 23 Oct 15 01:12 boot.log -> boot.log.20051015011202
-rw------- 1 root root 2251 Oct 18 02:03 boot.log.20051015011202
drwxr-xr-x 2 qmailq qmail 4096 Sep 18 15:26 clamav
lrwxrwxrwx 1 root root 19 Oct 15 01:12 cron -> cron.20051015011202
-rw------- 1 root root 189307 Oct 19 19:50 cron.20051015011202
drwxr-x--- 2 cvmlog cvmlog 4096 Sep 28 08:54 cvm
drwxrwxrwx 2 nobody nobody 4096 Oct 16 04:22 dansguardian
drwxr-s--- 2 smelog smelog 4096 Sep 28 08:54 dhcpcd
drwxr-s--- 2 smelog smelog 4096 Sep 28 08:54 dhcpd
drwxr-sr-x 2 dnslog dnslog 4096 Sep 28 08:54 dhcp-dns
drwxr-xr-x 2 root root 4096 Nov 5 2003 diald
-rw-r--r-- 1 root root 13028 Sep 28 08:54 dmesg
drwxr-sr-x 2 dnslog dnslog 4096 Oct 19 15:48 dnscache
drwxr-xr-x 2 root root 4096 Jun 20 2003 flexbackup
drwxr-xr-x 2 root root 4096 Oct 19 19:30 httpd
drwxr-x--- 2 imaplog imaplog 4096 Sep 28 08:54 imap
drwx------ 2 root root 4096 Oct 5 04:10 iptraf
-rw-r--r-- 1 root root 72595 Sep 28 08:54 ksyms.0
-rw-r--r-- 1 root root 1462336 Oct 19 19:48 lastlog
lrwxrwxrwx 1 root root 22 Oct 15 01:12 maillog -> maillog.20051015011202
-rw------- 1 root root 42213 Oct 19 16:28 maillog.20051015011202
lrwxrwxrwx 1 root root 23 Oct 15 01:12 messages -> messages.20051015011202
-rw------- 1 root root 109617 Oct 19 19:48 messages.20051015011202
-rw-r----- 1 mysql mysql 0 Oct 16 04:17 mysqld.log
drwxr-s--- 2 qmaill nofiles 4096 Sep 28 08:54 nmbd
drwxr-x--- 2 smelog smelog 4096 Sep 28 08:54 popd
drwxr-s--- 2 qmaill nofiles 4096 Sep 28 08:54 pppoe
drwxr-x--- 2 root root 4096 Sep 8 2004 proftpd
drwxr-s--- 2 qmaill nofiles 4096 Sep 28 08:54 qmail
-rw-r--r-- 1 root admin 10335 Oct 18 01:35 rpmlist.log
-rw-r--r-- 1 root root 14954 Oct 19 04:18 rpmpkgs
drwxr-xr-x 2 root root 4096 Oct 19 00:00 sa
drwx------ 2 root root 4096 Feb 15 2004 samba
lrwxrwxrwx 1 root root 21 Oct 15 01:12 secure -> secure.20051015011202
-rw------- 1 root root 2375 Oct 19 10:14 secure.20051015011202
drwxr-s--- 2 qmaill nofiles 4096 Sep 28 08:54 smbd
drwxr-s--- 2 smelog nofiles 4096 Sep 28 08:54 smtp-auth-proxy
drwxr-s--- 2 qmaill nofiles 4096 Sep 28 08:54 smtpfront-qmail
lrwxrwxrwx 1 root root 22 Oct 15 01:12 spooler -> spooler.20051015011202
-rw------- 1 root root 0 Oct 15 01:12 spooler.20051015011202
drwxr-x--- 3 squid squid 4096 Oct 16 04:17 squid
-rw-r--r-- 1 root root 0 Sep 28 08:55 sysmon
drwxr-sr-x 2 dnslog dnslog 4096 Sep 28 08:54 tinydns
-rw-r--r-- 1 root admin 3371 Oct 18 01:35 update-system.log
-rw-r--r-- 1 root root 963 Oct 19 15:02 USA.log
drwxr-xr-x 2 root root 4096 Apr 8 2002 vbox
-rw-rw-r-- 1 root utmp 635520 Oct 19 19:48 wtmp
-rw-r--r-- 1 root root 6264 Oct 19 00:39 xferlog
drwxr-xr-x 2 root root 4096 May 4 2004 yum
-rw------- 1 root root 114 Oct 18 02:01 yum.log
./amavis-ng:
total 100
drwxr-xr-x 2 qmailq qmail 4096 Oct 16 04:22 .
drwxr-xr-x 29 root root 4096 Oct 16 04:22 ..
-rw-rw-rw- 1 root root 47001 Oct 19 19:46 amavis-ng.log
./clamav:
total 48
drwxr-xr-x 2 qmailq qmail 4096 Sep 18 15:26 .
drwxr-xr-x 29 root root 4096 Oct 16 04:22 ..
-rw-rw-rw- 1 qmailq qmail 6846 Oct 19 16:28 clamd.log
-rw-rw-rw- 1 qmailq qmail 0 Jun 16 04:10 freshclam.log
./cvm:
total 84
drwxr-x--- 2 cvmlog cvmlog 4096 Sep 28 08:54 .
drwxr-xr-x 29 root root 4096 Oct 16 04:22 ..
-rw-r--r-- 1 cvmlog cvmlog 2842 Oct 16 21:47 current
-rw------- 1 cvmlog cvmlog 0 Feb 15 2004 lock
-rw-r--r-- 1 cvmlog cvmlog 0 Sep 28 08:54 state
./dansguardian:
total 8
drwxrwxrwx 2 nobody nobody 4096 Oct 16 04:22 .
drwxr-xr-x 29 root root 4096 Oct 16 04:22 ..
-rw-r--r-- 1 nobody nobody 0 Oct 16 04:22 access.log
./dhcpcd:
total 8
drwxr-s--- 2 smelog smelog 4096 Sep 28 08:54 .
drwxr-xr-x 29 root root 4096 Oct 16 04:22 ..
-rw-r--r-- 1 smelog smelog 0 Sep 28 08:54 current
-rw------- 1 smelog smelog 0 Feb 15 2004 lock
-rw-r--r-- 1 smelog smelog 0 Sep 28 08:54 state
./dhcpd:
total 1096
drwxr-s--- 2 smelog smelog 4096 Sep 28 08:54 .
drwxr-xr-x 29 root root 4096 Oct 16 04:22 ..
-rw-r--r-- 1 smelog smelog 85951 Oct 19 19:28 current
-rw------- 1 smelog smelog 0 Feb 15 2004 lock
-rw-r--r-- 1 smelog smelog 0 Sep 28 08:54 state
./dhcp-dns:
total 240
drwxr-sr-x 2 dnslog dnslog 4096 Sep 28 08:54 .
drwxr-xr-x 29 root root 4096 Oct 16 04:22 ..
-rw-r--r-- 1 dnslog dnslog 12281 Oct 19 12:09 current
-rw------- 1 dnslog dnslog 0 May 9 2004 lock
-rw-r--r-- 1 dnslog dnslog 0 Sep 28 08:54 state
./diald:
total 8
drwxr-xr-x 2 root root 4096 Nov 5 2003 .
drwxr-xr-x 29 root root 4096 Oct 16 04:22 ..
./dnscache:
total 46732
drwxr-sr-x 2 dnslog dnslog 4096 Oct 19 15:48 .
drwxr-xr-x 29 root root 4096 Oct 16 04:22 ..
-rw-r--r-- 1 dnslog dnslog 2719432 Oct 19 19:49 current
-rw------- 1 dnslog dnslog 0 Feb 15 2004 lock
-rw-r--r-- 1 dnslog dnslog 0 Sep 28 08:54 state
./flexbackup:
total 8
drwxr-xr-x 2 root root 4096 Jun 20 2003 .
drwxr-xr-x 29 root root 4096 Oct 16 04:22 ..
./httpd:
total 1720
drwxr-xr-x 2 root root 4096 Oct 19 19:30 .
drwxr-xr-x 29 root root 4096 Oct 16 04:22 ..
lrwxrwxrwx 1 root root 25 Oct 15 01:12 access_log -> access_log.20051015011200
-rw-r--r-- 1 root root 143995 Oct 19 19:28 access_log.20051015011200
lrwxrwxrwx 1 root root 31 Oct 15 01:12 admin_access_log -> admin_access_log.20051015011201
-rw-r--r-- 1 root root 3477 Oct 18 02:06 admin_access_log.20051015011201
lrwxrwxrwx 1 root root 30 Oct 15 01:12 admin_error_log -> admin_error_log.20051015011201
-rw-r--r-- 1 root root 14649 Oct 18 02:06 admin_error_log.20051015011201
lrwxrwxrwx 1 root root 35 Oct 15 01:12 admin_ssl_engine_log -> admin_ssl_engine_log.20051015011201
-rw-rw-rw- 1 root admin 63 Oct 19 19:50 awstats_lr
-rw-rw-rw- 1 root admin 75 Oct 19 19:30 awstats_pos
lrwxrwxrwx 1 root root 24 Oct 15 01:12 error_log -> error_log.20051015011200
-rw-r--r-- 1 root root 1028 Oct 18 02:03 error_log.20051015011200
lrwxrwxrwx 1 root root 29 Oct 15 01:12 ssl_engine_log -> ssl_engine_log.20051015011200
-rw-r--r-- 1 root root 34227 Oct 19 11:37 ssl_engine_log.20051015011200
./imap:
total 940
drwxr-x--- 2 imaplog imaplog 4096 Sep 28 08:54 .
drwxr-xr-x 29 root root 4096 Oct 16 04:22 ..
-rw-r--r-- 1 imaplog imaplog 52983 Oct 16 21:47 current
-rw------- 1 imaplog imaplog 0 Feb 15 2004 lock
-rw-r--r-- 1 imaplog imaplog 0 Sep 28 08:54 state
./iptraf:
total 12
drwx------ 2 root root 4096 Oct 5 04:10 .
drwxr-xr-x 29 root root 4096 Oct 16 04:22 ..
-rw-r--r-- 1 root root 2140 Oct 12 13:09 rvnamed.log
./nmbd:
total 1160
drwxr-s--- 2 qmaill nofiles 4096 Sep 28 08:54 .
drwxr-xr-x 29 root root 4096 Oct 16 04:22 ..
-rw-r--r-- 1 root nofiles 2514 Sep 28 08:56 current
-rw------- 1 root nofiles 0 Feb 15 2004 lock
-rw-r--r-- 1 root nofiles 0 Sep 28 08:54 state
./popd:
total 18536
drwxr-x--- 2 smelog smelog 4096 Sep 28 08:54 .
drwxr-xr-x 29 root root 4096 Oct 16 04:22 ..
-rw-r--r-- 1 smelog smelog 875144 Oct 19 19:47 current
-rw------- 1 smelog smelog 0 Feb 15 2004 lock
-rw-r--r-- 1 smelog smelog 0 Sep 28 08:54 state
./pppoe:
total 8
drwxr-s--- 2 qmaill nofiles 4096 Sep 28 08:54 .
drwxr-xr-x 29 root root 4096 Oct 16 04:22 ..
-rw-r--r-- 1 qmaill nofiles 0 Sep 28 08:54 current
-rw------- 1 qmaill nofiles 0 Feb 15 2004 lock
-rw-r--r-- 1 qmaill nofiles 0 Sep 28 08:54 state
./proftpd:
total 8
drwxr-x--- 2 root root 4096 Sep 8 2004 .
drwxr-xr-x 29 root root 4096 Oct 16 04:22 ..
./qmail:
total 16000
drwxr-s--- 2 qmaill nofiles 4096 Sep 28 08:54 .
drwxr-xr-x 29 root root 4096 Oct 16 04:22 ..
-rw-r--r-- 1 qmaill nofiles 502307 Oct 19 16:28 current
-rw------- 1 qmaill nofiles 0 Feb 15 2004 lock
-rw-r--r-- 1 qmaill nofiles 0 Sep 28 08:54 state
./sa:
total 4044
drwxr-xr-x 2 root root 4096 Oct 19 00:00 .
drwxr-xr-x 29 root root 4096 Oct 16 04:22 ..
-rw-r--r-- 1 root root 196069 Oct 11 23:50 sa11
-rw-r--r-- 1 root root 254663 Oct 10 23:53 sar10
./samba:
total 8
drwx------ 2 root root 4096 Feb 15 2004 .
drwxr-xr-x 29 root root 4096 Oct 16 04:22 ..
./smbd:
total 32
drwxr-s--- 2 qmaill nofiles 4096 Sep 28 08:54 .
drwxr-xr-x 29 root root 4096 Oct 16 04:22 ..
-rw-r--r-- 1 root nofiles 1198 Oct 2 13:07 current
-rw------- 1 root nofiles 0 Feb 15 2004 lock
-rw-r--r-- 1 root nofiles 0 Sep 28 08:54 state
./smtp-auth-proxy:
total 32
drwxr-s--- 2 smelog nofiles 4096 Sep 28 08:54 .
drwxr-xr-x 29 root root 4096 Oct 16 04:22 ..
-rw-r--r-- 1 smelog nofiles 336 Oct 18 02:03 current
-rw------- 1 smelog nofiles 0 Jun 5 2004 lock
-rw-r--r-- 1 smelog nofiles 0 Sep 28 08:54 state
./smtpfront-qmail:
total 9920
drwxr-s--- 2 qmaill nofiles 4096 Sep 28 08:54 .
drwxr-xr-x 29 root root 4096 Oct 16 04:22 ..
-rw-r--r-- 1 qmaill nofiles 332442 Oct 19 19:46 current
-rw------- 1 qmaill nofiles 0 Feb 15 2004 lock
-rw-r--r-- 1 qmaill nofiles 0 Sep 28 08:54 state
./squid:
total 15592
drwxr-x--- 3 squid squid 4096 Oct 16 04:17 .
drwxr-xr-x 29 root root 4096 Oct 16 04:22 ..
-rw-r--r-- 1 squid squid 1996513 Oct 19 19:49 access.log
-rw-r--r-- 1 squid squid 3411 Oct 19 02:30 cache.log
drwxr-x--- 2 root root 4096 Oct 1 00:10 monthly
-rw-r--r-- 1 squid squid 2875491 Oct 19 19:49 store.log
./squid/monthly:
total 35672
drwxr-x--- 2 root root 4096 Oct 1 00:10 .
drwxr-x--- 3 squid squid 4096 Oct 16 04:17 ..
-rw-r--r-- 1 root root 1224483 May 1 2004 access.log.Apr.2004.gz
./tinydns:
total 11752
drwxr-sr-x 2 dnslog dnslog 4096 Sep 28 08:54 .
drwxr-xr-x 29 root root 4096 Oct 16 04:22 ..
-rw-r--r-- 1 dnslog dnslog 805702 Oct 19 19:48 current
-rw------- 1 dnslog dnslog 0 Feb 15 2004 lock
-rw-r--r-- 1 dnslog dnslog 0 Sep 28 08:54 state
./vbox:
total 8
drwxr-xr-x 2 root root 4096 Apr 8 2002 .
drwxr-xr-x 29 root root 4096 Oct 16 04:22 ..
./yum:
total 416
drwxr-xr-x 2 root root 4096 May 4 2004 .
drwxr-xr-x 29 root root 4096 Oct 16 04:22 ..
-rw-r--r-- 1 root admin 3522 Oct 17 04:17 yum-check-repository.log
Check your cron entries to see if there is a process that runs once a day that might be the root cause.
HTH
-
Thanks smeghead I will look through the permissions tonight. Funnily enough this has not happened today so far. ;-)
Still plenty of time though. I will need to continue to keep a close eye on the server.
Mind I only need to nurse it for a couple more weeks before moving everything to a new machine.
Tony
-
I have now resolved this issue.
The problem was a slowly failing 3 month old hard drive. Needless to say it is now wending its way back to the supplier. A rebuild will hopefully see the end of all of these issues.
Tony