Error zimbra Instalation Can't locate Net/LDAP.pm in @INC

Ask questions about your setup or get help installing ZCS server (ZD section below).
Post Reply
dhenandi
Posts: 3
Joined: Fri Sep 04, 2015 12:17 pm

Error zimbra Instalation Can't locate Net/LDAP.pm in @INC

Post by dhenandi »

Hi,
Good Night from indonesia.
I have a problem when installing zimbra, when i install zimbra via SSH, I forget to background proccess with screen. and while the installation ldap proccess. The connection is disconnected.
When i try to re install, i found error message like this :

Can't locate Net/LDAP.pm in @INC (you may need to install the Net::LDAP module) (@INC contains: /opt/zimbra/zimbramon/lib /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at bin/zmValidateLdap.pl line 23.
BEGIN failed--compilation aborted at bin/zmValidateLdap.pl line 23.
Error: Unable to bind to the LDAP server as the root LDAP user.
This is required to upgrade.
I hope you can help me to solve this case. Thank you very much

Best Regards,
Dhenandi
 
 
rojoblandino
Advanced member
Advanced member
Posts: 52
Joined: Sat Sep 13, 2014 1:36 am

Re: Error zimbra Instalation Can't locate Net/LDAP.pm in @INC

Post by rojoblandino »

Just run following command to remove all packages of previous installation:

Code: Select all

root@test:~# printf "apt -y remove %s\n" "$(dpkg -l | grep zimbra | awk '{printf " "$2" "}')" | bash
root@test:~# printf "apt -y purge %s\n" "$(dpkg -l | grep zimbra | awk '{printf " "$2" "}')" | bash
Then try again and thats all folks!
Post Reply