Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

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.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-17-2011, 10:54 AM
Active Member
 
Posts: 34
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.
Reply With Quote
  #2 (permalink)  
Old 06-17-2011, 03:47 PM
raj raj is offline
Moderator
 
Posts: 768
Default

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

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

Raj
__________________
i2k2 Networks
Dedicated & Shared Zimbra Hosting Provider
Reply With Quote
  #3 (permalink)  
Old 06-17-2011, 04:01 PM
Active Member
 
Posts: 34
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...
Reply With Quote
  #4 (permalink)  
Old 06-19-2011, 10:39 AM
Zimbra Consultant & Moderator
 
Posts: 20,315
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
Reply With Quote
  #5 (permalink)  
Old 07-21-2011, 10:30 AM
Starter Member
 
Posts: 1
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
Reply With Quote
  #6 (permalink)  
Old 07-22-2011, 07:10 AM
Senior Member
 
Posts: 74
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
Reply With Quote
  #7 (permalink)  
Old 07-22-2011, 09:13 AM
raj raj is offline
Moderator
 
Posts: 768
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
Reply With Quote
  #8 (permalink)  
Old 02-24-2012, 02:00 AM
Intermediate Member
 
Posts: 18
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 ...

Reply With Quote
  #9 (permalink)  
Old 05-21-2012, 05:14 AM
Starter Member
 
Posts: 2
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
Reply With Quote
  #10 (permalink)  
Old 05-23-2012, 01:57 PM
Special Member
 
Posts: 149
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...
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.