Can anyone help me fix a broken http service after python / django install attempt?

truelifeajf

Registered
May 29, 2014
1
0
1
cPanel Access Level
Root Administrator
Hi all.

I have:
- dedicated server
- RedHat
- cpanel / WHM
- 4 cpanel accounts set up
- apache2
- administrator root access

I tried:
- installing python v.2.7 into /opt/python2.7/bin
- installing pip (/opt/python2.7/bin/pip)
- installing mod_wsgi
- configuring virtualenv

The result:
- it "broke" the server. HTTP is no longer functional
- my web host says it's from installing unsupported python "stuff"
- my web host says there's another apache webserver running and there shouldn't be

Part of the apache error log is...
# tail -f /usr/local/apache/logs/error_log
Consider setting $PYTHONHOME to [:]
ImportError: No module named site
Could not find platform independent libraries
Could not find platform dependent libraries

I've attached the relevant bash history in case anyone wants to see what was done.

I'd love it if someone can point me in the right direction.

OR

If anyone wants a job to fix the problem and can work on it now... let me know :)
 

Attachments

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello :)

I suggest starting out by reverting the manual changes you made. Once you have done that, rebuild Apache/PHP via EasyApache and let us know what specific build errors you encounter.

Thank you.