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 09-14-2005, 03:11 PM
Junior Member
 
Posts: 5
Default Support for Small Installs

I'm the entire IT department for my websites and family. I am really interested in using Zimba, but I want to make sure that I can install it. Right now I'm running Postfix with Maildirs and passing mail through procmail to Spamassassin before local delivery. On the client side I have Horde/IMP and courier-imap-ssl setup. Now I'd like to replace all this with Zimbra, however the same box also serves as my webserver and my development server. Will/Is there a way to install Zimbra without disrupting these services? (Apache/PostgreSQL, MySQL, etc) I am currently using Debian sarge, and many (all?) of these services are installed via apt-get. I have read the Debian thread, and it seems that progress towards a debian package (using existing packages) is in progress, but the format isn't clear (including packages in Zimbra or using them as dependencies). If somone could clarify what I should expect, and what kind of support the Zimbra Network will offer, I would be most appreciative.
Reply With Quote
  #2 (permalink)  
Old 09-14-2005, 03:44 PM
Zimbra Employee
 
Posts: 2,103
Default conflicts

Quote:
Originally Posted by WALoeIII
I'm the entire IT department for my websites and family. I am really interested in using Zimba, but I want to make sure that I can install it. Right now I'm running Postfix with Maildirs and passing mail through procmail to Spamassassin before local delivery. On the client side I have Horde/IMP and courier-imap-ssl setup. Now I'd like to replace all this with Zimbra, however the same box also serves as my webserver and my development server. Will/Is there a way to install Zimbra without disrupting these services? (Apache/PostgreSQL, MySQL, etc) I am currently using Debian sarge, and many (all?) of these services are installed via apt-get. I have read the Debian thread, and it seems that progress towards a debian package (using existing packages) is in progress, but the format isn't clear (including packages in Zimbra or using them as dependencies). If somone could clarify what I should expect, and what kind of support the Zimbra Network will offer, I would be most appreciative.
ZCS will conflict on port 80 and 443 (apache) and 3306 (mysql). Other than that, it shouldn't be a problem (aside from slowing down the system).

The port conflicts can be pretty easily gotten around, by changing the port mapping that we do (take a look at /opt/zimbra/bin/zmiptables). The debian install is a bit trickier, but portability is high on our list of priorities.

For smaller installs, the primary support mechanism will be these forums, which we at zimbra have committed to participating in so that we can better support our user base - because that's the best way we have to improving our software.

Last edited by marcmac; 09-14-2005 at 03:45 PM.. Reason: missing info
Reply With Quote
  #3 (permalink)  
Old 09-14-2005, 04:30 PM
Junior Member
 
Posts: 5
Default

Quote:
Originally Posted by marcmac
ZCS will conflict on port 80 and 443 (apache) and 3306 (mysql). Other than that, it shouldn't be a problem (aside from slowing down the system).

The port conflicts can be pretty easily gotten around, by changing the port mapping that we do (take a look at /opt/zimbra/bin/zmiptables). The debian install is a bit trickier, but portability is high on our list of priorities.

For smaller installs, the primary support mechanism will be these forums, which we at zimbra have committed to participating in so that we can better support our user base - because that's the best way we have to improving our software.
Can I get a little hint on how to get around these port conflicts? Could I just configure Zimbra to use other ports?
Reply With Quote
  #4 (permalink)  
Old 09-14-2005, 05:11 PM
Zimbra Employee
 
Posts: 2,103
Default Check zmiptables

Quote:
Originally Posted by WALoeIII
Can I get a little hint on how to get around these port conflicts? Could I just configure Zimbra to use other ports?
The ports are forwarded by /opt/zimbra/bin/zmiptables - you'll see a MAPPING at the top of the script:

my %MAPPING = (
80 => 7070, # HTTP
443 => 7443, # HTTS
389 => 7389, # LDAP
25 => 7075, # SMTP
143 => 7143, # IMAP
993 => 7993, # IMAP - SSL
110 => 7110, # POP
995 => 7995, # POP - SSL
);

So, to change the http port, change the '80' to something else, and run /opt/zimbra/bin/zmiptables -i as the root user.

To change the mysql port:

(as zimbra user)
mysql.server stop
zmlocalconfig -e mysql_port=
zmmycnf
mysql.server start
Reply With Quote
  #5 (permalink)  
Old 09-14-2005, 05:18 PM
Zimbra Employee
 
Posts: 2,103
Default oops

missed one thing - the zmmycnf command writes to stdout, so you want:

zmmycnf > /opt/zimbra/conf/my.cnf
Reply With Quote
  #6 (permalink)  
Old 09-16-2005, 08:54 AM
Junior Member
 
Posts: 5
Default Server Rejected Connection

Zimbra worked fine using port 443, however we have another https server, so i followed your directions to change the https port for zimbra to 5443 and 4443. The server displayed the login screen, but during login I get a dialog informing that the server refused the connection. I there another step I am missing. The iptables show ports accepted and redirected.
Reply With Quote
  #7 (permalink)  
Old 09-16-2005, 09:30 AM
Zimbra Employee
 
Posts: 4,792
Default

443 => 7443, # HTTS

So this mappgin you made:

4443 => 7443, # HTTS

(ie you didn't change the 7443 which is where the server is actually running.)
Reply With Quote
  #8 (permalink)  
Old 09-16-2005, 09:49 AM
Junior Member
 
Posts: 5
Default Thats correct.

I changed

443 => 7443, htts

to

5443 => 7443, htts
and
4443 => 7443, htts

Last edited by stoker; 09-16-2005 at 09:52 AM..
Reply With Quote
  #9 (permalink)  
Old 09-16-2005, 10:31 AM
Zimbra Employee
 
Posts: 4,792
Default

Only thing I can think of is that our login page is redirecting you internally and dropping the 5443 port to use 443.

Did you change the value in:

/opt/zimbra/tomcat/webapps/zimbra/WEB-INF/web.xml

httpsPort
443

This controls the redirect in the Login.jsp.
Reply With Quote
  #10 (permalink)  
Old 09-16-2005, 02:19 PM
Junior Member
 
Posts: 5
Default

That did not fix zimbra. When I changed web.xml file the web server refused the connection on both 5443 and 443. I went back to the default setup in the two files and zimbra works like a champ. Do I need to modify the MySql server if I change the web server port. I have Zimbra set up in Single Server mode on an FC3 server, so I don't anticipate a conflict with our present MySql server.

Last edited by stoker; 09-16-2005 at 02:23 PM..
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.