Page 1 of 4 123 ... LastLast
Results 1 to 10 of 32

Thread: [SOLVED] Remote Manager, Port 22 issue

  1. #1
    mfehr is offline Senior Member
    Join Date
    Mar 2008
    Posts
    55
    Rep Power
    7

    Default [SOLVED] Remote Manager, Port 22 issue

    I set up my Zimbra 5.0.2 on Ubuntu 7.10 (as a VMware image). I have 2 domains which both are currently successfully working on my new Zimbra server.

    Going through the admin console, however, I get some error messages when I select my server in the "Servers" tab. The same happens when I select the server in the "Certificates" tab. The error message shows as follows

    Message: system failure: exception during auth {RemoteManager: mail.mymailserver.com->zimbra@mail.mymailserver.com:22} Error code: service.FAILURE Details:soap:Receiver

    A similar error occures when selecting the "mail queues" tab with the following message:

    Message: system failure: exception during auth {RemoteManager: fehr.is-a-chef.com->zimbra@fehr.is-a-chef.com:22} Error code: service.FAILURE Method: GetMailQueueInfoRequest Details:soap:Receiver


    I found some reference to a Remote Queue Manager using port 22 but I did not find any reference in the admin manual to find out how to check, configure, etc. Also the log files I found did provide me with a hint either. Any hints on how I can solve this issue?

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,444
    Rep Power
    56

    Default

    Welcome to the forums.

    You shouldn't need to configure anything other than to make sure the sshd daemon is running and listening on port 22, is it?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    mfehr is offline Senior Member
    Join Date
    Mar 2008
    Posts
    55
    Rep Power
    7

    Default Bingo!

    Thanks for the swift response - The ssh server was the missing piece. Ubuntu 7.10 server does not setup sshd by default. I recommend to add sshd as an installation prerequisite to the quick start manual.

  4. #4
    PenguinWrangler is offline Junior Member
    Join Date
    Sep 2006
    Posts
    6
    Rep Power
    8

    Default Got the same thing, sshd is running

    I've got the same problem on my test 5.0.4 server, however I have sshd running already. The host OS is Centos5-x86_64.

    This shows up in /var/log/secure, not sure if it's related or not:

    Mar 28 17:19:05 calculon sshd[25384]: Received disconnect from 10.11.0.22: 11: Closed due to user request.

  5. #5
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,444
    Rep Power
    56

    Default

    Quote Originally Posted by PenguinWrangler View Post
    I've got the same problem on my test 5.0.4 server, however I have sshd running already.
    Disable SElinux and any firewall on this server. What error messages do you see in the Zimbra log files?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  6. #6
    PenguinWrangler is offline Junior Member
    Join Date
    Sep 2006
    Posts
    6
    Rep Power
    8

    Default mailbox.log error

    SELinux is disabled, and there are no iptables rules.

    From mailbox.log:

    2008-03-31 17:03:26,998 INFO [btpool0-9] [name=XXX@XXXXX.com;ip=10.11.6.14;ua=ZimbraWebClien t - FF2.0 (Linux);] SoapEngine - handler exception
    com.zimbra.common.service.ServiceException: system failure: exception during auth {RemoteManager: calculon.corp.XXXXX.com->zimbra@calculon.corp.XXXXX.com:22}
    ExceptionId:btpool0-9:1207008206998:f01e27d42c3e41c8
    Code:service.FAILURE
    at com.zimbra.common.service.ServiceException.FAILURE (ServiceException.java:253)
    at com.zimbra.cs.rmgmt.RemoteManager.getSession(Remot eManager.java:192)
    at com.zimbra.cs.rmgmt.RemoteManager.execute(RemoteMa nager.java:126)
    at com.zimbra.cert.GetCert.handle(GetCert.java:90)
    at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEng ine.java:391)
    at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:250)
    at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:156)
    at com.zimbra.soap.SoapServlet.doPost(SoapServlet.jav a:266)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:727)
    at com.zimbra.cs.servlet.ZimbraServlet.service(Zimbra Servlet.java:177)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:820)
    at org.mortbay.jetty.servlet.ServletHolder.handle(Ser vletHolder.java:487)
    at org.mortbay.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1093)
    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:1084)
    at org.mortbay.jetty.servlet.ServletHandler.handle(Se rvletHandler.java:360)
    at org.mortbay.jetty.security.SecurityHandler.handle( SecurityHandler.java:216)
    at org.mortbay.jetty.servlet.SessionHandler.handle(Se ssionHandler.java:181)
    at org.mortbay.jetty.handler.ContextHandler.handle(Co ntextHandler.java:716)
    at org.mortbay.jetty.webapp.WebAppContext.handle(WebA ppContext.java:406)
    at org.mortbay.jetty.handler.ContextHandlerCollection .handle(ContextHandlerCollection.java:211)
    at org.mortbay.jetty.handler.HandlerCollection.handle (HandlerCollection.java:114)
    at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha ndlerWrapper.java:139)
    at org.mortbay.jetty.handler.RewriteHandler.handle(Re writeHandler.java:176)
    at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha ndlerWrapper.java:139)
    at org.mortbay.jetty.Server.handle(Server.java:313)
    at org.mortbay.jetty.HttpConnection.handleRequest(Htt pConnection.java:506)
    at org.mortbay.jetty.HttpConnection$RequestHandler.co ntent(HttpConnection.java:844)
    at org.mortbay.jetty.HttpParser.parseNext(HttpParser. java:644)
    at org.mortbay.jetty.HttpParser.parseAvailable(HttpPa rser.java:205)
    at org.mortbay.jetty.HttpConnection.handle(HttpConnec tion.java:381)
    at org.mortbay.io.nio.SelectChannelEndPoint.run(Selec tChannelEndPoint.java:396)
    at org.mortbay.thread.BoundedThreadPool$PoolThread.ru n(BoundedThreadPool.java:442)
    Caused by: java.io.IOException: auth failed
    at com.zimbra.cs.rmgmt.RemoteManager.getSession(Remot eManager.java:185)
    ... 32 more



    Quote Originally Posted by phoenix View Post
    Disable SElinux and any firewall on this server. What error messages do you see in the Zimbra log files?

  7. #7
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    Default

    Assuming you're using the standard ssh port:
    1. Check /etc/sshd_config and be sure it's set to 22
    2. stop/start/restart sshd
    Code:
    /etc/init.d/ssh restart
    3. su - zimbra
    4. Be sure zimbra's ssh port is set to 22
    Code:
    zmprov ms server.domain.com zimbraRemoteManagementPort 22
    5. Generate new ssh keys
    Code:
    cd /opt/zimbra/bin/
    ./zmsshkeygen
    6. Deploy the keys
    Code:
    ./zmupdateauthkeys
    To test this, you can run the following command:
    ssh -vi .ssh/zimbra_identity -o strictHostKeyChecking=no zimbra@server.domain.com -p 22
    -Shouldn't prompt you for a password at this point...then check the admin console mail queues area/servers/certificates.
    If you continue to get that error please see this doc for some more ideas Mail Queue Monitoring - Zimbra :: Wiki

  8. #8
    PenguinWrangler is offline Junior Member
    Join Date
    Sep 2006
    Posts
    6
    Rep Power
    8

    Default much better

    Okay that's working a lot better now. Thanks.

  9. #9
    Atrispro is offline Partner (VAR/HSP)
    Join Date
    Apr 2008
    Location
    Gainesville, FL
    Posts
    10
    Rep Power
    7

    Thumbs up

    I had this problem as well after upgrading from 5.04 to 5.05 on RHEL 5.1 x86-64. This resolved my problem.

  10. #10
    OneLoveAmaru is offline Junior Member
    Join Date
    May 2008
    Posts
    7
    Rep Power
    7

    Default

    Thanks, I created the new keys and pushed them out like you explained. I am running Debian Etch, seems I had to log out as zimbra and then back in, in order for me to be able to ssh in with your command. If I run all your stuff, then do the ssh, it asks for a password. Logged out and back in, ran it, let me in. Thanks guys!

Page 1 of 4 123 ... LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. zmclamdctl is not running after upgrade
    By Darren in forum Installation
    Replies: 24
    Last Post: 10-10-2008, 09:10 AM
  2. zmmailboxdctl is stopped frequently..
    By tamilnandhu in forum Installation
    Replies: 13
    Last Post: 04-12-2008, 08:59 AM
  3. tomcat not running / postfix/postqueue errors
    By seravitae in forum Installation
    Replies: 7
    Last Post: 03-10-2007, 08:18 PM
  4. Error 256 on Installation
    By RuinExplorer in forum Installation
    Replies: 5
    Last Post: 10-19-2006, 09:19 AM
  5. Getting problems in FC4 while instalation
    By kitty_bhoo in forum Installation
    Replies: 13
    Last Post: 09-12-2006, 10:34 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
  •