Results 1 to 6 of 6

Thread: zmconfigd logs - "criticals" shown

  1. #1
    billinvegas's Avatar
    billinvegas is offline Active Member
    Join Date
    Jun 2011
    Location
    Sin City
    Posts
    38
    Rep Power
    4

    Default 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

  2. #2
    billinvegas's Avatar
    billinvegas is offline Active Member
    Join Date
    Jun 2011
    Location
    Sin City
    Posts
    38
    Rep Power
    4

    Default

    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

  3. #3
    billinvegas's Avatar
    billinvegas is offline Active Member
    Join Date
    Jun 2011
    Location
    Sin City
    Posts
    38
    Rep Power
    4

    Default

    Ok, all is not good,
    it seems that postfix has stopped running...

  4. #4
    billinvegas's Avatar
    billinvegas is offline Active Member
    Join Date
    Jun 2011
    Location
    Sin City
    Posts
    38
    Rep Power
    4

    Default

    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)

  5. #5
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,581
    Rep Power
    57

    Default

    Quote Originally Posted by billinvegas View Post
    Q: is it possible to start zimbra as another user?
    No, it isn't.

    Quote Originally Posted by billinvegas View Post
    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


    Acompli: A new adventure for Co-Founder KevinH.

  6. #6
    billinvegas's Avatar
    billinvegas is offline Active Member
    Join Date
    Jun 2011
    Location
    Sin City
    Posts
    38
    Rep Power
    4

    Default

    Bill,

    thank you for that information!
    Release 7.1.1_GA_3196.RHEL5_64_20110527011124 CentOS5_64 FOSS edition

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] zmconfigd not running
    By ben1967 in forum Administrators
    Replies: 49
    Last Post: 02-21-2013, 12:55 AM
  2. [SOLVED] zmconfigd is not running.
    By lsikstrom in forum Administrators
    Replies: 30
    Last Post: 06-12-2012, 02:09 AM
  3. [SOLVED] Partial Failure - zmsaslauthdctl fails
    By the_griz in forum Administrators
    Replies: 9
    Last Post: 03-14-2012, 05:18 AM
  4. [SOLVED] zmconfigd WARNING in 7.0.0 GA
    By Labsy in forum Administrators
    Replies: 23
    Last Post: 02-10-2012, 12:09 PM
  5. Another server stopped
    By dinho in forum Administrators
    Replies: 30
    Last Post: 05-04-2011, 09:58 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •