Results 1 to 10 of 11
Hi i just tried to install suPHP on my centos 5.5 with php 5.2.16 server, and now i get a internal server error on all my php hosted sites.
I ...
- 03-21-2011 #1Just Joined!
- Join Date
- Mar 2011
- Posts
- 8
Remove / Disable suPHP Centos 5.5
Hi i just tried to install suPHP on my centos 5.5 with php 5.2.16 server, and now i get a internal server error on all my php hosted sites.
I have followed this guide to make it
kmaiti.blogspot.com/2010/07/how-to-install-suphp-on-centos-linux-os.html
I want suPHP working on my server but if i cant at least i want to put everything back again as it was :/
Thanks in advance!
- 03-21-2011 #2
Judging from the HowTo,
this should disable suphp
If you have added suphp directives elsewhere, comment them out.Code:mv /etc/httpd/conf.d/suphp.conf /etc/httpd/conf.d/suphp.conf.disabled mv /etc/httpd/conf.d/php.conf.disabled /etc/httpd/conf.d/php.conf
Then a apache restart should bring your sites back online.You must always face the curtain with a bow.
- 03-21-2011 #3Just Joined!
- Join Date
- Mar 2011
- Posts
- 8
Hi, i erased the /usr/lib/httpd/modules/mod_suphp.so and the config files and now im not getting error 500 but it seems php is no reading files or something.
I tried the code you write and the first gives me this:
mv: cannot stat `/etc/httpd/conf.d/suphp.conf': No such file or directory
Thats cause i erased the file i guess, and the second mv you send doesnt gave errors.
You can check how the codes of php files can be viewed on all php sites im hosting:
ww.urbana951.com.ar
It seems we are cloes to get it up again, plase help me with this... thanks
- 03-21-2011 #4Just Joined!
- Join Date
- Mar 2011
- Posts
- 8
i guess i have to enable mod_php like it was before??
Anyway i dont know how to enable it..
- 03-21-2011 #5Just Joined!
- Join Date
- Mar 2011
- Posts
- 8
Sorry it works now! i forgot to restar apache :/
Thank you Irithori !!
- 03-21-2011 #6
glad it worked.
You must always face the curtain with a bow.
- 03-21-2011 #7Just Joined!
- Join Date
- Mar 2011
- Posts
- 8
One more thing Irithori, im glad its working again but some things have changed i cant start my shoutcast server and i get this on the header of my wordpress admin:
/usr/bin/zip /bin/tar Copyright (C) 1990-2005 Info-ZIP Type 'zip "-L"' for software license. Zip 2.31 (March 8th 2005). Usage: zip [-options] [-b path] [-t mmddyyyy] [-n suffixes] [zipfile list] [-xi list].... its longer
Thats what i just discovered.. theres a way to "reset" php or something to get it back??
- 03-21-2011 #8
I am not familiar with shoutcast server (what exactly are you using, which version, how do you start it, what errors do you get),
but afaik, it is unrelated to php.
The zip error:
It complains about a call with wrong arguments.
Also not directly related to the suphp changes (and their reverting).
My guess is, that you changed multiple configurations.You must always face the curtain with a bow.
- 03-21-2011 #9Just Joined!
- Join Date
- Mar 2011
- Posts
- 8
Im checking the logs and i hace secure logs with this, it seems attempts to log into the server am i right?
Mar 20 09:44:03 Level sshd[10076]: pam_succeed_if(sshd:auth): error retrieving information about user teamspeak
Mar 20 09:44:05 Level sshd[10076]: Failed password for invalid user teamspeak from 190.30.227.58 port 57854 ssh2
Mar 20 12:44:05 Level sshd[10077]: Received disconnect from 190.30.227.58: 11: Bye Bye
Mar 20 09:44:07 Level sshd[10078]: Invalid user teamspeak from 190.30.227.58
Mar 20 12:44:07 Level sshd[10079]: input_userauth_request: invalid user teamspeak
Mar 20 09:44:07 Level sshd[10078]: pam_unix(sshd:auth): check pass; user unknown
Mar 20 09:44:07 Level sshd[10078]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=host58.190-30-227.telecom.net.ar
Mar 20 09:44:07 Level sshd[10078]: pam_succeed_if(sshd:auth): error retrieving information about user teamspeak
Mar 20 09:44:09 Level sshd[10078]: Failed password for invalid user teamspeak from 190.30.227.58 port 58012 ssh2
Mar 20 12:44:09 Level sshd[10079]: Received disconnect from 190.30.227.58: 11: Bye Bye
Mar 20 09:44:10 Level sshd[10080]: Invalid user teamspeak3 from 190.30.227.58
Mar 20 12:44:10 Level sshd[10081]: input_userauth_request: invalid user teamspeak3
Mar 20 09:44:10 Level sshd[10080]: pam_unix(sshd:auth): check pass; user unknown
Mar 20 09:44:10 Level sshd[10080]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=host58.190-30-227.telecom.net.ar
Mar 20 09:44:10 Level sshd[10080]: pam_succeed_if(sshd:auth): error retrieving information about user teamspeak3
Mar 20 09:44:12 Level sshd[10080]: Failed password for invalid user teamspeak3 from 190.30.227.58 port 58170 ssh2
Mar 20 12:44:12 Level sshd[10081]: Received disconnect from 190.30.227.58: 11: Bye Bye
Mar 20 09:44:14 Level sshd[10082]: Invalid user teamsserver from 190.30.227.58
Mar 20 12:44:14 Level sshd[10083]: input_userauth_request: invalid user teamsserver
Mar 20 09:44:14 Level sshd[10082]: pam_unix(sshd:auth): check pass; user unknown
Mar 20 09:44:14 Level sshd[10082]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=host58.190-30-227.telecom.net.ar
Mar 20 09:44:14 Level sshd[10082]: pam_succeed_if(sshd:auth): error retrieving information about user teamsserver
Mar 20 09:44:16 Level sshd[10082]: Failed password for invalid user teamsserver from 190.30.227.58 port 58311 ssh2
Mar 20 12:44:16 Level sshd[10083]: Received disconnect from 190.30.227.58: 11: Bye Bye
Mar 20 09:44:17 Level sshd[10084]: Invalid user tech from 190.30.227.58
Mar 20 12:44:17 Level sshd[10085]: input_userauth_request: invalid user tech
Mar 20 09:44:17 Level sshd[10084]: pam_unix(sshd:auth): check pass; user unknown
Mar 20 09:44:17 Level sshd[10084]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=host58.190-30-227.telecom.net.ar
Mar 20 09:44:17 Level sshd[10084]: pam_succeed_if(sshd:auth): error retrieving information about user tech
Mar 20 09:44:19 Level sshd[10084]: Failed password for invalid user tech from 190.30.227.58 port 58454 ssh2
Mar 20 12:44:19 Level sshd[10085]: Received disconnect from 190.30.227.58: 11: Bye Bye
Mar 20 09:44:20 Level sshd[10086]: Invalid user telephony from 190.30.227.58
Mar 20 12:44:20 Level sshd[10087]: input_userauth_request: invalid user telephony
Mar 20 09:44:20 Level sshd[10086]: pam_unix(sshd:auth): check pass; user unknown
Mar 20 09:44:20 Level sshd[10086]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=host58.190-30-227.telecom.net.ar
Mar 20 09:44:20 Level sshd[10086]: pam_succeed_if(sshd:auth): error retrieving information about user telephony
Mar 20 09:44:23 Level sshd[10086]: Failed password for invalid user telephony from 190.30.227.58 port 58579 ssh2
Mar 20 12:44:23 Level sshd[10087]: Received disconnect from 190.30.227.58: 11: Bye Bye
This is just a piece.. theres a lot of attempts :/
- 03-22-2011 #10Just Joined!
- Join Date
- Mar 2011
- Posts
- 8
And the shoutcast error i guess is becasue php have no access to modify files cause im trying to start the server with a shoutcast panel script.
And in wordpress when a try to upload a file i get an permisions error creating folders
I guess that is all related to the suphp :/


Reply With Quote