Results 1 to 6 of 6

Thread: logger, mailbox and mta after name change

  1. #1
    rojanu is offline Member
    Join Date
    Jun 2012
    Posts
    12
    Rep Power
    3

    Default logger, mailbox and mta won't start after servername change

    Hi,
    I am going to do some work on Zimbra so I cloned my Live server and while it is disconnected from the network followed ZMSetServerName to change the clones server name and then did
    Code:
    ################################################################################################################
    # Regenerate SSL Cert
    ################################################################################################################
    su - zimbra -c 'zmcontrol stop'
    rm -rf /opt/zimbra/ssl/*
    rm -rf /opt/zimbra/ssl/.rnd
    /opt/zimbra/java/bin/keytool -delete -alias my_ca -keystore /opt/zimbra/java/jre/lib/security/cacerts -storepass changeit
    /opt/zimbra/java/bin/keytool -delete -alias jetty -keystore /opt/zimbra/mailboxd/etc/keystore -storepass `su - zimbra -c 'zmlocalconfig -s -m nokey mailboxd_keystore_password'`
    vi  /opt/zimbra/bin/zmcertmgr
    
    # Find line 
    # SUBJECT="/C=US/ST=N\/A/L=N\/A/O=Zimbra Collaboration Suite/OU=Zimbra Collaboration Suite/CN=${zimbra_server_hostname}" 
    # and change to your company name
    
    # then find and change you want value days expire cert validation_days=365 to validation_days=3650
    # save /opt/zimbra/bin/zmcertmgr
    
    /opt/zimbra/bin/zmcertmgr createca -new
    /opt/zimbra/bin/zmcertmgr deployca -localonly
    /opt/zimbra/bin/zmcertmgr createcrt self -new
    /opt/zimbra/bin/zmcertmgr deploycrt self
    
    su - zimbra -c 'zmcontrol start'
    
    /opt/zimbra/bin/zmcertmgr deploycrt self
    /opt/zimbra/bin/zmcertmgr deployca
    
    su - zimbra -c 'zmupdateauthkeys'
    to change the certs.

    zimbra.log
    Code:
    Jun 14 10:37:52 zimbraarchive zimbramon[5698]: 5698:info: Starting mailbox via zmcontrol
    Jun 14 10:37:56 zimbraarchive zmmailboxdmgr[7000]: status requested
    Jun 14 10:37:56 zimbraarchive zmmailboxdmgr[7000]: stale pid 6915 found in /opt/zimbra/log/zmmailboxd_manager.pid: No such process
    Jun 14 10:37:56 zimbraarchive zmmailboxdmgr[7000]: assuming no other instance is running
    Jun 14 10:37:56 zimbraarchive zmmailboxdmgr[7000]: file /opt/zimbra/log/zmmailboxd.pid does not exist
    Jun 14 10:37:56 zimbraarchive zmmailboxdmgr[7000]: assuming no other instance is running
    Jun 14 10:37:56 zimbraarchive zmmailboxdmgr[7000]: no manager process is running
    Jun 14 10:37:56 zimbraarchive zmmailboxdmgr[7010]: start requested
    Jun 14 10:37:56 zimbraarchive zmmailboxdmgr[7010]: checking if another instance of manager is already running
    Jun 14 10:37:56 zimbraarchive zmmailboxdmgr[7010]: stale pid 6915 found in /opt/zimbra/log/zmmailboxd_manager.pid: No such process
    Jun 14 10:37:56 zimbraarchive zmmailboxdmgr[7010]: assuming no other instance is running
    Jun 14 10:37:56 zimbraarchive zmmailboxdmgr[7010]: file /opt/zimbra/log/zmmailboxd.pid does not exist
    Jun 14 10:37:56 zimbraarchive zmmailboxdmgr[7010]: assuming no other instance is running
    Jun 14 10:37:56 zimbraarchive zmmailboxdmgr[7011]: wrote manager pid 7011 to /opt/zimbra/log/zmmailboxd_manager.pid
    Jun 14 10:37:56 zimbraarchive zmmailboxdmgr[7012]: wrote java pid 7012 to /opt/zimbra/log/zmmailboxd_java.pid
    Jun 14 10:37:56 zimbraarchive zmmailboxdmgr[7011]: manager started mailboxd/JVM with pid 7012
    Jun 14 10:37:56 zimbraarchive zimbramon[5698]: 5698:info: Starting antispam via zmcontrol
    Jun 14 10:37:58 zimbraarchive amavis[7052]: starting.  /opt/zimbra/amavisd/sbin/amavisd at zimbraarchive.acp.local amavisd-new-2.6.6 (20110518), Unicode aware, LC_ALL="C", LANG="C"
    Jun 14 10:37:58 zimbraarchive amavis[7052]: user=1003, EUID: 1003 (1003);  group=, EGID: 1003 1004 1003 5 4 (1003 1004 1003 5 4)
    Jun 14 10:37:58 zimbraarchive amavis[7052]: Perl version               5.008008
    Jun 14 10:38:00 zimbraarchive amavis[7052]: SpamControl: init_pre_chroot on SpamAssassin done
    Jun 14 10:38:00 zimbraarchive amavis[7082]: No decoder for       .F    tried: unfreeze, freeze -d, melt, fcat
    Jun 14 10:38:00 zimbraarchive amavis[7082]: Found decoder for    .Z    at /bin/uncompress
    Jun 14 10:38:00 zimbraarchive amavis[7082]: Found decoder for    .gz   at /bin/gzip -d
    Jun 14 10:38:00 zimbraarchive amavis[7082]: Found decoder for    .bz2  at /bin/bzip2 -d
    Jun 14 10:38:00 zimbraarchive amavis[7082]: No decoder for       .lzo  tried: lzop -d
    Jun 14 10:38:00 zimbraarchive amavis[7082]: No decoder for       .rpm  tried: rpm2cpio.pl, rpm2cpio
    Jun 14 10:38:00 zimbraarchive amavis[7082]: Found decoder for    .cpio at /bin/cpio
    Jun 14 10:38:00 zimbraarchive amavis[7082]: Found decoder for    .tar  at /bin/cpio
    Jun 14 10:38:00 zimbraarchive amavis[7082]: Found decoder for    .deb  at /usr/bin/ar
    Jun 14 10:38:00 zimbraarchive amavis[7082]: Internal decoder for .zip
    Jun 14 10:38:00 zimbraarchive amavis[7082]: No decoder for       .7z   tried: 7zr, 7za, 7z
    Jun 14 10:38:00 zimbraarchive amavis[7082]: No decoder for       .rar  tried: rar, unrar
    Jun 14 10:38:00 zimbraarchive amavis[7082]: No decoder for       .arj  tried: arj, unarj
    Jun 14 10:38:00 zimbraarchive amavis[7082]: No decoder for       .arc  tried: nomarch, arc
    Jun 14 10:38:00 zimbraarchive amavis[7082]: No decoder for       .zoo  tried: zoo, unzoo
    Jun 14 10:38:00 zimbraarchive amavis[7082]: No decoder for       .lha  tried: lha
    Jun 14 10:38:00 zimbraarchive amavis[7082]: No decoder for       .cab  tried: cabextract
    Jun 14 10:38:00 zimbraarchive amavis[7082]: No decoder for       .tnef tried: tnef
    Jun 14 10:38:00 zimbraarchive amavis[7082]: Internal decoder for .tnef
    Jun 14 10:38:00 zimbraarchive amavis[7082]: No decoder for       .exe  tried: rar, unrar; lha; arj, unarj
    Jun 14 10:38:00 zimbraarchive amavis[7082]: Using primary internal av scanner code for ClamAV-clamd
    Jun 14 10:38:00 zimbraarchive amavis[7082]: initializing Mail::SpamAssassin
    Jun 14 10:38:00 zimbraarchive zmmailboxdmgr[7011]: manager woke up from wait on mailboxd/JVM with pid 7012
    Jun 14 10:38:00 zimbraarchive zmmailboxdmgr[7085]: wrote java pid 7085 to /opt/zimbra/log/zmmailboxd_java.pid
    Jun 14 10:38:00 zimbraarchive zmmailboxdmgr[7011]: manager started mailboxd/JVM with pid 7085
    Jun 14 10:38:01 zimbraarchive zimbramon[5698]: 5698:info: Starting antivirus via zmcontrol
    Jun 14 10:38:02 zimbraarchive clamd[7145]: clamd daemon 0.97.4-broken-compiler (OS: linux-gnu, ARCH: x86_64, CPU: x86_64)
    Jun 14 10:38:02 zimbraarchive clamd[7145]: Log file size limited to 20971520 bytes.
    Jun 14 10:38:02 zimbraarchive clamd[7145]: Reading databases from /opt/zimbra/data/clamav/db
    Jun 14 10:38:02 zimbraarchive clamd[7145]: Not loading PUA signatures.
    Jun 14 10:38:02 zimbraarchive clamd[7145]: Bytecode: Security mode set to "TrustSigned".
    Jun 14 10:38:02 zimbraarchive amavis[7082]: SpamControl: init_pre_fork on SpamAssassin done
    Jun 14 10:38:02 zimbraarchive amavis[7082]: extra modules loaded after daemonizing/chrooting: Mail/SpamAssassin/Plugin/FreeMail.pm
    Jun 14 10:38:04 zimbraarchive zmmailboxdmgr[7011]: manager woke up from wait on mailboxd/JVM with pid 7085
    Jun 14 10:38:04 zimbraarchive zmmailboxdmgr[7011]: mailboxd/JVM exited twice in 4 seconds (tolerance=60)
    Jun 14 10:38:08 zimbraarchive zmmailboxdmgr[7415]: status requested
    Jun 14 10:38:08 zimbraarchive zmmailboxdmgr[7415]: stale pid 7011 found in /opt/zimbra/log/zmmailboxd_manager.pid: No such process
    Jun 14 10:38:08 zimbraarchive zmmailboxdmgr[7415]: assuming no other instance is running
    Jun 14 10:38:08 zimbraarchive zmmailboxdmgr[7415]: file /opt/zimbra/log/zmmailboxd.pid does not exist
    Jun 14 10:38:08 zimbraarchive zmmailboxdmgr[7415]: assuming no other instance is running
    Jun 14 10:38:08 zimbraarchive zmmailboxdmgr[7415]: no manager process is running
    Jun 14 10:38:10 zimbraarchive clamd[7145]: Loaded 1044426 signatures.
    Jun 14 10:38:11 zimbraarchive clamd[7145]: TCP: Bound to port 3310
    Jun 14 10:38:11 zimbraarchive clamd[7145]: TCP: Setting connection queue length to 200
    Jun 14 10:38:11 zimbraarchive clamd[7524]: Limits: Global size limit set to 1024000000 bytes.
    Jun 14 10:38:11 zimbraarchive clamd[7524]: Limits: File size limit set to 1024000000 bytes.
    Jun 14 10:38:11 zimbraarchive clamd[7524]: Limits: Recursion level limit set to 16.
    Jun 14 10:38:11 zimbraarchive clamd[7524]: Limits: Files limit set to 10000.
    Jun 14 10:38:11 zimbraarchive clamd[7524]: Archive support enabled.
    Jun 14 10:38:11 zimbraarchive clamd[7524]: Archive: Blocking encrypted archives.
    Jun 14 10:38:11 zimbraarchive clamd[7524]: Algorithmic detection enabled.
    Jun 14 10:38:11 zimbraarchive clamd[7524]: Portable Executable support enabled.
    Jun 14 10:38:11 zimbraarchive clamd[7524]: ELF support enabled.
    Jun 14 10:38:11 zimbraarchive clamd[7524]: Mail files support enabled.
    Jun 14 10:38:11 zimbraarchive clamd[7524]: OLE2 support enabled.
    Jun 14 10:38:11 zimbraarchive clamd[7524]: PDF support enabled.
    Jun 14 10:38:11 zimbraarchive clamd[7524]: HTML support enabled.
    Jun 14 10:38:11 zimbraarchive clamd[7524]: Self checking every 600 seconds.
    Jun 14 10:38:11 zimbraarchive zimbramon[5698]: 5698:info: Starting snmp via zmcontrol
    Jun 14 10:38:11 zimbraarchive zimbramon[5698]: 5698:info: Starting spell via zmcontrol
    Jun 14 10:38:11 zimbraarchive zimbramon[5698]: 5698:info: Starting mta via zmcontrol
    Jun 14 10:38:19 zimbraarchive postfix/postfix-script[7682]: warning: not owned by root: /opt/zimbra/postfix-2.7.8.3z/conf/master.cf.in
    Jun 14 10:38:19 zimbraarchive postfix/postfix-script[7699]: starting the Postfix mail system
    Jun 14 10:38:19 zimbraarchive postfix/master[7700]: fatal: bind 0.0.0.0 port 25: Address already in use
    Jun 14 10:38:20 zimbraarchive saslauthd[7706]: detach_tty      : master pid is: 7706
    Jun 14 10:38:20 zimbraarchive saslauthd[7706]: ipc_init        : listening on socket: /opt/zimbra/cyrus-sasl-2.1.23.3z/state/mux
    Jun 14 10:38:20 zimbraarchive zimbramon[5698]: 5698:info: Starting stats via zmcontrol
    Jun 14 10:38:30 zimbraarchive postfix/postqueue[8625]: fatal: Queue report unavailable - mail system is down
    Jun 14 10:38:32 zimbraarchive zmmailboxdmgr[8818]: status requested
    Jun 14 10:38:32 zimbraarchive zmmailboxdmgr[8818]: stale pid 7011 found in /opt/zimbra/log/zmmailboxd_manager.pid: No such process
    Jun 14 10:38:32 zimbraarchive zmmailboxdmgr[8818]: assuming no other instance is running
    Jun 14 10:38:32 zimbraarchive zmmailboxdmgr[8818]: file /opt/zimbra/log/zmmailboxd.pid does not exist
    Jun 14 10:38:32 zimbraarchive zmmailboxdmgr[8818]: assuming no other instance is running
    Jun 14 10:38:32 zimbraarchive zmmailboxdmgr[8818]: no manager process is running
    Jun 14 10:39:00 zimbraarchive postfix/postqueue[9023]: fatal: Queue report unavailable - mail system is down
    Jun 14 10:39:30 zimbraarchive postfix/postqueue[9038]: fatal: Queue report unavailable - mail system is down
    Jun 14 10:40:00 zimbraarchive postfix/postqueue[9100]: fatal: Queue report unavailable - mail system is down
    Jun 14 10:40:02 zimbraarchive postfix/postqueue[9136]: fatal: Queue report unavailable - mail system is down
    Jun 14 10:40:02 zimbraarchive zimbramon[9110]: 9110:info: 2012-06-14 10:40:02, QUEUE: 0 0
    Jun 14 10:40:08 zimbraarchive zmmailboxdmgr[9623]: status requested
    Jun 14 10:40:08 zimbraarchive zmmailboxdmgr[9623]: stale pid 7011 found in /opt/zimbra/log/zmmailboxd_manager.pid: No such process
    Jun 14 10:40:08 zimbraarchive zmmailboxdmgr[9623]: assuming no other instance is running
    Jun 14 10:40:08 zimbraarchive zmmailboxdmgr[9623]: file /opt/zimbra/log/zmmailboxd.pid does not exist
    Jun 14 10:40:08 zimbraarchive zmmailboxdmgr[9623]: assuming no other instance is running
    Jun 14 10:40:08 zimbraarchive zmmailboxdmgr[9623]: no manager process is running
    Jun 14 10:40:30 zimbraarchive postfix/postqueue[9734]: fatal: Queue report unavailable - mail system is down
    Jun 14 10:41:00 zimbraarchive postfix/postqueue[9815]: fatal: Queue report unavailable - mail system is down
    Jun 14 10:41:30 zimbraarchive postfix/postqueue[9840]: fatal: Queue report unavailable - mail system is down
    Jun 14 10:42:00 zimbraarchive postfix/postqueue[9933]: fatal: Queue report unavailable - mail system is down
    Jun 14 10:42:05 zimbraarchive zmmailboxdmgr[10190]: status requested
    Jun 14 10:42:05 zimbraarchive zmmailboxdmgr[10190]: stale pid 7011 found in /opt/zimbra/log/zmmailboxd_manager.pid: No such process
    Jun 14 10:42:05 zimbraarchive zmmailboxdmgr[10190]: assuming no other instance is running
    Jun 14 10:42:05 zimbraarchive zmmailboxdmgr[10190]: file /opt/zimbra/log/zmmailboxd.pid does not exist
    Jun 14 10:42:05 zimbraarchive zmmailboxdmgr[10190]: assuming no other instance is running
    Jun 14 10:42:05 zimbraarchive zmmailboxdmgr[10190]: no manager process is running
    Jun 14 10:42:30 zimbraarchive postfix/postqueue[10301]: fatal: Queue report unavailable - mail system is down
    Jun 14 10:43:00 zimbraarchive postfix/postqueue[10410]: fatal: Queue report unavailable - mail system is down
    Jun 14 10:43:30 zimbraarchive postfix/postqueue[10507]: fatal: Queue report unavailable - mail system is down
    Jun 14 10:44:00 zimbraarchive postfix/postqueue[10546]: fatal: Queue report unavailable - mail system is down
    Jun 14 10:44:04 zimbraarchive zmmailboxdmgr[10801]: status requested
    Jun 14 10:44:04 zimbraarchive zmmailboxdmgr[10801]: stale pid 7011 found in /opt/zimbra/log/zmmailboxd_manager.pid: No such process
    Jun 14 10:44:04 zimbraarchive zmmailboxdmgr[10801]: assuming no other instance is running
    Jun 14 10:44:04 zimbraarchive zmmailboxdmgr[10801]: file /opt/zimbra/log/zmmailboxd.pid does not exist
    Jun 14 10:44:04 zimbraarchive zmmailboxdmgr[10801]: assuming no other instance is running
    Jun 14 10:44:04 zimbraarchive zmmailboxdmgr[10801]: no manager process is running
    and here is the info as per Split DNS - Zimbra :: Wiki
    dig acp.local mx
    Code:
    root@zimbraarchive:~# dig acp.local mx
    
    ; <<>> DiG 9.4.2-P2.1 <<>> acp.local mx
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 52899
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;acp.local.                     IN      MX
    
    ;; AUTHORITY SECTION:
    acp.local.              869     IN      SOA     acpupdate2008.acp.local. hostmaster. 22774 900 600 86400 3600
    
    ;; Query time: 1 msec
    ;; SERVER: 10.1.1.99#53(10.1.1.99)
    ;; WHEN: Thu Jun 14 10:48:15 2012
    ;; MSG SIZE  rcvd: 87
    dig acp.local any
    Code:
    root@zimbraarchive:~# dig acp.local any
    
    ; <<>> DiG 9.4.2-P2.1 <<>> acp.local any
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 58963
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 10, AUTHORITY: 4, ADDITIONAL: 5
    
    ;; QUESTION SECTION:
    ;acp.local.                     IN      ANY
    
    ;; ANSWER SECTION:
    acp.local.              3600    IN      SOA     acdc.acp.local. hostmaster. 22776 900 600 86400 3600
    acp.local.              3600    IN      NS      dubaidc.acp.local.
    acp.local.              3600    IN      NS      indiadc.acp.local.
    acp.local.              3600    IN      NS      acpupdate2008.acp.local.
    acp.local.              3600    IN      NS      acdc.acp.local.
    acp.local.              600     IN      A       10.1.1.11
    acp.local.              600     IN      A       10.1.1.65
    acp.local.              600     IN      A       10.1.3.11
    acp.local.              600     IN      A       10.1.4.11
    acp.local.              600     IN      A       10.1.5.11
    
    ;; AUTHORITY SECTION:
    acp.local.              3600    IN      NS      acdc.acp.local.
    acp.local.              3600    IN      NS      acpupdate2008.acp.local.
    acp.local.              3600    IN      NS      dubaidc.acp.local.
    acp.local.              3600    IN      NS      indiadc.acp.local.
    
    ;; ADDITIONAL SECTION:
    acdc.acp.local.         1898    IN      A       10.1.1.11
    acdc.acp.local.         1898    IN      A       10.1.3.11
    dubaidc.acp.local.      1606    IN      A       10.1.5.11
    indiadc.acp.local.      1606    IN      A       10.1.4.11
    acpupdate2008.acp.local. 1606   IN      A       10.1.1.65
    
    ;; Query time: 26 msec
    ;; SERVER: 10.1.1.99#53(10.1.1.99)
    ;; WHEN: Thu Jun 14 10:48:43 2012
    ;; MSG SIZE  rcvd: 380
    host $(hostname)
    Code:
    zimbraarchive.acp.local has address 10.1.1.74
    zimbraarchive.acp.local mail is handled by 10 zimbraarchive.acp.local.
    /etc/resolv.conf
    Code:
    root@zimbraarchive:~# cat /etc/resolv.conf
    nameserver 10.1.1.99
    nameserver 10.1.1.100
    search acp.local
    /etc/hosts
    Code:
    root@zimbraarchive:~# cat /etc/hosts
    127.0.0.1       localhost.localdomain           localhost
    #127.0.1.1      zimbraarchive.acp.local     zimbraarchive
    10.1.1.74       zimbraarchive.acp.local         zimbraarchive
    
    # The following lines are desirable for IPv6 capable hosts
    ::1     ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts
    I should also add that "zmprov gas" returns only the old server name not the new one

    Any ideas/pointers welcome
    Thanks,
    rojanu
    Last edited by rojanu; 06-14-2012 at 11:57 AM.

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

    Default

    According to the information you've posted above there are no DNS A or MX records for the server at IP address 10.1.1.74.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    rojanu is offline Member
    Join Date
    Jun 2012
    Posts
    12
    Rep Power
    3

    Default

    Domain Controller is a windows box and I have provided DNA A and MX details for the box. dig doesn't show the entries for the live box either.

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

    Default

    Quote Originally Posted by rojanu View Post
    dig doesn't show the entries for the live box either.
    It doesn't matter what DNS server has the records, if they don't show in a dig command then they don't exist as far as anything that replies on DNS is concerned. You'll have to do some investigation for the reason they don't show.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    rojanu is offline Member
    Join Date
    Jun 2012
    Posts
    12
    Rep Power
    3

    Default

    What I was trying to say is that the live server is able to restart and is happy about that and I installed another 7.02 that one works as well is just this clone is refusing to start.

  6. #6
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,504
    Rep Power
    57

    Default

    Quote Originally Posted by rojanu View Post
    ................ is just this clone is refusing to start.
    If the output you've posted above is for the 'clone' then you have no A or MX DNS records for it, you need them. If those records exist then you need to find out why they don't show when you do a dig.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. logger / mailbox / snmp - not running
    By Chareos in forum Administrators
    Replies: 1
    Last Post: 08-20-2010, 06:04 AM
  2. [need help] logger and mailbox stopped
    By scotch in forum Installation
    Replies: 0
    Last Post: 12-05-2008, 09:43 AM
  3. Splitting mailbox and logger
    By serviX in forum Administrators
    Replies: 1
    Last Post: 06-02-2006, 09:08 AM
  4. problem with logger and mailbox
    By pepe27 in forum Installation
    Replies: 1
    Last Post: 04-05-2006, 07:43 AM

Posting Permissions

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