Nagios + postfix - nie wysyła e-mailii
Krzysztof Szwaba
mailing_ks w kasztanowe.net
Śro, 13 Sie 2008, 09:35:54 CEST
[root w nms postfix]# rpm -aq |grep -i nagios
nagios-plugin-check_fping-1.4.3-5.i586
nagios-plugins-snmp-1.4.3-5.i586
nagios-2.10-1.i586
nagios-plugin-check_dns-1.4.11-1.i586
nagios-plugins-1.4.3-5.i586
nagios-notify-0.9.5-1.noarch
nagios-plugins-samba-1.4.3-5.i586
nagios-common-2.10-1.i586
nagios-imagepaks-1.0-1.noarch
nagios-plugins-perl-1.4.3-5.i586
nagios-cgi-2.10-1.i586
nagios-snmp-plugins-1.1-4.i586
nagios-plugin-check_ping-1.4.3-5.i586
nagios-plugins-ssh-1.4.3-5.i586
nagios-theme-default-2.10-1.i586
nagios-plugin-check_load-1.4.11-1.i586
[root w nms postfix]# rpm -aq |grep -i postfix
postfix-2.2.5-9.i586
amavisd-postfix-0.1-8.i586
w /var/spool/maillog
Aug 13 09:19:12 nms postfix/postdrop[21487]: warning: mail_queue_enter: create file maildrop/390941.21487: Permission denied
Aug 13 09:19:12 nms postfix/postdrop[21569]: warning: mail_queue_enter: create file maildrop/397213.21569: Permission denied
Aug 13 09:19:12 nms postfix/postdrop[21575]: warning: mail_queue_enter: create file maildrop/404881.21575: Permission denied
Aug 13 09:19:12 nms postfix/postdrop[21583]: warning: mail_queue_enter: create file maildrop/411923.21583: Permission denied
Aug 13 09:19:12 nms postfix/postdrop[21992]: warning: mail_queue_enter: create file maildrop/452622.21992: Permission denied
Aug 13 09:19:12 nms postfix/postdrop[21998]: warning: mail_queue_enter: create file maildrop/461430.21998: Permission denied
Aug 13 09:19:12 nms postfix/postdrop[22020]: warning: mail_queue_enter: create file maildrop/467931.22020: Permission denied
Aug 13 09:19:12 nms postfix/postdrop[22031]: warning: mail_queue_enter: create file maildrop/476337.22031: Permission denied
Aug 13 09:19:12 nms postfix/postdrop[22046]: warning: mail_queue_enter: create file maildrop/483054.22046: Permission denied
Aug 13 09:19:12 nms postfix/postdrop[22054]: warning: mail_queue_enter: create file maildrop/490659.22054: Permission denied
[root w nms postfix]# ps -aux |grep -i nagios
nagios 22136 0.0 0.5 4152 1356 ? S Aug12 0:00 send-mail -i krzysiek w aa.net
nagios 22137 0.0 0.5 4144 1392 ? S Aug12 0:00 /usr/sbin/postdrop -r
nagios 22152 0.0 0.5 4152 1364 ? S Aug12 0:00 send-mail -i 48601123123 w text.plusgsm.pl
nagios 22153 0.0 0.5 4144 1384 ? S Aug12 0:00 /usr/sbin/postdrop -r
nagios 22158 0.0 0.5 4152 1364 ? S Aug12 0:00 send-mail -i aa w aa.net.pl
nagios 22159 0.0 0.5 4144 1384 ? S Aug12 0:00 /usr/sbin/postdrop -r
i takich procesów wisi wiele
[root w nms postfix]# ls -l `postconf -h queue_directory`
total 60
drwx------ 2 postfix root 4096 Jan 8 2007 active
drwx------ 2 postfix root 4096 Jan 8 2007 bounce
drwx------ 2 postfix root 4096 Jan 8 2007 corrupt
drwx------ 18 postfix root 4096 Jan 8 2007 defer
drwx------ 18 postfix root 4096 Jan 8 2007 deferred
drwx------ 2 postfix root 4096 Sep 23 2006 flush
drwx------ 2 postfix root 4096 Sep 23 2006 hold
drwx------ 2 postfix root 4096 Jan 8 2007 incoming
drwx-wx--- 2 postfix maildrop 4096 Jan 8 2007 maildrop
drwxr-xr-x 2 root root 4096 Jan 8 2007 pid
drwx--x--x 2 postgrey postgrey 4096 Aug 12 23:46 postgrey
drwx------ 2 postfix root 4096 Aug 13 09:16 private
drwx--x--- 2 postfix maildrop 4096 Aug 13 09:16 public
drwx------ 2 postfix root 4096 Jan 8 2007 saved
drwx------ 2 postfix root 4096 Sep 23 2006 trace
[root w nms postfix]# postfix set-permissions
chown: cannot access `/etc/mail/LICENSE': No such file or directory
Gdzie może być problem, który pojawił się od pewnego czasu ?
Z góry dziękuję za pomoc
Krzysztof
Więcej informacji o liście dyskusyjnej pld-users-pl