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 03-24-2006, 06:50 AM
Loyal Member
 
Posts: 97
Default MTA is Dying after yum update

Hello,

I am running zimbra 3.0.1 on FC4 and performed a yum update last night, after doing so now the mta dies as soon as I try to start zimbra. Any ideas on what could have been broken by that process?

thanks,

tA
Reply With Quote
  #2 (permalink)  
Old 03-24-2006, 07:11 AM
Loyal Member
 
Posts: 97
Default Here are the libs that were updated via yum

Mar 23 18:32:55 Updated: bind-libs.i386 24:9.3.1-18.FC4
Mar 23 18:32:55 Updated: bind-utils.i386 24:9.3.1-18.FC4
Mar 23 18:32:56 Updated: authconfig.i386 4.6.12-2
Mar 23 18:32:57 Updated: xterm.i386 208-4.FC4
Mar 23 18:32:59 Updated: logwatch.noarch 7.2.1-1.fc4
Mar 23 18:32:59 Updated: authconfig-gtk.i386 4.6.12-2
Mar 23 18:33:03 Updated: tzdata.noarch 2006b-2.fc4
Mar 23 18:33:04 Updated: bind.i386 24:9.3.1-18.FC4
Mar 23 18:33:05 Updated: sendmail.i386 8.13.6-0.FC4.1
Reply With Quote
  #3 (permalink)  
Old 03-24-2006, 07:23 AM
Zimbra Employee
 
Posts: 4,792
Default

Any errors in the logs?

What does this return?

ldd postfix
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #4 (permalink)  
Old 03-24-2006, 07:31 AM
Loyal Member
 
Posts: 97
Default

I get the following:

ldd: ./postfix: No such file or directory
Reply With Quote
  #5 (permalink)  
Old 03-24-2006, 07:32 AM
Loyal Member
 
Posts: 97
Default

I also tried restarting again and saw this error?

getService: sasl
getService: webxml
getService: perdition
DO: /opt/zimbra/postfix/sbin/postconf -e content_filter='smtp-amavis:[127.0.0.1]:10024'
/opt/zimbra/postfix/sbin/postconf: fatal: open /opt/zimbra/postfix-2.2.5/conf/main.cf.tmp: Permission denied
DO: /opt/zimbra/postfix/sbin/postconf -e myhostname='mail.myagilon.com'
/opt/zimbra/postfix/sbin/postconf: fatal: open /opt/zimbra/postfix-2.2.5/conf/main.cf.tmp: Permission denied
DO: /opt/zimbra/postfix/sbin/postconf -e recipient_delimiter=''
/opt/zimbra/postfix/sbin/postconf: fatal: open /opt/zimbra/postfix-2.2.5/conf/main.cf.tmp: Permission denied
DO: /opt/zimbra/postfix/sbin/postconf -e smtpd_sasl_auth_enable='yes'
/opt/zimbra/postfix/sbin/postconf: fatal: open /opt/zimbra/postfix-2.2.5/conf/main.cf.tmp: Permission denied
DO: /opt/zimbra/postfix/sbin/postconf -e smtpd_tls_auth_only='yes'
/opt/zimbra/postfix/sbin/postconf: fatal: open /opt/zimbra/postfix-2.2.5/conf/main.cf.tmp: Permission denied
DO: /opt/zimbra/postfix/sbin/postconf -e disable_dns_lookups='no'
/opt/zimbra/postfix/sbin/postconf: fatal: open /opt/zimbra/postfix-2.2.5/conf/main.cf.tmp: Permission denied
DO: /opt/zimbra/postfix/sbin/postconf -e message_size_limit='102400000'
/opt/zimbra/postfix/sbin/postconf: fatal: open /opt/zimbra/postfix-2.2.5/conf/main.cf.tmp: Permission denied
DO: /opt/zimbra/postfix/sbin/postconf -e relayhost=''
/opt/zimbra/postfix/sbin/postconf: fatal: open /opt/zimbra/postfix-2.2.5/conf/main.cf.tmp: Permission denied
DO: /opt/zimbra/postfix/sbin/postconf -e smtpd_recipient_restrictions='reject_non_fqdn_reci pient, permit_sasl_authenticated, permit_mynetworks, reject_invalid_hostname, reject_non_fqdn_hostname, reject_non_fqdn_sender, reject_unauth_destination, permit'
/opt/zimbra/postfix/sbin/postconf: fatal: open /opt/zimbra/postfix-2.2.5/conf/main.cf.tmp: Permission denied
/opt/zimbra/postfix-2.2.5/sbin/postsuper: error while loading shared libraries: libmysqlclient.so.14: cannot open shared object file: No such file or directory
/opt/zimbra/postfix-2.2.5/sbin/postalias: error while loading shared libraries: libmysqlclient.so.14: cannot open shared object file: No such file or directory
/opt/zimbra/postfix-2.2.5/sbin/postfix: error while loading shared libraries: libmysqlclient.so.14: cannot open shared object file: No such file or directory
saslauthd[24891] :detach_tty : Cannot start saslauthd
saslauthd[24891] :detach_tty : Another instance of saslauthd is currently running


Starting snmp...Done.
Starting spell...Done.
Reply With Quote
  #6 (permalink)  
Old 03-24-2006, 07:46 AM
Zimbra Employee
 
Posts: 4,792
Default

Try:
su - zimbra
ldd /opt/zimbra/postfix-2.2.5/sbin/postfix
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #7 (permalink)  
Old 03-24-2006, 07:50 AM
Loyal Member
 
Posts: 97
Default

[zimbra@mail root]$ ldd /opt/zimbra/postfix-2.2.5/sbin/postfix
linux-gate.so.1 => (0x00eb0000)
libpcre.so.0 => /lib/libpcre.so.0 (0x006bb000)
libldap-2.2.so.7 => /opt/zimbra/lib/libldap-2.2.so.7 (0x00ce2000)
liblber-2.2.so.7 => /opt/zimbra/lib/liblber-2.2.so.7 (0x00666000)
libmysqlclient.so.14 => /opt/zimbra/lib/libmysqlclient.so.14 (0x00111000 )
libz.so.1 => /usr/lib/libz.so.1 (0x0050d000)
libm.so.6 => /lib/libm.so.6 (0x004e6000)
libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x0022b000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00522000)
libssl.so.5 => /lib/libssl.so.5 (0x008d8000)
libcrypto.so.5 => /lib/libcrypto.so.5 (0x0077e000)
libnsl.so.1 => /lib/libnsl.so.1 (0x00351000)
libresolv.so.2 => /lib/libresolv.so.2 (0x00616000)
libc.so.6 => /lib/libc.so.6 (0x003b5000)
libbind.so.3 => /usr/lib/libbind.so.3 (0x00241000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x00321000)
/lib/ld-linux.so.2 (0x00397000)
libdl.so.2 => /lib/libdl.so.2 (0x004e0000)
libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x008be000)
libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x006f9000)
libcom_err.so.2 => /lib/libcom_err.so.2 (0x006b6000)
libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x00893000)
libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x008b9000)
Reply With Quote
  #8 (permalink)  
Old 03-24-2006, 08:38 AM
Zimbra Employee
 
Posts: 4,792
Default

So if you 'su - zimbra' it all works fine. My guess is your previous test was run as root. This won't work. You must run all the zimbra commands as the zimbra user to get the correct environment.
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #9 (permalink)  
Old 03-24-2006, 08:47 AM
Loyal Member
 
Posts: 97
Default

Kevin,

I am seeing this in the /opt/zimbra/log, don't know if this will help or not. Also, I tried the command you sent before as root by accident but it did not work under zimbra user either.
Seems as though postfix is not starting up. I checked netstat and don't have any listeners on port 25.

com.zimbra.cs.service.ServiceException: system failure: MessagingException
at com.zimbra.cs.service.ServiceException.FAILURE(Ser viceException.java:131)
at com.zimbra.cs.service.mail.SendMsg.sendMimeMessage (SendMsg.java:331)
at com.zimbra.cs.service.mail.SendMsg.sendMimeMessage (SendMsg.java:165)
at com.zimbra.cs.service.mail.SendMsg.sendMimeMessage (SendMsg.java:154)
at com.zimbra.cs.service.mail.SendMsg.handle(SendMsg. java:107)
at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEng ine.java:252)
at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:163)
at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:84)
at com.zimbra.soap.SoapServlet.doPost(SoapServlet.jav a:228)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:709)
at com.zimbra.cs.servlet.ZimbraServlet.service(Zimbra Servlet.java:154)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:802)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:107)
at org.apache.catalina.valves.AccessLogValve.invoke(A ccessLogValve.java:526)
at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:825)
at org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.processConnection(Http11Protocol.jav a:738)
at org.apache.tomcat.util.net.PoolTcpEndpoint.process Socket(PoolTcpEndpoint.java:526)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThr ead.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25;
nested exception is:
java.net.ConnectException: Connection refused
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTra nsport.java:1227)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SM TPTransport.java:322)
at javax.mail.Service.connect(Service.java:236)
at javax.mail.Service.connect(Service.java:137)
at javax.mail.Service.connect(Service.java:86)
at javax.mail.Transport.send0(Transport.java:150)
at javax.mail.Transport.send(Transport.java:80)
at com.zimbra.cs.service.mail.SendMsg.sendMimeMessage (SendMsg.java:243)
... 25 more
Reply With Quote
  #10 (permalink)  
Old 03-24-2006, 08:49 AM
Loyal Member
 
Posts: 97
Default

I am also seeing now that the logger and snmp are showing as stopped. I rebooted and they are still showing as stopped.

[zimbra@mail root]$ zmcontrol status
Host mail.myagilon.com
antispam Running
antivirus Running
ldap Running
logger Stopped
mailbox Running
mta Stopped
snmp Stopped
spell Running
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.