Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: [IMPORTANT] Read before the update to ZCS 7.1.1 on Centos or RHL5

  1. #1
    Join Date
    Sep 2008
    Location
    Brazil
    Posts
    50
    Rep Power
    7

    Lightbulb [IMPORTANT] Read before the update to ZCS 7.1.1 on Centos or RHL5

    Today I was updating from ZCS 7.1.0 to ZCS 7.1.1 and got the error in the MTA.

    [zimbra@mail ~]$ zmcontrol status
    Host xxx.com.br
    antispam Running
    antivirus Running
    ldap Running
    logger Running
    mailbox Running
    mta Stopped
    postfix is not running
    snmp Running
    spell Running
    stats Running
    zmconfigd Running


    It generates the following error in postfix:

    [zimbra@mail ~]$ postfix check
    postfix/postfix-script: warning: not owned by root: /opt/zimbra/postfix-2.7.4.2z/conf/main.cf
    postfix/postfix-script: warning: not owned by root: /opt/zimbra/postfix-2.7.4.2z/conf/master.cf
    postfix/postfix-script: warning: not owned by root: /opt/zimbra/postfix-2.7.4.2z/conf/master.cf.in
    postfix/postfix-script: warning: not owned by postfix: /opt/zimbra/data/postfix/data/./master.lock
    postfix/postfix-script: warning: not owned by postfix: /opt/zimbra/data/postfix/data/./prng_exch


    to solve this problem as root:

    chown root:root /opt/zimbra/postfix-2.7.4.2z/conf/ -R
    chown postfixostfix /opt/zimbra/data/postfix/data/. -R

    and as zimbra:

    postfix start

    -
    mta work fine.
    I hope I have helped friends who will do the update.

  2. #2
    Join Date
    Oct 2005
    Location
    USA, Canada and India
    Posts
    777
    Rep Power
    11

    Default

    rule of thub right AFTER any upgrade no matter what OS + Zimbra Version

    As ROOT user
    /opt/zimbra/libexec/zmfixperms --verbose --extended
    as ZIMBRA user
    su - zimbra
    zmcontrol stop
    zmcontrol start

    Raj
    i2k2 Networks
    Dedicated & Shared Zimbra Hosting Provider

  3. #3
    Join Date
    Sep 2008
    Location
    Brazil
    Posts
    50
    Rep Power
    7

    Default

    Quote Originally Posted by raj View Post
    rule of thub right AFTER any upgrade no matter what OS + Zimbra Version

    As ROOT user

    as ZIMBRA user



    Raj
    Raj,
    this not work for me...

  4. #4
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    Quote Originally Posted by halley View Post
    this not work for me...
    What does 'not work' actually mean? You need to give more information.

    The following messages you listed earlier are just warnings:

    Code:
    postfix/postfix-script: warning: not owned by root: /opt/zimbra/postfix-2.7.4.2z/conf/main.cf
    postfix/postfix-script: warning: not owned by root: /opt/zimbra/postfix-2.7.4.2z/conf/master.cf
    postfix/postfix-script: warning: not owned by root: /opt/zimbra/postfix-2.7.4.2z/conf/master.cf.in
    You should not modify the ownership of these files from their original settings of zimbra:zimbra.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    Join Date
    Jul 2011
    Posts
    1
    Rep Power
    4

    Default

    Log snippet from /var/log/maillog during startup with relevant entries:

    <snip>
    (...)
    Jul 21 17:23:14 mail zmmailboxdmgr[25883]: file /opt/zimbra/log/zmmailboxd.pid does not exist
    Jul 21 17:23:14 mail zmmailboxdmgr[25883]: assuming no other instance is running
    Jul 21 17:23:14 mail zmmailboxdmgr[25884]: wrote manager pid 25884 to /opt/zimbra/log/zmmailboxd_manager.pid
    Jul 21 17:23:14 mail zmmailboxdmgr[25885]: wrote java pid 25885 to /opt/zimbra/log/zmmailboxd_java.pid
    Jul 21 17:23:14 mail zmmailboxdmgr[25884]: manager started mailboxd/JVM with pid 25885
    Jul 21 17:23:24 mail postfix/postfix-script[26252]: warning: not owned by root: /opt/zimbra/postfix-2.7.4.2z/conf/main.cf
    Jul 21 17:23:24 mail postfix/postfix-script[26253]: warning: not owned by root: /opt/zimbra/postfix-2.7.4.2z/conf/master.cf
    Jul 21 17:23:24 mail postfix/postfix-script[26254]: warning: not owned by root: /opt/zimbra/postfix-2.7.4.2z/conf/master.cf.in
    Jul 21 17:23:24 mail postfix/postfix-script[26257]: warning: not owned by postfix: /opt/zimbra/data/postfix/data/./prng_exch
    Jul 21 17:23:24 mail postfix/postfix-script[26258]: warning: not owned by postfix: /opt/zimbra/data/postfix/data/./master.lock
    Jul 21 17:23:25 mail postfix/postfix-script[26273]: starting the Postfix mail system
    Jul 21 17:23:25 mail postfix/master[26274]: fatal: open lock file /opt/zimbra/data/postfix/data/master.lock: cannot open file: Permission denied
    Jul 21 17:23:43 mail zmmailboxdmgr[27034]: status requested
    Jul 21 17:23:43 mail zmmailboxdmgr[27034]: status OK
    Jul 21 17:23:43 mail zmmailboxdmgr[27042]: status requested
    Jul 21 17:23:43 mail zmmailboxdmgr[27042]: status OK
    Jul 21 16:24:00 mail postfix/postqueue[27189]: fatal: Queue report unavailable - mail system is down
    Jul 21 17:24:08 mail zmmailboxdmgr[27627]: status requested
    Jul 21 17:24:08 mail zmmailboxdmgr[27627]: status OK
    Jul 21 16:24:30 mail postfix/postqueue[27772]: fatal: Queue report unavailable - mail system is down
    (...)
    </snip>

    --
    ./J

  6. #6
    Join Date
    Oct 2006
    Posts
    124
    Rep Power
    9

    Default Patch

    I thought applying the patch was to fix these errors, yes?

    http://files2.zimbra.com/downloads/7....1_GA_3213.tgz

    These are the settings mine have which seems to be functioning properly:

    -rw-r--r-- 1 root postfix 20695 2011-05-09 17:54 access
    -rw-r--r-- 1 root postfix 8829 2011-05-09 17:54 aliases
    -rw-r--r-- 1 root postfix 3548 2011-05-09 17:54 bounce.cf.default
    -rw-r--r-- 1 root postfix 11681 2011-05-09 17:54 canonical
    -rw-r--r-- 1 root postfix 9904 2011-05-09 17:54 generic
    -rw-r--r-- 1 root postfix 19310 2011-05-09 17:54 header_checks
    -rw-r--r-- 1 root postfix 11942 2011-05-09 17:54 LICENSE
    -rw-r--r-- 1 zimbra zimbra 2416 2011-07-22 06:52 main.cf
    -rw-r--r-- 1 root postfix 24035 2011-05-09 17:54 main.cf.default
    -rw-r--r-- 1 root postfix 3187 2011-05-09 17:54 makedefs.out
    -r--r----- 1 zimbra zimbra 5051 2011-07-22 06:51 master.cf
    -rw-r--r-- 1 root postfix 5195 2011-05-27 04:27 master.cf.in
    -rw-r--r-- 1 root postfix 6816 2011-05-09 17:54 relocated
    -rw-r--r-- 1 root postfix 1629 2011-05-09 17:54 TLS_LICENSE
    -rw-r--r-- 1 root postfix 12549 2011-05-09 17:54 transport
    -rw-r--r-- 1 root postfix 12494 2011-05-09 17:54 virtual

  7. #7
    Join Date
    Oct 2005
    Location
    USA, Canada and India
    Posts
    777
    Rep Power
    11

    Default

    1) Apply pacth to 7.1.1
    http://files2.zimbra.com/downloads/7....1_GA_3213.tgz

    2) Reboot

    3) fix permissions as ROOT
    /opt/zimbra/libexec/zmfixperms --verbose --extended

    4) restart zimbra


    Should fix it

    Raj
    i2k2 Networks
    Dedicated & Shared Zimbra Hosting Provider

  8. #8
    Join Date
    Aug 2011
    Posts
    19
    Rep Power
    4

    Default

    Thank you so much ... everyone.
    I get this problem and in 15 minutes thanks to this forum which was published I could solve the error ...


  9. #9
    Join Date
    Aug 2011
    Posts
    2
    Rep Power
    4

    Default This fixed it for me

    This is what fixed it for me, this post led me to the right direction but wasn't exactly what I needed.

    I did:

    cd /opt/zimbra/postfix

    ls -la

    Saw that the master.cf.in was owned by zimbra:zimbra and that someone elses that "worked" was rootostfix

    Since I was "su - zimbra" I typed exit to get back into root, then cd /opt/zimbra/postfix

    chown rootostfix master.cf.in

    Then I did "su -zimbra" again to get back into the zimbra account.

    Then: postfix start

    I got this error:

    postfix/postfix-script: warning: not owned by root: /opt/zimbra/postfix-2.7.8.3z/conf/main.cf

    I then typed exit to get back into root, cd'd to /opt/zimbra/postfix-2.7.8.3z/conf/

    chown root:zimbra master.cf

    su - zimbra

    start postfix

    Now my MTA is working

  10. #10
    Join Date
    Dec 2006
    Posts
    184
    Rep Power
    8

    Default

    Under 7.1.4 we do get similar errors:

    Code:
    May 23 16:53:49 server postfix/postfix-script[8827]: warning: not owned by root: /opt/zimbra/postfix-2.7.7.3z/conf/main.cf
    May 23 16:53:49 server postfix/postfix-script[8828]: warning: not owned by root: /opt/zimbra/postfix-2.7.7.3z/conf/master.cf
    May 23 16:53:49 server postfix/postfix-script[8829]: warning: not owned by root: /opt/zimbra/postfix-2.7.7.3z/conf/master.cf.in
    May 23 16:53:49 server postfix/postfix-script[8846]: starting the Postfix mail system
    May 23 16:53:49 server postfix/master[8847]: daemon started -- version 2.7.7, configuration /opt/zimbra/postfix-2.7.7.3z/conf
    But postifx does start...

Similar Threads

  1. bayes db..
    By osiris in forum Administrators
    Replies: 9
    Last Post: 06-15-2011, 12:14 PM
  2. Trouble Sending mail - All Messages deferred!
    By SiteDiscovery in forum Administrators
    Replies: 7
    Last Post: 09-03-2009, 05:52 AM
  3. speed up the net
    By mcesari in forum Administrators
    Replies: 10
    Last Post: 04-25-2008, 12:24 PM
  4. Update Received Date in Folder-Listing
    By Oswald-Kolle in forum Installation
    Replies: 25
    Last Post: 08-21-2007, 05:21 PM
  5. ZCS 3.2 Beta Available
    By KevinH in forum Announcements
    Replies: 31
    Last Post: 07-07-2006, 04:46 PM

Posting Permissions

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