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 (16) Thread Tools Display Modes
  2 links from elsewhere to this Post. Click to view. #11 (permalink)  
Old 04-01-2007, 12:08 PM
Project Contributor
 
Posts: 182
Question Zimbra on IP-A:80 and ZMApache on IP-B:80

Hello all,

I am trying to make full use of the zmapache thus reducing the need to run two web servers on a single machine.

I have successfully managed to bind the webmail to IP-A.
I can also get zmapache to run on IP-B:7780 at the same time.

I am trying to use two IP address and run webmail on IP-A:80 with zmapache on IP-B:80.

However, I face the following error:

Quote:
(13)Permission denied: make_sock: could not bind to address 192.168.11.100:80
no listening sockets available, shutting down
Unable to open logs
when trying to start zmapachectl after adding:

Quote:
Listen IP-B:80
to the conf/httpd.conf file.

Can anyone help please?

look forward to hearing from you

Costa
__________________
------------------------------
http://www.lcrm.co.uk
Reply With Quote
  #12 (permalink)  
Old 04-01-2007, 12:11 PM
Project Contributor
 
Posts: 182
Talking Zimbra on IP-A:80 and ZMApache on IP-B:80 - Solution

In reply to my last,

the reason is because you are not running the zmapache as root.

simply run

Quote:
sudo /opt/zimbra/httpd/bin/httpd
if you then get

Quote:
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
you need to edit /opt/zimbra/httpd/conf/httpd.conf

et viola

thank you

Costa
__________________
------------------------------
http://www.lcrm.co.uk

Last edited by Costa-101 : 06-01-2007 at 09:14 AM.
Reply With Quote
  #13 (permalink)  
Old 04-01-2007, 12:20 PM
Zimbra Consultant & Moderator
 
Posts: 11,506
Default

You should not use the zimbra services for anything else, they won't survive an upgrade.
__________________
Regards


Bill
Reply With Quote
  #14 (permalink)  
Old 04-01-2007, 12:29 PM
Project Contributor
 
Posts: 182
Default

Surely just create an alias to your uniquely and highly configured httpd.conf file.

This reduces the need to use proxying which slows web access down in my experience.

Otherwise what is it there for?
__________________
------------------------------
http://www.lcrm.co.uk
Reply With Quote
  #15 (permalink)  
Old 04-10-2007, 05:10 PM
Starter Member
 
Posts: 1
Default

Quote:
Originally Posted by kibo View Post
Hello

One stupid question but somehow related! How can I force LDAP to listen on ALL the IPs instead of the one IP?

Regards
Kia

I am wondering this same thing. I need the ldap server to listen on localhost or at least the lan IP... wondering if this is possible at all.
Reply With Quote
  #16 (permalink)  
Old 04-11-2007, 12:50 AM
Zimbra Consultant & Moderator
 
Posts: 11,506
Default

Quote:
Originally Posted by JasonGarrett View Post
I am wondering this same thing. I need the ldap server to listen on localhost or at least the lan IP... wondering if this is possible at all.
Look in bugzilla at this RFE.
__________________
Regards


Bill

Last edited by phoenix : 05-22-2007 at 04:43 AM.
Reply With Quote
  #17 (permalink)  
Old 05-22-2007, 12:19 PM
Active Member
 
Posts: 26
Default No admin panel access?

I get a strange error now that I've bound Apache and Tomcat to specific IP addresses...

My firewall blocks incoming port 7071, so I use an SSH tunnel to redirect my servers port 7071 to my localhost port 7071.

I can't access the admin interface any longer now... my browser says that it can't connect to port 7071.

I see the following error at the console on the server every time I try to connect via the browser

channel 3: open failed: connect failed: Connection refused

When I use wget or lynx from the server itself, it seems to be OK.

Any ideas? I've done some googling, and have found a few entries that mention this error with MySQL, but can't imagine its that causing it... or could it be that the admin application is now connecting to MySQL via the IP address I've hardcoded into Tomcat? and I need to change the MySQL permissions to be able to connect from this host?
Reply With Quote
  #18 (permalink)  
Old 06-01-2007, 08:37 AM
vjt vjt is offline
Junior Member
 
Posts: 6
Default

thanks for your work, MrDigi, it was really useful .

Quote:
Originally Posted by MrDigi View Post
Problems:
  • 02-04-2007: Don't know if its really because of the settings above, but the simple Client refuses to work: (A network service error has occurred (zclient/io).
I managed to get the simple client to work.. it fails because it connects to 127.0.0.1:80, and tomcat is (obivously) no longer listening on that address.

I tried to identify which parameter governs the destination address to which the SC connects, but I failed (any insight from a zimbra employee would be great!).

so.. i simply installed a simple connection proxy ( e.g. http://antifork.org/trac/browser/tru...d.c?format=raw ) that binds to localhost and forwards the connection to the tcp port 80 the IP I set in zimbra.web.xml.in, port 80.

obivously, it is a dirty hack, but it's effective .

cheers,
marcello
Reply With Quote
  #19 (permalink)  
Old 08-23-2007, 02:38 AM
Active Member
 
Posts: 29
Default

Just a quick note -

zmprov needs to be able to connect to 7071/tcp on localhost, you'll need to bear this in mind you want to do any automated account maintenance using zmprov.

Rob
Reply With Quote
  #20 (permalink)  
Old 08-27-2007, 11:09 AM
Zimbra-Yahoo Consultant
 
Posts: 5,608
Default

Quote:
Originally Posted by robh View Post
Just a quick note -

zmprov needs to be able to connect to 7071/tcp on localhost, you'll need to bear this in mind you want to do any automated account maintenance using zmprov.

Rob
Unless you specify the -l option which forces it to connect to ldap.

john
Reply With Quote
Reply


Thread Tools
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.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0