Results 1 to 9 of 9

Thread: Migration succesful but users cannot change password

  1. #1
    Join Date
    Mar 2010
    Posts
    5
    Rep Power
    5

    Default Migration succesful but users cannot change password

    Hi, we've migrated from zimbra 5.0.12 to 6.0.6, from 32 bits to 64 bits, and from single server to multiserver. Now we have one ldap master, one ldap slave, one mailbox. The new 6.0.6 enviroment started with a fresh install. We've only migrate old mails, contacts and calendar, but all configurations was made by hand. Everything works fine, but users cannot change passwords with web client.

    When they go to preferences -> change password, it appears a browser window with url: http://xxxxx/h/changepass with this message:

    Error interno del servidor
    Ha surgido un error interno en el servidor.
    Inténtalo de nuevo más tarde.
    « Volver
    ERROR: 500

    I did tail mailbox.log -f and I found:

    2010-07-06 10:49:45,431 ERROR [btpool0-186://xxxxx/h/changepass] [] log - /zimbra/h/changepass
    java.lang.ClassFormatError: Unknown constant tag 111 in class file org/apache/jsp/h/changepass
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java :621)
    at java.security.SecureClassLoader.defineClass(Secure ClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader .java:260)
    at java.net.URLClassLoader.access$000(URLClassLoader. java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java: 195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.j ava:188)
    at org.apache.jasper.servlet.JasperLoader.findClass(J asperLoader.java:204)
    at org.apache.jasper.servlet.JasperLoader.loadClass(J asperLoader.java:190)
    at org.apache.jasper.servlet.JasperLoader.loadClass(J asperLoader.java:122)
    at org.apache.jasper.JspCompilationContext.load(JspCo mpilationContext.java:639)
    at org.apache.jasper.servlet.JspServletWrapper.getSer vlet(JspServletWrapper.java:192)
    at org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:372)
    at org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:486)
    at org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:380)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:820)
    at com.zimbra.webClient.servlet.JspServlet.service(Js pServlet.java:64)
    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 com.zimbra.webClient.filters.SetHeaderFilter.doFil ter(SetHeaderFilter.java:241)
    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 com.zimbra.webClient.filters.CharEncodingFilter.do Filter(CharEncodingFilter.java:35)
    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.he aderComplete(HttpConnection.java:924)
    at org.mortbay.jetty.HttpParser.parseNext(HttpParser. java:547)
    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:409)
    at org.mortbay.thread.BoundedThreadPool$PoolThread.ru n(BoundedThreadPool.java:451)

    I hope you can help us, thanks for reading.

  2. #2
    Join Date
    Mar 2010
    Posts
    5
    Rep Power
    5

    Default

    BTW, We are using Suse Enterprise Linux 11

  3. #3
    Join Date
    Apr 2010
    Location
    Cape Town, South Africa
    Posts
    71
    Rep Power
    5

    Default

    Please use one of the following (I used the latter):

    zmprov mcf zimbraChangePasswordURL "https://server/h/changepass"

    or

    zmprov md domain.name zimbraChangePasswordURL "https://server/h/changepass"

    You are probably running in mixed mode.

  4. #4
    Join Date
    Mar 2010
    Posts
    5
    Rep Power
    5

    Default

    Hi, thank you. I've tried both but we still with the problem. What else should I try?

    Thanks

  5. #5
    Join Date
    Apr 2010
    Location
    Cape Town, South Africa
    Posts
    71
    Rep Power
    5

  6. #6
    Join Date
    Mar 2010
    Posts
    5
    Rep Power
    5

    Default

    Hi, I would try to explain a bit more our enviroment. We have ldapmaster.domain.com, ldapreplica.domain.com and dom02.domain.com

    Dom02 is the mailbox. We have public dns and internal dns, dom02 and mail resolves both to same ip.

    If I login to zimbra using mail, and try to change password, the url is http://mail.domain.com/h/changepass

    If I login to zimbra using dom02, and try to change password, the url is http://mail.domain.com/h/changepass too.

    I've execute your suggestion with mail and with dom02, again I was no lucky

    Thank you.

  7. #7
    Join Date
    Apr 2010
    Location
    Cape Town, South Africa
    Posts
    71
    Rep Power
    5

    Default

    Are you able to log into https://mail.domain.com?

  8. #8
    Join Date
    Mar 2010
    Posts
    5
    Rep Power
    5

    Default

    Yes, but we don't have ssl, so we use http://mail.domain.com

    Thank you

  9. #9
    Join Date
    Apr 2010
    Location
    Cape Town, South Africa
    Posts
    71
    Rep Power
    5

    Default

    Hey there,

    Sorry, then I'm on the wrong path here... I thought you were running your system in "both" mode where you were using HTTP and HTTPS. I was unable to get mine to work with HTTP and therefore set my servers to be "both" mode in order to utilize the HTTPS functionality of changing passwords.

    In order to change to mixed mode, please use:
    zmtlsctl both
    zmcontrol stop
    zmcontrol start

    Then you'll need to most likely run:
    zmprov md domain.com zimbraChangePasswordURL "https://domain.com/h/changepass"

    You should then be able to log into the account and change its password (you can log into the HTTP site or HTTPS and it will redirect you to the HTTPS section of changing your password automatically).

    Hope this helps.

Similar Threads

  1. Change users password
    By BarBaar in forum Administrators
    Replies: 8
    Last Post: 01-13-2010, 07:27 AM
  2. Replies: 4
    Last Post: 01-06-2010, 06:01 AM
  3. ZCS 6 + Samba - password change issues
    By tslosek in forum Administrators
    Replies: 2
    Last Post: 11-25-2009, 06:28 AM
  4. Replies: 4
    Last Post: 02-10-2009, 04:30 AM
  5. Replies: 7
    Last Post: 09-29-2006, 10:07 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
  •