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-11-2010, 06:25 AM
imx imx is offline
Special Member
 
Posts: 131
Default zimbra 6.0.8 FOSS - Ubuntu 10.04 LTS - LDAP errors

Seeing the below errors, quite frequently now - didnt do for the first few days the box was up! I have to restart Zimbra to get things working again

Running Zimbra 6.0.8 FOSS 64bit - Ubuntu 10.04 LTS - Anyone any thoughts? Ive tried the zmfixperms extended in case that was anything!

Anyone else seeing this?

Cheers,

iMx

Quote:
com.zimbra.common.service.ServiceException: system failure: ZimbraLdapContext
ExceptionId:btpool0-14://e.xxxxx.net:7071/service/admin/soap/ModifyCosRequest:1286803324801:b68edc1da7fcf35d
Code:service.FAILURE
at com.zimbra.common.service.ServiceException.FAILURE (ServiceException.java:248)
at com.zimbra.cs.account.ldap.ZimbraLdapContext.<init >(ZimbraLdapContext.java:416)
at com.zimbra.cs.account.ldap.ZimbraLdapContext.<init >(ZimbraLdapContext.java:373)
at com.zimbra.cs.account.ldap.LdapProvisioning.modify AttrsInternal(LdapProvisioning.java:337)
at com.zimbra.cs.account.ldap.LdapProvisioning.modify Attrs(LdapProvisioning.java:316)
at com.zimbra.cs.account.ldap.LdapProvisioning.modify Attrs(LdapProvisioning.java:297)
at com.zimbra.cs.service.admin.ModifyCos.handle(Modif yCos.java:56)
at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEng ine.java:420)
at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:274)
at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:158)
at com.zimbra.soap.SoapServlet.doWork(SoapServlet.jav a:291)
at com.zimbra.soap.SoapServlet.doPost(SoapServlet.jav a:212)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:727)
at com.zimbra.cs.servlet.ZimbraServlet.service(Zimbra Servlet.java:181)
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:216)
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:418)
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:939)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser. java:755)
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:413)
at org.mortbay.thread.BoundedThreadPool$PoolThread.ru n(BoundedThreadPool.java:451)
Caused by: javax.naming.CommunicationException: Bad file descriptor [Root exception is java.net.SocketException: Bad file descriptor]
at com.sun.jndi.ldap.LdapCtx.extendedOperation(LdapCt x.java:3213)
at javax.naming.ldap.InitialLdapContext.extendedOpera tion(InitialLdapContext.java:164)
at com.zimbra.cs.account.ldap.ZimbraLdapContext.<init >(ZimbraLdapContext.java:406)
... 40 more
Caused by: java.net.SocketException: Bad file descriptor
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutp utStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStre am.java:136)
at java.io.BufferedOutputStream.flushBuffer(BufferedO utputStream.java:65)
at java.io.BufferedOutputStream.flush(BufferedOutputS tream.java:123)
at com.sun.jndi.ldap.Connection.writeRequest(Connecti on.java:396)
at com.sun.jndi.ldap.LdapClient.extendedOp(LdapClient .java:1172)
at com.sun.jndi.ldap.LdapCtx.extendedOperation(LdapCt x.java:3160)
... 42 more
Reply With Quote
  #2 (permalink)  
Old 10-11-2010, 06:28 AM
imx imx is offline
Special Member
 
Posts: 131
Default

Soap Exceptions on 6.0.8_GA_2661.UBUNTU10_64

Just seen this thread...will read....
Reply With Quote
  #3 (permalink)  
Old 10-11-2010, 12:36 PM
imx imx is offline
Special Member
 
Posts: 131
Default

Ok read the posts...checked the bug....no fix :/ Anyone any ideas?
Reply With Quote
  #4 (permalink)  
Old 10-12-2010, 06:12 AM
Intermediate Member
 
Posts: 22
Default

Have you looked at this?

Bug 42870 &ndash; "Bad file descriptor" SocketException causes system failure every several hours

Post 81 has a fix for the bad file descriptor errors I was receiving. Worked for me and has been working fine since.
Reply With Quote
  #5 (permalink)  
Old 10-12-2010, 08:59 AM
imx imx is offline
Special Member
 
Posts: 131
Default

Nicely spotted BCamp, will take a look
Reply With Quote
  #6 (permalink)  
Old 10-12-2010, 09:08 AM
imx imx is offline
Special Member
 
Posts: 131
Default

Certainly improved if not fixed for me...... will update further tomorrow if its not; am ashamed i didnt spot this earlier
Reply With Quote
  #7 (permalink)  
Old 10-12-2010, 09:40 AM
Intermediate Member
 
Posts: 22
Default

I hope that clears it up for you. Best of luck!
Reply With Quote
  #8 (permalink)  
Old 10-21-2010, 03:07 PM
Active Member
 
Posts: 28
Default

My Zimbra installation has in /etc/security/limits.conf already two entries, but Post 81 says they should be 'root' and in my limits.conf they are 'zimbra'. Should I change them to root? I think not...?

UPDATE: apparently, one has to add these two lines mentioned in post 81 to the file. So my /etc/security/limits.conf now reads:

# End of file
zimbra soft nofile 524288
zimbra hard nofile 524288

# Bug 42870 &ndash; "Bad file descriptor" SocketException causes system failure every several hours
root soft nofile 524288
root hard nofile 524288

The two lines starting with 'zimbra' where already there, the two lines starting with 'root' where added.

Last edited by acesuares; 10-22-2010 at 03:25 AM..
Reply With Quote
  #9 (permalink)  
Old 10-23-2010, 05:22 AM
Junior Member
 
Posts: 5
Default

I installed Zimbra 6.0.8 on Ubuntu 10.04 and am having the same problem, the system after a few hours can not do ldap authentication in, forcing the server to be restarted.

I'm thinking of putting ubuntu 8 and install zimbra 6.0.4, does so, the problem is solved?

Last edited by geovanni; 10-23-2010 at 05:32 AM..
Reply With Quote
  #10 (permalink)  
Old 10-23-2010, 05:35 AM
Active Member
 
Posts: 28
Default

Geovanni, with the solution described in 'Post 81', the problem is solved, I have been running 30 hours now without the error.
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.