Results 1 to 6 of 6

Thread: [SOLVED] Issue moving server install OSE 7

  1. #1
    Join Date
    Jun 2010
    Posts
    30
    Rep Power
    5

    Default [SOLVED] Issue moving server install OSE 7

    I have just moved my zimbra server.
    Stopped the old server, tar'ed up the /opt/zimbra.

    On the new server I did
    install.sh -s
    Unpacked to the new
    zmfixperms

    then went to start up. All services say "started" but when I go to the web page I get :-
    HTTP ERROR: 404

    Problem accessing /. Reason:

    NOT_FOUND
    Powered by Jetty://



    Not quite sure where to go from this..
    thanks!

  2. #2
    Join Date
    Jun 2010
    Posts
    30
    Rep Power
    5

    Default

    I can't see to much that looks like a error in my logs.
    I've been going though each one to see if i can find whats wrong.
    I was hoping to find a jetty log or something to help me why is getting a 404..

  3. #3
    Join Date
    Oct 2005
    Location
    USA, Canada and India
    Posts
    777
    Rep Power
    11

    Default

    zimbra_uid needs to be same on both servers otherwise you get 404 jetty errrors
    Error 404
    RequstURI://
    powered by jetty


    find /opt/zimbra | xargs grep 'zimbra_uid'
    edit /opt/zimbra/conf/loacalconfig.xml
    change zimbra_uid to the correct uid
    run the following as root
    /opt/zimbra/libexec/zmfixperms --extended

    restrat and error should be fixed
    i2k2 Networks
    Dedicated & Shared Zimbra Hosting Provider

  4. #4
    Join Date
    Jun 2010
    Posts
    30
    Rep Power
    5

    Default

    That fixed it.
    I also did:-
    chown zimbra:root -R /opt/zimbra/jetty/logs/

    Now it starts up all god, no 404 error.

    I just get this now:-

    Message not sent; one or more addresses were not accepted.
    Rejected addresses:EXTERNAL@EMAIL.COM
    method: [unknown]
    msg: Invalid address:EXTERNAL@EMAIL.COM com.zimbra.cs.mailbox.MailSender$SafeSendFailedExc eption: MESSAGE_NOT_DELIVERED; chained exception is: com.zimbra.cs.mailclient.smtp.InvalidRecipientExce ption: RCPT failed: Invalid recipient EXTERNAL@EMAIL.COM: 554 5.7.1 : Relay access denied
    code: mail.SEND_ABORTED_ADDRESS_FAILURE
    detail: soap:Sender
    trace: com.zimbra.cs.mailbox.MailServiceException: Invalid address: EXTERNAL@EMAIL.COM. com.zimbra.cs.mailbox.MailSender$SafeSendFailedExc eption: MESSAGE_NOT_DELIVERED; chained exception is: com.zimbra.cs.mailclient.smtp.InvalidRecipientExce ption: RCPT failed: Invalid recipient EXTERNAL@EMAIL.COMt: 554 5.7.1 : Relay access denied ExceptionId:btpool0-14://MYMAILSRV.com/service/soap/SendMsgRequest:1301579172296:e0096983d1c5f776 Code:mail.SEND_ABORTED_ADDRESS_FAILURE Arginvalid, STR, "EXTERNAL@EMAIL.COM") at com.zimbra.cs.mailbox.MailServiceException.interna l_SEND_FAILURE(MailServiceException.java:458) at com.zimbra.cs.mailbox.MailServiceException.SEND_AB ORTED_ADDRESS_FAILURE(MailServiceException.java:46 2) at com.zimbra.cs.mailbox.MailSender.sendMimeMessage(M ailSender.java:619) at com.zimbra.cs.mailbox.MailSender.sendMimeMessage(M ailSender.java:425) at com.zimbra.cs.mailbox.MailSender.sendMimeMessage(M ailSender.java:385) at com.zimbra.cs.service.mail.SendMsg.doSendMessage(S endMsg.java:193) at com.zimbra.cs.service.mail.SendMsg.handle(SendMsg. java:154) at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEng ine.java:401) at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:276) at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:157) at com.zimbra.soap.SoapServlet.doWork(SoapServlet.jav a:294) at com.zimbra.soap.SoapServlet.doPost(SoapServlet.jav a:215) at javax.servlet.http.HttpServlet.service(HttpServlet .java:727) at com.zimbra.cs.servlet.ZimbraServlet.service(Zimbra Servlet.java:208) at javax.servlet.http.HttpServlet.service(HttpServlet .java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(Ser vletHolder.java:511) at org.mortbay.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1166) at com.zimbra.cs.servlet.SetHeaderFilter.doFilter(Set HeaderFilter.java:79) at org.mortbay.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1157) at org.mortbay.servlet.UserAgentFilter.doFilter(UserA gentFilter.java:81) at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter .java:132) at org.mortbay.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1157) at org.mortbay.jetty.servlet.ServletHandler.handle(Se rvletHandler.java:388) at org.mortbay.jetty.security.SecurityHandler.handle( SecurityHandler.java:218) at org.mortbay.jetty.servlet.SessionHandler.handle(Se ssionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(Co ntextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebA ppContext.java:422) at org.mortbay.jetty.handler.ContextHandlerCollection .handle(ContextHandlerCollection.java:230) at org.mortbay.jetty.handler.HandlerCollection.handle (HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha ndlerWrapper.java:152) at org.mortbay.jetty.handler.rewrite.RewriteHandler.h andle(RewriteHandler.java:230) at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha ndlerWrapper.java:152) at org.mortbay.jetty.handler.DebugHandler.handle(Debu gHandler.java:77) at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha ndlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(Htt pConnection.java:543) at org.mortbay.jetty.HttpConnection$RequestHandler.co ntent(HttpConnection.java:946) at org.mortbay.jetty.HttpParser.parseNext(HttpParser. java:756) at org.mortbay.jetty.HttpParser.parseAvailable(HttpPa rser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnec tion.java:405) at org.mortbay.io.nio.SelectChannelEndPoint.run(Selec tChannelEndPoint.java:410) at org.mortbay.thread.BoundedThreadPool$PoolThread.ru n(BoundedThreadPool.java:451) Caused by: com.zimbra.cs.mailbox.MailSender$SafeSendFailedExc eption: MESSAGE_NOT_DELIVERED; chained exception is: com.zimbra.cs.mailclient.smtp.InvalidRecipientExce ption: RCPT failed: Invalid recipient EXTERNAL@EMAIL.COMt: 554 5.7.1 : Relay access denied at com.zimbra.cs.mailclient.smtp.SmtpTransport.notify (SmtpTransport.java:291) at com.zimbra.cs.mailclient.smtp.SmtpTransport.sendMe ssage(SmtpTransport.java:222) at com.zimbra.cs.mailbox.MailSender.sendMessageToHost (MailSender.java:895) at com.zimbra.cs.mailbox.MailSender.sendMessage(MailS ender.java:831) at com.zimbra.cs.mailbox.MailSender.sendMimeMessage(M ailSender.java:565) ... 39 more

  5. #5
    Join Date
    Oct 2005
    Location
    USA, Canada and India
    Posts
    777
    Rep Power
    11

    Default

    probaly because of zimbraMtaMyNetworks from OLD machine
    looks like you have changed IP Address and its not in zimbraMtaMyNetworks

    zmprov gs `zmhostname` | grep zimbraMtaMyNetworks
    if you dont see the ip of this server then you need to add it.

    Raj
    i2k2 Networks
    Dedicated & Shared Zimbra Hosting Provider

  6. #6
    Join Date
    Jun 2010
    Posts
    30
    Rep Power
    5

    Default

    HI raj,

    That was the issue.
    Fixed via :-
    zmprov modifyServer MYHOST.COM zimbraMtaMyNetworks '127.0.0.0/8 xxx.xxx.xxx.xxx/32'

    Taken from :-
    ZimbraMtaMyNetworks - Zimbra :: Wiki

    Thanks
    all good!

Similar Threads

  1. Zimbra cannot access via Web Interface
    By troya in forum Administrators
    Replies: 8
    Last Post: 03-22-2012, 12:54 AM
  2. Please help
    By scott_summers in forum Administrators
    Replies: 0
    Last Post: 09-27-2007, 12:11 AM
  3. Moving Zimbra to New Server
    By Jazzhands in forum Installation
    Replies: 1
    Last Post: 08-03-2007, 07:01 PM
  4. Getting problems in FC4 while instalation
    By kitty_bhoo in forum Installation
    Replies: 13
    Last Post: 09-12-2006, 11:34 PM
  5. Moving to a faster server
    By jholder in forum Administrators
    Replies: 2
    Last Post: 02-12-2006, 08:22 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
  •