Results 1 to 3 of 3

Thread: zmconfigd is not running after adding custom schema

  1. #1
    Join Date
    Mar 2012
    Posts
    3
    Rep Power
    3

    Default zmconfigd is not running after adding custom schema

    Hi

    I have been working on adding custom ldap schema to zimbra.

    searching a lot and find useful posts on forum.

    implement this post ==> Installing custom ldap schema - Zimbra :: Wiki
    i added new attribute "school" , ( new schema converted from nis.schema == > cn{11}nis.ldif )
    but "zmprov ca test1@example.com 123456 school EPI" didnt work and gived error.

    So i searched again and i find this command from this post ( http://www.zimbra.com/forums/administrators/15154-solved-unable-add-new-account.html )

    "zmprov mcf +zimbraAccountExtraObjectClass nis"

    and i add user with attribute "school". ("zmprov ca test1@example.com 123456 school EPI")

    Finally the last error:
    zimbra@mail:~/data/ldap/config/cn=config/cn=schema$ zmcontrol status

    antispam Running
    antivirus Running
    ldap Running
    logger Running
    mailbox Running
    mta Running
    snmp Running
    spell Running
    stats Running
    zmconfigd Stopped
    zmconfigd is not running.

    what can i do?
    zmconfig is a new function and i can not find solution.

    OR, is zmconfigd a MUST?
    can i stop it?
    do i have to run zmconfigd?

  2. #2
    Join Date
    Mar 2012
    Posts
    3
    Rep Power
    3

    Default Last logs

    /opt/zimbra/log/zmconfigd.log

    2012-04-02 18:59:54,411 zmconfigd WARNING [1057-MainThread] All configs fetched in 0.22 seconds
    2012-04-02 18:59:55,288 zmconfigd WARNING [1057-MainThread] Watchdog: service antivirus status is OK.
    2012-04-02 18:59:55,364 zmconfigd WARNING [1057-MainThread] All rewrite threads completed in 0.00 sec
    2012-04-02 18:59:55,365 zmconfigd WARNING [1057-MainThread] All restarts completed in 0.00 sec
    Starting zmconfigd...zmconfigd is already running.
    2012-04-02 19:00:55,381 zmconfigd WARNING [1057-MainThread] Fetching All configs
    2012-04-02 19:00:55,601 zmconfigd WARNING [1057-MainThread] All configs fetched in 0.22 seconds
    2012-04-02 19:00:56,486 zmconfigd WARNING [1057-MainThread] Watchdog: service antivirus status is OK.
    2012-04-02 19:00:56,565 zmconfigd WARNING [1057-MainThread] All rewrite threads completed in 0.00 sec
    2012-04-02 19:00:56,565 zmconfigd WARNING [1057-MainThread] All restarts completed in 0.00 sec
    Starting zmconfigd...zmconfigd is already running.
    2012-04-02 19:01:47,296 zmconfigd WARNING [1057-SIGTERM handler] Shutting down. Received signal 15
    Traceback (most recent call last):
    File "/opt/zimbra/libexec/zmconfigd", line 18, in <module>
    import tempfile
    File "/opt/zimbra/lib/jars/jython-2.5.2.jar/Lib/tempfile.py", line 31, in <module>
    File "/opt/zimbra/lib/jars/jython-2.5.2.jar/Lib/os.py", line 118, in <module>
    ImportError: no os specific module found
    Starting zmconfigd...Traceback (most recent call last):
    File "/opt/zimbra/libexec/zmconfigd", line 18, in <module>
    import tempfile
    File "/opt/zimbra/lib/jars/jython-2.5.2.jar/Lib/tempfile.py", line 31, in <module>
    File "/opt/zimbra/lib/jars/jython-2.5.2.jar/Lib/os.py", line 118, in <module>
    ImportError: no os specific module found
    failed.
    Starting zmconfigd...Traceback (most recent call last):
    File "/opt/zimbra/libexec/zmconfigd", line 18, in <module>
    import tempfile
    File "/opt/zimbra/lib/jars/jython-2.5.2.jar/Lib/tempfile.py", line 31, in <module>
    File "/opt/zimbra/lib/jars/jython-2.5.2.jar/Lib/os.py", line 118, in <module>
    ImportError: no os specific module found
    failed.

    Starting zmconfigd...Traceback (most recent call last):
    File "/opt/zimbra/libexec/zmconfigd", line 18, in <module>
    import tempfile
    File "/opt/zimbra/lib/jars/jython-2.5.2.jar/Lib/tempfile.py", line 31, in <module>
    File "/opt/zimbra/lib/jars/jython-2.5.2.jar/Lib/os.py", line 118, in <module>
    ImportError: no os specific module found
    failed.
    Starting zmconfigd...Traceback (most recent call last):
    File "/opt/zimbra/libexec/zmconfigd", line 18, in <module>
    import tempfile
    File "/opt/zimbra/lib/jars/jython-2.5.2.jar/Lib/tempfile.py", line 31, in <module>
    File "/opt/zimbra/lib/jars/jython-2.5.2.jar/Lib/os.py", line 118, in <module>
    ImportError: no os specific module found
    failed.
    Starting zmconfigd...Traceback (most recent call last):
    File "/opt/zimbra/libexec/zmconfigd", line 18, in <module>
    import tempfile
    File "/opt/zimbra/lib/jars/jython-2.5.2.jar/Lib/tempfile.py", line 31, in <module>
    File "/opt/zimbra/lib/jars/jython-2.5.2.jar/Lib/os.py", line 118, in <module>
    ImportError: no os specific module found
    failed.
    Starting zmconfigd...Traceback (most recent call last):
    File "/opt/zimbra/libexec/zmconfigd", line 18, in <module>
    import tempfile
    File "/opt/zimbra/lib/jars/jython-2.5.2.jar/Lib/tempfile.py", line 31, in <module>
    File "/opt/zimbra/lib/jars/jython-2.5.2.jar/Lib/os.py", line 118, in <module>
    ImportError: no os specific module found
    failed.
    Starting zmconfigd...Traceback (most recent call last):
    File "/opt/zimbra/libexec/zmconfigd", line 18, in <module>
    import tempfile
    File "/opt/zimbra/lib/jars/jython-2.5.2.jar/Lib/tempfile.py", line 31, in <module>
    File "/opt/zimbra/lib/jars/jython-2.5.2.jar/Lib/os.py", line 118, in <module>
    ImportError: no os specific module found

  3. #3
    Join Date
    Mar 2012
    Posts
    3
    Rep Power
    3

    Default I give up adding custom schema, prefer using zimbraZimletUserProperties

    zimbraZimletUserProperties is perfect match to my needs

    adding account:
    zmprov ca user@example.net 23$1234 zimbraZimletUserProperties "school:Economy" zimbraZimletUserProperties "section:Management" zimbraPrefMailForwardingAddress a@h.com zimbraPrefMailLocalDeliveryDisabled TRUE

    searching accounts:
    # getting all Economy students
    zmprov sa zimbraZimletUserProperties=fakulte:'Econo*'


    But
    zmconfigd is not running.

    after rebooting, it started to work :S Really suprised. Solved
    Last edited by sawran; 04-09-2012 at 04:47 AM.

Similar Threads

  1. Possible corrupt LDAP
    By weezbunbun in forum Administrators
    Replies: 20
    Last Post: 02-12-2012, 07:34 AM
  2. Upgrade to Zimbra 7 - Table upgrade required
    By n8bounds in forum Administrators
    Replies: 10
    Last Post: 04-25-2011, 11:07 PM
  3. Documents fail to initialize
    By dgcarter in forum Installation
    Replies: 9
    Last Post: 12-17-2007, 11:44 PM
  4. Replies: 13
    Last Post: 07-20-2007, 03:21 AM
  5. Certify Error on (re)install
    By rodrigoccurvo in forum Installation
    Replies: 4
    Last Post: 09-23-2005, 09:04 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
  •