Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21

Thread: Login page appears, can't login - Gentoo

  1. #11
    fak3r is offline Intermediate Member
    Join Date
    Oct 2005
    Location
    Saint Louis, MO
    Posts
    16
    Rep Power
    9

    Default

    Quote Originally Posted by KevinH
    For mailbox I think I borked the command. It should be:

    zmcertinstall mailbox /opt/zimbra/ssl/ssl/server/server.crt /opt/zimbra/ssl/ssl/ca/ca.key
    Code:
    zimbra@jorge bin $zmcertinstall mailbox /opt/zimbra/ssl/ssl/server/server.crt /opt/zimbra/ssl/ssl/ca/ca.key
    ** Importing server cert
    
    keytool error: java.lang.Exception: Failed to establish chain from reply
    zimbra@jorge bin $
    Having fun yet?

    fak3r

  2. #12
    KevinH's Avatar
    KevinH is offline Expert Member
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    18

    Default

    Quote Originally Posted by fak3r
    Having fun yet?
    Of course!

    We've seen that under certain installs too. Can you try starting up Zimbra now? And check the result in catilina.out?
    Last edited by KevinH; 10-11-2005 at 11:35 AM.

  3. #13
    fak3r is offline Intermediate Member
    Join Date
    Oct 2005
    Location
    Saint Louis, MO
    Posts
    16
    Rep Power
    9

    Default

    Aha, looks clean:

    Code:
    jorge logs # cat catalina.out
    Oct 11, 2005 1:40:41 PM org.apache.coyote.http11.Http11Protocol init
    INFO: Initializing Coyote HTTP/1.1 on http-7070
    Oct 11, 2005 1:40:43 PM org.apache.coyote.http11.Http11Protocol init
    INFO: Initializing Coyote HTTP/1.1 on http-7443
    Oct 11, 2005 1:40:43 PM org.apache.coyote.http11.Http11Protocol init
    INFO: Initializing Coyote HTTP/1.1 on http-7071
    Oct 11, 2005 1:40:43 PM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 4376 ms
    Oct 11, 2005 1:40:43 PM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    Oct 11, 2005 1:40:43 PM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.5.7
    Oct 11, 2005 1:40:43 PM org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    Oct 11, 2005 1:40:45 PM org.apache.catalina.startup.HostConfig deployWAR
    INFO: Deploying web application archive service.war
    log4j:WARN No appenders could be found for logger (org.apache.catalina.session.ManagerBase).
    log4j:WARN Please initialize the log4j system properly.
    Oct 11, 2005 1:40:47 PM org.apache.catalina.startup.HostConfig deployWAR
    INFO: Deploying web application archive zimbra.war
    Oct 11, 2005 1:40:48 PM org.apache.catalina.core.ApplicationContext log
    INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
    Oct 11, 2005 1:40:48 PM org.apache.coyote.http11.Http11Protocol start
    INFO: Starting Coyote HTTP/1.1 on http-7070
    Oct 11, 2005 1:40:48 PM org.apache.coyote.http11.Http11Protocol start
    INFO: Starting Coyote HTTP/1.1 on http-7443
    Oct 11, 2005 1:40:48 PM org.apache.tomcat.util.threads.ThreadPool adjustLimits
    WARNING: maxThreads setting (5) too low, set to 10
    Oct 11, 2005 1:40:49 PM org.apache.coyote.http11.Http11Protocol start
    INFO: Starting Coyote HTTP/1.1 on http-7071
    Oct 11, 2005 1:40:49 PM org.apache.jk.common.ChannelSocket init
    INFO: JK2: ajp13 listening on /0.0.0.0:8009
    Oct 11, 2005 1:40:49 PM org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/76  config=null
    Oct 11, 2005 1:40:49 PM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 6246 ms
    jorge logs #
    But when I refresh my login screen and enter 'user1 test123' (that's the default login, yes?) I still get the same error:

    Code:
    An unknown application error has occurred. Please correct any errors and retry. If the problem persists, please contact your System Aministrator. (INVALID_PDU)
    Thought I'd try a fresh

    Code:
    cd /opt/zimbra/bin; ./zimbra stop; ./zimbra start
    I didn't see anything funny in my zimbra/logs dir, so I hit syslog output:

    Code:
    Oct 11 13:44:29 [su(pam_unix)] session opened for user zimbra by (uid=1027)
    zimbramon[28129]: [28129] info: STOPPING services_
    zimbramon[28135]: [28135] crit: Shutdown request received_
    zimbramon[27716]: [27716] info: STOPPING services_
    zimbramon[27716]: [27716] crit: Shutting down_
    zimbramon[27716]: [27716] info: SIGINT - kill children_
    Oct 11 13:44:31 [su(pam_unix)] session closed for user zimbra
    Oct 11 13:44:36 [su(pam_unix)] session opened for user zimbra by (uid=1027)
    zimbramon[28142]: [28142] info: Starting services_
    zimbramon[28142]: [28142] info: STARTING ldap_
    zimbramon[28142]: [28142] info: start service ldap_
    zimbramon[28142]: [28142] info: STARTING services_
    zimbramon[28142]: [28142] info: Doing startup_
    zimbramon[28151]: [28151] info: Zimbra Monitor startup: 28151_
    zimbramon[28151]: [28151] info: Process 27716 not found - removing /opt/zimbra/zimbramon/FIFO/zm.pid_
    zimbramon[28151]: [28151] err: Can't resolve host _
    zimbramon[28155]: [28155] info: Status monitor startup_
    zimbramon[28156]: [28156] info: Creating soap server on port 7777_
    Oct 11 13:44:46 [su(pam_unix)] session closed for user zimbra
    But still the same problem/error on login.

    fak3r

  4. #14
    KevinH's Avatar
    KevinH is offline Expert Member
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    18

    Default

    user1/test123 is only the default on a developer install where we create the dummy users. Did you run reset-the-world ant target? Sorry but I forget how exactly you got here.

    Anyways if you add ?debug=1 to the end of your URL this will pop a debug window for the webapp as you login and may give us some more details.

  5. #15
    fak3r is offline Intermediate Member
    Join Date
    Oct 2005
    Location
    Saint Louis, MO
    Posts
    16
    Rep Power
    9

    Default

    Quote Originally Posted by KevinH
    user1/test123 is only the default on a developer install where we create the dummy users. Did you run reset-the-world ant target?
    No, where do I run that?

    Quote Originally Posted by KevinH
    Sorry but I forget how exactly you got here.
    That makes two of us!

    Quote Originally Posted by KevinH
    uAnyways if you add ?debug=1 to the end of your URL this will pop a debug window for the webapp as you login and may give us some more details.
    Will try this once I do the reset-the-world thing. Does that create my user then, or is another step?

    Thanks Kevin.

    fak3r

  6. #16
    KevinH's Avatar
    KevinH is offline Expert Member
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    18

    Default

    Ok try this(from the good 'ol blog entry):

    - In order to blow away all mailboxes, and create some new ones (think
    of it as make clean), you can perform these steps:

    $ cd ~/zcs-src/ZimbraServer
    $ ant reset-the-world
    $ cd ~/zcs-src/ZimbraWebClient
    $ ant prod-deploy



    These will re-init Zimbra and give you a fresh deploy of the webapp. Notice I use prod-deploy(rather than deploy) here since it will do the gzip of the Javascript files so that will load faster.

  7. #17
    rodrigoccurvo is offline Active Member
    Join Date
    Sep 2005
    Posts
    41
    Rep Power
    9

    Default

    This error happened to me when dev-installing. I found out that it was because the Soap Servlet was not deployed. I just built and deployed it (can't remember the rule I used) and everything was solved. I guess you can see the error at the debugger window.

  8. #18
    fak3r is offline Intermediate Member
    Join Date
    Oct 2005
    Location
    Saint Louis, MO
    Posts
    16
    Rep Power
    9

    Default

    Quote Originally Posted by KevinH
    $ cd ~/zcs-src/ZimbraServer
    $ ant reset-the-world
    $ cd ~/zcs-src/ZimbraWebClient
    $ ant prod-deploy
    These will re-init Zimbra and give you a fresh deploy of the webapp. Notice I use prod-deploy(rather than deploy) here since it will do the gzip of the Javascript files so that will load faster.
    I had to


    Code:
    chown -R zimbra:zimbra ~/zcs/ZimbraServer

    to get it working, but it fails later - apparently ldap isn't working:


    Code:
    zimbra@jorge /root/zcs-src/ZimbraServer $ ant reset-the-world
    Buildfile: build.xml
    
    build-init:
    
    compile:
         [echo] Hostname: jorge
    
    generate-buildinfo:
        [javac] Compiling 1 source file to /root/zcs-src/ZimbraServer/build/classes
    
    jar:
          [jar] Building jar: /root/zcs-src/ZimbraServer/build/dist/lib/zimbrastore.jar
    
    stop-servers-windows:
    
    stop-servers-unix:
         [exec] slapd not running
         [exec] Result: 1
         [exec] Using CATALINA_BASE:   /opt/zimbra/tomcat
         [exec] Using CATALINA_HOME:   /opt/zimbra/tomcat
         [exec] Using CATALINA_TMPDIR: /opt/zimbra/tomcat/temp
         [exec] Using JRE_HOME:       /opt/zimbra/java
         [exec] Waiting . shutdown ok
    
    stop-servers:
    
    db-init:
          [sql] Executing file: /root/zcs-src/ZimbraServer/src/db/dropdb.sql
          [sql] 101 of 101 SQL statements executed successfully
          [sql] Executing file: /root/zcs-src/ZimbraServer/src/db/db.sql
          [sql] 27 of 27 SQL statements executed successfully
          [sql] Executing file: /root/zcs-src/ZimbraServer/build/versions-init.sql
          [sql] 3 of 3 SQL statements executed successfully
    
    dir-init:
         [echo] If the following deletes fail, wait for your tomcat
         [echo] to stop (or stop your tomcat as the case may be)
         [echo] and try again later.
       [delete] Deleting directory /opt/zimbra/store
       [delete] Deleting directory /opt/zimbra/index
       [delete] Deleting 3 files from /opt/zimbra/log
       [delete] Deleting 5 files from /opt/zimbra/tomcat/logs
        [mkdir] Created dir: /opt/zimbra/store
        [mkdir] Created dir: /opt/zimbra/index
        [mkdir] Created dir: /opt/zimbra/redolog
        [mkdir] Created dir: /opt/zimbra/redolog/archive
        [mkdir] Created dir: /opt/zimbra/repl
        [mkdir] Created dir: /opt/zimbra/backup
         [copy] Copying 29 files to /opt/zimbra/db
    
    quick-init:
    
    ldap-init:
         [copy] Copying 1 file to /opt/zimbra/conf
         [copy] Copying 1 file to /opt/zimbra/openldap/etc/openldap/schema
         [copy] Copying 1 file to /opt/zimbra/openldap/etc/openldap/schema
       [delete] Deleting directory /opt/zimbra/openldap/var/openldap-data
        [mkdir] Created dir: /opt/zimbra/openldap/var/openldap-data
    
    localhost-ssl-cert:
       [delete] Deleting 1 files from /opt/zimbra/tomcat/conf
       [genkey] Generating Key for tomcat
       [genkey] Generating Key for tomcat-dsa
    
    tomcat-init-unix:
         [copy] Copying 3 files to /opt/zimbra/bin
    
    tomcat-init:
         [copy] Copying 1 file to /opt/zimbra/tomcat/common/lib
         [copy] Copying 1 file to /opt/zimbra/tomcat/common/lib
         [copy] Copying 1 file to /opt/zimbra/tomcat/common/lib
         [copy] Copying 1 file to /opt/zimbra/tomcat/common/endorsed
         [copy] Copying 1 file to /opt/zimbra/lib
    
    start-ldap-windows:
    
    start-ldap-unix:
         [exec] Started slapd: pid
    
    start-ldap:
    
    ldap-load-step1:
         [exec] ldap_bind: Can't contact LDAP server (-1)
         [exec] Result: 1
         [echo] Editing localconfig zimbra_server_hostname to be jorge
         [echo] Provisioning server entry for jorge
         [java] ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException localhost:389)
    
    BUILD FAILED
    /root/zcs-src/ZimbraServer/build.xml:494: Java returned: 2
    
    Total time: 42 seconds
    zimbra@jorge /root/zcs-src/ZimbraServer $

    So ldap is failing to kick off, I think that's the issue. I manually went over and tried to start it, but it doesn't seem to be starting, or logging why it's not:


    Code:
    zimbra@jorge /opt/zimbra/bin $ ./ldap start; cat ../log/*
    db_recover: Finding last valid log LSN: file: 1 offset 28
    Started slapd: pid
    cat: ../log/*: No such file or directory
    zimbra@jorge /opt/zimbra/bin $ ./ldap stop
    slapd not running
    zimbra@jorge /opt/zimbra/bin $ cat ../log/*
    cat: ../log/*: No such file or directory
    zimbra@jorge /opt/zimbra/bin $

    How can I debug ldap then? Thanks again.

    UPDATE: when I try to login, I now get this error:

    Code:
    An unknown application error has occurred. Please correct any errors and retry. If the problem persists, please contact your System Aministrator. (AjxException.UNKNOWN_ERROR)
    fak3r
    Last edited by fak3r; 10-12-2005 at 01:25 PM.

  9. #19
    KevinH's Avatar
    KevinH is offline Expert Member
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    18

    Default How to debug ldap.

    Quote Originally Posted by fak3r
    How can I debug ldap then?
    Try:

    /opt/zimbra/openldap/libexec/slapd -d 10 -4 -u zimbra -h ldap://:7389/ -f /opt/zimbra/conf/slapd.conf

  10. #20
    fak3r is offline Intermediate Member
    Join Date
    Oct 2005
    Location
    Saint Louis, MO
    Posts
    16
    Rep Power
    9

    Default

    This tells me some stuff, but I don't know how to fix it so Ldap will run:

    Code:
    zimbra@jorge ~ $ /opt/zimbra/openldap/libexec/slapd -d 10 -4 -u zimbra -h ldap://:7389/ -f /opt/zimbra/conf/slapd.conf
    @(#) $OpenLDAP: slapd 2.2.26 (Aug 17 2005 00:15:16) $
            marcmac@depot.liquidsys.com:/space/home/marcmac/p4/main/ThirdParty/openldap/openldap-2.2.26/servers/slapd
    bdb_db_init: Initializing BDB database
    bdb(): unable to initialize mutex: Function not implemented
    bdb(): /opt/zimbra/openldap/var/openldap-data/__db.001: unable to initialize environment lock: Function not implemented
    bdb_db_open: dbenv_open failed: Function not implemented (38)
    backend_startup: bi_db_open failed! (38)
    bdb(): DB_ENV->lock_id_free interface requires an environment configured for the locking subsystem
    bdb(): txn_checkpoint interface requires an environment configured for the transaction subsystem
    bdb_db_destroy: txn_checkpoint failed: Invalid argument (22)
    slapd stopped.
    connections_destroy: nothing to destroy.

Page 2 of 3 FirstFirst 123 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Login Page Skins
    By mryan in forum Installation
    Replies: 8
    Last Post: 05-13-2008, 12:08 AM
  2. Changing login page
    By bibo in forum Administrators
    Replies: 3
    Last Post: 08-02-2007, 04:11 PM
  3. Login page blank. Refresh fixes
    By sel5150 in forum Administrators
    Replies: 4
    Last Post: 03-13-2007, 10:55 AM
  4. invalid login page
    By riegersteve in forum Developers
    Replies: 0
    Last Post: 10-05-2006, 12:47 AM
  5. Zimbra login page won't load
    By andreturpin in forum Administrators
    Replies: 1
    Last Post: 06-15-2006, 07:56 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
  •