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 08-14-2006, 08:23 PM
Intermediate Member
 
Posts: 20
Default tomcat and postfix not running

I have run the zimbra install script on a FC4 box pointing everything to localhost.localdomain.

The box is hosting 6 domains and I gather I can add these once it is up and going. However it is falling over. When installed zmcontrol reports

Host localhost.localdomain
antispam Running
antivirus Stopped
zmclamdctl is not running
ldap Running
logger Running
mailbox Stopped
tomcat is not running
mta Stopped
postfix is not running
zmsaslauthdctl is not running
snmp Running
spell Running

nano /opt/zimbra/postfix/conf/main.cf

content_filter = smtp-amavis:[127.0.0.1]:10024
myhostname = localhost.localdomain
recipient_delimiter =
smtpd_sasl_auth_enable =
smtpd_tls_auth_only =
smtpd_use_tls = yes
disable_dns_lookups =
message_size_limit =
relayhost =

The messagesizelimit reports as a error but any value entered seems to be wiped.


[zimbra@athlon root]$ zmcontrol start
Host localhost.localdomain
Starting logger...Done.
Starting mailbox...Done.
Starting antispam...Done.
Starting antivirus...Done.
Starting snmp...Done.
Starting spell...Done.
Starting mta...FAILED
postmap: fatal: bad numerical configuration: message_size_limit =
postalias: fatal: bad numerical configuration: message_size_limit =
postfix failed to start
saslauthd[2803] :set_auth_mech : failed to initialize mechanism zimbra
zmsaslauthdctl failed to start

Though I have not done so this time. ( I have run the install script many times over the last few days) When I enter zmcontrol stop any further attempts to enter zmcontrol start result in a total failure and zmcontrol status tells me it is unable to determine the status!

As for postfix failing with 'zmsaslauthdctl failed to start'. What to do?

Thanks any help is much appreciated.
Reply With Quote
  #2 (permalink)  
Old 08-14-2006, 08:32 PM
Intermediate Member
 
Posts: 20
Default Tomcat +Postfix not running

[zimbra@athlon root]$ zmcontrol start
Host localhost.localdomain
Starting logger...Done.
Starting mailbox...Done.
Starting antispam...Done.
Starting antivirus...Done.
Starting snmp...Done.
Starting spell...Done.
Starting mta...FAILED
postmap: fatal: bad numerical configuration: message_size_limit =
postalias: fatal: bad numerical configuration: message_size_limit =
postfix failed to start
saslauthd[2803] :set_auth_mech : failed to initialize mechanism zimbra
zmsaslauthdctl failed to start

(Sorry if this comes as a cross post. Was not intended to enter twice)
Reply With Quote
  #3 (permalink)  
Old 08-14-2006, 09:52 PM
Intermediate Member
 
Posts: 20
Question More details on bad cats

It appears mysqld is a problem. So I stopped it.
But my system needs mysql .... still with it off for the moment.....
I try to start zmmailboxctl.
... it still suggests mysqld it is running? (see below)
Also the command to start tomcat seems to complete but the status then confirms that the beastie is definitely of the Cheshire breed.


[zimbra@athlon root]$ zmmailboxctl start
A mysqld process already exists
[zimbra@athlon root]$ tomcat start
[zimbra@athlon root]$ zmcontrol status
Host localhost.localdomain
antispam Running
antivirus Stopped
zmclamdctl is not running
ldap Running
logger Running
mailbox Stopped
tomcat is not running
mta Stopped
postfix is not running
zmsaslauthdctl is not running
snmp Running
spell Running


or checking the cats tail....



Aug 15, 2006 12:29:47 PM org.apache.catalina.startup.Catalina load
SEVERE: Catalina.start
LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use:80
at org.apache.catalina.connector.Connector.initialize (Connector.java:1018)
at org.apache.catalina.core.StandardService.initializ e(StandardService.java:580)
at org.apache.catalina.core.StandardServer.initialize (StandardServer.java:782)
at org.apache.catalina.startup.Catalina.load(Catalina .java:503)
at org.apache.catalina.startup.Catalina.load(Catalina .java:523)
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.load(Bootstr ap.java:247)
at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:405)
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 com.zimbra.cs.launcher.TomcatLauncher.start(Tomcat Launcher.java:52)
at com.zimbra.cs.launcher.TomcatLauncher.main(TomcatL auncher.java:74)
Aug 15, 2006 12:29:47 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1067 ms
Aug 15, 2006 12:29:47 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Aug 15, 2006 12:29:47 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.15
Aug 15, 2006 12:29:47 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Aug 15, 2006 12:29:48 PM org.apache.catalina.startup.HostConfig deployDescriptor
WARNING: A docBase /opt/zimbra/apache-tomcat-5.5.15/webapps/zimbra inside the host appBase has been specified, and will be ignored
log4j:WARN No appenders could be found for logger (org.apache.catalina.session.ManagerBase).
log4j:WARN Please initialize the log4j system properly.
Zimbra server process is running as root, changing to user=zimbra uid=517 gid=508
Zimbra server process, after change, is running with uid=517 euid=517 gid=508 egid=508


Can someone tell me how to change the port from 80? and how to init the log4j? As I gather these are the problems.

Also note to developers: Can the install script be extended to pick up these issues? If something is running that will conflict then the install should, imho, halt until the conflict is resolved. Call it newbie-itis but this has been about 9hrs on the learning curve and I don't think I am even getting close yet. Once I have it running on myredhat box I then have to install on a CENTOS4. So I gather there are a whole lot of new issues to cover on that distro.
Reply With Quote
  #4 (permalink)  
Old 08-14-2006, 11:18 PM
Former Zimbran
 
Posts: 5,606
Default

Try setting your max attachment size in the admin ui
Reply With Quote
  #5 (permalink)  
Old 08-15-2006, 12:02 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

I assume that as port 80 appears to be in use that you have an instance of Apache running, mysql shouldn't cause you any problems as the Zimbra instance uses non-standard ports. When you do a clean install of Zimbra it will tell you if there are port conflicts and allow you to change them. Did that happen and is there anything in the install logs?

Have you also set the /etc/hosts file correctly as per the Zimbra documentation?
__________________
Regards


Bill
Reply With Quote
  #6 (permalink)  
Old 08-15-2006, 08:00 AM
Intermediate Member
 
Posts: 20
Default conflicts

Thanks Bill, the installer did mention several port conflicts but did not seem to offer the option to enter ammended values. ( At least I have not picked up on it). I do run apache /mysql/php/postgresql as core applications.
What should I change the 80 to? Do I have to re-install or can it be done via the command interface. What about the invalid message size quoted in the first post.

The /etc/hosts file as as follows. I think it is ok.

[root@athlon ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
10.1.1.6 athlon.localdomain athlon
yyy.aaa.nnn.xxx athlon.xnx.ath.cx athlon
Reply With Quote
  #7 (permalink)  
Old 08-15-2006, 08:14 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

You should see a set of options at the end of the install routine (just before you commit the install) that gives you the option to change things like the domain name etc. have a look in the quick-start guide on P17, that shows you the menu.

As this is a new install I'd recommend doing an uninstall first with './install.sh -u' then running the install again, that will get rid of all of the zimbra files.

The only problem with changing the port that zimbra uses is that you will have to enter ':8080' (or whatever you choose) appended to the url. There is a couple of posts that describe how to get apache to re-direct a request for http://server/zimbra to the new port you use, have a search for them. I guess as you already run apache that you know how to do that already.
__________________
Regards


Bill
Reply With Quote
  #8 (permalink)  
Old 08-16-2006, 06:58 PM
Intermediate Member
 
Posts: 20
Default Admin Interface not accessible

ZMControl new reports all services running but attempt to access the GUI fail.

https://myserver.com:7071/zimbraAdmin

gets no response from the server.

I do have apache running serving several websites so I know it is working.


The problems have so far all been config or comprehension issues on my part so I expect this one is as well.

Issues resolved so far :
1) Be careful to discern difference between domain and host. Zimbra detects the hostname and reports this as the domain. If you do not correct installation fails.
2) Port conflicts are fundamental.I ignored the warning and it fails. Errors reported at runtime will lead you a merry chase. check for port conflicts.
3) Ports needing to be changed are not highlighted with the **** as are other errors.
Reply With Quote
  #9 (permalink)  
Old 08-16-2006, 07:10 PM
Intermediate Member
 
Posts: 20
Default Problems still there

su zimbra


[zimbra@athlon root]$ zmprov /h
[] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
[] INFO: Retrying request
[] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
[] INFO: Retrying request
[] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
[] INFO: Retrying request
ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)
[zimbra@athlon root]$

so zmprov is also not working.

testing zmcontrol again


[zimbra@athlon root]$ zmcontrol status
Host idddd.com
antispam Running
antivirus Running
ldap Running
logger Running
mailbox Running
mta Running
snmp Running
[zimbra@athlon root]$

shows all services running.

It is really annoying. zmcontrol is the only app that is working how do I debug this?
Reply With Quote
  #10 (permalink)  
Old 08-16-2006, 09:22 PM
Former Zimbran
 
Posts: 5,606
Default

We really need to take a look at the zimbra log, because it will give us more info.

You mentioned that you had several "other sites" operating with apache. Do you have another instance of apache running?

EDIT: the log that we need is /var/log/zimbra.log
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.