Hi all
I'm using the following for my os
[root@localhost htdocs]# cat /etc/redhat-release
CentOS release 6.4 (Final)
when I execute the following
[root@localhost htdocs]# ls -lrth /etc/init.d/httpd
-rwxr-xr-x. 1 root root 3.3K Feb 22 19:20 /etc/init.d/httpd
[root@localhost htdocs]# /etc/init.d/httpd start
Starting httpd: httpd: Syntax error on line 163 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_ldap.so into server: /etc/httpd/modules/mod_ldap.so: undefined symbol: apr_ldap_ssl_init
[FAILED]
I did another investigation
[root@localhost htdocs]# ls -lrth /usr/local/apache2/bin/apachectl
-rwxr-xr-x. 1 oracle oinstall 3.4K Apr 27 09:32 /usr/local/apache2/bin/apachectl
[root@localhost htdocs]# /usr/local/apache2/bin/apachectl start
[root@localhost htdocs]#
now obviously there's a two copies of apache.
I did another execution
[root@localhost htdocs]# service httpd start
Starting httpd: httpd: Syntax error on line 163 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_ldap.so into server: /etc/httpd/modules/mod_ldap.so: undefined symbol: apr_ldap_ssl_init
[FAILED]
[root@localhost htdocs]#
as you can see obviously the first copy of apache is being executed, so how do I get the second copy of apache to start when I type service httpd starr?
thanks