i need help with snmp stopped zmswatch is not running

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
hasa
Posts: 1
Joined: Wed Jun 26, 2019 12:10 am

i need help with snmp stopped zmswatch is not running

Postby hasa » Wed Jun 26, 2019 12:52 am

please need help, i am newbe on zimbra, yesterday i install zimbra 8.8.10 0n centos 7,,, i am not install dnscache i am use bind9 for domain name,,, i get throuble the snmp stopped... zmswatch is not running

# su - zimbra -c "zmcontrol start"
Host mail.cobakeempat.000webhostapp.com
Starting zmconfigd...Done.
Starting logger...Done.
Starting mailbox...Done.
Starting memcached...Done.
Starting proxy...Done.
Starting amavis...Done.
Starting antispam...Done.
Starting antivirus...Done.
Starting opendkim...Done.
Starting snmp...Failed.
creating /opt/zimbra/conf/snmpd.conf
creating /opt/zimbra/conf/swatchrc
Starting swatch.../opt/zimbra/bin/zmswatchctl: line 69: /opt/zimbra/log/zmswatch.out: Permission denied
touch: cannot touch '/opt/zimbra/log/zmswatch.out': Permission denied
chmod: changing permissions of '/opt/zimbra/log/zmswatch.out': Operation not permitted
failed.


Starting spell...Done.
Starting mta...Done.
Starting stats...Done.
Starting service webapp...Done.
Starting zimbra webapp...Done.
Starting zimbraAdmin webapp...Done.
Starting zimlet webapp...Done.
Starting imapd...Done.

and a tried command

Code: Select all

# /opt/zimbra/libexec/zmfixperms --verbose --extended

# /opt/zimbra/libexec/zmfixperms --verbose --extended
Fixing ownership and permissions on /opt/zimbra/conf
Fixing permissions on /opt/zimbra/conf/ca
Fixing permissions on /opt/zimbra/conf/ca/ca.pem
Fixing ownership and permissions on /opt/zimbra/conf/ldap-canonical.cf
Fixing ownership and permissions on /opt/zimbra/conf/ldap-slm.cf
Fixing ownership and permissions on /opt/zimbra/conf/ldap-transport.cf
Fixing ownership and permissions on /opt/zimbra/conf/ldap-vad.cf
Fixing ownership and permissions on /opt/zimbra/conf/ldap-vam.cf
Fixing ownership and permissions on /opt/zimbra/conf/ldap-vmd.cf
Fixing ownership and permissions on /opt/zimbra/conf/ldap-vmm.cf
Fixing permissions and ownership on /opt/zimbra/conf/imapd.crt
Fixing permissions and ownership on /opt/zimbra/conf/nginx.crt
Fixing permissions and ownership on /opt/zimbra/conf/slapd.crt
Fixing permissions and ownership on /opt/zimbra/conf/smtpd.crt
Fixing permissions and ownership on /opt/zimbra/conf/imapd.key
Fixing permissions and ownership on /opt/zimbra/conf/nginx.key
Fixing permissions and ownership on /opt/zimbra/conf/slapd.key
Fixing permissions and ownership on /opt/zimbra/conf/smtpd.key
Fixing permissions and ownership on /opt/zimbra/conf/zmssl.cnf
Fixing ownership and permissions on /var/log/zimbra.log
Fixing ownership and permissions on /opt/zimbra/conf/crontabs
Fixing ownership and permissions on /opt/zimbra/common/lib/jylibs
Fixing ownership and permissions on /opt/zimbra/lib
Fixing ownership and permissions on /opt/zimbra/db
Fixing ownership and permissions on /opt/zimbra/data/sasl2/state
Fixing ownership and permissions on /opt/zimbra/data/amavisd
Fixing ownership and permissions on /opt/zimbra/jetty
Fixing ownership and permissions on /opt/zimbra/ssl
Fixing ownership and permissions on /opt/zimbra/data/ldap
Fixing ownership and permissions on /opt/zimbra/logger/db
Fixing ownership and permissions on /opt/zimbra/zmstat
Fixing postfix related permissions
Fixing ownership and permissions on /opt/zimbra/data/postfix
Fixing ownership of /opt/zimbra/index
Fixing ownership of /opt/zimbra/backup
Fixing ownership of /opt/zimbra/redolog
Fixing ownership of /opt/zimbra/store

i try restart the zmcontrol again:

# su - zimbra -c "zmcontrol start"
Host mail.cobakeempat.000webhostapp.com
Starting ldap...Done.
Starting zmconfigd...Done.
Starting logger...Done.
Starting mailbox...Done.
Starting memcached...Done.
Starting proxy...Done.
Starting amavis...Done.
Starting antispam...Done.
Starting antivirus...Done.
Starting opendkim...Done.
Starting snmp...Done.
Starting spell...Done.
Starting mta...Done.
Starting stats...Done.
Starting service webapp...Done.
Starting zimbra webapp...Done.
Starting zimbraAdmin webapp...Done.
Starting zimlet webapp...Done.
Starting imapd...Done.
[root@mail keempat]# su - zimbra -c "zmcontrol status"
Host mail.cobakeempat.000webhostapp.com
amavis Running
antispam Running
antivirus Running
imapd Running
ldap Running
logger Running
mailbox Running
memcached Running
mta Running
opendkim Running
proxy Running
service webapp Running
snmp Stopped
zmswatch is not running.
spell Running
stats Running
zimbra webapp Running
zimbraAdmin webapp Running
zimlet webapp Running
zmconfigd Running

i need help from all of you,,, thank you so much for see this,,,


grantntourbus
Posts: 7
Joined: Thu Jul 18, 2019 7:30 pm

Re: i need help with snmp stopped zmswatch is not running

Postby grantntourbus » Mon Sep 16, 2019 6:12 pm

Hello, I have this same issue.

I am on 8.8.10 (fully patched ) on CentOS 7 as well, and noticed my SNMP service and zmswatch is not running.
Has been running up till recently. Not sure why it just stopped working, no reboots or changes were made to the system.
tonyg
Posts: 44
Joined: Fri Mar 16, 2018 5:25 pm
Location: USA
ZCS/ZD Version: 8.8.12.GA.3794.UBUNTU18.64 FOSS
Contact:

Re: i need help with snmp stopped zmswatch is not running

Postby tonyg » Thu Oct 17, 2019 7:10 pm

While doing some testing, I used "sudo mv" to rename zimbra.log. It seems this software doesn't like for us to pull the rug out from under it. :o
Solution:

Do whatever you do to become the zimbra user:

Code: Select all

zmcontrol stop
sudo touch /var/log/zimbra.log
sudo chmod zimbra:zimbra /var/log/zimbra.log
zmcontrol start


After restart, the log file is still empty, but the processes start, stay running, and the browser admin/monitor shows all green where snmp was red.

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 7 guests