SNMP server down since installing mailscanner

Stephen Swaney steve.swaney at FSL.COM
Tue Feb 24 14:28:03 GMT 2004


> -----Original Message-----
> From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
> Behalf Of Graham Scanlan
> Sent: Tuesday, February 24, 2004 7:04 AM
> To: MAILSCANNER at JISCMAIL.AC.UK
> Subject: SNMP server down since installing mailscanner
>
> Hi
> Below is copy of mail log:-
>
> [root admin]# ps auxw | grep -i mail
> root       796  0.0  0.7  5220 2320 ?        S    09:29   0:00 sendmail:
> accepti
> ng connections
> root       802  0.0  0.6  5140 2176 ?        S    09:29
> 0:00 /usr/sbin/sendmai
> l -q15m -OPidFile /var/run/sendmail.out.pid
> root       841  0.0  3.5 12928 11224 ?       S    09:29
> 0:00 /usr/bin/perl -I/
> usr/lib/MailScanner /usr/sbin/MailScanner /etc/MailS
> root       842  0.0  3.6 13760 11732 ?       S    09:29
> 0:00 /usr/bin/perl -I/
> usr/lib/MailScanner /usr/sbin/MailScanner /etc/MailS
> root       916  0.0  3.6 13760 11732 ?       S    09:29
> 0:00 /usr/bin/perl -I/
> usr/lib/MailScanner /usr/sbin/MailScanner /etc/MailS
> root      2163  0.0  0.1  1536  612 pts/0    S    09:45   0:00 grep -i
> mail
> [root admin]# tail -f -n100 /var/log/maillog
> Feb 24 09:00:03 www sendmail[3801]: NOQUEUE: localhost [127.0.0.1] did not
> issue MAIL/EXPN/VRFY/ETRN during connection to MTA
> Feb 24 09:00:03 www imapd[3812]: imap service init from 127.0.0.1
> Feb 24 09:00:03 www imapd[3812]: Logout user=??? host=localhost
> [127.0.0.1]
> Feb 24 09:01:01 www update.virus.scanners: Found clamav installed
> Feb 24 09:01:01 www update.virus.scanners: Running autoupdate for clamav
> Feb 24 09:01:02 www ClamAV-autoupdate[4450]: ClamAV
> updater /usr/local/bin/freshclam cannot be run
> Feb 24 09:01:02 www sendmail[4409]: i1O911R04409: from=root, size=1152,
> class=0, nrcpts=1, msgid=<200402240901.i1O911R04409 at www.celestineweb.net>,
> relay=root at localhost
> Feb 24 09:01:02 www sendmail[4409]: i1O911R04409: to=admin, ctladdr=root
> (0/0), delay=00:00:01, xdelay=00:00:00, mailer=local, pri=31152,
> dsn=2.0.0,
> stat=Sent
> Feb 24 09:12:26 www MailScanner[842]: MailScanner child caught a SIGHUP
> Feb 24 09:12:26 www MailScanner[914]: MailScanner child caught a SIGHUP
> Feb 24 09:14:10 www sendmail[4990]: alias database /etc/mail/aliases
> rebuilt
> by admin
> Feb 24 09:14:10 www sendmail[4990]: /etc/mail/aliases: 30 aliases, longest
> 10 bytes, 308 bytes total
> Feb 24 09:14:10 www sendmail[4990]: alias
> database /etc/mail/aliases.majordomo rebuilt by admin
> Feb 24 09:14:10 www sendmail[4990]: /etc/mail/aliases.majordomo: 6
> aliases,
> longest 90 bytes, 257 bytes total
> Feb 24 09:14:11 www sendmail[4994]: starting daemon (8.11.6): SMTP
> Feb 24 09:14:11 www sendmail[5000]: starting daemon (8.11.6):
> queueing at 00:15:00
> Feb 24 09:14:16 www MailScanner[5018]: MailScanner E-Mail Virus Scanner
> version 4.26.8 starting...
> Feb 24 09:14:16 www MailScanner[5018]: Using locktype = flock
> Feb 24 09:14:26 www MailScanner[5037]: MailScanner E-Mail Virus Scanner
> version 4.26.8 starting...
> Feb 24 09:14:26 www MailScanner[5037]: Using locktype = flock
> Feb 24 09:14:56 www MailScanner[5037]: MailScanner child caught a SIGHUP
> Feb 24 09:14:56 www MailScanner[5018]: MailScanner child caught a SIGHUP
> Feb 24 09:15:12 www sendmail[5098]: alias database /etc/mail/aliases
> rebuilt
> by root
> Feb 24 09:15:12 www sendmail[5098]: /etc/mail/aliases: 30 aliases, longest
> 10 bytes, 308 bytes total
> Feb 24 09:15:12 www sendmail[5098]: alias
> database /etc/mail/aliases.majordomo rebuilt by root
> Feb 24 09:15:12 www sendmail[5098]: /etc/mail/aliases.majordomo: 6
> aliases,
> longest 90 bytes, 257 bytes total
> Feb 24 09:15:12 www sendmail[5102]: starting daemon (8.11.6): SMTP
> Feb 24 09:15:12 www sendmail[5108]: starting daemon (8.11.6):
> queueing at 00:15:00
> Feb 24 09:15:17 www MailScanner[5126]: MailScanner E-Mail Virus Scanner
> version 4.26.8 starting...
> Feb 24 09:15:18 www MailScanner[5126]: Using locktype = flock
> Feb 24 09:15:22 www sendmail[5132]: NOQUEUE: localhost [127.0.0.1] did not
> issue MAIL/EXPN/VRFY/ETRN during connection to MTA
> Feb 24 09:15:23 www imapd[5143]: imap service init from 127.0.0.1
> Feb 24 09:15:23 www imapd[5143]: Logout user=??? host=localhost
> [127.0.0.1]
> Feb 24 09:15:27 www MailScanner[5229]: MailScanner E-Mail Virus Scanner
> version 4.26.8 starting...
> Feb 24 09:15:28 www MailScanner[5229]: Using locktype = flock
> Feb 24 09:17:58 www sendmail[5472]: alias database /etc/mail/aliases
> rebuilt
> by admin
> Feb 24 09:17:58 www sendmail[5472]: /etc/mail/aliases: 30 aliases, longest
> 10 bytes, 308 bytes total
> Feb 24 09:17:58 www sendmail[5472]: alias
> database /etc/mail/aliases.majordomo rebuilt by admin
> Feb 24 09:17:58 www sendmail[5472]: /etc/mail/aliases.majordomo: 6
> aliases,
> longest 90 bytes, 257 bytes total
> Feb 24 09:17:58 www sendmail[5476]: starting daemon (8.11.6): SMTP
> Feb 24 09:17:58 www sendmail[5476]: NOQUEUE: SYSERR(root):
> opendaemonsocket:
> daemon MTA: cannot bind: Address already in use
> Feb 24 09:17:58 www sendmail[5476]: daemon MTA: problem creating SMTP
> socket
> Feb 24 09:17:58 www sendmail[5482]: starting daemon (8.11.6):
> queueing at 00:15:00
> Feb 24 09:18:03 www sendmail[5476]: NOQUEUE: SYSERR(root):
> opendaemonsocket:
> daemon MTA: cannot bind: Address already in use
> Feb 24 09:18:03 www sendmail[5476]: daemon MTA: problem creating SMTP
> socket
> Feb 24 09:18:08 www sendmail[5476]: NOQUEUE: SYSERR(root):
> opendaemonsocket:
> daemon MTA: cannot bind: Address already in use
> Feb 24 09:18:08 www sendmail[5476]: daemon MTA: problem creating SMTP
> socket
> Feb 24 09:18:13 www sendmail[5476]: NOQUEUE: SYSERR(root):
> opendaemonsocket:
> daemon MTA: cannot bind: Address already in use
> Feb 24 09:18:13 www sendmail[5476]: daemon MTA: problem creating SMTP
>
> Two errors
>
> one finding updates for clamav.

Check to see if /usr/local/bin/freshclam exists and is executable

>
> two problem creating smtp socket
>

This is caused by an instance of sendmail running before you start
MailScanner. If you're on a Linux System (you don't say what OS you're
running)

Stop MailScanner:

        service MailScanner stop

Stop sendmail:

        service sendmail stop

make sure that sendmail is NOT started on boot:

        chkconfig --del sendmail

Make sure that MailScanner starts on boot:

        chkconfig --level 345 MailScanner on

Start MailScanner:

        service MailScanner start


Steve
Stephen Swaney
President
Fortress Systems Ltd.
Steve.Swaney at FSL.com

> I followed the install instructions for a Raq550 without any problems.
> The load on the CPU and memory is light
>
> If you an see anything wrong in the log above and suggest a fix I would
> appreciate it
>
> Regards
>
> Graham
> graham at celestineweb.com
> --
> Open WebMail Project (http://openwebmail.org)
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
> Fortress Systems Ltd.
> www.fsl.com
>



--
This message has been scanned for viruses and
dangerous content by Fortress Secure Mail Gateway
and was found to be clean.

Fortress Systems Ltd. - http://www.fsl.com



More information about the MailScanner mailing list