Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Fri May 25, 2018 9:11 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Pre-Installation Checks - LDAP Installed but still "NO"
PostPosted: Mon Jan 08, 2018 2:05 pm 
Offline

Joined: Mon Jan 08, 2018 1:34 pm
Posts: 2
The last thing I need for all the installation checks is to get LDAP installed.
as you can see in the screenshots, also i confirmed the proper dll's are in place.
I am not sure what else to do, and why it is not registering as Installed.

Image
Image

Using Windows 7 (test env)
Apache 2.4.9
Mysql5.6.17
php5.5.12


Top
 Profile  
 
 Post subject: Re: Pre-Installation Checks - LDAP Installed but still "NO"
PostPosted: Mon Jan 08, 2018 4:44 pm 
Offline
Cacti Pro User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 994
You probably need to run one of the following (assuming its ubuntu) depending on the system you are running.
Code:
php7enmod ldap
php7enmod php-ldap
phpenmod ldap
phpenmod php-ldap


I've included all four because it changes between some systems and I can't recall if you need the php- in front of the mod name or not off the top of my head. Once you've done that you need to reload apache.

_________________
Cacti Resources:
Cacti Website
Cacti Issues
Cacti Releases

My resources:
How to submit Pull Requests
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: Pre-Installation Checks - LDAP Installed but still "NO"
PostPosted: Tue Jan 09, 2018 1:23 pm 
Offline

Joined: Mon Jan 08, 2018 1:34 pm
Posts: 2
I actually got this working, I found this useful comment on stackexchange and it worked.

https://stackoverflow.com/a/46560708/1787465

"after enabling extension =php_ldap.dll in php.ini

you must add following dll to system32 in windows

copy libsasl.dll into system32 folder

steps: php.ini enable ;extension =php_ldap.dll --> extension =php_ldap.dll

copy libsasl.dll from php folder and paste it in system32

windows-->system32--> paste libsasl.dll

Incase it does not work and also add libeay32.dll and ssleay32.dll."


Top
 Profile  
 
 Post subject: Re: Pre-Installation Checks - LDAP Installed but still "NO"
PostPosted: Tue Jan 09, 2018 2:05 pm 
Offline
Cacti Pro User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 994
Ah, apologies, didn't realise that you were running this on windows.

_________________
Cacti Resources:
Cacti Website
Cacti Issues
Cacti Releases

My resources:
How to submit Pull Requests
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: Pre-Installation Checks - LDAP Installed but still "NO"
PostPosted: Mon Jan 15, 2018 1:41 am 
Offline
Cacti Moderator
User avatar

Joined: Sat May 08, 2004 12:44 pm
Posts: 12149
Location: USA
morijlumos2 wrote:
copy libsasl.dll into system32 folder
....
In case it does not work and also add libeay32.dll and ssleay32.dll."

This is exactly what the Windows Installer does for a user ;)

libsasl.dll, libeay32.dll, ssleay32.dll are all in the PHP folder.

_________________

| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |


Top
 Profile  
 
 Post subject: Re: Pre-Installation Checks - LDAP Installed but still "NO"
PostPosted: Fri Apr 20, 2018 7:07 am 
Offline

Joined: Tue May 02, 2017 9:52 pm
Posts: 3
I have copied all the files in system32 directory but still upgradation from 1.1.37 to 1.1.38 shows error for "ldap" and "openssl" as not installed. both plugin extension are already enabled in php.ini as well.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group