Results 1 to 8 of 8

Thread: how to export mailbox when zmmailboxdctl is down

  1. #1
    yoom@hostwebase.com is offline Active Member
    Join Date
    Jan 2008
    Posts
    26
    Rep Power
    7

    Default how to export mailbox when zmmailboxdctl is down

    Greetings everyone,

    I need help on how to export user mailbox and their address book when
    the ZMMAILBOXDCTL is not running.

    I am using this command to export

    /opt/zimbra/bin/zmmailbox -z -m user@domain.com getRestURL “//?fmt=tgz” > /tmp/account.tgz

    and because the zmmailboxdctl is not running it give me this error:

    ERROR: zclient.IO_ERROR (invoke connection refusedd, server: localhost) (cause: java.net.ConnectException Connection refused).


    Why is the zmmailboxdctl is not running? I was enable the pop server via the GUI and after restart it the zmmailboxdctl will no longer able to start up. It is a long story, I could not find any help to fix it so I build another zimbra server
    on another machine. Now, I am trying to figure out how to move everything over. Old server was running on 5.x and Linux RH 4.X

    Any help will be appreciate.

    Y

  2. #2
    dalmate is offline Elite Member
    Join Date
    Jan 2009
    Posts
    359
    Rep Power
    6

    Default

    you can restart it by this command:
    zmmailboxdctl restart

  3. #3
    yoom@hostwebase.com is offline Active Member
    Join Date
    Jan 2008
    Posts
    26
    Rep Power
    7

    Default

    Quote Originally Posted by dalmate View Post
    you can restart it by this command:
    zmmailboxdctl restart
    I did try zmmailboxdctl and it wouldn't start. I have the same problem a year ago or
    so. I couldn't figure out so I just rebuild a new server. I also had tried to
    disable the POP3 that I was enable and the zmmailboxdctl still would not
    restart

    zmprov -l gs mail.server.com -zimbraPop3ServerEnabled.

    I don't want to deal with it anymore unless inorder to export the user mailbox the zmmailboxdctl need to be up and running.

    Any ideas?

    Thanks,
    Y


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

    Default

    Quote Originally Posted by yoom@hostwebase.com View Post
    I don't want to deal with it anymore unless inorder to export the user mailbox the zmmailboxdctl need to be up and running.

    Any ideas?
    It would help if you posted some details from the log files on why zmmailboxd isn't starting. This thread is remarkably light on any details that would help you fix the problem. Which version of Zimbra are you currently using?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    yoom@hostwebase.com is offline Active Member
    Join Date
    Jan 2008
    Posts
    26
    Rep Power
    7

    Default Export old mail box when zmmailboxdctl down?

    Quote Originally Posted by phoenix View Post
    It would help if you posted some details from the log files on why zmmailboxd isn't starting. This thread is remarkably light on any details that would help you fix the problem. Which version of Zimbra are you currently using?



    I am looking for some help on how to export users mail box off an old server
    into a new server when the zmmailboxdctl is down on an old server.

    My Zimbra run on Redhat, version 5.0.1_GA1902

    Any ideas?


    I am assume most everything store under Mysql database tables, can I do an exclusion dump of the mysql to get what
    I need?

    Thank you.

    Y
    Last edited by yoom@hostwebase.com; 11-17-2009 at 08:55 PM.

  6. #6
    ArcaneMagus's Avatar
    ArcaneMagus is offline Moderator
    Join Date
    Feb 2007
    Location
    Portland, OR
    Posts
    1,147
    Rep Power
    10

    Default

    Data for users is stored in MySQL, LDAP, and the postfix store, and possibly elsewhere. You can either attempt to find all the parts to a user's data that you need to transfer the user's information to a new server, or you can fix the problem causing the mailbox service to shut down.

  7. #7
    yoom@hostwebase.com is offline Active Member
    Join Date
    Jan 2008
    Posts
    26
    Rep Power
    7

    Default

    Quote Originally Posted by phoenix View Post
    It would help if you posted some details from the log files on why zmmailboxd isn't starting. This thread is remarkably light on any details that would help you fix the problem. Which version of Zimbra are you currently using?

    Here is the background on why the zmmailboxctl service was down.
    I was enable ProxyServer for imap and pop3 via the GUI administrator.
    After the services was enable, pop3 and imap was working fine.
    However, when I run the zmcontrol stop and zmcontrol start the zmmailboxctl
    will not run any more. I searched and found a few documents on how to undo
    it but the zmmailboxctl will not run after that.

    This is one of the command and many others that I had tried.
    zmprov -l ms `zimbrahostname` -zimbraServiceEnabled imapproxy

    Here is the log file:

    *******begin of log file**********
    0 INFO [main] log - Logging to org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog
    Zimbra server reserving server socket port=1110 bindaddr=209.255.8.132 ssl=false
    Fatal error: exception while binding to ports
    java.net.BindException: Cannot assign requested address
    at java.net.PlainSocketImpl.socketBind(Native Method)
    at java.net.PlainSocketImpl.bind(PlainSocketImpl.java :359)
    at java.net.ServerSocket.bind(ServerSocket.java:319)
    at com.zimbra.common.util.NetUtil.newBoundServerSocke t(NetUtil.java:99)
    at com.zimbra.common.util.NetUtil.bindServerSocket(Ne tUtil.java:122)
    at com.zimbra.common.util.NetUtil.bindTcpServerSocket (NetUtil.java:47)
    at com.zimbra.common.handlers.PrivilegedHandler.openP orts(PrivilegedHandler.java:75)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.mortbay.xml.XmlConfiguration.call(XmlConfigura tion.java:534)
    at org.mortbay.xml.XmlConfiguration.configure(XmlConf iguration.java:244)
    at org.mortbay.xml.XmlConfiguration.configure(XmlConf iguration.java:206)
    at org.mortbay.xml.XmlConfiguration.main(XmlConfigura tion.java:968)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.mortbay.start.Main.invokeMain(Main.java:183)
    at org.mortbay.start.Main.start(Main.java:497)
    at org.mortbay.start.Main.main(Main.java:115)


    ************end of log file***********************


    How can I modify this IP address bindaddr=209.255.8.132 entry? or get rid of this option completely?
    What is the syntax to modify this?

    This is the NAT external IP address that is why it not able to bind to anything because a NAT IP address
    that use by the Firewall. Mail server using an internal IP address of 192.168.0.132

    Thank you.

    Y

  8. #8
    ArcaneMagus's Avatar
    ArcaneMagus is offline Moderator
    Join Date
    Feb 2007
    Location
    Portland, OR
    Posts
    1,147
    Rep Power
    10

    Default

    It should only be trying to bind to that address if one of the network cards is setup for that address, or possibly if you have a messed up /etc/hosts file.

    What does the output of the following commands look like?
    Code:
    cat /etc/hosts
    host `hostname`  <-- use that exact command with backticks not single quotes

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] my server stopped working???
    By cecil in forum Administrators
    Replies: 4
    Last Post: 04-20-2008, 08:07 AM
  2. installation error during ldap setup
    By ljramos in forum Installation
    Replies: 23
    Last Post: 08-10-2007, 10:48 PM
  3. unable to restart zimbra after reboot
    By droefs in forum Administrators
    Replies: 28
    Last Post: 04-16-2006, 02:33 PM
  4. Replies: 16
    Last Post: 01-05-2006, 09:55 AM
  5. After Succesfull Install, Cannot Start mta
    By bsimzer in forum Installation
    Replies: 26
    Last Post: 12-16-2005, 05:45 PM

Posting Permissions

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