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

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-06-2006, 12:37 PM
Senior Member
 
Posts: 60
Default Forcing Tomcat to a Single IP

Hi. I'm running Zimbra on a server with 3 IP addresses, and I need it (specifically tomcat) to bind to one, rather than all of them. It seems that Tomcat is currently bound to all, but binding it (the http/https connectors) to a single IP in server.xml prevents Zimbra from starting. Do I need to create duplicate connectors to bind to 1 IP and to localhost? Am I overlooking something?

Thanks for the help,
Will

*Edit* This is "Release 3.0.0_M4_41.RHEL4_20060117091200 CentOS4"

Last edited by wdimmit; 02-06-2006 at 12:40 PM..
Reply With Quote
  #2 (permalink)  
Old 02-06-2006, 01:54 PM
Zimbra Employee
 
Posts: 4,792
Default

What error are you getting? We pre-bind to many ports in our startup code (native code) which allows us to bind to ports as root. It may be that this code is conflicting with your change to server.xml
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #3 (permalink)  
Old 02-06-2006, 02:23 PM
Senior Member
 
Posts: 60
Default

I just went back to recreate the error, and ended up with a different result. In /opt/zimbra/tomcat/conf/server.xml.in I changed

Code:
<!-- HTTPSBEGIN
<Connector port="%%zimbraMailSSLPort%%"
enableLookups="false" maxThreads="100" minSpareThreads="100" maxSpareThreads="100" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS"  keystoreFile="/opt/zimbra/tomcat/conf/keystore" keystorePass="zimbra"/>
HTTPSEND -->
to
Code:
<Connector port="%%zimbraMailSSLPort%%"
enableLookups="false" maxThreads="100" minSpareThreads="100" maxSpareThreads="100" scheme="https" secure="true" address="192.168.0.5" clientAuth="false" sslProtocol="TLS"  keystoreFile="/opt/zimbra/tomcat/conf/keystore" keystorePass="zimbra"/>
HTTPSEND -->
And restarted Zimbra without error. Must have made some other mistake previously. Thanks.
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.