| 
05-05-2008, 09:19 AM
| | Member | | Join Date: May 2008 ZCS Version: Release 5.0.5_GA_2201.UBUNTU6 UBUNTU6 FOSS edition
Posts: 12
| | [SOLVED] zmapachectl is not running Hi.
Fresh install of Ubuntu Server 7.10 and Zimbra 4.5.3 (first time installing so I just followed a how to on howtoforge). I keep getting the same errors when I do 'zmcontrol status':
Host server1.mydomain.local
antispam Running
antivirus Running
ldap Running
logger Running
mailbox Running
mta Running
snmp Running
spell Stopped
zmapachectl is not running
And when I do 'zmcontrol start':
Host server1.mydomain.local
Starting logger...FAILED
Starting mailbox...Done.
Starting antispam...Done.
Starting antivirus...Done.
Starting snmp...FAILED
Starting spell...FAILED
/opt/zimbra/httpd-2.0.54/bin/httpd: error while loading shared libraries: libdb-4.3.so: cannot open shared object file: No such file or directory
Starting mta...Done.
I've been searching and cannot find a solution. Anyone have any ideas? | 
05-05-2008, 03:52 PM
|  | Zimbra Employee | | Join Date: May 2006 Location: USA ZCS Version: NE & OS - in the many flavors of 4.5 & 5.0
Posts: 4,266
| | Welcome to the forums,
For starters, as the zimbra user what's the output of: locate libdb-4 ?
If this is your first install ever, can I ask why you're using 4.5.3 instead of 4.5.11 or 5.0.5? Quote: |
ZCS Version: Release 4.5.3_GA_733.UBUNTU6 FOSS (on 7.10)
| Though we officially build for LTS releases (like 6.06) I assume this article (that I can't seem to find on howtoforge.com this instant) was similar to Ubuntu 7.04 & 7.10 (Feisty Fawn & Gutsy Gibbon) Install - Zimbra :: Wiki
Last edited by mmorse : 05-05-2008 at 03:57 PM.
| 
05-07-2008, 09:07 AM
| | Member | | Join Date: May 2008 ZCS Version: Release 5.0.5_GA_2201.UBUNTU6 UBUNTU6 FOSS edition
Posts: 12
| | Hi.
Thanks for responding and sorry it took so long for me to respond (busy work week).
I'm using 4.5.3 because like I said I followed a how to on howtoforge.com ( How To Install Zimbra Collaboration Suite (ZCS) On Ubuntu | HowtoForge - Linux Howtos and Tutorials) & I don't know of another address that contains the Zimbra files (ie: using the 'wget' command, as in 'wget http://kent.dl.sourceforge.net/sourceforge/zimbra/zcs-4.5.3_GA_733.UBUNTU6.tgz') there are only download links on the website and I'm not using a GUI on the server.
The out put of 'locate libdb-4' is:
/opt/zimbra/lib/libdb-4.2.a
/opt/zimbra/sleepycat-4.2.52.4/lib/libdb-4.2.a
/usr/lib/libdb-4.2.so
/usr/lib/libdb-4.4.so
/usr/lib/libdb-4.5.so
I did use the Zimbra wiki for installing on 7.04 and 7.10 that you referenced for the fixes that should make zimbra run. Would you suggest that I download and install 6.06?
Thanks in advance... | 
05-07-2008, 09:25 AM
| | Moderator | | Join Date: May 2006 Location: England ZCS Version: 5.0.7_GA_2450.UBUNTU6 UBUNTU6 NETWORK edition
Posts: 360
| | As it's a new box with no data, I'd suggest erasing it and installing Ubuntu 6.06LTS and then installing the latest version of ZCS5, which is currently 5.0.5.
That will put you on a much better starting point and it'll be a lot easier to sort out any issues you may then have. | 
05-07-2008, 09:40 AM
| | Member | | Join Date: May 2008 ZCS Version: Release 5.0.5_GA_2201.UBUNTU6 UBUNTU6 FOSS edition
Posts: 12
| | Hi.
The output of 'locate libdb-4' is:
/opt/zimbra/lib/libdb-4.2.a
/opt/zimbra/sleepycat-4.2.52.4/lib/libdb-4.2.a
/usr/lib/libdb-4.2.so
/usr/lib/libdb-4.4.so
/usr/lib/libdb-4.5.so
I am using 4.5.3 because I was pretty much following the how to on howtoforge ( How To Install Zimbra Collaboration Suite (ZCS) On Ubuntu | HowtoForge - Linux Howtos and Tutorials) and it uses the 'wget' command to download the files and being new to linux I wasn't sure how to go about finding and downloading the newest version (using 'wget').
Thanks in advance... | 
05-07-2008, 09:55 AM
| | Zimbra Employee | | Join Date: Sep 2005 Location: Vannes, France
Posts: 7,395
| | You would be far better uninstalling your current version (use './install.sh -u' to remove everything) and downloading the most recent version of Zimbra and following this guide for Ubuntu.
__________________
Regards
Bill
| 
05-07-2008, 01:31 PM
| | Member | | Join Date: May 2008 ZCS Version: Release 5.0.5_GA_2201.UBUNTU6 UBUNTU6 FOSS edition
Posts: 12
| | OK, downloaded and installed Ubuntu 6.06 and installing Zimbra 5.0.5 now. I'll check back when that is complete (prob sometime tomorrow as this is all going on @ work).
Sorry for the double reply. I didn't realize that it would take a few minutes for my posts to show up.
Thanks again. | 
05-08-2008, 06:42 AM
| | Member | | Join Date: May 2008 ZCS Version: Release 5.0.5_GA_2201.UBUNTU6 UBUNTU6 FOSS edition
Posts: 12
| | OK. Have Ubuntu 6.06 installed with Zimbra 5.0.5. After install I rebooted the server, waited about 10 minutes. Now when I do 'zmcontrol status' I get this:
Host server1.mydomain.local
antispam Running
antivirus Running
ldap Running
mailbox Stopped
mysql.server is not running
mta Running
snmp Running
spell Running
stats Stopped
And when I do 'zmcontrol start':
Host server1.mydomain.local
Starting mailbox...Done.
Starting antispam...Done.
Starting antivirus...Done.
Starting snmp...FAILED
Starting spell...Done.
Starting mta...Done.
Starting stats...Done. | 
05-08-2008, 07:06 AM
|  | Moderator | | Join Date: Nov 2006 Location: Northampton, UK ZCS Version: Release 5.0.7_GA_2450.RHEL5_20080630192737 CentOS5 NETWORK edition (Unsupported OS)
Posts: 1,352
| | Please check your Log Files - Zimbra :: Wiki for any error messages and post them here.
__________________ Server | CentOS 5.1 | Dual Opteron 250 | Tyan K8W Mobo | 6GB RAM | 3WARE 9550-SX4 | 4 x Samsung 200GB SATA II | Zimbra | Release Release 5.0.7_GA_2450.RHEL5_20080630192737 NETWORK edition running under Xen 3.2.1 CentOS 5.2 i386 VM | Network | Cisco 877 Router - Cisco ASA 5505 FW - Cisco 1131AP | | 
05-08-2008, 09:38 AM
| | Member | | Join Date: May 2008 ZCS Version: Release 5.0.5_GA_2201.UBUNTU6 UBUNTU6 FOSS edition
Posts: 12
| | OK, here are the errors in my logs. This is all I could find. Sorry if I post T-M-I... Quote:
***/opt/zimbra/log/mailbox.log***
2008-05-08 08:48:26,548 INFO [main] [] system - Setting mysql connector property: maxActive=100
2008-05-08 08:48:26,550 INFO [main] [] system - Setting mysql connector property: maxActive=100
2008-05-08 08:48:31,547 FATAL [main] [] system - Config initialization failed
com.zimbra.common.service.ServiceException: system failure: getting database connection
ExceptionId:main:1210250911542:8163c4d1f1113c0a
Code:service.FAILURE
at com.zimbra.common.service.ServiceException.FAILURE (ServiceException.java:253)
at com.zimbra.cs.db.DbPool.getConnection(DbPool.java: 231)
at com.zimbra.cs.util.Config.init(Config.java:62)
at com.zimbra.cs.util.Config.initConfig(Config.java:8 9)
at com.zimbra.cs.util.Config.getString(Config.java:10 1)
at com.zimbra.cs.db.Versions.checkDBVersion(Versions. java:77)
at com.zimbra.cs.db.Versions.checkVersions(Versions.j ava:73)
at com.zimbra.cs.util.Zimbra.startup(Zimbra.java:115)
at com.zimbra.soap.SoapServlet.init(SoapServlet.java: 114)
at javax.servlet.GenericServlet.init(GenericServlet.j ava:241)
at org.mortbay.jetty.servlet.ServletHolder.initServle t(ServletHolder.java:433)
at org.mortbay.jetty.servlet.ServletHolder.doStart(Se rvletHolder.java:256)
at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:40)
at org.mortbay.jetty.servlet.ServletHandler.initializ e(ServletHandler.java:612)
at org.mortbay.jetty.servlet.Context.startContext(Con text.java:139)
at org.mortbay.jetty.webapp.WebAppContext.startContex t(WebAppContext.java:1222)
at org.mortbay.jetty.handler.ContextHandler.doStart(C ontextHandler.java:501)
at org.mortbay.jetty.webapp.WebAppContext.doStart(Web AppContext.java:449)
at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:40)
at org.mortbay.jetty.handler.HandlerCollection.doStar t(HandlerCollection.java:147)
at org.mortbay.jetty.handler.ContextHandlerCollection .doStart(ContextHandlerCollection.java:161)
at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:40)
at org.mortbay.jetty.handler.HandlerCollection.doStar t(HandlerCollection.java:147)
at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:40)
at org.mortbay.jetty.handler.HandlerCollection.doStar t(HandlerCollection.java:147)
at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:40)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(H andlerWrapper.java:117)
at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:40)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(H andlerWrapper.java:117)
at org.mortbay.jetty.Server.doStart(Server.java:217)
at org.mortbay.setuid.SetUIDServer.doStart(SetUIDServ er.java:100)
at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:40)
at org.mortbay.xml.XmlConfiguration.main(XmlConfigura tion.java:979)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.mortbay.start.Main.invokeMain(Main.java:183)
at org.mortbay.start.Main.start(Main.java:497)
at org.mortbay.start.Main.main(Main.java:115)
Caused by: com.mysql.jdbc.exceptions.MySQLNonTransientConnect ionException: Server connection failure during transaction. Due to underlying exception: 'java.net.SocketException: $
** BEGIN NESTED EXCEPTION **
java.net.SocketException
MESSAGE: java.net.ConnectException: Connection refused
STACKTRACE:
java.net.SocketException: java.net.ConnectException: Connection refused
at com.mysql.jdbc.StandardSocketFactory.connect(Stand ardSocketFactory.java:156)
at com.mysql.jdbc.MysqlIO.(MysqlIO.java:276)
at com.mysql.jdbc.Connection.createNewIO(Connection.j ava:2769)
at com.mysql.jdbc.Connection.(Connection.java:1531)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonReg isteringDriver.java:266)
at java.sql.DriverManager.getConnection(DriverManager .java:582)
at java.sql.DriverManager.getConnection(DriverManager .java:154)
at org.apache.commons.dbcp.DriverManagerConnectionFac tory.createConnection(DriverManagerConnectionFacto ry.java:97)
at org.apache.commons.dbcp.PoolableConnectionFactory. makeObject(PoolableConnectionFactory.java:300)
at org.apache.commons.pool.impl.GenericObjectPool.bor rowObject(GenericObjectPool.java:816)
at org.apache.commons.dbcp.PoolingDataSource.getConne ction(PoolingDataSource.java:140)
at com.zimbra.cs.db.DbPool.getConnection(DbPool.java: 222)
at com.zimbra.cs.util.Config.init(Config.java:62)
at com.zimbra.cs.util.Config.initConfig(Config.java:8 9)
at com.zimbra.cs.util.Config.getString(Config.java:10 1)
at com.zimbra.cs.db.Versions.checkDBVersion(Versions. java:77)
at com.zimbra.cs.db.Versions.checkVersions(Versions.j ava:73)
at com.zimbra.cs.util.Zimbra.startup(Zimbra.java:115)
at com.zimbra.soap.SoapServlet.init(SoapServlet.java: 114)
at javax.servlet.GenericServlet.init(GenericServlet.j ava:241)
at org.mortbay.jetty.servlet.ServletHolder.initServle t(ServletHolder.java:433)
at javax.servlet.GenericServlet.init(GenericServlet.j ava:241)
at org.mortbay.jetty.servlet.ServletHolder.initServle t(ServletHolder.java:433)
at org.mortbay.jetty.servlet.ServletHolder.doStart(Se rvletHolder.java:256)
at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:40)
at org.mortbay.jetty.servlet.ServletHandler.initializ e(ServletHandler.java:612)
at org.mortbay.jetty.servlet.Context.startContext(Con text.java:139)
at org.mortbay.jetty.webapp.WebAppContext.startContex t(WebAppContext.java:1222)
at org.mortbay.jetty.handler.ContextHandler.doStart(C ontextHandler.java:501)
at org.mortbay.jetty.webapp.WebAppContext.doStart(Web AppContext.java:449)
at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:40)
at org.mortbay.jetty.handler.HandlerCollection.doStar t(HandlerCollection.java:147)
at org.mortbay.jetty.handler.ContextHandlerCollection .doStart(ContextHandlerCollection.java:161)
at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:40)
at org.mortbay.jetty.handler.HandlerCollection.doStar t(HandlerCollection.java:147)
at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:40)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(H andlerWrapper.java:117)
at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:40)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(H andlerWrapper.java:117)
at org.mortbay.jetty.Server.doStart(Server.java:217)
at org.mortbay.setuid.SetUIDServer.doStart(SetUIDServ er.java:100)
at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:40)
at org.mortbay.xml.XmlConfiguration.main(XmlConfigura tion.java:979)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.mortbay.start.Main.invokeMain(Main.java:183)
at org.mortbay.start.Main.start(Main.java:497)
at org.mortbay.start.Main.main(Main.java:115)
** END NESTED EXCEPTION **
Attempted reconnect 3 times. Giving up.
at com.mysql.jdbc.SQLError.createSQLException(SQLErro r.java:888)
at com.mysql.jdbc.Connection.createNewIO(Connection.j ava:2838)
at com.mysql.jdbc.Connection.(Connection.java:1531)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonReg isteringDriver.java:266)
at java.sql.DriverManager.getConnection(DriverManager .java:582)
at java.sql.DriverManager.getConnection(DriverManager .java:154)
at org.apache.commons.dbcp.DriverManagerConnectionFac tory.createConnection(DriverManagerConnectionFacto ry.java:97)
at org.apache.commons.dbcp.PoolableConnectionFactory. makeObject(PoolableConnectionFactory.java:300)
at org.apache.commons.pool.impl.GenericObjectPool.bor rowObject(GenericObjectPool.java:816)
at org.apache.commons.dbcp.PoolingDataSource.getConne ction(PoolingDataSource.java:140)
at com.zimbra.cs.db.DbPool.getConnection(DbPool.java: 222)
... 36 more
2008-05-08 08:49:16,897 INFO [main] [] soap - Servlet SoapServlet starting up
2008-05-08 08:49:17,008 INFO [main] [] soap - Adding service AccountService to SoapServlet
2008-05-08 08:49:18,686 INFO [main] [] soap - Adding service MailService to SoapServlet
2008-05-08 08:49:19,237 INFO [main] [] soap - Adding service IMService to SoapServlet
2008-05-08 08:49:19,613 INFO [main] [] misc - version=5.0.5_GA_2201.UBUNTU6 release=20080417012045 builddate=20080417-0121 buildhost=build13.re.zimbra.com
2008-05-08 08:49:19,619 INFO [main] [] misc - LANG environment is set to: C
2008-05-08 08:49:19,619 INFO [main] [] misc - System property java.home=/opt/zimbra/jdk1.6.0_04/jre
2008-05-08 08:49:19,620 INFO [main] [] misc - System property java.runtime.version=1.6.0_04-b12
2008-05-08 08:49:19,620 INFO [main] [] misc - System property java.version=1.6.0_04
2008-05-08 08:49:19,620 INFO [main] [] misc - System property java.vm.info=mixed mode
2008-05-08 08:49:19,621 INFO [main] [] misc - System property java.vm.name=Java HotSpot(TM) Client VM
2008-05-08 08:49:19,621 INFO [main] [] misc - System property java.vm.version=10.0-b19
2008-05-08 08:49:19,621 INFO [main] [] misc - System property os.arch=i386
2008-05-08 08:49:19,621 INFO [main] [] misc - System property os.name=Linux
2008-05-08 08:49:19,622 INFO [main] [] misc - System property os.version=2.6.15-51-server
2008-05-08 08:49:19,622 INFO [main] [] misc - System property sun.arch.data.model=32
2008-05-08 08:49:19,622 INFO [main] [] misc - System property sun.cpu.endian=little
2008-05-08 08:49:19,622 INFO [main] [] misc - System property sun.cpu.isalist=
2008-05-08 08:49:19,623 INFO [main] [] misc - System property sun.os.patch.level=unknown
2008-05-08 08:49:19,749 INFO [main] [] system - Setting mysql connector property: maxActive=100
2008-05-08 08:49:19,751 INFO [main] [] system - Setting mysql connector property: maxActive=100
2008-05-08 08:49:24,487 FATAL [main] [] system - Config initialization failed
com.zimbra.common.service.ServiceException: system failure: getting database connection
ExceptionId:main:1210250964482:6d0cdf0efe07fc39
Code:service.FAILURE
at com.zimbra.common.service.ServiceException.FAILURE (ServiceException.java:253)
at com.zimbra.cs.db.DbPool.getConnection(DbPool.java: 231)
at com.zimbra.cs.util.Config.init(Config.java:62)
at com.zimbra.cs.util.Config.initConfig(Config.java:8 9)
at com.zimbra.cs.util.Config.getString(Config.java:10 1)
at com.zimbra.cs.db.Versions.checkDBVersion(Versions. java:77)
at com.zimbra.cs.db.Versions.checkVersions(Versions.j ava:73)
at com.zimbra.cs.util.Zimbra.startup(Zimbra.java:115)
at com.zimbra.soap.SoapServlet.init(SoapServlet.java: 114)
at javax.servlet.GenericServlet.init(GenericServlet.j ava:241)
at org.mortbay.jetty.servlet.ServletHolder.initServle t(ServletHolder.java:433)
at org.mortbay.jetty.servlet.ServletHolder.doStart(Se rvletHolder.java:256)
at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:40)
at org.mortbay.jetty.servlet.ServletHandler.initializ e(ServletHandler.java:612)
at org.mortbay.jetty.servlet.Context.startContext(Con text.java:139)
at org.mortbay.jetty.webapp.WebAppContext.startContex t(WebAppContext.java:1222)
at org.mortbay.jetty.handler.ContextHandler.doStart(C ontextHandler.java:501)
at org.mortbay.jetty.webapp.WebAppContext.doStart(Web AppContext.java:449)
at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:40)
at org.mortbay.jetty.handler.HandlerCollection.doStar t(HandlerCollection.java:147)
at org.mortbay.jetty.handler.ContextHandlerCollection .doStart(ContextHandlerCollection.java:161)
at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:40)
| Quote:
***/opt/zimbra/log/freshclam.log***
Received signal: wake up
ClamAV update process started at Thu May 8 00:56:21 2008
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.92.1 Recommended version: 0.93
DON'T PANIC! Read Clam AntiVirus
main.inc is up to date (version: 46, sigs: 231834, f-level: 26, builder: sven)
Downloading daily-7054.cdiff [100%]
Downloading daily-7055.cdiff [100%]
Downloading daily-7056.cdiff [100%]
Downloading daily-7057.cdiff [100%]
Downloading daily-7058.cdiff [100%]
daily.inc updated (version: 7058, sigs: 49026, f-level: 26, builder: ccordes)
Database updated (280860 signatures) from db.us.clamav.net (IP: 138.123.96.134)
Clamd successfully notified about the update.
--------------------------------------
Received signal: wake up
ClamAV update process started at Thu May 8 02:56:22 2008
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.92.1 Recommended version: 0.93
DON'T PANIC! Read Clam AntiVirus
main.inc is up to date (version: 46, sigs: 231834, f-level: 26, builder: sven)
Downloading daily-7059.cdiff [100%]
Downloading daily-7060.cdiff [100%]
daily.inc updated (version: 7060, sigs: 49394, f-level: 26, builder: ccordes)
Database updated (281228 signatures) from db.us.clamav.net (IP: 64.186.240.114)
Clamd successfully notified about the update.
| (cont...) | | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is On | | | |