I am attempting to install ZCS OSS 5.0.18 as a secondary MX on a server with an existing Apache install, but cannot get the zimbra httpd to respond.
Server is running Ubuntu 8.04-32bit, with Apache on port 80 before the zimbra install.
The install detects a port conflict on port 80 as expected, and I resolve this in the initial setup as shown below:

Store configuration

1) Status: Enabled
2) Create Admin User: yes
3) Admin user to create: console@xxxx
4) Admin Password set
5) Enable automated spam training: yes
6) Spam training user: spam.5wklrbl4cw@www.shawnigan.ca
7) Non-spam(Ham) training user: ham.kygvjpp9b@www.shawnigan.ca
8) Global Documents Account: wiki@xxxx
9) SMTP host: xxxx
10) Web server HTTP port: 8080
11) Web server HTTPS port: 8443
12) Web server mode: http
13) IMAP server port: 143
14) IMAP server SSL port: 993
15) POP server port: 110
16) POP server SSL port: 995
17) Use spell check server: no
18) Configure store for use with reverse mail proxy: FALSE
19) Configure store for use with reverse web proxy: FALSE

The services appear to start as expected, but I can't connect to the web interface on port 8080/8443 or the admin on port 7071, although I can see the httpd processes. A zmcontrol status shows:

antispam Running
antivirus Running
ldap Running
logger Running
mailbox Stopped
zmmailboxdctl is not running.
mta Running
snmp Running
stats Running

A netstat before starting zimbra shows all necessary ports are available.

Logs:

zmmailboxd.out:

Zimbra server reserving server socket port=110 bindaddr=null ssl=false
Zimbra server reserving server socket port=995 bindaddr=null ssl=true
Zimbra server reserving server socket port=143 bindaddr=null ssl=false
Zimbra server reserving server socket port=993 bindaddr=null ssl=true
Zimbra server reserving server socket port=7025 bindaddr=null ssl=false
1284 WARN [main] log - Config error at
1284 WARN [main] log - Config error at
1285 WARN [main] log - EXCEPTION
java.lang.reflect.InvocationTargetException
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.mortbay.xml.XmlConfiguration.call(XmlConfigura tion.java:534)
at org.mortbay.xml.XmlConfiguration.configure(XmlConf iguration.java:244)
at org.mortbay.xml.XmlConfiguration.refObj(XmlConfigu ration.java:638)
at org.mortbay.xml.XmlConfiguration.configure(XmlConf iguration.java:252)
at org.mortbay.xml.XmlConfiguration.configure(XmlConf iguration.java:206)
at org.mortbay.xml.XmlConfiguration.main(XmlConfigura tion.java:968)
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.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: java.net.BindException: Address already in use
at sun.nio.ch.Net.bind(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSock etChannelImpl.java:119)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAd aptor.java:59)
at org.mortbay.jetty.nio.SelectChannelConnector.open( SelectChannelConnector.java:211)
... 17 more
1290 WARN [main] log - Nested in java.lang.reflect.InvocationTargetException:
java.net.BindException: Address already in use
at sun.nio.ch.Net.bind(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSock etChannelImpl.java:119)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAd aptor.java:59)
at org.mortbay.jetty.nio.SelectChannelConnector.open( SelectChannelConnector.java:211)
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.mortbay.xml.XmlConfiguration.call(XmlConfigura tion.java:534)
at org.mortbay.xml.XmlConfiguration.configure(XmlConf iguration.java:244)
at org.mortbay.xml.XmlConfiguration.refObj(XmlConfigu ration.java:638)
at org.mortbay.xml.XmlConfiguration.configure(XmlConf iguration.java:252)
at org.mortbay.xml.XmlConfiguration.configure(XmlConf iguration.java:206)
at org.mortbay.xml.XmlConfiguration.main(XmlConfigura tion.java:968)
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.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)

I suspect this section of the zmsetup.log may give a clue - is it possible that changing the base http port fails during setup as it needs to use zmprov to make the change? I got an error about creating documents during the install, bit didn't consider it significant...

Tue Jul 14 16:07:56 2009 Initializing Documents...
Tue Jul 14 16:07:56 2009 *** Running as zimbra user: /opt/zimbra/bin/zmprov mc default zimbraFeatureNotebookEnabled TRUE
ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)
Tue Jul 14 16:07:57 2009 *** Running as zimbra user: /opt/zimbra/bin/zmprov mcf zimbraNotebookAccount wiki@xxxx
ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)
Tue Jul 14 16:07:58 2009 *** Running as zimbra user: /opt/zimbra/bin/zmprov in wiki@xxxx
ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)
Tue Jul 14 16:07:59 2009 *** Running as zimbra user: /opt/zimbra/bin/zmprov mc default zimbraFeatureNotebookEnabled FALSE
ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)
Tue Jul 14 16:08:01 2009 failed to initialize documents...see logfile for details.
Tue Jul 14 16:08:01 2009 Restarting mailboxd...
Tue Jul 14 16:08:01 2009 *** Running as zimbra user: /opt/zimbra/bin/zmmailboxdctl restart
Stopping mailboxd...mailboxd is not running.
Starting mailboxd...done.
Tue Jul 14 16:08:29 2009 done.

This is a production web server, so I would rather not stop apache on port 80 just to install Zimbra. The Zimbra install on this machine will be for secondary mx ONLY, and yes, there is a good reason for it to co-exist on a production web server... We occasionally have to endure extended power outages during winter storms, and in the event of a generator failure, we can keep one server on UPS for about 24 hours if we shut everything else down. Having WWW and backup MX on a single server has saved us from total blackout a few times.

Thanks.