4.53: tomcat is not running

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
11335michaeln
Posts: 47
Joined: Fri Sep 12, 2014 10:26 pm

4.53: tomcat is not running

Post by 11335michaeln »

After upgrading my server from 4.52GA to 4.53GA this morning, everything seemed OK. I decided to enable imap proxy. That seemed to be OK at the time, but later I checked the server status and there was an X next to imap proxy.
I figured maybe I needed to restart zimbra, so I did an "/etc/init.d/zimbra restart". After 20 seconds or so, the command returned without error.
I tried logging in to the admin panel, and got "Server Error Encountered". So, I did an "su - zimbra" and checked zmcontrol status:


[zimbra@mailhost ~]$ zmcontrol status

Host mailhost.inc21.com

antispam Running

antivirus Running

imapproxy Running

ldap Running

logger Running

mailbox Stopped

tomcat is not running

mta Running

snmp Running

spell Running



Tried the mailbox and tomcat troubleshooting stuff in the wiki, but


[zimbra@mailhost ~]$ sh -x bin/zmmtactl status

+ BASE=/opt/zimbra

+ SCRIPTS='zmmtaconfigctl postfix zmsaslauthdctl'

+ case "$1" in

+ STATUS=0

+ for i in '$SCRIPTS'

+ /opt/zimbra/bin/zmmtaconfigctl status

+ R=0

+ '[' 0 -ne 0 ']'

+ for i in '$SCRIPTS'

+ /opt/zimbra/bin/postfix status

+ R=0

+ '[' 0 -ne 0 ']'

+ for i in '$SCRIPTS'

+ /opt/zimbra/bin/zmsaslauthdctl status

+ R=0

+ '[' 0 -ne 0 ']'

+ exit 0


So I think that's OK.
I tried "mysql mysql" as zimbra user and logged into mysql no problem.
I checked permissions and ownership of the redolog, and it looks OK too:



[zimbra@mailhost ~]$ ls -l /opt/zimbra/redolog

total 8

drwxr-x--- 2 zimbra zimbra 4096 Mar 2 13:08 archive

-rw-r----- 1 zimbra zimbra 512 Mar 2 13:08 redo.log



So now I'm kind of stuck.
User avatar
jholder
Ambassador
Ambassador
Posts: 4824
Joined: Fri Sep 12, 2014 10:00 pm

4.53: tomcat is not running

Post by jholder »

Can you provide the log?

zmcontrol stop

zmcontrol start

tail -200 /var/log/zimbra.log
post that.
-john
11335michaeln
Posts: 47
Joined: Fri Sep 12, 2014 10:26 pm

4.53: tomcat is not running

Post by 11335michaeln »

Checking /var/log/zimbra.log I found lots of instance of:
Mar 2 14:48:30 mailhost zmtomcatmgr[5080]: stale pid 30915 found in /opt/zimbra/log/zmtomcatmgr.pid: No such process
So I verified there was no such process and checked the pid file. I stopped zimbra, deleted the offending zmtomcatmgr.pid file and did "/etc/init.d/zimbra start".
I notice that the new pid file is owned by root.root when all the other pid files in /opt/zimbra/log are zimbra.zimbra:


mailhost:/opt/zimbra/log# l *.pid

-rw-r----- 1 zimbra zimbra 5 Mar 2 14:50 amavisd.pid

-rw-rw---- 1 zimbra zimbra 4 Mar 2 14:50 clamd.pid

-rw-rw---- 1 zimbra zimbra 4 Mar 2 14:50 freshclam.pid

-rw-r--r-- 1 zimbra zimbra 5 Mar 2 14:50 httpd.pid

-rw-rw-r-- 1 zimbra zimbra 5 Mar 2 14:50 logswatch.pid

-rw-rw---- 1 zimbra zimbra 4 Mar 2 14:50 perdition.imap4.pid

-rw-rw---- 1 zimbra zimbra 4 Mar 2 14:50 perdition.imap4s.pid

-rw-rw---- 1 zimbra zimbra 4 Mar 2 14:50 perdition.pop3.pid

-rw-rw---- 1 zimbra zimbra 4 Mar 2 14:50 perdition.pop3s.pid

-rw-rw-r-- 1 zimbra zimbra 5 Mar 2 14:50 swatch.pid

-rw-r--r-- 1 zimbra zimbra 4 Mar 2 14:50 zmlogprocess.pid

-rw-rw-r-- 1 zimbra zimbra 4 Mar 2 14:50 zmmtaconfig.pid

-rw-r--r-- 1 root root 5 Mar 2 14:50 zmtomcatmgr.pid
mailhost:/opt/zimbra/log# cat zmtomcatmgr.pid

6311
mailhost:/opt/zimbra/log# su - zimbra

[zimbra@mailhost ~]$ zmcontrol status

Host mailhost.inc21.com

antispam Running

antivirus Running

imapproxy Running

ldap Running

logger Running

mailbox Stopped

tomcat is not running

mta Running

snmp Running

spell Running

[zimbra@mailhost ~]$


....AAARRGGGGHHHH.
User avatar
jholder
Ambassador
Ambassador
Posts: 4824
Joined: Fri Sep 12, 2014 10:00 pm

4.53: tomcat is not running

Post by jholder »

Looks like a permissions issue.

Stop Zimbra

Remove the PID again

Run as root the zmfixperms script located in /opt/zimbra/libexec
11335michaeln
Posts: 47
Joined: Fri Sep 12, 2014 10:26 pm

4.53: tomcat is not running

Post by 11335michaeln »

[quote user="jholder"]Can you provide the log?

zmcontrol stop

zmcontrol start

tail -200 /var/log/zimbra.log
post that.
-john[/QUOTE]


Mar 2 14:50:47 mailhost zmtomcatmgr[6311]: tomcat/JVM exited twice in 6 seconds (tolerance=60)

Mar 2 14:50:47 mailhost amavis[6678]: Found decoder for .lha at /usr/bin/lha

Mar 2 14:50:47 mailhost amavis[6678]: No decoder for .cab tried: cabextract

Mar 2 14:50:47 mailhost amavis[6678]: No decoder for .tnef tried: tnef

Mar 2 14:50:47 mailhost amavis[6678]: Internal decoder for .tnef

Mar 2 14:50:47 mailhost amavis[6678]: Found decoder for .exe at /usr/bin/lha

Mar 2 14:50:47 mailhost amavis[6678]: Using internal av scanner code for (primary) ClamAV-clamd

Mar 2 14:50:47 mailhost amavis[6678]: Creating db in /opt/zimbra/amavisd/db/; BerkeleyDB 0.31, libdb 4.2

Mar 2 14:50:48 mailhost amavis[6678]: SpamControl: initializing Mail::SpamAssassin

Mar 2 14:50:48 mailhost amavis[6678]: SpamControl: init_pre_fork done

Mar 2 14:52:06 mailhost zmtomcatmgr[7136]: status requested

Mar 2 14:52:06 mailhost zmtomcatmgr[7136]: stale pid 6311 found in /opt/zimbra/log/zmtomcatmgr.pid: No such process

Mar 2 14:52:06 mailhost zmtomcatmgr[7136]: assuming no other instance is running

Mar 2 14:52:06 mailhost zmtomcatmgr[7136]: no manager process is running

Mar 2 14:52:06 mailhost zimbramon[6953]: 6953:info: 2007-03-02 14:52:01, STATUS: mailhost.inc21.com: antispam: Running

Mar 2 14:52:06 mailhost zimbramon[6953]: 6953:info: 2007-03-02 14:52:01, STATUS: mailhost.inc21.com: antivirus: Running

Mar 2 14:52:06 mailhost zimbramon[6953]: 6953:info: 2007-03-02 14:52:01, STATUS: mailhost.inc21.com: imapproxy: Running

Mar 2 14:52:06 mailhost zimbramon[6953]: 6953:info: 2007-03-02 14:52:01, STATUS: mailhost.inc21.com: ldap: Running

Mar 2 14:52:06 mailhost zimbramon[6953]: 6953:info: 2007-03-02 14:52:01, STATUS: mailhost.inc21.com: logger: Running

Mar 2 14:52:06 mailhost zimbramon[6953]: 6953:info: 2007-03-02 14:52:01, STATUS: mailhost.inc21.com: mailbox: Stopped

Mar 2 14:52:06 mailhost zimbramon[6953]: 6953:info: 2007-03-02 14:52:01, STATUS: mailhost.inc21.com: mta: Running

Mar 2 14:52:06 mailhost zimbramon[6953]: 6953:info: 2007-03-02 14:52:01, STATUS: mailhost.inc21.com: snmp: Running

Mar 2 14:52:06 mailhost zimbramon[6953]: 6953:info: 2007-03-02 14:52:01, STATUS: mailhost.inc21.com: spell: Running

Mar 2 14:54:06 mailhost zmtomcatmgr[7693]: status requested

Mar 2 14:54:06 mailhost zmtomcatmgr[7693]: stale pid 6311 found in /opt/zimbra/log/zmtomcatmgr.pid: No such process

Mar 2 14:54:06 mailhost zmtomcatmgr[7693]: assuming no other instance is running

Mar 2 14:54:06 mailhost zmtomcatmgr[7693]: no manager process is running

Mar 2 14:54:06 mailhost zimbramon[7512]: 7512:info: 2007-03-02 14:54:01, STATUS: mailhost.inc21.com: antispam: Running

Mar 2 14:54:06 mailhost zimbramon[7512]: 7512:info: 2007-03-02 14:54:01, STATUS: mailhost.inc21.com: antivirus: Running

Mar 2 14:54:06 mailhost zimbramon[7512]: 7512:info: 2007-03-02 14:54:01, STATUS: mailhost.inc21.com: imapproxy: Running

Mar 2 14:54:06 mailhost zimbramon[7512]: 7512:info: 2007-03-02 14:54:01, STATUS: mailhost.inc21.com: ldap: Running

Mar 2 14:54:06 mailhost zimbramon[7512]: 7512:info: 2007-03-02 14:54:01, STATUS: mailhost.inc21.com: logger: Running

Mar 2 14:54:06 mailhost zimbramon[7512]: 7512:info: 2007-03-02 14:54:01, STATUS: mailhost.inc21.com: mailbox: Stopped

Mar 2 14:54:06 mailhost zimbramon[7512]: 7512:info: 2007-03-02 14:54:01, STATUS: mailhost.inc21.com: mta: Running

Mar 2 14:54:06 mailhost zimbramon[7512]: 7512:info: 2007-03-02 14:54:01, STATUS: mailhost.inc21.com: snmp: Running

Mar 2 14:54:06 mailhost zimbramon[7512]: 7512:info: 2007-03-02 14:54:01, STATUS: mailhost.inc21.com: spell: Running

Mar 2 14:54:10 mailhost su(pam_unix)[7744]: session opened for user zimbra by mnelson(uid=0)

Mar 2 14:54:23 mailhost zmtomcatmgr[8229]: status requested

Mar 2 14:54:23 mailhost zmtomcatmgr[8229]: stale pid 6311 found in /opt/zimbra/log/zmtomcatmgr.pid: No such process

Mar 2 14:54:23 mailhost zmtomcatmgr[8229]: assuming no other instance is running

Mar 2 14:54:23 mailhost zmtomcatmgr[8229]: no manager process is running

Mar 2 14:55:42 mailhost zimbramon[8516]: 8516:info: Stopping services

Mar 2 14:55:42 mailhost zimbramon[8516]: 8516:info: Stopping mta

Mar 2 14:55:43 mailhost postfix/postfix-script: stopping the Postfix mail system

Mar 2 14:55:43 mailhost postfix/master[6726]: terminating on signal 15

Mar 2 14:55:43 mailhost saslauthd[6771]: server_exit : master exited: 6771

Mar 2 14:55:43 mailhost zimbramon[8516]: 8516:info: Stopping spell

Mar 2 14:55:43 mailhost zimbramon[8516]: 8516:info: Stopping snmp

Mar 2 14:55:43 mailhost zimbramon[8516]: 8516:info: Stopping antivirus

Mar 2 14:55:43 mailhost zimbramon[8516]: 8516:info: Stopping antispam

Mar 2 14:55:43 mailhost clamd[6773]: Pid file removed.

Mar 2 14:55:43 mailhost clamd[6773]: Exiting (clean)

Mar 2 14:55:43 mailhost clamd[6773]: --- Stopped at Fri Mar 2 14:55:43 2007

Mar 2 14:55:43 mailhost amavis[6678]: Net::Server: 2007/03/02-14:55:43 Server closing!

Mar 2 14:55:45 mailhost zimbramon[8516]: 8516:info: Stopping imapproxy

Mar 2 14:55:47 mailhost zimbramon[8516]: 8516:info: Stopping mailbox

Mar 2 14:55:47 mailhost zmtomcatmgr[8941]: threaddump requested

Mar 2 14:55:47 mailhost zmtomcatmgr[8941]: stale pid 6311 found in /opt/zimbra/log/zmtomcatmgr.pid: No such process

Mar 2 14:55:47 mailhost zmtomcatmgr[8941]: assuming no other instance is running

Mar 2 14:55:47 mailhost zmtomcatmgr[8941]: no manager process is running

Mar 2 14:55:49 mailhost zmtomcatmgr[8948]: stop requested

Mar 2 14:55:49 mailhost zmtomcatmgr[8948]: stale pid 6311 found in /opt/zimbra/log/zmtomcatmgr.pid: No such process

Mar 2 14:55:49 mailhost zmtomcatmgr[8948]: assuming no other instance is running

Mar 2 14:55:49 mailhost zmtomcatmgr[8948]: no manager process is running

Mar 2 14:55:53 mailhost zimbramon[8516]: 8516:info: Stopping logger

Mar 2 14:55:57 mailhost zimbramon[8516]: 8516:info: Stopping ldap

Mar 2 14:56:02 mailhost zimbramon[9046]: 9046:info: 2007-03-02 14:56:01, STATUS: : Cannot: determine

Mar 2 14:56:02 mailhost zimbramon[9081]: 9081:info: Starting services

Mar 2 14:56:03 mailhost slapd[9176]: @(#) $OpenLDAP: slapd 2.3.21 (Feb 9 2007 14:47:10) $ build@build.liquidsys.com:/home/build/p4/main/ThirdParty/openldap/openldap-2.3.21/servers/slapd

Mar 2 14:56:06 mailhost zimbramon[9081]: 9081:info: Rewriting configs antispam antivirus webxml mailbox antispam antivirus mta sasl

Mar 2 14:56:11 mailhost zimbramon[9081]: 9081:info: Starting logger

Mar 2 14:56:11 mailhost zimbramon[9081]: 9081:info: Starting mailbox

Mar 2 14:56:19 mailhost zmtomcatmgr[10073]: status requested

Mar 2 14:56:19 mailhost zmtomcatmgr[10073]: stale pid 6311 found in /opt/zimbra/log/zmtomcatmgr.pid: No such process

Mar 2 14:56:19 mailhost zmtomcatmgr[10073]: assuming no other instance is running

Mar 2 14:56:19 mailhost zmtomcatmgr[10073]: no manager process is running

Mar 2 14:56:19 mailhost zmtomcatmgr[10080]: start requested

Mar 2 14:56:19 mailhost zmtomcatmgr[10080]: checking if another instance of manager is already running

Mar 2 14:56:19 mailhost zmtomcatmgr[10080]: stale pid 6311 found in /opt/zimbra/log/zmtomcatmgr.pid: No such process

Mar 2 14:56:19 mailhost zmtomcatmgr[10080]: assuming no other instance is running

Mar 2 14:56:19 mailhost zmtomcatmgr[10081]: wrote manager pid 10081 to /opt/zimbra/log/zmtomcatmgr.pid

Mar 2 14:56:19 mailhost zmtomcatmgr[10081]: manager started tomcat/JVM with pid 10082

Mar 2 14:56:19 mailhost zimbramon[9081]: 9081:info: Starting imapproxy

Mar 2 14:56:22 mailhost zimbramon[9081]: 9081:info: Starting antispam

Mar 2 14:56:23 mailhost zimbramon[9081]: 9081:info: Starting antivirus

Mar 2 14:56:24 mailhost zimbramon[9081]: 9081:info: Starting snmp

Mar 2 14:56:24 mailhost clamd[10340]: Daemon started.

Mar 2 14:56:24 mailhost clamd[10340]: clamd daemon 0.88.7 (OS: linux-gnu, ARCH: i386, CPU: i686)

Mar 2 14:56:24 mailhost clamd[10340]: Log file size limited to 20971520 bytes.

Mar 2 14:56:24 mailhost clamd[10340]: Reading databases from /opt/zimbra/clamav/db

Mar 2 14:56:24 mailhost zimbramon[9081]: 9081:info: Starting spell

Mar 2 14:56:24 mailhost zimbramon[9081]: 9081:info: Starting mta

Mar 2 14:56:25 mailhost zmtomcatmgr[10081]: manager woke up from wait on tomcat/JVM with pid 10082

Mar 2 14:56:25 mailhost zmtomcatmgr[10081]: manager started tomcat/JVM with pid 10380

Mar 2 14:56:25 mailhost amavis[10257]: starting. /opt/zimbra/amavisd/sbin/amavisd at mailhost.inc21.com amavisd-new-2.4.3 (20060930), Unicode aware, LANG=en_US

Mar 2 14:56:25 mailhost amavis[10257]: user=503, EUID: 503 (503); group=, EGID: 503 504 503 5 4 (503 504 503 5 4); log_level=1

Mar 2 14:56:25 mailhost amavis[10257]: Perl version 5.008005

Mar 2 22:56:26 mailhost postfix/postqueue[10446]: fatal: Queue report unavailable - mail system is down

Mar 2 14:56:26 mailhost amavis[10257]: SpamControl: init_pre_chroot done

Mar 2 14:56:26 mailhost amavis[10447]: Net::Server: Process Backgrounded

Mar 2 14:56:26 mailhost amavis[10447]: Net::Server: 2007/03/02-14:56:26 Amavis (type Net::Server::PreForkSimple) starting! pid(10447)

Mar 2 14:56:26 mailhost amavis[10447]: Net::Server: Binding to UNIX socket file /opt/zimbra/amavisd/amavisd.sock using SOCK_STREAM

Mar 2 14:56:26 mailhost amavis[10447]: Net::Server: Binding to TCP port 10024 on host 127.0.0.1

Mar 2 14:56:26 mailhost amavis[10447]: Net::Server: Group Not Defined. Defaulting to EGID '503 504 503 5 4'

Mar 2 14:56:26 mailhost amavis[10447]: Net::Server: User Not Defined. Defaulting to EUID '503'

Mar 2 14:56:26 mailhost amavis[10447]: Module Amavis::Conf 2.072

Mar 2 14:56:26 mailhost amavis[10447]: Module Archive::Tar 1.30

Mar 2 14:56:26 mailhost amavis[10447]: Module Archive::Zip 1.18

Mar 2 14:56:26 mailhost amavis[10447]: Module BerkeleyDB 0.31

Mar 2 14:56:26 mailhost amavis[10447]: Module Compress::Zlib 2.003

Mar 2 14:56:26 mailhost amavis[10447]: Module Convert::TNEF 0.17

Mar 2 14:56:26 mailhost amavis[10447]: Module Convert::UUlib 1.08

Mar 2 14:56:26 mailhost amavis[10447]: Module DBD::mysql 4.001

Mar 2 14:56:26 mailhost amavis[10447]: Module DBI 1.53

Mar 2 14:56:26 mailhost amavis[10447]: Module DB_File 1.815

Mar 2 14:56:26 mailhost amavis[10447]: Module Digest::MD5 2.33

Mar 2 14:56:26 mailhost amavis[10447]: Module MIME::Entity 5.420

Mar 2 14:56:26 mailhost amavis[10447]: Module MIME::Parser 5.420

Mar 2 14:56:26 mailhost amavis[10447]: Module MIME::Tools 5.420

Mar 2 14:56:26 mailhost amavis[10447]: Module Mail::Header 1.74

Mar 2 14:56:26 mailhost amavis[10447]: Module Mail::Internet 1.74

Mar 2 14:56:26 mailhost amavis[10447]: Module Mail::SpamAssassin 3.001007

Mar 2 14:56:26 mailhost amavis[10447]: Module Net::Cmd 2.27

Mar 2 14:56:26 mailhost amavis[10447]: Module Net::DNS 0.59

Mar 2 14:56:26 mailhost amavis[10447]: Module Net::LDAP 0.33

Mar 2 14:56:26 mailhost amavis[10447]: Module Net::SMTP 2.30

Mar 2 14:56:27 mailhost amavis[10447]: Module Net::Server 0.95

Mar 2 14:56:27 mailhost amavis[10447]: Module Time::HiRes 1.9704

Mar 2 14:56:27 mailhost amavis[10447]: Module Unix::Syslog 0.99

Mar 2 14:56:27 mailhost amavis[10447]: Amavis::DB code loaded

Mar 2 14:56:27 mailhost amavis[10447]: Amavis::Cache code loaded

Mar 2 14:56:27 mailhost amavis[10447]: SQL base code NOT loaded

Mar 2 14:56:27 mailhost amavis[10447]: SQL::Log code NOT loaded

Mar 2 14:56:27 mailhost amavis[10447]: SQL::Quarantine NOT loaded

Mar 2 14:56:27 mailhost amavis[10447]: Lookup::SQL code NOT loaded

Mar 2 14:56:27 mailhost amavis[10447]: Lookup::LDAP code loaded

Mar 2 14:56:27 mailhost amavis[10447]: AM.PDP-in proto code loaded

Mar 2 14:56:27 mailhost amavis[10447]: SMTP-in proto code loaded

Mar 2 14:56:27 mailhost amavis[10447]: Courier proto code NOT loaded

Mar 2 14:56:27 mailhost amavis[10447]: SMTP-out proto code loaded

Mar 2 14:56:27 mailhost amavis[10447]: Pipe-out proto code NOT loaded

Mar 2 14:56:27 mailhost amavis[10447]: BSMTP-out proto code NOT loaded

Mar 2 14:56:27 mailhost amavis[10447]: Local-out proto code loaded

Mar 2 14:56:27 mailhost amavis[10447]: OS_Fingerprint code NOT loaded

Mar 2 14:56:27 mailhost amavis[10447]: ANTI-VIRUS code loaded

Mar 2 14:56:27 mailhost amavis[10447]: ANTI-SPAM code loaded

Mar 2 14:56:28 mailhost amavis[10447]: ANTI-SPAM-SA code loaded

Mar 2 14:56:28 mailhost amavis[10447]: Unpackers code loaded

Mar 2 14:56:28 mailhost amavis[10447]: Found $file at /usr/bin/file

Mar 2 14:56:28 mailhost amavis[10447]: No $dspam, not using it

Mar 2 14:56:28 mailhost amavis[10447]: Internal decoder for .mail

Mar 2 14:56:28 mailhost amavis[10447]: Internal decoder for .asc

Mar 2 14:56:28 mailhost amavis[10447]: Internal decoder for .uue

Mar 2 14:56:28 mailhost amavis[10447]: Internal decoder for .hqx

Mar 2 14:56:28 mailhost amavis[10447]: Internal decoder for .ync

Mar 2 14:56:28 mailhost amavis[10447]: No decoder for .F tried: unfreeze, freeze -d, melt, fcat

Mar 2 14:56:28 mailhost amavis[10447]: Found decoder for .Z at /usr/bin/gzip -d

Mar 2 14:56:28 mailhost amavis[10447]: Internal decoder for .gz

Mar 2 14:56:28 mailhost amavis[10447]: Found decoder for .bz2 at /usr/bin/bzip2 -d

Mar 2 14:56:28 mailhost clamd[10340]: Protecting against 90538 viruses.

Mar 2 14:56:28 mailhost postfix/postfix-script: warning: not owned by root: /opt/zimbra/postfix-2.2.9/conf/main.cf

Mar 2 14:56:28 mailhost amavis[10447]: No decoder for .lzo tried: lzop -d

Mar 2 14:56:28 mailhost clamd[10482]: Bound to port 3310

Mar 2 14:56:28 mailhost postfix/postfix-script: starting the Postfix mail system

Mar 2 14:56:28 mailhost amavis[10447]: Found decoder for .rpm at /usr/bin/rpm2cpio

Mar 2 14:56:28 mailhost clamd[10482]: Setting connection queue length to 15

Mar 2 14:56:28 mailhost postfix/master[10497]: daemon started -- version 2.2.9, configuration /opt/zimbra/postfix-2.2.9/conf

Mar 2 14:56:28 mailhost amavis[10447]: Found decoder for .cpio at /usr/bin/pax

Mar 2 14:56:28 mailhost clamd[10482]: Archive: Archived file size limit set to 104857600 bytes.

Mar 2 14:56:29 mailhost amavis[10447]: Found decoder for .tar at /usr/bin/pax

Mar 2 14:56:29 mailhost clamd[10482]: Archive: Recursion level limit set to 8.

Mar 2 14:56:29 mailhost clamd[10482]: Archive: Files limit set to 1000.

Mar 2 14:56:29 mailhost saslauthd[10542]: detach_tty : master pid is: 10542

Mar 2 14:56:29 mailhost clamd[10482]: Archive: Compression ratio limit set to 250.

Mar 2 14:56:29 mailhost clamd[10482]: Archive support enabled.

Mar 2 14:56:29 mailhost saslauthd[10542]: ipc_init : listening on socket: /opt/zimbra/cyrus-sasl-2.1.21.ZIMBRA/state/mux

Mar 2 14:56:29 mailhost clamd[10482]: Archive: RAR support disabled.

Mar 2 14:56:29 mailhost clamd[10482]: Portable Executable support enabled.

Mar 2 14:56:29 mailhost clamd[10482]: Mail files support enabled.

Mar 2 14:56:29 mailhost amavis[10447]: Found decoder for .deb at /usr/bin/ar

Mar 2 14:56:29 mailhost clamd[10482]: Mail: Recursion level limit set to 64.

Mar 2 14:56:29 mailhost amavis[10447]: Internal decoder for .zip

Mar 2 14:56:29 mailhost clamd[10482]: OLE2 support enabled.

Mar 2 14:56:29 mailhost amavis[10447]: No decoder for .rar tried: rar, unrar

Mar 2 14:56:29 mailhost clamd[10482]: HTML support enabled.

Mar 2 14:56:29 mailhost amavis[10447]: No decoder for .arj tried: arj, unarj

Mar 2 14:56:29 mailhost clamd[10482]: Self checking every 1800 seconds.

Mar 2 14:56:29 mailhost amavis[10447]: No decoder for .arc tried: nomarch, arc

Mar 2 14:56:30 mailhost amavis[10447]: No decoder for .zoo tried: zoo

Mar 2 14:56:30 mailhost amavis[10447]: Found decoder for .lha at /usr/bin/lha

Mar 2 14:56:30 mailhost amavis[10447]: No decoder for .cab tried: cabextract

Mar 2 14:56:30 mailhost amavis[10447]: No decoder for .tnef tried: tnef

Mar 2 14:56:30 mailhost amavis[10447]: Internal decoder for .tnef

Mar 2 14:56:30 mailhost amavis[10447]: Found decoder for .exe at /usr/bin/lha

Mar 2 14:56:30 mailhost amavis[10447]: Using internal av scanner code for (primary) ClamAV-clamd

Mar 2 14:56:30 mailhost amavis[10447]: Creating db in /opt/zimbra/amavisd/db/; BerkeleyDB 0.31, libdb 4.2

Mar 2 14:56:30 mailhost amavis[10447]: SpamControl: initializing Mail::SpamAssassin

Mar 2 14:56:31 mailhost zmtomcatmgr[10081]: manager woke up from wait on tomcat/JVM with pid 10380

Mar 2 14:56:31 mailhost zmtomcatmgr[10081]: tomcat/JVM exited twice in 6 seconds (tolerance=60)

Mar 2 14:56:31 mailhost amavis[10447]: SpamControl: init_pre_fork done

[zimbra@mailhost ~]$


Looks like zmtomcatmgr keeps starting and dying.
marcmac
Elite member
Elite member
Posts: 2091
Joined: Fri Sep 12, 2014 9:53 pm

4.53: tomcat is not running

Post by marcmac »

Move the zimbra server ports so they don't conflict with the perdition ports.
11335michaeln
Posts: 47
Joined: Fri Sep 12, 2014 10:26 pm

4.53: tomcat is not running

Post by 11335michaeln »

[quote user="jholder"]Looks like a permissions issue.

Stop Zimbra

Remove the PID again

Run as root the zmfixperms script located in /opt/zimbra/libexec[/QUOTE]
OK, I did all that, then "/etc/init.d/zimbra start". "zmcontrol status" shows the same as before, and the pid is still getting created root.root:


mailhost:/opt/zimbra/log# /opt/zimbra/libexec/zmfixperms

mailhost:/opt/zimbra/log# /etc/init.d/zimbra start

mailhost:/opt/zimbra/log# l *.pid

-rw-r----- 1 zimbra zimbra 6 Mar 2 15:06 amavisd.pid

-rw-rw---- 1 zimbra zimbra 5 Mar 2 15:06 clamd.pid

-rw-rw---- 1 zimbra zimbra 5 Mar 2 15:06 freshclam.pid

-rw-r--r-- 1 zimbra zimbra 6 Mar 2 15:06 httpd.pid

-rw-rw-r-- 1 zimbra zimbra 6 Mar 2 15:05 logswatch.pid

-rw-rw---- 1 zimbra zimbra 5 Mar 2 15:06 perdition.imap4.pid

-rw-rw---- 1 zimbra zimbra 5 Mar 2 15:06 perdition.imap4s.pid

-rw-rw---- 1 zimbra zimbra 5 Mar 2 15:06 perdition.pop3.pid

-rw-rw---- 1 zimbra zimbra 5 Mar 2 15:06 perdition.pop3s.pid

-rw-rw-r-- 1 zimbra zimbra 6 Mar 2 15:06 swatch.pid

-rw-rw-r-- 1 zimbra zimbra 5 Mar 2 15:05 zmmtaconfig.pid

-rw-r--r-- 1 root root 6 Mar 2 15:06 zmtomcatmgr.pid

mailhost:/opt/zimbra/log#


Thanks for the help, btw.
11335michaeln
Posts: 47
Joined: Fri Sep 12, 2014 10:26 pm

4.53: tomcat is not running

Post by 11335michaeln »

[quote user="marcmac"]Move the zimbra server ports so they don't conflict with the perdition ports.[/QUOTE]
Sorry, you got me with that one. I have no clue as to how to do what you've asked.
User avatar
jholder
Ambassador
Ambassador
Posts: 4824
Joined: Fri Sep 12, 2014 10:00 pm

4.53: tomcat is not running

Post by jholder »

Okay, so it's not a permissions issue, and marc is right.

Perdition is probably conflicting.
11335michaeln
Posts: 47
Joined: Fri Sep 12, 2014 10:26 pm

4.53: tomcat is not running

Post by 11335michaeln »

[quote user="jholder"]Okay, so it's not a permissions issue, and marc is right.

Perdition is probably conflicting.[/QUOTE]
Well how the heck did that happen? I had not done ANYTHING at the command line since doing the upgrade.
Post Reply