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 11-15-2011, 04:22 AM
Member
 
Posts: 13
Default [SOLVED] Change public IP

Hi
Already found several post about changing ip, but after then they had problems.

-stopped the zimbra;
-DNS-change;
-change / etc / hosts;

My hotname has not changed.

The problem is that now when restarting zimbra it, do not start the anti-virus and antispam.

And when I send mail using webmail, it sends the private IP (invalid).

[root@s1 sysconfig]# service zimbra status
Host s1.mydomain.com
antispam Stopped
zmamavisdctl is not running
antivirus Stopped
zmamavisdctl is not running
imapproxy Running
ldap Running
logger Running
mailbox Running
memcached Running
mta Running
snmp Running
spell Running
stats Running
zmconfigd Running
[root@s1 sysconfig]#

Log zmcontrol start
Nov 15 10:13:31 s1 zimbramon[30738]: 30738:info: Starting services initiated by zmcontrol
Nov 15 10:13:31 s1 slapd[30795]: @(#) $OpenLDAP: slapd 2.4.25 (Apr 11 2011 15:15:59) $ build@zre-rhel5-64.eng.vmware.com:/home/build/p4/HELIX/ThirdParty/openldap/openldap-2.4.25.4z/servers/slapd
Nov 15 10:13:31 s1 slapd[30797]: slapd starting
Nov 15 10:13:36 s1 slapd[30797]: connection_read(12): no connection!
Nov 15 10:13:36 s1 slapd[30797]: connection_read(12): no connection!
Nov 15 10:13:38 s1 zimbramon[30738]: 30738:info: Starting zmconfigd via zmcontrol
Nov 15 10:13:46 s1 slapd[30797]: slap_queue_csn: queing 0x437f95a0 20111115121346.563065Z#000000#000#000000
Nov 15 10:13:46 s1 slapd[30797]: slap_graduate_commit_csn: removing 0xeeafc60 20111115121346.563065Z#000000#000#000000
Nov 15 10:13:46 s1 slapd[30797]: slap_queue_csn: queing 0x42ff85a0 20111115121346.666779Z#000000#000#000000
Nov 15 10:13:46 s1 slapd[30797]: slap_graduate_commit_csn: removing 0xeeaf930 20111115121346.666779Z#000000#000#000000
Nov 15 10:13:46 s1 slapd[30797]: connection_read(14): no connection!
Nov 15 10:13:46 s1 slapd[30797]: slap_queue_csn: queing 0x437f95a0 20111115121346.763282Z#000000#000#000000
Nov 15 10:13:46 s1 slapd[30797]: slap_graduate_commit_csn: removing 0xeeafc30 20111115121346.763282Z#000000#000#000000
Nov 15 10:13:46 s1 slapd[30797]: connection_read(12): no connection!
Nov 15 10:13:47 s1 slapd[30797]: slap_queue_csn: queing 0x437f95a0 20111115121347.190370Z#000000#000#000000
Nov 15 10:13:47 s1 slapd[30797]: slap_graduate_commit_csn: removing 0xeeafc60 20111115121347.190370Z#000000#000#000000
Nov 15 10:13:47 s1 slapd[30797]: slap_queue_csn: queing 0x437f95a0 20111115121347.455456Z#000000#000#000000
Nov 15 10:13:47 s1 slapd[30797]: slap_graduate_commit_csn: removing 0xeeafab0 20111115121347.455456Z#000000#000#000000
Nov 15 10:13:47 s1 slapd[30797]: slap_queue_csn: queing 0x437f95a0 20111115121347.537832Z#000000#000#000000
Nov 15 10:13:47 s1 slapd[30797]: slap_graduate_commit_csn: removing 0xeeaf900 20111115121347.537832Z#000000#000#000000
Nov 15 10:13:47 s1 slapd[30797]: slap_queue_csn: queing 0x437f95a0 20111115121347.621273Z#000000#000#000000
Nov 15 10:13:47 s1 slapd[30797]: slap_graduate_commit_csn: removing 0x11023390 20111115121347.621273Z#000000#000#000000
Nov 15 10:13:47 s1 slapd[30797]: slap_queue_csn: queing 0x42ff85a0 20111115121347.771930Z#000000#000#000000
Nov 15 10:13:47 s1 slapd[30797]: slap_graduate_commit_csn: removing 0xeeaff90 20111115121347.771930Z#000000#000#000000
Nov 15 10:13:47 s1 slapd[30797]: connection_read(12): no connection!
Nov 15 10:13:47 s1 slapd[30797]: connection_read(12): no connection!
Nov 15 10:13:47 s1 slapd[30797]: slap_queue_csn: queing 0x43ffa5a0 20111115121347.914810Z#000000#000#000000
Nov 15 10:13:47 s1 slapd[30797]: slap_graduate_commit_csn: removing 0xeeafab0 20111115121347.914810Z#000000#000#000000
Nov 15 10:13:47 s1 slapd[30797]: slap_queue_csn: queing 0x43ffa5a0 20111115121347.986522Z#000000#000#000000
Nov 15 10:13:47 s1 slapd[30797]: slap_graduate_commit_csn: removing 0xef68930 20111115121347.986522Z#000000#000#000000
Nov 15 10:13:48 s1 slapd[30797]: slap_queue_csn: queing 0x43ffa5a0 20111115121348.058236Z#000000#000#000000
Nov 15 10:13:48 s1 slapd[30797]: slap_graduate_commit_csn: removing 0xeeafbd0 20111115121348.058236Z#000000#000#000000
Nov 15 10:13:48 s1 slapd[30797]: connection_read(12): no connection!
Nov 15 10:14:04 s1 zmmailboxdmgr[31777]: status requested
Nov 15 10:14:04 s1 zmmailboxdmgr[31777]: file /opt/zimbra/log/zmmailboxd_manager.pid does not exist
Nov 15 10:14:04 s1 zmmailboxdmgr[31777]: assuming no other instance is running
Nov 15 10:14:04 s1 zmmailboxdmgr[31777]: file /opt/zimbra/log/zmmailboxd.pid does not exist
Nov 15 10:14:04 s1 zmmailboxdmgr[31777]: assuming no other instance is running
Nov 15 10:14:04 s1 zmmailboxdmgr[31777]: no manager process is running
Nov 15 10:13:48 s1 last message repeated 3 times
Nov 15 10:14:16 s1 zimbramon[30738]: 30738:info: Starting logger via zmcontrol
Nov 15 10:14:18 s1 zimbramon[30738]: 30738:info: Starting mailbox via zmcontrol
Nov 15 10:14:20 s1 zmmailboxdmgr[32473]: status requested
Nov 15 10:14:20 s1 zmmailboxdmgr[32473]: file /opt/zimbra/log/zmmailboxd_manager.pid does not exist
Nov 15 10:14:20 s1 zmmailboxdmgr[32473]: assuming no other instance is running
Nov 15 10:14:20 s1 zmmailboxdmgr[32473]: file /opt/zimbra/log/zmmailboxd.pid does not exist
Nov 15 10:14:20 s1 zmmailboxdmgr[32473]: assuming no other instance is running
Nov 15 10:14:20 s1 zmmailboxdmgr[32473]: no manager process is running
Nov 15 10:14:20 s1 zmmailboxdmgr[32483]: start requested
Nov 15 10:14:20 s1 zmmailboxdmgr[32483]: checking if another instance of manager is already running
Nov 15 10:14:20 s1 zmmailboxdmgr[32483]: file /opt/zimbra/log/zmmailboxd_manager.pid does not exist
Nov 15 10:14:20 s1 zmmailboxdmgr[32483]: assuming no other instance is running
Nov 15 10:14:20 s1 zmmailboxdmgr[32483]: file /opt/zimbra/log/zmmailboxd.pid does not exist
Nov 15 10:14:20 s1 zmmailboxdmgr[32483]: assuming no other instance is running
Nov 15 10:14:20 s1 zmmailboxdmgr[32484]: wrote manager pid 32484 to /opt/zimbra/log/zmmailboxd_manager.pid
Nov 15 10:14:20 s1 zmmailboxdmgr[32485]: wrote java pid 32485 to /opt/zimbra/log/zmmailboxd_java.pid
Nov 15 10:14:20 s1 zmmailboxdmgr[32484]: manager started mailboxd/JVM with pid 32485
Nov 15 10:14:20 s1 zimbramon[30738]: 30738:info: Starting memcached via zmcontrol
Nov 15 10:14:21 s1 zimbramon[30738]: 30738:info: Starting imapproxy via zmcontrol
Nov 15 10:14:23 s1 zimbramon[30738]: 30738:info: Starting antispam via zmcontrol
Nov 15 10:14:48 s1 zmmailboxdmgr[308]: status requested
Nov 15 10:14:48 s1 zmmailboxdmgr[308]: status OK
Nov 15 10:14:48 s1 zmmailboxdmgr[316]: status requested
Nov 15 10:14:48 s1 zmmailboxdmgr[316]: status OK
Nov 15 10:14:53 s1 zimbramon[30738]: 30738:info: Starting antivirus via zmcontrol
Nov 15 10:15:23 s1 clamd[615]: clamd daemon 0.97-broken-compiler (OS: linux-gnu, ARCH: x86_64, CPU: x86_64)
Nov 15 10:15:23 s1 clamd[615]: Log file size limited to 20971520 bytes.
Nov 15 10:15:23 s1 clamd[615]: Reading databases from /opt/zimbra/data/clamav/db
Nov 15 10:15:23 s1 clamd[615]: Not loading PUA signatures.
Nov 15 10:15:27 s1 clamd[615]: Loaded 1044425 signatures.
Nov 15 10:15:28 s1 clamd[615]: TCP: Bound to address 127.0.0.1 on port 3310
Nov 15 10:15:28 s1 clamd[615]: TCP: Setting connection queue length to 200
Nov 15 10:15:28 s1 clamd[621]: Limits: Global size limit set to 20971520 bytes.
Nov 15 10:15:28 s1 clamd[621]: Limits: File size limit set to 20971520 bytes.
Nov 15 10:15:28 s1 clamd[621]: Limits: Recursion level limit set to 16.
Nov 15 10:15:28 s1 clamd[621]: Limits: Files limit set to 10000.
Nov 15 10:15:28 s1 clamd[621]: Archive support enabled.
Nov 15 10:15:28 s1 clamd[621]: Archive: Blocking encrypted archives.
Nov 15 10:15:28 s1 clamd[621]: Algorithmic detection enabled.
Nov 15 10:15:28 s1 clamd[621]: Portable Executable support enabled.
Nov 15 10:15:28 s1 clamd[621]: ELF support enabled.
Nov 15 10:15:28 s1 clamd[621]: Mail files support enabled.
Nov 15 10:15:28 s1 clamd[621]: OLE2 support enabled.
Nov 15 10:15:28 s1 clamd[621]: PDF support enabled.
Nov 15 10:15:28 s1 clamd[621]: HTML support enabled.
Nov 15 10:15:28 s1 clamd[621]: Self checking every 600 seconds.
Nov 15 10:15:28 s1 zimbramon[30738]: 30738:info: Starting snmp via zmcontrol
Nov 15 10:15:28 s1 zimbramon[30738]: 30738:info: Starting spell via zmcontrol
Nov 15 10:15:28 s1 zimbramon[30738]: 30738:info: Starting mta via zmcontrol
Nov 15 10:15:28 s1 postfix/postfix-script[838]: warning: not owned by root: /opt/zimbra/postfix-2.7.4.2z/conf/main.cf
Nov 15 10:15:28 s1 postfix/postfix-script[839]: warning: not owned by root: /opt/zimbra/postfix-2.7.4.2z/conf/master.cf
Nov 15 10:15:28 s1 postfix/postfix-script[856]: starting the Postfix mail system
Nov 15 10:15:28 s1 postfix/master[857]: daemon started -- version 2.7.4, configuration /opt/zimbra/postfix-2.7.4.2z/conf
Nov 15 10:15:28 s1 saslauthd[865]: detach_tty : master pid is: 865
Nov 15 10:15:28 s1 saslauthd[865]: ipc_init : listening on socket: /opt/zimbra/cyrus-sasl-2.1.23.3z/state/mux
Nov 15 10:15:28 s1 zimbramon[30738]: 30738:info: Starting stats via zmcontrol
Nov 15 10:15:50 s1 zmmailboxdmgr[1910]: status requested
Nov 15 10:15:50 s1 zmmailboxdmgr[1910]: status OK
Nov 15 10:15:50 s1 zmmailboxdmgr[1918]: status requested
Nov 15 10:15:50 s1 zmmailboxdmgr[1918]: status OK
Nov 15 10:16:04 s1 zmmailboxdmgr[2507]: status requested
Nov 15 10:16:04 s1 zmmailboxdmgr[2507]: status OK


Sorry my English by Google Translate

Last edited by edinho; 11-28-2011 at 05:05 AM..
Reply With Quote
  #2 (permalink)  
Old 11-15-2011, 04:47 AM
Zimbra Consultant & Moderator
 
Posts: 20,315
Default

Quote:
Originally Posted by edinho View Post
-stopped the zimbra;
-DNS-change;
-change / etc / hosts;

My hotname has not changed.

The problem is that now when restarting zimbra it, do not start the anti-virus and antispam.
Changing the Public IP (if you've made the DNS & host file changes) should make no difference to Zimbra.

Quote:
Originally Posted by edinho View Post
-And when I send mail using webmail, it sends the private IP (invalid).
You should post the actual error messages you see in the log files not a comment that's out-of-context. Do I understand from your comment that the Zimbra server is on a private IP? If it is, do you have a Split DNS set-up (your should)? If you have a Split DNS then go to the 'Verify...' section of that article and post the output of all the commands there.

Quote:
Originally Posted by edinho View Post
[root@s1 sysconfig]# service zimbra status
Host s1.mydomain.com
antispam Stopped
zmamavisdctl is not running
antivirus Stopped
zmamavisdctl is not running
imapproxy Running
ldap Running
logger Running
mailbox Running
memcached Running
mta Running
snmp Running
spell Running
stats Running
zmconfigd Running
Is this a single server installation? If it is, you should not have the imapproxy or memcached running. Search the forums for details on how to disable and remove those services and restet the ports to their default settings.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 11-15-2011, 05:05 AM
Member
 
Posts: 13
Default

Hi Bill, first thanks your reply.

Yes, my Zimbra is on private IP.

I use the Bind and Verify... output comand;

Yes, is this a single server, I will try changing the imapproxy or memcached;

Last edited by edinho; 11-16-2011 at 10:08 AM..
Reply With Quote
  #4 (permalink)  
Old 11-15-2011, 06:47 AM
Zimbra Consultant & Moderator
 
Posts: 20,315
Default

Quote:
Originally Posted by edinho View Post
I use the Bind and Verify... output comand;
You didn't provide all the information I requested, I wanted to see the output of all the commands from the 'Verify....' section.

The output does, however, show that you apparently have no MX record and that the IP in your DNS server points to your public IP. You need to read the details of the Split DNS article, it explains which IP should be in the DNS records and the correct contents of the DNS A & MX records plus the format and contents of the hosts & resolv.conf files - these are important steps to get your server working correctly, you must follow this guide.
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 11-15-2011, 07:21 AM
Member
 
Posts: 13
Default Sorry

Now attachement output all command verify...

Last edited by edinho; 11-16-2011 at 10:07 AM..
Reply With Quote
  #6 (permalink)  
Old 11-15-2011, 07:32 AM
Member
 
Posts: 13
Default

Quote:
Originally Posted by phoenix View Post
The output does, however, show that you apparently have no MX record and that the IP in your DNS server points to your public IP.
Yes, my DNS server points for my public IP, before changing my public IP, DNS configuration that worked perfectly... I do not know if zimbra is not understanding this exchange.
Reply With Quote
  #7 (permalink)  
Old 11-15-2011, 07:58 AM
Zimbra Consultant & Moderator
 
Posts: 20,315
Default

Quote:
Originally Posted by edinho View Post
Yes, my DNS server points for my public IP, before changing my public IP, DNS configuration that worked perfectly... I do not know if zimbra is not understanding this exchange.
As you're behind a NAT router it shouldn't point to your public IP, it should point to your LAN IP. It doesn't matter whether it worked before, this isn't a zimbra problem it's a DNS configuration problem and you need to follow the instructions in the Split DNS article.
__________________
Regards


Bill
Reply With Quote
  #8 (permalink)  
Old 11-15-2011, 08:19 AM
Member
 
Posts: 13
Default

Quote:
Originally Posted by phoenix View Post
As you're behind a NAT router it shouldn't point to your public IP, it should point to your LAN IP.
... detail I forgot to say, my router has NAT, I have the public ip on my network card. My server has the NAT rules and routes to my internal network.


Quote:
Originally Posted by phoenix View Post
you need to follow the instructions in the Split DNS article.
When I configured the DNS follow the Split DNS, configured and tested with my local provider
Reply With Quote
  #9 (permalink)  
Old 11-15-2011, 08:47 AM
Zimbra Consultant & Moderator
 
Posts: 20,315
Default

Quote:
Originally Posted by edinho View Post
... detail I forgot to say, my router has NAT, I have the public ip on my network card. My server has the NAT rules and routes to my internal network.
That is incorrect, you should use the LAN IP as I've mentioned earlier. Your Public IP will be on the NAT router not your server and you forward the required ports to your LAN IP of the Zimbra server.
__________________
Regards


Bill
Reply With Quote
  #10 (permalink)  
Old 11-15-2011, 08:55 AM
Member
 
Posts: 13
Default

Quote:
Originally Posted by phoenix View Post
That is incorrect, you should use the LAN IP as I've mentioned earlier. Your Public IP will be on the NAT router not your server and you forward the required ports to your LAN IP of the Zimbra server.
But my ISP provides the public IP to put on the server.

I have 2 eth on my master server
eth0 - xxx.xxx.xxx.aa - external network (internet)
eth1 - 192.168.1.2 - my internal network
My server is the network firewall, NAT, DNS, proxy ... (small business)

the slave server have 2 eth
eth0 - xxx.xxx.xxx.bb - external network (internet)
eth1 - 192.168.1.5 - my internal network
this is a DNS Slave only

Last edited by edinho; 11-16-2011 at 10:06 AM..
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.