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 05-17-2006, 10:54 PM
Special Member
 
Posts: 164
Default Problem with Zimbra Backup/Restore

Hi

Just spent 14 hrs trying to get the recommended route for backup restore to work and failed...

Using 3.1.1 -394 ZCS stopped services. Checked all stopped. Copied by rsync the entire opt/zimbra directory to another server.

Installed new server with same hostname and IP, same OS (FC4) fully updated and installed vanilla ZCS. Stopped services and moved required /opt/zimbra into positon and ran install.sh again. Also tried resetting permissions on opt/zimbra with zmfixperms but results were the same.

System comes up, all accounts in place, all mail there, calendar etc. However try to send an email and I get dialogue box with:

msg - system failure: IOException
com.zimbra.cs.service.ServiceException: system failure: IOException
at com.zimbra.cs.service.ServiceException.FAILURE(Ser viceException.java:131)
at com.zimbra.cs.mailbox.MailSender.sendMimeMessage(M ailSender.java:304)
at com.zimbra.cs.mailbox.MailSender.sendMimeMessage(M ailSender.java:122)
at com.zimbra.cs.service.mail.SendMsg.handle(SendMsg. java:97)
at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEng ine.java:255)
at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:163)
at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:84)
at com.zimbra.soap.SoapServlet.doPost(SoapServlet.jav a:228)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:709)
at com.zimbra.cs.servlet.ZimbraServlet.service(Zimbra Servlet.java:154)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:802)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:107)
at org.apache.catalina.valves.AccessLogValve.invoke(A ccessLogValve.java:541)
at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11 ConnectionHandler.processConnection(Http11BaseProt ocol.java:667)
at org.apache.tomcat.util.net.PoolTcpEndpoint.process Socket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThr ead.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.io.FileNotFoundException: /opt/zimbra/store/incoming/1147927093922-10.msg (Permission denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.j ava:179)
at java.io.FileOutputStream.<init>(FileOutputStream.j ava:131)
at com.zimbra.cs.store.FileBlobStore.storeIncoming(Fi leBlobStore.java:104)
at com.zimbra.cs.mailbox.Mailbox.addMessageInternal(M ailbox.java:2944)
at com.zimbra.cs.mailbox.Mailbox.addMessage(Mailbox.j ava:2788)
at com.zimbra.cs.mailbox.Mailbox.addMessage(Mailbox.j ava:2760)
at com.zimbra.cs.mailbox.MailSender.sendMimeMessage(M ailSender.java:189)
... 24 more

code - service.FAILURE
method - ZmCsfeCommand.prototype.invoke
detail - soap:Receiver

Only clue I can find is in zimbra.log

at org.apache.tomcat.util.net.PoolTcpEndpoint.process Socket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThr ead.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.io.FileNotFoundException: /opt/zimbra/store/incoming/1147927093922-10.msg (Permission denied)


Any clues as to why? Orginal system still works fine so back to that for now but it concerns me that there is no way to back up a working system.

Happy to send attch logs as needed but not sure which!
Reply With Quote
  #2 (permalink)  
Old 05-17-2006, 11:22 PM
Former Zimbran
 
Posts: 5,606
Default

Hi,
Yup. Your problem is that zimbra doesn't have permission to read the message store.

You can fix this by running the following command:

Code:
chown -R zimbra:zimbra /opt/zimbra/st*
Good Luck!

PS: By the way, I wrote a little tutorial on how to restore and back up in the wiki: Open Source Edition Backup Procedure

Last edited by jholder; 05-17-2006 at 11:25 PM..
Reply With Quote
  #3 (permalink)  
Old 05-17-2006, 11:58 PM
Special Member
 
Posts: 164
Default And breathe.... Many Thanks....

Thats the bleary eyed moment.... ;-) Yes it does now work. What I dont know is why the zmpermsfix doesnt reset that - looks like it is doing so in the script - Ill need some sleep before I get to that again.... I had before, in the multiple changes/installs, tried manually changing the permissions as you suggested but there must have been more hangovers from the failures that time.

I read your wiki entry and a large number of other posts and pdfs but the 'std' approach of using zmpermsfix is the herring of a reddening finish!

Many thanks wannabetenor, early or late riser? I can rest easy now.... off to get the train home... ewww its 7am

Kevin
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.