Results 1 to 4 of 4

Thread: [SOLVED] zmmailboxdctl urgent & ugly problem (aren't they all? ;)

  1. #1
    Join Date
    Feb 2010
    South Africa
    Rep Power

    Default [SOLVED] zmmailboxdctl urgent & ugly problem (aren't they all? ;)

    I have a rather big (600 user) problem with my server after trying to migrate from Ubuntu 8.04 32bit to CentOS5.5-64 bit.
    Followed Network Edition: Moving from 32-bit to 64-bit Server - Zimbra :: Wiki to a t (except for the part about commercial certificates).
    Although I must add that this problem started before the migrate, partly the reason for it.
    The server is running on XenServer 5.6 with 2 CPUs, 2048MB RAN (768MB assigned during install)
    The only 'add-on' in CentOS 5.5-64 is XenTools installed.
    IP, hostname, everything exactly the same, running on same (Xen) server.

    Now I have:
    zmcontrol status
    antispam Running
    antivirus Running
    imapproxy Running
    ldap Running
    logger Running
    mailbox Stopped
    zmmailboxdctl is not running.
    memcached Running
    mta Running
    snmp Running
    spell Running
    stats Running

    I cannot find anything obviously wrong in the log files apart from
    Zimbra server reserving server socket port=110 bindaddr=my_ip_here ssl=false
    Zimbra server reserving server socket port=995 bindaddr=null ssl=true
    Fatal error: exception while binding to ports Unbound server sockets not implemented

    With Zimbra stopped :
    [zimbra@mail root]$ netstat -tulpn
    (No info could be read for "-p": geteuid()=500 but you should be root.)
    Active Internet connections (only servers)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0* LISTEN -
    tcp 0 0* LISTEN -
    tcp 0 0* LISTEN -
    tcp 0 0* LISTEN -
    tcp 0 0* LISTEN -
    tcp 0 0 :::22 :::* LISTEN -
    tcp 0 0 ::1:953 :::* LISTEN -
    udp 0 0* -
    udp 0 0* -
    udp 0 0* -
    udp 0 0* -
    udp 0 0* -
    udp 0 0* -
    udp 0 0* -
    udp 0 0* -
    udp 0 0* -
    udp 0 0* -
    udp 0 0 :::47829 :::* -
    udp 0 0 :::5353 :::* -
    udp 0 0 fe80::6838:48ff:fe4:123 :::* -
    udp 0 0 ::1:123 :::* -
    udp 0 0 :::123 :::* -

    No conflicting ports?

    (With Zimbra running or stopped)
    Even if I run something like :
    [zimbra@mail root]$ zmprov ms zimbraImapCleartextLoginEnabled TRUE zimbraPop3CleartextLoginEnabled TRUE
    [] INFO: I/O exception ( caught when processing request: Connection refused
    [] INFO: Retrying request
    ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: Connection refused)

    and /var/log/zimbra.log is full of:
    Dec 4 00:06:46 mail postfix/error[9953]: 7C4795D01926: to=, relay=none, delay=337, delays=337/0.13/0/0.02, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to[]:7025: Connection refused)

    Also strange, don't know if it's relevant:

    [zimbra@mail root]$ lsof | grep TCP
    lsof: WARNING: can't stat() proc file system /var/named/chroot/proc
    Output information may be incomplete.
    lsof: WARNING: can't stat() ext3 file system /var/named/chroot/var/run/dbus
    Output information may be incomplete.

    [root@mail ~]# uname -a
    Linux 2.6.18-194.26.1.el5xen #1 SMP Tue Nov 9 13:35:30 EST 2010 x86_64 x86_64 x86_64 GNU/Linux
    [zimbra@mail root]$ zmcontrol -v
    Release 6.0.9_GA_2686.RHEL5_64_20101115233514 CentOS5_64 FOSS edition.

    $ hostname
    $ hostname -f
    $ nslookup
    $ dig mx
    ;; ANSWER SECTION: 221 IN MX 10

    $ cat /etc/hosts localhost.localdomain localhost mail

    [zimbra@mail root]$ zmprov -l gs | grep Bind
    zimbraImapBindOnStartup: TRUE
    zimbraImapBindPort: 143
    zimbraImapProxyBindPort: 7143
    zimbraImapSSLBindOnStartup: TRUE
    zimbraImapSSLBindPort: 993
    zimbraImapSSLProxyBindPort: 7993
    zimbraLmtpBindOnStartup: FALSE
    zimbraLmtpBindPort: 7025
    zimbraMemcachedBindPort: 11211
    zimbraNotifyBindPort: 7035
    zimbraNotifySSLBindPort: 7036
    zimbraPop3BindOnStartup: TRUE
    zimbraPop3BindPort: 110
    zimbraPop3ProxyBindPort: 7110
    zimbraPop3SSLBindOnStartup: TRUE
    zimbraPop3SSLBindPort: 995
    zimbraPop3SSLProxyBindPort: 7995

    Read every post I could find, nothing helps.
    Any help would very much be appreciated!


  2. #2
    Join Date
    Jul 2007
    Rep Power


    are you sure you don't have antyhing preinstalled bound to those ports already? some pop3 daemon taht came with centos?

  3. #3
    Join Date
    Feb 2010
    South Africa
    Rep Power


    Thanks for the reply.
    Nope, not according to netstat -tulpn or lsof
    I just enabled text-based internet & editors (if I remember correctly)
    If I know what to look for, I might find the cause, but all I could find is in the post above...

  4. #4
    Join Date
    Feb 2010
    South Africa
    Rep Power


    I started over, re-installed CentOS with absolute minimum (again) just using text-based-internet and editors packages on install.
    Didn't add any packages that the ZCS install didn't ask for (no perl, lib..., gmp)
    chkconfig sendmail off
    chkconfig ip6tables off
    chkconfig iptables off
    chkconfig bluetooth off
    chkconfig cups off
    yum install sysstat
    Reboot, install.
    In the setup options of ZCS install, entered all passwords fom old server(except MySQL root which I couldn't find), finished install (starting servers).
    Then stopped Zimbra.
    Checked the xml files, started MySql and reset the MySQL passwords from CLI, using same as old server.
    Did the rest, and it's working now. Phew! (wiping the stress and sweat from his forehead)


Similar Threads

  1. Missing Email Problem
    By prox in forum Zimbra Connector for Outlook
    Replies: 6
    Last Post: 03-16-2008, 10:01 PM
  2. Urgent problem with sending to an "allstaff"
    By Brian@MCC in forum Zimbra in Education
    Replies: 9
    Last Post: 12-11-2007, 10:17 AM
  3. About external LDAP problem, urgent!
    By bylong in forum Administrators
    Replies: 5
    Last Post: 08-24-2007, 07:10 PM
  4. WindowsMobile - problem with regional fonts
    By wojo2000 in forum Zimbra Mobile
    Replies: 0
    Last Post: 06-22-2007, 10:37 AM
  5. Problem using Zimbra DeskTop -Help me Urgent...
    By miguel.corcuera in forum General Questions
    Replies: 2
    Last Post: 03-28-2007, 11:07 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