| 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.
|  | 
08-01-2011, 12:28 PM
| | | zmconfigd logs - "criticals" shown Hello,
I had an issue where a client was not able to send us e-mail due to
the following:
450 4.7.1 Client host rejected: cannot find your
hostname,
I edited this file (as root)
/opt/zimbra/conf/amavisd.conf.in
per the instructions here: Improving Anti-spam system - Zimbra :: Wiki
added his domain with a -10.0 score, saved the file and then
stopped zimbra using
zmcontrol stop
then restarted using
zmcontrol start
here is a snipped of my zmconfigd.log from earlier today
it has been showing this for days now Code: 2011-08-01 12:03:24,986 zmconfigd WARNING [28780-MainThread] Fetching All configs
2011-08-01 12:03:28,575 zmconfigd WARNING [28780-MainThread] All configs fetched in 3.59 seconds
2011-08-01 12:03:54,691 zmconfigd WARNING [28780-MainThread] Watchdog: service antivirus status is OK.
2011-08-01 12:04:04,848 zmconfigd WARNING [28780-MainThread] All rewrite threads completed in 0.97 sec
2011-08-01 12:04:05,743 zmconfigd WARNING [28780-MainThread] All restarts completed in 0.00 sec
Starting zmconfigd...zmconfigd is already running.
2011-08-01 12:05:06,424 zmconfigd WARNING [28780-MainThread] Fetching All configs
2011-08-01 12:05:09,928 zmconfigd WARNING [28780-MainThread] All configs fetched in 3.50 seconds
Starting zmconfigd...zmconfigd is already running.
2011-08-01 12:05:48,128 zmconfigd WARNING [28780-MainThread] Watchdog: service antivirus status is OK.
2011-08-01 12:05:58,822 zmconfigd WARNING [28780-MainThread] All rewrite threads completed in 1.11 sec
2011-08-01 12:05:58,823 zmconfigd WARNING [28780-MainThread] All restarts completed in 0.00 sec
Starting zmconfigd...zmconfigd is already running.
2011-08-01 12:07:00,854 zmconfigd WARNING [28780-MainThread] Fetching All configs
2011-08-01 12:07:06,723 zmconfigd WARNING [28780-MainThread] All configs fetched in 5.87 seconds
Starting zmconfigd...zmconfigd is already running after the stop / start I now get the following in my zmconfigd.log Code: 2011-08-01 12:16:53,114 zmconfigd WARNING [16379-MainThread] Fetching All configs
2011-08-01 12:16:53,506 zmconfigd WARNING [16379-MainThread] All configs fetched in 0.39 seconds
2011-08-01 12:16:53,796 zmconfigd CRITICAL [16379-MainThread] Exception in bin/zmamavisdctl: (Cannot run program "/opt/zimbra/bin/zmamavisdctl" (in directory "/root"): java.io.IOException: error=13, Permission denied)
2011-08-01 12:16:53,812 zmconfigd CRITICAL [16379-MainThread] Exception in bin/zmclamdctl: (Cannot run program "/opt/zimbra/bin/zmclamdctl" (in directory "/root"): java.io.IOException: error=13, Permission denied)
2011-08-01 12:16:53,828 zmconfigd CRITICAL [16379-MainThread] Exception in bin/ldap: (Cannot run program "/opt/zimbra/bin/ldap" (in directory "/root"): java.io.IOException: error=13, Permission denied)
2011-08-01 12:16:53,845 zmconfigd CRITICAL [16379-MainThread] Exception in bin/zmloggerctl: (Cannot run program "/opt/zimbra/bin/zmloggerctl" (in directory "/root"): java.io.IOException: error=13, Permission denied)
2011-08-01 12:16:53,861 zmconfigd CRITICAL [16379-MainThread] Exception in bin/zmstorectl: (Cannot run program "/opt/zimbra/bin/zmstorectl" (in directory "/root"): java.io.IOException: error=13, Permission denied)
2011-08-01 12:16:53,877 zmconfigd CRITICAL [16379-MainThread] Exception in bin/zmmailboxdctl: (Cannot run program "/opt/zimbra/bin/zmmailboxdctl" (in directory "/root"): java.io.IOException: error=13, Permission denied)
2011-08-01 12:16:53,892 zmconfigd CRITICAL [16379-MainThread] Exception in bin/postfix: (Cannot run program "/opt/zimbra/bin/postfix" (in directory "/root"): java.io.IOException: error=13, Permission denied)
2011-08-01 12:16:53,908 zmconfigd CRITICAL [16379-MainThread] Exception in bin/zmsaslauthdctl: (Cannot run program "/opt/zimbra/bin/zmsaslauthdctl" (in directory "/root"): java.io.IOException: error=13, Permission denied)
2011-08-01 12:16:53,926 zmconfigd CRITICAL [16379-MainThread] Exception in bin/zmswatchctl: (Cannot run program "/opt/zimbra/bin/zmswatchctl" (in directory "/root"): java.io.IOException: error=13, Permission denied)
2011-08-01 12:16:53,941 zmconfigd CRITICAL [16379-MainThread] Exception in bin/zmspellctl: (Cannot run program "/opt/zimbra/bin/zmspellctl" (in directory "/root"): java.io.IOException: error=13, Permission denied)
2011-08-01 12:16:53,957 zmconfigd CRITICAL [16379-MainThread] Exception in bin/zmstatctl: (Cannot run program "/opt/zimbra/bin/zmstatctl" (in directory "/root"): java.io.IOException: error=13, Permission denied)
2011-08-01 12:16:53,974 zmconfigd CRITICAL [16379-MainThread] Exception in bin/zmclamdctl: (Cannot run program "/opt/zimbra/bin/zmclamdctl" (in directory "/root"): java.io.IOException: error=13, Permission denied)
2011-08-01 12:16:53,977 zmconfigd WARNING [16379-MainThread] Watchdog: service antivirus status is OK.
Exception in thread postconf:Traceback (most recent call last):
File "/opt/zimbra/lib/jars/jython-2.5.1.jar/Lib/threading.py", line 178, in _Thread__bootstrap
self.run()
File "/opt/zimbra/lib/jars/jython-2.5.1.jar/Lib/threading.py", line 169, in run
self._target(*self._args, **self._kwargs)
File "/opt/zimbra/zimbramon/pylibs/state.py", line 536, in doPostconf
return rc
UnboundLocalError: local variable 'rc' referenced before assignment
2011-08-01 12:16:54,243 zmconfigd WARNING [16379-MainThread] All rewrite threads completed in 0.02 sec
2011-08-01 12:16:54,246 zmconfigd WARNING [16379-MainThread] All restarts completed in 0.00 sec
Starting zmconfigd...zmconfigd is already running.
[root@mail log]# Could someone please let me know what is exactly going on here?
would editing the previously mentioned file cause this?
thank you very much | 
08-01-2011, 02:22 PM
| | | additional info:
I found the following on the forum zmconfigd CRITICAL [26177-MainThread-2] [SOLVED] run zmfixperms as root but still getting Permission Denied
performed the following
user zimbra - zmcontrol stop
user root
/opt/zimbra/libexec/zmfixperms --verbose --extended"
(no errors reported)
user zimbra - zmcontrol start
(everything seems to start properly)
here is the tail of zmconfigd.log
(the posters in the above threads indicated that the above command fixed their issues, I still seem to have them) Code: 2011-08-01 14:16:17,253 zmconfigd WARNING [26898-MainThread] Fetching All configs
2011-08-01 14:16:17,638 zmconfigd WARNING [26898-MainThread] All configs fetched in 0.39 seconds
2011-08-01 14:16:17,992 zmconfigd CRITICAL [26898-MainThread] Exception in bin/zmamavisdctl: (Cannot run program "/opt/zimbra/bin/zmamavisdctl" (in directory "/root"): java.io.IOException: error=13, Permission denied)
2011-08-01 14:16:18,006 zmconfigd CRITICAL [26898-MainThread] Exception in bin/zmclamdctl: (Cannot run program "/opt/zimbra/bin/zmclamdctl" (in directory "/root"): java.io.IOException: error=13, Permission denied)
2011-08-01 14:16:18,020 zmconfigd CRITICAL [26898-MainThread] Exception in bin/ldap: (Cannot run program "/opt/zimbra/bin/ldap" (in directory "/root"): java.io.IOException: error=13, Permission denied)
2011-08-01 14:16:18,036 zmconfigd CRITICAL [26898-MainThread] Exception in bin/zmloggerctl: (Cannot run program "/opt/zimbra/bin/zmloggerctl" (in directory "/root"): java.io.IOException: error=13, Permission denied)
2011-08-01 14:16:18,051 zmconfigd CRITICAL [26898-MainThread] Exception in bin/zmstorectl: (Cannot run program "/opt/zimbra/bin/zmstorectl" (in directory "/root"): java.io.IOException: error=13, Permission denied)
2011-08-01 14:16:18,065 zmconfigd CRITICAL [26898-MainThread] Exception in bin/zmmailboxdctl: (Cannot run program "/opt/zimbra/bin/zmmailboxdctl" (in directory "/root"): java.io.IOException: error=13, Permission denied)
2011-08-01 14:16:18,092 zmconfigd CRITICAL [26898-MainThread] Exception in bin/postfix: (Cannot run program "/opt/zimbra/bin/postfix" (in directory "/root"): java.io.IOException: error=13, Permission denied)
2011-08-01 14:16:18,109 zmconfigd CRITICAL [26898-MainThread] Exception in bin/zmsaslauthdctl: (Cannot run program "/opt/zimbra/bin/zmsaslauthdctl" (in directory "/root"): java.io.IOException: error=13, Permission denied)
2011-08-01 14:16:18,125 zmconfigd CRITICAL [26898-MainThread] Exception in bin/zmswatchctl: (Cannot run program "/opt/zimbra/bin/zmswatchctl" (in directory "/root"): java.io.IOException: error=13, Permission denied)
2011-08-01 14:16:18,140 zmconfigd CRITICAL [26898-MainThread] Exception in bin/zmspellctl: (Cannot run program "/opt/zimbra/bin/zmspellctl" (in directory "/root"): java.io.IOException: error=13, Permission denied)
2011-08-01 14:16:18,167 zmconfigd CRITICAL [26898-MainThread] Exception in bin/zmstatctl: (Cannot run program "/opt/zimbra/bin/zmstatctl" (in directory "/root"): java.io.IOException: error=13, Permission denied)
2011-08-01 14:16:18,183 zmconfigd CRITICAL [26898-MainThread] Exception in bin/zmclamdctl: (Cannot run program "/opt/zimbra/bin/zmclamdctl" (in directory "/root"): java.io.IOException: error=13, Permission denied)
2011-08-01 14:16:18,184 zmconfigd WARNING [26898-MainThread] Watchdog: service antivirus status is OK.
Exception in thread postconf:Traceback (most recent call last):
File "/opt/zimbra/lib/jars/jython-2.5.1.jar/Lib/threading.py", line 178, in _Thread__bootstrap
self.run()
File "/opt/zimbra/lib/jars/jython-2.5.1.jar/Lib/threading.py", line 169, in run
self._target(*self._args, **self._kwargs)
File "/opt/zimbra/zimbramon/pylibs/state.py", line 536, in doPostconf
return rc
UnboundLocalError: local variable 'rc' referenced before assignment
2011-08-01 14:16:18,835 zmconfigd WARNING [26898-MainThread] All rewrite threads completed in 0.02 sec
2011-08-01 14:16:18,838 zmconfigd WARNING [26898-MainThread] All restarts completed in 0.00 sec
Starting zmconfigd...zmconfigd is already running. Perhaps someone can shed some light on this for me?
thank you | 
08-01-2011, 02:29 PM
| | | Ok, all is not good,
it seems that postfix has stopped running... | 
08-01-2011, 04:43 PM
| | | Seems to be up and running again...
Q: is it possible to start zimbra as another user?
The reason I ask is all the permissions errors,
even after running the permissions fix.
I "believe" I may have su'd to zimbra by issuing the command
su zimbra
I stopped zimbra with zmcontrol stop
exited out of su zimbra,
issued the command "su - zimbra"
and all seems to be proper now...
so, is the " - " in the su command toggling a different user state or something
(forgive my *nix noobishness) | 
08-02-2011, 12:16 AM
| | Zimbra Consultant & Moderator | |
Posts: 20,314
| | Quote:
Originally Posted by billinvegas Q: is it possible to start zimbra as another user? | No, it isn't. Quote:
Originally Posted by billinvegas so, is the " - " in the su command toggling a different user state or something | The short answer is it creates the correct environment as if you'd logged in as that user (and should always be used when becoming the zimbra user), further details (and reading): su (Unix) - Wikipedia, the free encyclopedia
__________________
Regards
Bill
| 
08-02-2011, 12:50 PM
| | | Bill,
thank you for that information!
__________________
Release 7.1.1_GA_3196.RHEL5_64_20110527011124 CentOS5_64 FOSS edition
| | Thread Tools | Search this Thread | | | | | Display Modes | Linear Mode | | Why Join? Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.  |