Cannot start logger or snmp

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
hikenboots
Posts: 17
Joined: Fri Sep 12, 2014 10:02 pm

Cannot start logger or snmp

Post by hikenboots »

I installed once with an incorrect ip in /etc/hosts for my fqdn.

I uninstalled and reinstalled but still cannot start the logger or snmp.

Below it the output of zmcontrol status, zmcontrol stop and /tmp/install.
Advice would be appreciated.


**********************************************

[zimbra@hq root]$ zmcontrol status

Host hq.zzz.com

antispam Running

antivirus Running

ldap Running

logger Stopped

mailbox Running

mta Running

snmp Stopped

spell Running
***********************************************

[zimbra@hq root]$ cat /tmp/install.log.2539

Preparing packages for installation...

zimbra-core-3.0.0_M3_436.FC4-20060106155236

ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException localhost:389)

Loading classes to share ... done.

Rewriting and unlinking classes ... done.

Calculating hash values for String objects .. done.

Calculating fingerprints ... done.

Removing unshareable information ... done.

Moving most read-only objects to shared space at 0x90bb0000 ... done.

Moving common symbols to shared space at 0x90f2a520 ... done.

Moving remaining symbols to shared space at 0x91055640 ... done.

Moving string char arrays to shared space at 0x910560d0 ... done.

Moving additional symbols to shared space at 0x910d7728 ... done.

Read-only space ends at 0x9112b5e8, 5748200 bytes.

Moving read-write objects to shared space at 0x913b0000 ... done.

Moving String objects to shared space at 0x91929ec0 ... done.

Read-write space ends at 0x91969dc0, 6004160 bytes.

Updating references to shared objects ... done.
Preparing packages for installation...

zimbra-ldap-3.0.0_M3_436.FC4-20060106155236

Preparing packages for installation...

zimbra-logger-3.0.0_M3_436.FC4-20060106155236

Preparing packages for installation...

zimbra-mta-3.0.0_M3_436.FC4-20060106155236

umount2: No such file or directory

umount: /opt/zimbra/amavisd/tmp: not found

mv: cannot stat `/opt/zimbra/amavisd': No such file or directory

chown: cannot access `/opt/zimbra/perdition-1.17': No such file or directory

Preparing packages for installation...

zimbra-snmp-3.0.0_M3_436.FC4-20060106155236

Preparing packages for installation...

zimbra-store-3.0.0_M3_436.FC4-20060106155236

Preparing packages for installation...

zimbra-apache-3.0.0_M3_436.FC4-20060106155236

Preparing packages for installation...

zimbra-spell-3.0.0_M3_436.FC4-20060106155236


*******************************************

[zimbra@hq root]$ zmcontrol stop

Host hq.zzz.com

Stopping antispam...Done

Stopping antivirus...Done

Stopping ldap...Done

Stopping logger...FAILED

Killing mysqld with pid 7885 .../opt/zimbra/bin/zmlogswatchctl: line 59: kill: (13199) - No such process


Stopping mailbox...Done

Stopping mta...Done

Stopping snmp...Done

Stopping spell...Done
hikenboots
Posts: 17
Joined: Fri Sep 12, 2014 10:02 pm

Cannot start logger or snmp

Post by hikenboots »

oops, sorry for posting to wrong forum. I'll leave it to avoid cross post.
marcmac
Elite member
Elite member
Posts: 2091
Joined: Fri Sep 12, 2014 9:53 pm

Cannot start logger or snmp

Post by marcmac »

What's in /tmp/swatch.out or /tmp/logswatch.out? THis could be logfile permissions.
hikenboots
Posts: 17
Joined: Fri Sep 12, 2014 10:02 pm

Cannot start logger or snmp

Post by hikenboots »

Looks like a permission error allright; how should it be set?
********************************************************

[root@hq tmp]# cat swatch.out
*** swatch version 3.1.1 (pid:13671) started at Mon Jan 16 14:56:03 CST 2006
/usr/bin/tail: cannot open `/var/log/zimbra.log' for reading: Permission denied

/usr/bin/tail: no files remaining


********************************************************

***

[root@hq tmp]# cat logswatch.out

logswatch version 3.1.1 (pid:13181) started at Mon Jan 16 14:55:51 CST 2006
/usr/bin/tail: cannot open `/var/log/zimbra.log' for reading: Permission denied

/usr/bin/tail: no files remaining
********************************************************

[root@hq log]# ls -lisa zimbra.log

65642 0 -rw------- 1 root root 0 Jan 16 15:22 zimbra.log
marcmac
Elite member
Elite member
Posts: 2091
Joined: Fri Sep 12, 2014 9:53 pm

Cannot start logger or snmp

Post by marcmac »

chown it to zimbra
hikenboots
Posts: 17
Joined: Fri Sep 12, 2014 10:02 pm

Cannot start logger or snmp

Post by hikenboots »

That did the trick. Thanks for the great support. :) You guys are going to do well.
Post Reply