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 10-28-2009, 06:35 PM
Active Member
 
Posts: 26
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
Reply With Quote
  #2 (permalink)  
Old 10-28-2009, 08:02 PM
Elite Member
 
Posts: 328
Default

you can restart it by this command:
zmmailboxdctl restart
Reply With Quote
  #3 (permalink)  
Old 10-29-2009, 10:32 PM
Active Member
 
Posts: 26
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

Reply With Quote
  #4 (permalink)  
Old 10-31-2009, 03:48 AM
Zimbra Consultant & Moderator
 
Posts: 19,655
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
Reply With Quote
  #5 (permalink)  
Old 11-17-2009, 08:39 PM
Active Member
 
Posts: 26
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..
Reply With Quote
  #6 (permalink)  
Old 11-18-2009, 11:04 AM
Moderator
 
Posts: 1,147
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.
Reply With Quote
  #7 (permalink)  
Old 11-18-2009, 11:29 PM
Active Member
 
Posts: 26
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
Reply With Quote
  #8 (permalink)  
Old 11-19-2009, 03:40 PM
Moderator
 
Posts: 1,147
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
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.