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-17-2007, 11:28 AM
Active Member
 
Posts: 25
Default Two linux boxes on Lan, one with Zimra, but having Port Issues

I have my primary linux box, on my office LAN. I have my domain, fyrenice.com pointed at my linux box, port forwarded so I can remotely access it from home, etc.

I have installed Zimbra on another linux box on this same LAN...the installation goes fine, except when it probes available ports. At that point it fails for all ports, as those ports are currently either not forwarded or are forwarded to my primary linux box.

I receive all my office email on my primary box here, and do all work from this machine. I had hoped to set up and fiddle with Zimbra on this other box, to make sure it's working and then to migrate my email, web and such over to it.

How should I proceed, without causing downtime in the interim between forwarding all required ports to the zimbra box, and being up and running?
Reply With Quote
  #2 (permalink)  
Old 07-17-2007, 11:35 AM
Former Zimbran
 
Posts: 5,606
Default

What's the error?

It should be looking at the ports via localhost, so if something is bound to port 25, then it's running on that box.

The only one you need external access to, is 25.

Do you have DMZ set up to forward all ports to the other machine? Depending on how it's set up, you will need to make a rule exception for 25.

Now, if you want LDAP interoperability, then port 389 will need to be accessible.

110 POP3

and so on.
Reply With Quote
  #3 (permalink)  
Old 07-17-2007, 11:45 AM
Active Member
 
Posts: 25
Default

Quote:
Originally Posted by jholder View Post
What's the error?

Error, seen during installation about ports? I didn't copy it down, but it read something like Port Unavailable, or something similar. I can rerun the routine, or I guess grab the errors from the logs generated during installation and setup.

It should be looking at the ports via localhost, so if something is bound to port 25, then it's running on that box.

Let me know which logs I need to pull data from..I see in /opt/zimbra/log/startup.log that the host shows this:

Host fyrenice.com
Starting ldap...Done.
Starting logger...Done.
Starting mailbox...Done.
Starting antispam...Done.
Starting antivirus...Done.
Starting snmp...Done.
Starting spell...Done.
Starting mta...Done.


The only one you need external access to, is 25.

Do you have DMZ set up to forward all ports to the other machine? Depending on how it's set up, you will need to make a rule exception for 25.

I need to check my DMZ settings on my router (linksys rt31p2).

Now, if you want LDAP interoperability, then port 389 will need to be accessible.

110 POP3

and so on.
Does any of this help?
Reply With Quote
  #4 (permalink)  
Old 07-17-2007, 11:48 AM
Zimbra Consultant & Moderator
 
Posts: 19,655
Default

Quote:
Originally Posted by sanchiro View Post
Does any of this help?
If you already have a mail server on your LAN you'll need a split domain setup if you want to migrate to zimbra after testing it.
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 07-17-2007, 05:16 PM
Active Member
 
Posts: 25
Default

Quote:
Originally Posted by phoenix View Post
If you already have a mail server on your LAN you'll need a split domain setup if you want to migrate to zimbra after testing it.
Fair enough, the wiki entry is hepful.

I opened my router admin page and routed several of the required ports with forwarding to my zimbra machine's IP address. Then I reran ./install.sh as root on that machine.

It proceeded without incident until this point:

Setting defaults from existing config...Checking for port conflicts
Port conflict detected: 993 (zimbra-store)
Port conflict detected: 389 (zimbra-ldap)
Port conflict detected: 389 (zimbra-ldap)
Port conflict detected: 110 (zimbra-store)
Port conflict detected: 143 (zimbra-store)
Port conflict detected: 25 (zimbra-mta)
Port conflict detected: 80 (zimbra-store)
Port conflicts detected! - Any key to continue
Starting ldap...Done

I don't have all ports forwarded, but had hoped that by forwarding 993, 389, and 707x .. as mentioned on the wiki entry, it would show success on those when checking, but all appear to have failed, despite being forwarded to the correct machine.

What might I be missing with this? Certainly I'd need 25, 80, 110, 143 also forwarded to be complete, but I have to maintain my system in the meantime.

Do I have to rerun the entire ./install.sh routine every time or can I have zimbra just check the port status without running all the rest of it?
Reply With Quote
  #6 (permalink)  
Old 07-17-2007, 11:22 PM
Zimbra Consultant & Moderator
 
Posts: 19,655
Default

You don't actually need any ports to be forwarded to your machine to get Zimbra to install. If you are getting port conflicts then you have other services running on that machine that are using the ports.Check what's installed and running on your system and kill anything like mail servers, ldap servers or any stray zimbra processes that are running and run the install again by doing a './install.sh -u' to remove the current install and then install again. You should also have a correct /etc/hosts file and DNS A & MX records pointing to your zimbra server - are they all OK?
__________________
Regards


Bill
Reply With Quote
  #7 (permalink)  
Old 07-18-2007, 12:30 AM
Active Member
 
Posts: 25
Default

Quote:
Originally Posted by phoenix View Post
You don't actually need any ports to be forwarded to your machine to get Zimbra to install. If you are getting port conflicts then you have other services running on that machine that are using the ports.Check what's installed and running on your system and kill anything like mail servers, ldap servers or any stray zimbra processes that are running and run the install again by doing a './install.sh -u' to remove the current install and then install again. You should also have a correct /etc/hosts file and DNS A & MX records pointing to your zimbra server - are they all OK?
I ran 'netstat -plunt | grep to find which services were running on each port that zimbra requires. After 'killing' each process, and running './install.sh -u' to remove it, I reinstalled.

At this point I get the following:

DNS ERROR - none of the MX records for fyrenice.com
resolve to this host
It is suggested that the MX record resolve to this host
Re-Enter domain name? [Yes]

I have a dynamic IP address at work here. I have set up an update with dyndns.org....but not sure if that will work. Is there any way around this, can zimbra run on a server behind a dynamic IP, i.e., where Comcast doesn't point my MX records directly to my server? Or is this a problem to resolve with my domain registrar?
Reply With Quote
  #8 (permalink)  
Old 07-18-2007, 12:40 AM
Zimbra Consultant & Moderator
 
Posts: 19,655
Default

That's more like it. Yes, you can run it on a dynamic IP. Is this also behind a NAT router? If it is you'll need to set-up a local DNS server, search the forums for 'DNS in a nutshell' for some details.
__________________
Regards


Bill
Reply With Quote
  #9 (permalink)  
Old 07-18-2007, 01:01 AM
Active Member
 
Posts: 25
Default

Quote:
Originally Posted by phoenix View Post
That's more like it. Yes, you can run it on a dynamic IP. Is this also behind a NAT router? If it is you'll need to set-up a local DNS server, search the forums for 'DNS in a nutshell' for some details.
Whether I am behind a NAT router, I know not. My router is a Linksys RT31P2 .. from Vonage...three ports, and two phone ports...I havent' set up NAT...so I assume not.

I'll review the DNS stuff..in the forums...hoping very soon to have my zimbra server running...if it's as cool as all the documentation says...I'll be thrilled.
Reply With Quote
  #10 (permalink)  
Old 07-18-2007, 05:04 AM
Zimbra Consultant & Moderator
 
Posts: 19,655
Default

Quote:
Originally Posted by sanchiro View Post
Whether I am behind a NAT router, I know not. My router is a Linksys RT31P2 ..
Any device that has one public IP with you having multiple private IPs is a NAT router - that's how you get several PC connected to your ADSL connection.
__________________
Regards


Bill
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.