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
  #11 (permalink)  
Old 05-06-2007, 09:33 AM
Advanced Member
 
Posts: 215
Default

Quote:
Originally Posted by jholder View Post
That's an exception during auth, not a cannot connect.

Take a look at the /opt/zimbra/log/mailbox.log for a longer error.
The stack trace will give more info.
Thanks! Here's what it's showing

Code:
 
2007-05-06 09:27:41,687 ERROR [{RemoteManager: mail.bangtherockstogether.net->zimbra@mail.bangtherockstogether.net:22}-zmqstat deferred] [] rmgmt - error when scanning mail queue deferred on host mail.bangtherockstogether.net
com.zimbra.common.service.ServiceException: system failure: exception during auth {RemoteManager: mail.bangtherockstogether.net->zimbra@mail.bangtherockstogether.net:22}
        at com.zimbra.common.service.ServiceException.FAILURE(ServiceException.java:175)
        at com.zimbra.cs.rmgmt.RemoteManager.getSession(RemoteManager.java:197)
        at com.zimbra.cs.rmgmt.RemoteManager.executeBackground0(RemoteManager.java:98)
        at com.zimbra.cs.rmgmt.RemoteManager.access$000(RemoteManager.java:45)
        at com.zimbra.cs.rmgmt.RemoteManager$1.run(RemoteManager.java:121)
        at java.lang.Thread.run(Thread.java:595)
Caused by: java.io.IOException: auth failed
        at com.zimbra.cs.rmgmt.RemoteManager.getSession(RemoteManager.java:190)
        ... 4 more
2007-05-06 09:27:41,693 INFO  [http-7071-Processor48] [ua=ZimbraWebClient - FF2.0 (Linux)/undefined;ip=24.89.80.126;name=admin@bangtherockstogether.net;] SoapEngine - handler exception
com.zimbra.common.service.ServiceException: system failure: exception during auth {RemoteManager: mail.bangtherockstogether.net->zimbra@mail.bangtherockstogether.net:22}
        at com.zimbra.common.service.ServiceException.FAILURE(ServiceException.java:175)
        at com.zimbra.cs.rmgmt.RemoteManager.getSession(RemoteManager.java:197)
        at com.zimbra.cs.rmgmt.RemoteManager.execute(RemoteManager.java:134)
        at com.zimbra.cs.service.admin.GetMailQueueInfo.handle(GetMailQueueInfo.java:56)
        at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEngine.java:270)
        at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:168)
        at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:90)
        at com.zimbra.soap.SoapServlet.doPost(SoapServlet.java:223)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
        at com.zimbra.cs.servlet.ZimbraServlet.service(ZimbraServlet.java:162)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at org.apache.catalina.core.StandardContextValve.invoke(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.invoke(StandardEngineValve.java:107)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
        at java.lang.Thread.run(Thread.java:595)
Caused by: java.io.IOException: auth failed
        at com.zimbra.cs.rmgmt.RemoteManager.getSession(RemoteManager.java:190)
        ... 24 more
So I guess the important portion is the error scanning deffered? Not sure exactly what I'm looking for but I have checked permissions for any spooling below deferred:

Code:
# ls -l /opt/zimbra/postfix-2.2.9/spool/deferred
total 12
drwx------ 2 postfix postfix 4096 May  4 04:39 6
drwx------ 2 postfix postfix 4096 Apr 19 07:31 8
drwx------ 2 postfix postfix 4096 Apr 25 08:11 9
Code:
# ls -la /opt/zimbra/postfix-2.2.9/spool/deferred/*/
/opt/zimbra/postfix-2.2.9/spool/deferred/6/:
total 8
drwx------ 2 postfix postfix 4096 May  4 04:39 .
drwx------ 5 postfix postfix 4096 May  4 04:06 ..

/opt/zimbra/postfix-2.2.9/spool/deferred/8/:
total 8
drwx------ 2 postfix postfix 4096 Apr 19 07:31 .
drwx------ 5 postfix postfix 4096 May  4 04:06 ..

/opt/zimbra/postfix-2.2.9/spool/deferred/9/:
total 8
drwx------ 2 postfix postfix 4096 Apr 25 08:11 .
drwx------ 5 postfix postfix 4096 May  4 04:06 ..
I'm guessing there's something a lot more substantial I'm missing I'll keep poking but suggestions are always welcome

Thanks everyone!!

regards,
Lonny
Reply With Quote
  #12 (permalink)  
Old 05-06-2007, 11:59 AM
Former Zimbran
 
Posts: 5,606
Default

Hey lonny,
This page will help walk you through fixing your problem.

http://wiki.zimbra.com/index.php?tit...eue_Monitoring

Good luck!

john
Reply With Quote
  #13 (permalink)  
Old 05-06-2007, 10:22 PM
Advanced Member
 
Posts: 215
Default

John,

Thanks for the link!! ... that definitely sounds like what's going on. The problem still persists though ... I recreated the keys and ran the updateauthkeys and when trying to run the test I still get prompted for a password. I've tried 4 times now including moving the old .ssh directory and having everything created from scratch.

On the page it says you should NOT be required to provide a password and if you are then try rerunning everything ... it mentioned nothing about if it continues to request a password no matter what

Any other thoughts?

Thanks again!!
Regards,
Lonny
Reply With Quote
  #14 (permalink)  
Old 05-08-2007, 10:19 AM
Advanced Member
 
Posts: 215
Default

Any new insight? ... I tried restarting everything after i created the keys as well ... still to no avail :/
Reply With Quote
  #15 (permalink)  
Old 05-08-2007, 10:33 AM
Advanced Member
 
Posts: 215
Default

Ok I finally checked out my secure log (doh) ... can someone paste what their ownership and permissions are for /opt/zimbra?

Here's the error:
Code:
May  8 10:28:55 phantom2 sshd[32358]: Authentication refused: bad ownership or modes for directory /opt/zimbra
May  8 10:28:55 phantom2 sshd[32360]: Received disconnect from 24.89.80.142: 11: Closed due to user request.
I remember playing around with permissions when I was automating and coding my backup _stuff_ apparently I botched something with it


Here's the current permissions:

Code:
# ls -ld /opt/zimbra && ls -ld /opt
drwxrwx--- 41 root zimbra 4096 May  6 22:23 /opt/zimbra
drwxr-xr-x 4 root root 4096 Apr 17 07:56 /opt
Anyone know what they should be? thanks!!

Lonny
Reply With Quote
  #16 (permalink)  
Old 05-08-2007, 10:34 AM
Former Zimbran
 
Posts: 5,606
Default

Can you try to do the "Verifying sshd configuration"
In the wiki and post your output?

Make sure you add:
-v -v -v
To the command line.

Thanks
john
Reply With Quote
  #17 (permalink)  
Old 05-08-2007, 10:35 AM
Former Zimbran
 
Posts: 5,606
Default

ah
okay
Stop Zimbra and run the zmfixperms script located in /opt/zimbra/libexec
Reply With Quote
  #18 (permalink)  
Old 05-08-2007, 10:43 AM
Advanced Member
 
Posts: 215
Default

Quote:
Originally Posted by jholder View Post
ah
okay
Stop Zimbra and run the zmfixperms script located in /opt/zimbra/libexec
All is right in the world again .... it was late when I was hacking together my pre and post scripts for backing up and I remember it failing due to permissions.

Thanks for all the help (and patience)!!

Regards,
Lonny (now that my backups are working looks like it's time to upgrade )
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.