View Single Post
  #5 (permalink)  
Old 03-08-2006, 01:10 PM
dccpark dccpark is offline
New Member
 
Posts: 3
Default

Okay, so I took a look at that link and ran the following commands:

[root@test tmp]# ps auxww | grep zimbra | grep slapd
zimbra 22925 0.0 0.9 55324 2428 ? Ssl 12:43 0:00 /opt/zimbra/openldap/libexec/slapd -l LOCAL0 -4 -u zimbra -h ldaps:// ldap://:389/ -f /opt/zimbra/conf/slapd.conf
[root@test tmp]# su - zimbra
[zimbra@test ~]$ ldap status
slapd running pid: 22925

So, the wiki doesn't really say what to do if ldap status actually returns something. So, I pretended that I didn't see a pid and instead just pkilled the process and tried the following:

[zimbra@test ~]$ sh -x bin/ldap start
+ PID=
+ PIDFILE=/opt/zimbra/openldap/var/run/slapd.pid
+ mkdir -p /opt/zimbra/openldap/var/run/
+ case "$1" in
+ start
+ checkrunning
+ getpid
+ '[' -f /opt/zimbra/openldap/var/run/slapd.pid ']'
+ '[' x = x ']'
+ RUNNING=0
+ '[' 0 = 0 ']'
+ '[' -x /opt/zimbra/sleepycat/bin/db_recover ']'
+ /opt/zimbra/sleepycat/bin/db_recover -h /opt/zimbra/openldap-data -v
db_recover: Finding last valid log LSN: file: 1 offset 902288
db_recover: Recovery starting from [1][902147]
db_recover: Recovery complete at Wed Mar 8 15:05:33 2006
db_recover: Maximum transaction ID 800000c1 Recovery checkpoint [1][902288]
+ sudo /opt/zimbra/openldap/libexec/slapd -l LOCAL0 -4 -u zimbra -h 'ldaps:// ldap://:389/' -f /opt/zimbra/conf/slapd.conf
+ sleep 2
+ getpid
+ '[' -f /opt/zimbra/openldap/var/run/slapd.pid ']'
++ cat /opt/zimbra/openldap/var/run/slapd.pid
+ PID=1739
+ '[' x1739 = x ']'
+ echo 'Started slapd: pid 1739'
Started slapd: pid 1739

----

So...that started. I killed the pid again and tried (as zimbra user) zmcontrol start, and got:

[zimbra@test ~]$ zmcontrol start
Host test.davisny.edu
Starting ldap...Done.

But still can't get to the admin interface listed in the quick start install guide. It tells me the connection is refused. Any additional logs I can post? Any other ideas of what I should try?
Reply With Quote