Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I get the following error: when i try to restart the server:

[root@lts5srv1 mod_wsgi-2.3]# service httpd restart
Stopping httpd:                                            [FAILED]
Starting httpd: httpd: Syntax error on line 202 of /etc/httpd/conf/httpd.conf: 
Cannot load /etc/httpd/modules/ into server: cannot open shared object file: No such file or directory

when i type:

[root@lts5 /]# ldd /usr/lib64/httpd/modules/ => /root/epd-5.1.0/lib/ (0x00002b4b53ccf000) => /lib64/ (0x00002b4b54036000) => /lib64/ (0x00002b4b54251000) => /lib64/ (0x00002b4b54456000) => /lib64/ (0x00002b4b54659000) => /lib64/ (0x00002b4b549b1000)
    /lib64/ (0x0000003d9f600000)

How can i make possible that when i type:

[root@lts5srv1 /]# ldd
ldd: ./ No such file or directory

..showing the same result?

share|improve this question
Which Python version are you running python -V? – quanta Aug 30 '12 at 15:22
Python 2.5.4 -- EPD 5.1.0, and for the moment i get this error: import os.. ImportError: No module named os.. Do you have any idea of how to solve it? – Kreshnik Aug 30 '12 at 16:54
up vote 1 down vote accepted

The solution for me, was: re-installing a new version of Python and the other needed modules inside the new Python site-packages folder. (when you've tried everything and seems that doesn't work try to re-install a new version of python and don't use the default one) Follow this link to see the various steps..: solution

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.