Fixed: LDAP Issues

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
mhammett
Advanced member
Advanced member
Posts: 100
Joined: Sat Jul 19, 2014 7:07 am
ZCS/ZD Version: Release 8.6.0.GA.1153.UBUNTU14.64 U

Fixed: LDAP Issues

Postby mhammett » Mon Jan 15, 2018 10:16 pm

zmcontrol -v
Release 8.6.0.GA.1153.UBUNTU14.64 UBUNTU14_64 FOSS edition.



I had a strange power issue that I'm still trying to figure out. I had a couple Zimbra VMs go down.


Code: Select all

root@Zimbra8-LDAP1:/home/mhammett# service zimbra start
Host zimbra8-ldap1.ics-il.net
        Starting ldap...Done.
Failed.
sudo: no tty present and no askpass program specified
sudo: no tty present and no askpass program specified
sudo: no tty present and no askpass program specified
sudo: no tty present and no askpass program specified
sudo: no tty present and no askpass program specified
sudo: no tty present and no askpass program specified
sudo: no tty present and no askpass program specified
Failed to start slapd.  Attempting debug start to determine error.





I tried running

Code: Select all

/opt/zimbra/libexec/zmslapd -l LOCAL0 -4 -u zimbra -h ldap://Zimbra8-LDAP1.ics-il.net:389 -F /opt/zimbra/data/ldap/config -d -1

but I got an instant text wall that I can't figure out how to paginate.

I drop the debug and it silently executes and everything seems to then work. Well, "work" as LDAP was executed outside of the normal Zimbra process, nothing else Zimbra-related is working.

Some time I'll have to figure out why no one is talking to my second LDAP server.


mhammett
Advanced member
Advanced member
Posts: 100
Joined: Sat Jul 19, 2014 7:07 am
ZCS/ZD Version: Release 8.6.0.GA.1153.UBUNTU14.64 U

Re: Fixed: LDAP Issues

Postby mhammett » Mon Jan 15, 2018 11:54 pm

Okay, so despite not getting the exact same errors as others I came across, it did end up being a sudoers issue.

https://wiki.zimbra.com/wiki/Zimbra_ser ... oers_issue


I added those in and it moved on to the next stage of problems.

Code: Select all

Can't kill a non-numeric process ID at /opt/zimbra/bin/zmstatctl line 209.



That was fixed by renaming all of the PIDs per: viewtopic.php?t=54507.

Code: Select all

cd /opt/zimbra/zmstat/pid/
find . -type f -exec mv '{}' '{}'.old \;


TADAAAAAA!!!!

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 15 guests