Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: change public IP

  1. #1
    edinho is offline Member
    Join Date
    Nov 2011
    Posts
    14
    Rep Power
    3

    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 06:05 AM.

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,499
    Rep Power
    56

    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


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    edinho is offline Member
    Join Date
    Nov 2011
    Posts
    14
    Rep Power
    3

    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 11:08 AM.

  4. #4
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,499
    Rep Power
    56

    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


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    edinho is offline Member
    Join Date
    Nov 2011
    Posts
    14
    Rep Power
    3

    Default Sorry

    Now attachement output all command verify...
    Last edited by edinho; 11-16-2011 at 11:07 AM.

  6. #6
    edinho is offline Member
    Join Date
    Nov 2011
    Posts
    14
    Rep Power
    3

    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.

  7. #7
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,499
    Rep Power
    56

    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


    Acompli: A new adventure for Co-Founder KevinH.

  8. #8
    edinho is offline Member
    Join Date
    Nov 2011
    Posts
    14
    Rep Power
    3

    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

  9. #9
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,499
    Rep Power
    56

    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


    Acompli: A new adventure for Co-Founder KevinH.

  10. #10
    edinho is offline Member
    Join Date
    Nov 2011
    Posts
    14
    Rep Power
    3

    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 11:06 AM.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to change IP Of LDAP in zimbra [Help Pls]
    By mkhurram92 in forum Administrators
    Replies: 5
    Last Post: 11-28-2011, 12:04 AM
  2. Change IP of Zimbra Mail server
    By sameone in forum Administrators
    Replies: 2
    Last Post: 06-14-2011, 05:44 AM
  3. Replies: 4
    Last Post: 01-24-2011, 11:30 AM
  4. GAL not working with Active Directory
    By ardiederich in forum Installation
    Replies: 13
    Last Post: 02-12-2008, 08:01 PM
  5. Views on Public vs. NAT'd IP and Bind
    By LMStone in forum Administrators
    Replies: 5
    Last Post: 10-12-2006, 02:28 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •