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 07-03-2008, 04:21 PM
Junior Member
 
Posts: 5
Default [SOLVED] Fresh installation on Ubuntu 6.06

Hi guys, need some assistance:

zimbra@simpro:~$ zmcontrol status
Host essentialcabling.com.au
antispam Running
antivirus Running
ldap Running
logger Running
mailbox Stopped
zmmailboxdctl is not running
mta Running
snmp Running
spell Running
stats Running

root@simpro:~# lsof | grep TCP | grep 110
cupsd 4661 cupsys 1u IPv4 11056 TCP localhost.localdomain:ipp (LISTEN)


Only error I can find is:

1233 WARN [main] log - Config error at
1234 WARN [main] log - Config error at
1235 WARN [main] log - EXCEPTION


And further on..

1239 WARN [main] log - Nested in java.lang.reflect.InvocationTargetException:
java.net.BindException: Address already in use



Can someone shed some light for me?
Reply With Quote
  #2 (permalink)  
Old 07-03-2008, 04:34 PM
Moderator
 
Posts: 1,027
Default

I'm not the expert at debugging this so I hope I'm not steering you in the wrong direction, but if the address is already in use I'm wondering if perhaps you have other services running on your Ubuntu server. Did you do a LAMP install of the server OS rather than a plain-vanilla install? Though it's possible to run Zimbra with other servers (eg another instance of MySQL, Apache, etc) onboard, it requires that you have them listening to different ports or they'll step on each other. If you don't know how to configure them properly (and I don't) it's best to make your Ubuntu server install as basic and minimalist as possible.

Did you check out the wiki article on Ubuntu configuration?
__________________
Cheers,

Dan
Reply With Quote
  #3 (permalink)  
Old 07-03-2008, 04:49 PM
Junior Member
 
Posts: 5
Default

There is apache and mysql running already, yes. zimbra is configured to run on web ports 8080 and 8443 instead of the standard, as I already use them for apache.

Does mysql need to be configured on a differant port? I would need to do it for the zimbra service, not the mysql server already installed, it's essential it's on the default port for the existing installation.
Reply With Quote
  #4 (permalink)  
Old 07-03-2008, 10:38 PM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Quote:
Originally Posted by m477au View Post
1239 WARN [main] log - Nested in java.lang.reflect.InvocationTargetException:
java.net.BindException: Address already in use
You have something running on one of the ports, another mail server perhaps?
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 07-03-2008, 11:09 PM
Junior Member
 
Posts: 5
Default

No mta or pop/imap server running.

Is there any way of identifying what address it is trying to assign?
Reply With Quote
  #6 (permalink)  
Old 07-03-2008, 11:23 PM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

It should show the port in the log files. You could shutdown Zimbra and see if there's any other zimbra services running, kill them with

Code:
kill -9 `ps -u zimbra -o "pid="`
When you've done that see which of the ports that Zimbra uses are still open.
__________________
Regards


Bill
Reply With Quote
  #7 (permalink)  
Old 07-04-2008, 12:10 AM
Junior Member
 
Posts: 5
Default

I have found the problem. Even tho I have told the installer to use port 8080, it is still insisting on using 80.

Can you recommend a fix?
Reply With Quote
  #8 (permalink)  
Old 07-04-2008, 12:14 AM
Moderator
 
Posts: 7,928
Default

Think this should do it
Code:
su - zimbra
zmprov ms `zmhostname` zimbraMailMode http
zmprov ms `zmhostname` zimbraMailPort 8080
zmmailboxdctl restart
__________________
Reply With Quote
  #9 (permalink)  
Old 07-07-2008, 05:12 PM
Junior Member
 
Posts: 5
Default

Thanks uxbod, I re-setup apache to run on other ports and just switched around the port forwarding for the time being instead.
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.