Login page appears, can't login - Gentoo
Login page appears, can't login - Gentoo
[quote user="14319KevinH"]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[/QUOTE]
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
zmcertinstall mailbox /opt/zimbra/ssl/ssl/server/server.crt /opt/zimbra/ssl/ssl/ca/ca.key[/QUOTE]
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
-
- Ambassador
- Posts: 4558
- Joined: Fri Sep 12, 2014 9:52 pm
Login page appears, can't login - Gentoo
[quote user="fak3r"]Having fun yet? [/QUOTE]
Of course!
We've seen that under certain installs too. Can you try starting up Zimbra now? And check the result in catilina.out?
Of course!
We've seen that under certain installs too. Can you try starting up Zimbra now? And check the result in catilina.out?
Login page appears, can't login - Gentoo
Aha, looks clean:
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:
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
cd /opt/zimbra/bin; ./zimbra stop; ./zimbra start
I didn't see anything funny in my zimbra/logs dir, so I hit syslog output:
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
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:
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
cd /opt/zimbra/bin; ./zimbra stop; ./zimbra start
I didn't see anything funny in my zimbra/logs dir, so I hit syslog output:
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
-
- Ambassador
- Posts: 4558
- Joined: Fri Sep 12, 2014 9:52 pm
Login page appears, can't login - Gentoo
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.
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.
Login page appears, can't login - Gentoo
[quote user="14319KevinH"]user1/test123 is only the default on a developer install where we create the dummy users. Did you run reset-the-world ant target?[/QUOTE]
No, where do I run that?
[quote user="14319KevinH"]Sorry but I forget how exactly you got here.[/QUOTE]
That makes two of us!
[quote user="14319KevinH"]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.[/QUOTE]
Will try this once I do the reset-the-world thing. Does that create my user then, or is another step?
Thanks Kevin.
fak3r
No, where do I run that?
[quote user="14319KevinH"]Sorry but I forget how exactly you got here.[/QUOTE]
That makes two of us!
[quote user="14319KevinH"]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.[/QUOTE]
Will try this once I do the reset-the-world thing. Does that create my user then, or is another step?
Thanks Kevin.
fak3r
-
- Ambassador
- Posts: 4558
- Joined: Fri Sep 12, 2014 9:52 pm
Login page appears, can't login - Gentoo
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.
- 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.
-
- Posts: 40
- Joined: Fri Sep 12, 2014 9:55 pm
Login page appears, can't login - Gentoo
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.
Login page appears, can't login - Gentoo
[quote user="14319KevinH"]
$ 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.[/QUOTE]
I had to
chown -R zimbra:zimbra ~/zcs/ZimbraServer
to get it working, but it fails later - apparently ldap isn't working:
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:
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:
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
$ 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.[/QUOTE]
I had to
chown -R zimbra:zimbra ~/zcs/ZimbraServer
to get it working, but it fails later - apparently ldap isn't working:
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:
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:
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
-
- Ambassador
- Posts: 4558
- Joined: Fri Sep 12, 2014 9:52 pm
Login page appears, can't login - Gentoo
[quote user="fak3r"] How can I debug ldap then?[/QUOTE]
Try:
/opt/zimbra/openldap/libexec/slapd -d 10 -4 -u zimbra -h ldap://:7389/ -f /opt/zimbra/conf/slapd.conf
Try:
/opt/zimbra/openldap/libexec/slapd -d 10 -4 -u zimbra -h ldap://:7389/ -f /opt/zimbra/conf/slapd.conf
Login page appears, can't login - Gentoo
This tells me some stuff, but I don't know how to fix it so Ldap will run:
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.
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.