Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-17-2008, 08:38 AM
Special Member
 
Posts: 110
Default zmamavisdctl stopped and won't restart

running 5.0.2 Network Edition on CentOS 4

Antispam and antivirus showing as stopped in Admin console and command prompt.

zmamavisdctl start does not start, failed to start error
zmcontrol stop start does start all ok but then zmcontrol status shows antispam and antivirus not running

Any ideas?

Output of zimbra.log:

Apr 16 16:49:32 mail zimbramon[30723]: 30723:info: zmmtaconfig: ERROR: /opt/zimbra/postfix/sbin/postconf -e smtpd_tls_key_file='/opt/zimbra/conf/smtpd.key' r
c=256 No child processes
Apr 16 16:49:34 mail postfix/postfix-script[31037]: refreshing the Postfix mail system
Apr 16 16:49:34 mail postfix/postfix-script[31038]: refreshing the Postfix mail system
Apr 16 16:49:35 mail postfix/master[14766]: reload configuration /opt/zimbra/postfix-2.4.3.4z/conf
Apr 16 16:49:35 mail amavis[14503]: Net::Server: 2008/04/16-16:49:35 Server closing!
Apr 16 16:49:35 mail postfix/anvil[5926]: statistics: max connection rate 1/60s for (smtp:216.52.123.149) at Apr 16 16:48:33
Apr 16 16:49:35 mail postfix/anvil[5926]: statistics: max connection count 1 for (smtp:216.52.123.149) at Apr 16 16:48:33
Apr 16 16:49:35 mail postfix/anvil[5926]: statistics: max cache size 4 at Apr 16 16:49:25
Apr 16 16:49:35 mail amavis[14503]: Net::Server: 2008/04/16-16:49:35 Server closing!
Apr 16 16:49:40 mail zimbramon[30497]: 30497:info: zmmtaconfig: archiving was stopped removing from current state
Apr 16 16:49:40 mail zimbramon[27580]: 27580:info: zmmtaconfig: archiving was stopped removing from current state
Apr 16 16:49:48 mail amavis[31375]: starting. /opt/zimbra/amavisd/sbin/amavisd at mymail.com amavisd-new-2.5.2 (20070627), Unicode aware, LANG
="C"
Apr 16 16:49:48 mail amavis[31377]: starting. /opt/zimbra/amavisd/sbin/amavisd at mymail.com amavisd-new-2.5.2 (20070627), Unicode aware, LANG
="C"
Apr 16 16:49:48 mail amavis[31377]: user=5066, EUID: 5066 (5066); group=, EGID: 7004 7005 7004 5 4 (7004 7005 7004 5 4)
Apr 16 16:49:48 mail amavis[31377]: Perl version 5.008005
Apr 16 16:49:48 mail amavis[31375]: user=5066, EUID: 5066 (5066); group=, EGID: 7004 7005 7004 5 4 (7004 7005 7004 5 4)
Apr 16 16:49:48 mail amavis[31375]: Perl version 5.008005
Apr 16 16:49:50 mail amavis[31377]: SpamControl: init_pre_chroot done
Apr 16 16:49:50 mail amavis[31375]: SpamControl: init_pre_chroot done
Apr 16 16:49:50 mail amavis[31382]: Net::Server: Process Backgrounded
Apr 16 16:49:50 mail amavis[31383]: Net::Server: Process Backgrounded
Apr 16 16:49:50 mail amavis[31383]: Net::Server: 2008/04/16-16:49:50 Amavis (type Net::Server::PreForkSimple) starting! pid(31383)
Apr 16 16:49:50 mail amavis[31382]: Net::Server: 2008/04/16-16:49:50 Amavis (type Net::Server::PreForkSimple) starting! pid(31382)
Apr 16 16:49:50 mail amavis[31383]: Net::Server: Binding to UNIX socket file /opt/zimbra/amavisd/amavisd.sock using SOCK_STREAM
Apr 16 16:49:50 mail amavis[31383]: Net::Server: Binding to TCP port 10024 on host 127.0.0.1
Apr 16 16:49:50 mail amavis[31382]: Net::Server: Binding to UNIX socket file /opt/zimbra/amavisd/amavisd.sock using SOCK_STREAM
Apr 16 16:49:50 mail amavis[31382]: Net::Server: Binding to TCP port 10024 on host 127.0.0.1
Apr 16 16:49:50 mail amavis[31383]: Net::Server: Group Not Defined. Defaulting to EGID '7004 7005 7004 5 4'
Apr 16 16:49:50 mail amavis[31383]: Net::Server: User Not Defined. Defaulting to EUID '5066'
Apr 16 16:49:50 mail amavis[31382]: (!)Net::Server: 2008/04/16-16:49:50 Can't connect to TCP port 10024 on 127.0.0.1 [Address already in use]\n at line 88 i
n file /opt/zimbra/zimbramon/lib/Net/Server/Proto/TCP.pm
Apr 16 16:49:50 mail amavis[31382]: Net::Server: 2008/04/16-16:49:50 Server closing!
Apr 16 16:49:50 mail amavis[31383]: Module Amavis::Conf 2.091
Apr 16 16:49:50 mail amavis[31383]: Module Archive::Zip 1.23
Apr 16 16:49:50 mail amavis[31383]: Module BerkeleyDB 0.32
Apr 16 16:49:50 mail amavis[31383]: Module Compress::Zlib 1.42
Apr 16 16:49:50 mail amavis[31383]: Module Convert::TNEF 0.17
Apr 16 16:49:50 mail amavis[31383]: Module Convert::UUlib 1.09
Apr 16 16:49:50 mail amavis[31383]: Module DBD::mysql 4.006
Apr 16 16:49:50 mail amavis[31383]: Module DBI 1.601
Apr 16 16:49:50 mail amavis[31383]: Module DB_File 1.816
Apr 16 16:49:50 mail amavis[31383]: Module Digest::MD5 2.33
Apr 16 16:49:50 mail amavis[31383]: Module Digest::SHA1 2.11
Apr 16 16:49:50 mail amavis[31383]: Module MIME::Entity 5.423
Apr 16 16:49:50 mail amavis[31383]: Module MIME::Parser 5.423
Apr 16 16:49:50 mail amavis[31383]: Module MIME::Tools 5.423
Apr 16 16:49:50 mail amavis[31383]: Module Mail::Header 2.02
Apr 16 16:49:50 mail amavis[31383]: Module Mail::Internet 2.02
Apr 16 16:49:50 mail amavis[31383]: Module Mail::SpamAssassin 3.002004
Apr 16 16:49:50 mail amavis[31383]: Module Net:NS 0.62
Apr 16 16:49:50 mail amavis[31383]: Module Net::LDAP 0.34
Apr 16 16:49:50 mail amavis[31383]: Module Net::Server 0.97
Apr 16 16:49:50 mail amavis[31383]: Module Time::HiRes 1.9711
Apr 16 16:49:50 mail amavis[31383]: Module URI 1.35
Apr 16 16:49:50 mail amavis[31383]: Module Unix::Syslog 1.0
Apr 16 16:49:50 mail amavis[31383]: Amavis:B code loaded
Apr 16 16:49:50 mail amavis[31383]: Amavis::Cache code loaded
Apr 16 16:49:50 mail amavis[31383]: SQL base code NOT loaded
Apr 16 16:49:50 mail amavis[31383]: SQL::Log code NOT loaded
Apr 16 16:49:50 mail amavis[31383]: SQL::Quarantine NOT loaded
Apr 16 16:49:50 mail amavis[31383]: Lookup::SQL code NOT loaded
Apr 16 16:49:50 mail amavis[31383]: Lookup::LDAP code loaded
Apr 16 16:49:50 mail amavis[31383]: AM.PDP-in proto code loaded
Apr 16 16:49:50 mail amavis[31383]: SMTP-in proto code loaded
Apr 16 16:49:50 mail amavis[31383]: Courier proto code NOT loaded
Apr 16 16:49:50 mail amavis[31383]: SMTP-out proto code loaded
Apr 16 16:49:50 mail amavis[31383]: Pipe-out proto code NOT loaded
Apr 16 16:49:50 mail amavis[31383]: BSMTP-out proto code NOT loaded
Apr 16 16:49:50 mail amavis[31383]: Local-out proto code loaded
Apr 16 16:49:50 mail amavis[31383]: OS_Fingerprint code NOT loaded
Apr 16 16:49:50 mail amavis[31383]: ANTI-VIRUS code loaded
Apr 16 16:49:50 mail amavis[31383]: ANTI-SPAM code loaded
Apr 16 16:49:50 mail amavis[31383]: ANTI-SPAM-SA code loaded
Apr 16 16:49:50 mail amavis[31383]: Unpackers code loaded
Apr 16 16:49:50 mail amavis[31383]: Found $file at /usr/bin/file
Apr 16 16:49:50 mail amavis[31383]: No $dspam, not using it
Apr 16 16:49:50 mail amavis[31383]: No $altermime, not using it
Apr 16 16:49:50 mail amavis[31383]: Internal decoder for .mail
Apr 16 16:49:50 mail amavis[31383]: Internal decoder for .asc
Apr 16 16:49:50 mail amavis[31383]: Internal decoder for .uue
Apr 16 16:49:50 mail amavis[31383]: Internal decoder for .hqx
Apr 16 16:49:50 mail amavis[31383]: Internal decoder for .ync
Apr 16 16:49:50 mail amavis[31383]: No decoder for .F tried: unfreeze, freeze -d, melt, fcat
Apr 16 16:49:50 mail amavis[31383]: Found decoder for .Z at /usr/bin/gzip -d
Apr 16 16:49:50 mail amavis[31383]: Found decoder for .gz at /usr/bin/gzip -d
Apr 16 16:49:50 mail amavis[31383]: Found decoder for .bz2 at /usr/bin/bzip2 -d
Apr 16 16:49:50 mail amavis[31383]: No decoder for .lzo tried: lzop -d
Apr 16 16:49:50 mail amavis[31383]: Found decoder for .rpm at /usr/bin/rpm2cpio
Apr 16 16:49:50 mail amavis[31383]: Found decoder for .cpio at /usr/bin/pax
Apr 16 16:49:50 mail amavis[31383]: Found decoder for .tar at /usr/bin/pax
Apr 16 16:49:50 mail amavis[31383]: Found decoder for .deb at /usr/bin/ar
Apr 16 16:49:50 mail amavis[31383]: Internal decoder for .zip
Apr 16 16:49:50 mail amavis[31383]: No decoder for .7z tried: 7zr, 7za, 7z
Apr 16 16:49:50 mail amavis[31383]: No decoder for .rar tried: rar, unrar
Apr 16 16:49:50 mail amavis[31383]: No decoder for .arj tried: arj, unarj
Apr 16 16:49:50 mail amavis[31383]: No decoder for .arc tried: nomarch, arc
Apr 16 16:49:50 mail amavis[31383]: No decoder for .zoo tried: zoo, unzoo
Apr 16 16:49:50 mail amavis[31383]: Found decoder for .lha at /usr/bin/lha
Apr 16 16:49:50 mail amavis[31383]: No decoder for .cab tried: cabextract
Apr 16 16:49:50 mail amavis[31383]: No decoder for .tnef tried: tnef
Apr 16 16:49:50 mail amavis[31383]: Internal decoder for .tnef
Apr 16 16:49:50 mail amavis[31383]: Found decoder for .exe at /usr/bin/lha
Apr 16 16:49:50 mail amavis[31383]: Using primary internal av scanner code for ClamAV-clamd
Apr 16 16:49:50 mail amavis[31383]: Found primary av scanner NAI McAfee AntiVirus (uvscan) at /usr/local/bin/uvscan
Apr 16 16:49:50 mail amavis[31383]: Creating db in /opt/zimbra/amavisd/db/; BerkeleyDB 0.32, libdb 4.2
Apr 16 16:49:51 mail amavis[31383]: SpamControl: initializing Mail::SpamAssassin
Apr 16 16:49:52 mail amavis[31383]: SpamControl: init_pre_fork done
Apr 16 16:50:01 mail zimbramon[31413]: 31413:info: 2008-04-16 16:50:01, QUEUE: 162 40
Apr 16 16:50:01 mail zimbramon[31421]: 31421:info: 2008-04-16 16:50:01, DISK:mymail.com: dev: /dev/cciss/c0d0p1, mp: /, tot: 10077, avail: 621
1
Apr 16 16:50:01 mail zimbramon[31421]: 31421:info: 2008-04-16 16:50:01, DISK: mymail.com: dev: /dev/cciss/c0d0p6, mp: /opt, tot: 102396, avail:
49122
Apr 16 16:50:01 mail zimbramon[31421]: 31421:info: 2008-04-16 16:50:01, DISK: mymail: dev: /dev/cciss/c0d0p7, mp: /export, tot: 102073, ava
il: 52442
Apr 16 16:50:01 mail zimbramon[31421]: 31421:info: 2008-04-16 16:50:01, DISK: mymail.com: dev: /dev/cciss/c0d0p2, mp: /usr, tot: 8061, avail: 5
989
Apr 16 16:50:01 mail zimbramon[31421]: 31421:info: 2008-04-16 16:50:01, DISK: mymail.com: dev: /dev/cciss/c0d0p3, mp: /var, tot: 8061, avail: 6
538
Apr 16 16:50:03 mail zmmailboxdmgr[31680]: status requested
Apr 16 16:50:03 mail zmmailboxdmgr[31680]: status OK
Apr 16 16:50:03 mail zimbramon[31418]: 31418:info: 2008-04-16 16:50:01, STATUS: mymail.com: antispam: Stopped
Apr 16 16:50:03 mail zimbramon[31418]: 31418:info: 2008-04-16 16:50:01, STATUS: mymail.com: antivirus: Stopped

Apr 16 16:50:16 mail clamd[14229]: Pid file removed.
Apr 16 16:50:16 mail clamd[14229]: --- Stopped at Wed Apr 16 16:50:16 2008
Reply With Quote
  #2 (permalink)  
Old 04-17-2008, 02:59 PM
Moderator
 
Posts: 1,186
Default

Code:
Apr 16 16:49:50 mail amavis[31382]: (!)Net::Server: 2008/04/16-16:49:50 Can't connect to TCP port 10024 on 127.0.0.1 [Address already in use]\n at line 88 i
n file /opt/zimbra/zimbramon/lib/Net/Server/Proto/TCP.pm
Looks like something else is already running on port 10024, which is what amavis uses to collect mail from Postfix. (Amavis then reinjects mail to Postfix on 10025.)

After you do a zmcontrol stop, exit out to root and run top. Enter u followed by zimbra and I expect you will see some Zimbra processes still running. If there are any zimbra processes running, you'll need to kill them first before trying a zmcontrol start.

Hope that helps,
Mark
__________________
___________________________________
L. Mark Stone, CIO


"Uptime. All the time."

477 Congress Street | Portland, ME 04101-3431 | (207) 772-5678

proactive maintenance and monitoring | technology consulting
Zimbra groupware | EMR implementations | private cloud hosting
Reply With Quote
  #3 (permalink)  
Old 04-18-2008, 01:41 AM
Special Member
 
Posts: 110
Default

Hi Mark,
I spotted that and if it happens again I will try killing the processes. I picked a quiet moment and restarted the server, a bit drastic but it worked.

Thanks for taking the time to check it out.
John
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.