These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for SSL and HTTPD Error in RHEL 5 on the new forum.
Hi,
I am Facing a problem to start httpd as follows :
Starting httpd: httpd: syntex error on line 210 of /etc/httpd/conf/httpd.conf: syntex error on line 12 of /etc/httpd/conf.d/ssl.conf: cannot load /etc/httpd/modules/mod_ssl.so into server: libdistcache.so.1 cannot open shared object file: no such file or directory..
Please all expert give me the solutions....THANKS in advance.
Howdy,
What is the output of these three commands:
uname -a
rpm -qa | grep httpd
ls -l /etc/httpd/
Hi andreychek,
Thanks for replay
here is the output :
[root@Server ~]# uname -a
Linux Server.example.com 2.6.18-53.el5 #1 SMP Wed Oct 10 16:34:02 EDT 2007 i686 i686 i386 GNU/Linux
[root@Server ~]# rpm -qa | grep httpd
system-config-httpd-1.3.3.1-1.el5
httpd-devel-2.2.3-11.el5
httpd-2.2.3-11.el5
httpd-manual-2.2.3-11.el5
[root@Server ~]# ls -l /etc/httpd/
total 28
drwxr-xr-x 2 root root 4096 Jun 21 21:15 conf
drwxr-xr-x 2 root root 4096 Jun 26 14:27 conf.d
lrwxrwxrwx 1 root root 19 May 31 15:06 logs -> ../../var/log/httpd
lrwxrwxrwx 1 root root 27 May 31 15:06 modules -> ../../usr/lib/httpd/modules
lrwxrwxrwx 1 root root 13 May 31 15:06 run -> ../../var/run
[root@Server ~]#
Okay, thanks for the info. Next, what is the output of these commands:
ls -ld /usr/lib/httpd/modules
ls -ld /usr/lib64/httpd/modules
ldd file /usr/sbin/httpd
[root@Server ~]# ls -ld /usr/lib/httpd/modules/ drwxr-xr-x 2 root root 4096 Jun 13 18:11 /usr/lib/httpd/modules/
[root@Server ~]# ls -ld /usr/lib lib/ libexec/
DOES NOT APPEAR to /usr/lib64/httpd/modules....
[root@Server ~]# ldd file /usr/sbin/httpd
file:
ldd: ./file: No such file or directory
/usr/sbin/httpd:
linux-gate.so.1 => (0x00924000)
libm.so.6 => /lib/libm.so.6 (0x008e7000)
libpcre.so.0 => /lib/libpcre.so.0 (0x00509000)
libselinux.so.1 => /lib/libselinux.so.1 (0x002b7000)
libaprutil-1.so.0 => /usr/lib/libaprutil-1.so.0 (0x00460000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x001b4000)
libldap-2.3.so.0 => /usr/lib/libldap-2.3.so.0 (0x00a48000)
liblber-2.3.so.0 => /usr/lib/liblber-2.3.so.0 (0x00898000)
libdb-4.3.so => /lib/libdb-4.3.so (0x005a9000)
libexpat.so.0 => /lib/libexpat.so.0 (0x00738000)
libapr-1.so.0 => /usr/lib/libapr-1.so.0 (0x00c32000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00ef5000)
libdl.so.2 => /lib/libdl.so.2 (0x00186000)
libc.so.6 => /lib/libc.so.6 (0x002ce000)
/lib/ld-linux.so.2 (0x00443000)
libsepol.so.1 => /lib/libsepol.so.1 (0x00110000)
libuuid.so.1 => /lib/libuuid.so.1 (0x00156000)
libpq.so.4 => /usr/lib/libpq.so.4 (0x0015a000)
libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0x00799000)
libresolv.so.2 => /lib/libresolv.so.2 (0x0018a000)
libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x001e2000)
libssl.so.6 => /lib/libssl.so.6 (0x001fb000)
libcrypto.so.6 => /lib/libcrypto.so.6 (0x00a82000)
libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x006a0000)
libnsl.so.1 => /lib/libnsl.so.1 (0x00c7b000)
libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x00240000)
libcom_err.so.2 => /lib/libcom_err.so.2 (0x0017a000)
libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x0026e000)
libz.so.1 => /usr/lib/libz.so.1 (0x0019d000)
libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x0017d000)
libkeyutils.so.1 => /lib/libkeyutils.so.1 (0x001b0000)
[root@Server ~]#
Okay, you appear to have the 32 bit version of Apache installed, and it's looking at a directory that exists for modules... that may mean that your server is missing the mod_ssl package.
Try running this command:
yum install mod_ssl
After that, does Apache start up properly?
-Eric