pzo1970
Aug 27 2004, 04:10 PM
Hello ,
My apache has crashed due to a php upgrade. I did not backup the httpd.conf, or the libphp4.so. How do I unistall php, and reinstall it so that my apache is back online. I need urgent help here. I Have a huge traffic campaign that has started, and my server is down..
[root@server php]# rpm -Uvh *.rpm
Preparing... ########################################### [100%]
1:libmcrypt ########################################### [ 11%]
2:libmcrypt-devel ########################################### [ 22%]
3:MySQL-shared ########################################### [ 33%]
4:php warning: /etc/php.ini created as /etc/php.ini.rpmnew
########################################### [ 44%]
5:php-devel ########################################### [ 55%]
6:php-imap ########################################### [ 66%]
7:php-ldap ########################################### [ 77%]
8:php-mcrypt ########################################### [ 88%]
9:php-mysql ########################################### [100%]
[root@server php]# /etc/init.d/httpd restart
Stopping httpd: [ OK ]
Starting httpd: Syntax error on line 261 of /etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/modules/libphp4.so into server: /etc/httpd/modules/libphp4.so: undefined symbol: xsltSaveResultToString
[FAILED]
Any and all help is greatly appreciated..
RexAdmin
Aug 27 2004, 04:13 PM
Just install again rpm packages, you need to install one which is ment for your version of OS. If its only Apache problem.
If it's Plesk on it you need to install Plesk over again, to make sure no left-overs are in place.
Good luck.
pzo1970
Aug 27 2004, 04:16 PM
Can I reinstall Plesk without losing my servers integrity?
and, or im on a plesk 6 server with apache 7.3 can anyone tell me where the php binarys for that particular machine.
I used php 4.3.8 on the install
Thank you again..
Rodney
x007
Aug 28 2004, 07:35 AM
QUOTE
Originally posted by pzo1970
Can I reinstall Plesk without losing my servers integrity?
and, or im on a plesk 6 server with apache 7.3 can anyone tell me where the php binarys for that particular machine.
I used php 4.3.8 on the install
Thank you again..
Rodney
You have to use progeny rpm (see notice about progeny ev1 offer it), get apache rpm and all php rpm then install it back..
pzo1970
Aug 28 2004, 12:17 PM
Thanks for the reply,
How would I apply progeny to this particualr cause. I did some research and did notice that you havce some experience, both good and bad with Progeny. Please explain what you think is going on. And How to use progent if at all possible.
Server down 23 hrs and counting, just short of complete system restore..
Rodney
x007
Aug 28 2004, 07:41 PM
Last time i have checked the rpm was good.. Since no big hole recently i have not checked back put i asume the problem is gone forever :-) I hope so at least :-)
Via ssh type ;
ftp
passive
ftp progeny.ev1servers.com
Login as "anonymous" then put any pass.. or your email..
cd 7.3 (i think)
Then get the latest php/apache rpm (check to one whit the highest end number ex: apachexyz.5 (was the 5 patch progeny have released, so the highest the # the latest patch)
after you got it just go in the dir where you have DL it then ;
rpm -Uvh name.rpm
if your are able to re install this then restart the service or server then this should work..
Note : Always do backup before changing someting..
pzo1970
Aug 28 2004, 08:38 PM
Thank you again for your quick reply..
I tried to connect to progeny with the instructions you gave, but Im coming up with this particular set of errors..
[admin@server admin]$ ftp
ftp> passive
Passive mode off.
ftp> ftp progeny.ev1servers.com
?Invalid command
ftp> progeny.ev1servers.com
?Invalid command
ftp> ftp progeny.ev1servers.com
?Invalid command
Thanks again..
pzo1970
Aug 29 2004, 06:43 AM
I did some more research and found this thread to help execute progeny.
http://forum.ev1servers.net/showthread.php...ghlight=progeny
Thanks..
RexAdmin
Aug 30 2004, 01:15 PM
Interesting about that "helpful" link is that this guy is using links.
IMHO, links is introduced in RHEL version, and it is not existing, for e.g., in RH 7.2 (or I am wrong).
So, basically, just do in shell:
ftp progeny.ev1servers.net
anonymous for username
your email for password
...
Good luck.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.