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

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 02-11-2006, 08:49 AM
Starter Member
 
Posts: 2
Unhappy mailbox stopped

My mailbox does not run.

I tried to install Zimbra several times.... with no luck.

Here is most of the installation output:
##################################

Main menu

1) Hostname: lynx.complete.nl
2) Ldap master host: lynx.complete.nl
3) Ldap port: 389
4) Ldap password: set
5) zimbra-ldap: Enabled
6) zimbra-store: Enabled
+Create Admin User: yes
+Admin user to create: admin@lynx.complete.nl
******* +Admin Password UNSET
+SMTP host: lynx.complete.nl
+Web server HTTP port: 80
+Web server HTTPS port: 443
+Web server mode: http
+IMAP server port: 143
+IMAP server SSL port: 993
+POP server port: 110
+POP server SSL port: 995
+Use spell check server: yes
+Spell server URL: http://lynx.complete.nl:7780/aspell.php

7) zimbra-mta: Enabled
8) zimbra-snmp: Enabled
9) zimbra-logger: Enabled
10) zimbra-spell: Enabled
r) Start servers after configuration yes
s) Save config to file
x) Expand menu
q) Quit

Address unconfigured (**) items (? - help) 6


Store configuration

1) Status: Enabled
2) Create Admin User: yes
3) Admin user to create: admin@lynx.complete.nl
** 4) Admin Password UNSET
5) SMTP host: lynx.complete.nl
6) Web server HTTP port: 80
7) Web server HTTPS port: 443
8) Web server mode: http
9) IMAP server port: 143
10) IMAP server SSL port: 993
11) POP server port: 110
12) POP server SSL port: 995
13) Use spell check server: yes
14) Spell server URL: http://lynx.complete.nl:7780/aspell.php

Select, or 'r' for previous menu [r] 3

Create admin user: [admin@lynx.complete.nl] admin@lynx.complete.nl
Password for admin@lynx.complete.nl (min 6 characters): [oM4cYS5QUc] topsecret



Main menu

1) Hostname: lynx.complete.nl
2) Ldap master host: lynx.complete.nl
3) Ldap port: 389
4) Ldap password: set
5) zimbra-ldap: Enabled
6) zimbra-store: Enabled
7) zimbra-mta: Enabled
8) zimbra-snmp: Enabled
9) zimbra-logger: Enabled
10) zimbra-spell: Enabled
r) Start servers after configuration yes
s) Save config to file
x) Expand menu
q) Quit

*** CONFIGURATION COMPLETE - press 'a' to apply
Select from menu, or press 'a' to apply config (? - help) a
Save configuration data to a file? [Yes]
Save config in file: [/opt/zimbra/config.8607]
Saving config in /opt/zimbra/config.8607...Done
The system will be modified - continue? [No] Yes
Operations logged to /tmp/zmsetup.log.8607
Setting local config values...Done
Setting up CA...Done
Creating SSL certificate...Done
Initializing ldap...Done
Saving CA in ldap...Done
Installing SSL certificate...Done
Creating server entry for lynx.complete.nl...Done
Setting spell check URL...Done
Setting service ports on lynx.complete.nl...Done
Adding lynx.complete.nl to zimbraMailHostPool in default COS...Done
Installing zimlets... com_zimbra_amzn... com_zimbra_sforce... com_zimbra_po... com_zimbra_bugz... com_zimbra_url... com_zimbra_phone... com_zimbra_tracking... com_zimbra_ymaps... Done
Setting MTA auth host...Done
Creating domain lynx.complete.nl...Done
Creating user ty2xnjjkg@lynx.complete.nl...Done
Creating user k45mb3irz@lynx.complete.nl...Done
Setting spam training accounts...Done
Creating user admin@complete.nl...Done
Creating postmaster alias...Done
Initializing store sql database...Done
Setting zimbraSmtpHostname for lynx.complete.nl...Done
Initializing logger sql database...Done
Initializing mta config...Done
Configuring SNMP...Done
Setting services on lynx.complete.nl...Done
Setting up zimbra crontab...Done

You have the option of notifying Zimbra of your installation.
This helps us to track the uptake of the Zimbra Collaboration Suite.
The only information that will be transmitted is:
The VERSION of zcs installed (3.0.0_M4_62_RHEL4)
The ADMIN EMAIL ADDRESS created (admin@complete.nl)

Notify Zimbra of your installation? [Yes] No
Notification skipped
Starting servers...Done.


Operations logged to /tmp/zmsetup.log.8607


Configuration complete - press return to exit


[root@lynx zcs]# su - zimbra
[zimbra@lynx ~]$ zmcontrol status
Host lynx.complete.nl
antispam Running
antivirus Running
ldap Running
logger Running
mailbox Stopped
mta Running
snmp Running
spell Running




######### I did a tail -f * in the zimbra/log directory while starting zimbra (zmcontrol start)

==> zimbra.log <==
2006-02-11 15:50:05,672 INFO [main] [] soap - Servlet SoapServlet starting up
2006-02-11 15:50:05,702 INFO [main] [] soap - Adding service AccountService to SoapServlet
2006-02-11 15:50:05,788 INFO [main] [] soap - Adding service MailService to SoapServlet
2006-02-11 15:50:05,927 INFO [main] [] soap - Adding service IMService to SoapServlet
2006-02-11 15:50:05,933 INFO [main] [] misc - version=3.0.0_M4_62.RHEL4 release=20060124130403 builddate=20060124-1304 buildhost=build.liquidsys.com
2006-02-11 15:50:05,934 INFO [main] [] misc - LANG environment is set to: nl_NL.UTF-8
2006-02-11 15:50:05,996 INFO [main] [] misc - Setting mysql connection pool size to 100
2006-02-11 15:50:10,202 FATAL [main] [] system - Config initialization failed
com.zimbra.cs.service.ServiceException: system failure: getting database connection
at com.zimbra.cs.service.ServiceException.FAILURE(Ser viceException.java:131)

at com.zimbra.cs.db.DbPool.getConnection(DbPool.java: 281)
at com.zimbra.cs.util.Config.init(Config.java:69)
at com.zimbra.cs.util.Config.initConfig(Config.java:9 6)
at com.zimbra.cs.util.Config.getString(Config.java:10 8)
at com.zimbra.cs.db.Versions.checkDBVersion(Versions. java:87)
at com.zimbra.cs.db.Versions.checkVersions(Versions.j ava:82)
at com.zimbra.cs.util.Zimbra.startup(Zimbra.java:89)
at com.zimbra.soap.SoapServlet.init(SoapServlet.java: 118)
at javax.servlet.GenericServlet.init(GenericServlet.j ava:211)
at org.apache.catalina.core.StandardWrapper.loadServl et(StandardWrapper.java:1068)
at org.apache.catalina.core.StandardWrapper.load(Stan dardWrapper.java:900)
at org.apache.catalina.core.StandardContext.loadOnSta rtup(StandardContext.java:3823)
at org.apache.catalina.core.StandardContext.start(Sta ndardContext.java:4087)
at org.apache.catalina.core.ContainerBase.addChildInt ernal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(Co ntainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(Sta ndardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployDirec tory(HostConfig.java:909)
at org.apache.catalina.startup.HostConfig.deployDirec tories(HostConfig.java:872)
at org.apache.catalina.startup.HostConfig.deployApps( HostConfig.java:474)
at org.apache.catalina.startup.HostConfig.start(HostC onfig.java:1106)
at org.apache.catalina.startup.HostConfig.lifecycleEv ent(HostConfig.java:310)
at org.apache.catalina.util.LifecycleSupport.fireLife cycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(Conta inerBase.java:1019)
at org.apache.catalina.core.StandardHost.start(Standa rdHost.java:718)
at org.apache.catalina.core.ContainerBase.start(Conta inerBase.java:1011)
at org.apache.catalina.core.StandardEngine.start(Stan dardEngine.java:440)
at org.apache.catalina.core.StandardService.start(Sta ndardService.java:450)
at org.apache.catalina.core.StandardServer.start(Stan dardServer.java:683)
at org.apache.catalina.startup.Catalina.start(Catalin a.java:537)
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:585)
at org.apache.catalina.startup.Bootstrap.start(Bootst rap.java:271)
at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:409)
Caused by: java.sql.SQLException: Server connection failure during transaction. Due to underlying exception: 'java.net.SocketException: java.net.ConnectException: Connection refused'.

** 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:284)
at com.mysql.jdbc.Connection.createNewIO(Connection.j ava:2680)
at com.mysql.jdbc.Connection.(Connection.java:1485)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonReg isteringDriver.java:266)
at java.sql.DriverManager.getConnection(DriverManager .java:525)
at java.sql.DriverManager.getConnection(DriverManager .java:140)
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.PoolingDriver.connect(Pool ingDriver.java:171)
at java.sql.DriverManager.getConnection(DriverManager .java:525)
at java.sql.DriverManager.getConnection(DriverManager .java:193)
at com.zimbra.cs.db.DbPool.getConnection(DbPool.java: 272)
at com.zimbra.cs.util.Config.init(Config.java:69)
at com.zimbra.cs.util.Config.initConfig(Config.java:9 6)
at com.zimbra.cs.util.Config.getString(Config.java:10 8)
at com.zimbra.cs.db.Versions.checkDBVersion(Versions. java:87)
at com.zimbra.cs.db.Versions.checkVersions(Versions.j ava:82)
at com.zimbra.cs.util.Zimbra.startup(Zimbra.java:89)
at com.zimbra.soap.SoapServlet.init(SoapServlet.java: 118)
at javax.servlet.GenericServlet.init(GenericServlet.j ava:211)
at org.apache.catalina.core.StandardWrapper.loadServl et(StandardWrapper.java:1068)
at org.apache.catalina.core.StandardWrapper.load(Stan dardWrapper.java:900)
at org.apache.catalina.core.StandardContext.loadOnSta rtup(StandardContext.java:3823)
at org.apache.catalina.core.StandardContext.start(Sta ndardContext.java:4087)
at org.apache.catalina.core.ContainerBase.addChildInt ernal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(Co ntainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(Sta ndardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployDirec tory(HostConfig.java:909)
at org.apache.catalina.startup.HostConfig.deployDirec tories(HostConfig.java:872)
at org.apache.catalina.startup.HostConfig.deployApps( HostConfig.java:474)
at org.apache.catalina.startup.HostConfig.start(HostC onfig.java:1106)
at org.apache.catalina.startup.HostConfig.lifecycleEv ent(HostConfig.java:310)
at org.apache.catalina.util.LifecycleSupport.fireLife cycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(Conta inerBase.java:1019)
at org.apache.catalina.core.StandardHost.start(Standa rdHost.java:718)
at org.apache.catalina.core.ContainerBase.start(Conta inerBase.java:1011)
at org.apache.catalina.core.StandardEngine.start(Stan dardEngine.java:440)
at org.apache.catalina.core.StandardService.start(Sta ndardService.java:450)
at org.apache.catalina.core.StandardServer.start(Stan dardServer.java:683)
at org.apache.catalina.startup.Catalina.start(Catalin a.java:537)
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:585)
at org.apache.catalina.startup.Bootstrap.start(Bootst rap.java:271)
at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:409)


** END NESTED EXCEPTION **


Attempted reconnect 3 times. Giving up.
at com.mysql.jdbc.Connection.createNewIO(Connection.j ava:2749)
at com.mysql.jdbc.Connection.(Connection.java:1485)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonReg isteringDriver.java:266)
at java.sql.DriverManager.getConnection(DriverManager .java:525)
at java.sql.DriverManager.getConnection(DriverManager .java:140)
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.PoolingDriver.connect(Pool ingDriver.java:171)
at java.sql.DriverManager.getConnection(DriverManager .java:525)
at java.sql.DriverManager.getConnection(DriverManager .java:193)
at com.zimbra.cs.db.DbPool.getConnection(DbPool.java: 272)
... 34 more

==> httpd_error.log <==
[Sat Feb 11 15:50:13 2006] [notice] Apache/2.0.54 (Unix) PHP/5.0.5 configured -- resuming normal operations
#######
Problem:

A zmcontrol gives a "mailbox stopped", the rest is running.
https://localhost:7071/zimbraAdmin
does not work, permision denied. because mailbox (store) is not running.

Should my hostname be known in DNS outside of my domain too?
My MX record points to my router which forwards mail (25) and more to my system.
This system, lynx.complete.nl. ?

Thanks in advance
Reply With Quote
  #2 (permalink)  
Old 02-11-2006, 09:53 AM
Zimbra Employee
 
Posts: 2,103
Default mysql is not starting

no mysql means that the mysql init probably failed - search the forums for possible causes, this has been covered extensively.
Reply With Quote
  #3 (permalink)  
Old 02-28-2006, 12:52 AM
Special Member
 
Posts: 108
Default Live server mailbox stopped

Hi

I have a server with mailbox stopped. (Just the mailbox) system is AMD2800 1GbRAM Fedora 3.

I am sure I have had this issue before but can not remember how I fixed it. I have upgradedto 3.0.1 and started without av or spam.

It says starting OK but the zmcontol status shows it as stopped.

I had moved users onto this server and it was working fine. However I belive someone turned the power off and this issue occured on reboot.

I did the tail command above and do not see the same MySQL error but it may be this. Looked in Wiki but this service not yet documented.

John
Reply With Quote
  #4 (permalink)  
Old 02-28-2006, 08:12 AM
Special Member
 
Posts: 108
Default Mailbox stooped issue fixed

I found in the log file that there was a permissions problem on

/opt/zimbra/redolog/redo.log

root was rw
group (zimbra was) read only

changed group permissions to rw and mailbox starts.

(did search in forums for redo.log and someone else has same issue)

I will try to put this on the wiki later

John
Reply With Quote
  #5 (permalink)  
Old 02-28-2006, 09:03 AM
Senior Member
 
Posts: 54
Default

Quote:
Originally Posted by mintra
I found in the log file that there was a permissions problem on

/opt/zimbra/redolog/redo.log

root was rw
group (zimbra was) read only

changed group permissions to rw and mailbox starts.

(did search in forums for redo.log and someone else has same issue)

I will try to put this on the wiki later

John
Hi John,

I'd also picked up an issue with the redo.log but my error said that it wasn't owned by root. I did a chown root:root and the error seemed to go away. I see that the file now shows
Code:
-rw-r-----   1 root   root    512 Feb 27 17:50 redo.log
Would you be able to tell me what the appropriate chown and chmod commands are? TIA
Reply With Quote
  #6 (permalink)  
Old 03-01-2006, 10:38 AM
Special Member
 
Posts: 108
Default Chown /

OK I admit it I used the file manager in webmin to change mine.

The owner on my system is root and the group is zimbra

so would change into the directory where file is

chgrp redo.log zimbra

That way the group is zimbra

then use chmod to set the file permissions to read and write for the zimbra group cant rembember how to do that but this will help

http://catcode.com/teachmod/
Reply With Quote
  #7 (permalink)  
Old 03-01-2006, 12:00 PM
Zimbra Employee
 
Posts: 515
Default

it wouldn't take long to check out man chown, man chgrp, man chmod

just that this should be chgrp zimbra redo.log
Quote:
chgrp redo.log zimbra
and i think you also want chmod g+w redo.log so you get something like this:

-rw-rw---- 1 root zimbra 512 Feb 27 17:50 redo.log
Reply With Quote
  #8 (permalink)  
Old 03-01-2006, 02:17 PM
Senior Member
 
Posts: 54
Wink Lazy Dayz

Thanks for the feedback guys. I had actually figured it out for myself. Must apologise for my lazyness but I have been devoting nearly all my time to a problem I'm persuing in another thread. Thanks again.
Reply With Quote
  #9 (permalink)  
Old 06-16-2006, 05:43 PM
Zimbra Employee
 
Posts: 274
Default Please also see...

http://www.zimbra.com/forums/administrators/3418-mystery-solved-unclean-shutdown-causes-redo-log-owned-root-root.html#post19505
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #10 (permalink)  
Old 06-20-2008, 05:00 AM
Special Member
 
Posts: 123
Default

I did the samre thing. But, My mailbox service is still not working.I am getting following service errors when I type zmcontrol status. command.

antispam Running
antivirus Running
imapproxy Running
ldap Running
logger Running
mailbox Stopped
mysql.server is not running
mta Running
snmp Running
spell Running
stats 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.