Serious Apache problem! Need help as soon as possible!
What happened was that I wanted to upgrade apache and php using YUM on my VPS since I didn't know how to do it manually or anything low level like that. I kinda did it, but Yum really didn't update it much, I'll worry about that later. Right now I need help getting my server back online, please. Below are the "just the facts". Let me know as soon as possible;The Enviroment:
My Redhat 7.3 VPS managed by Plesk 7.0.2
The Error:
Code:
[root@pluto info]# httpd Syntax error on line 27 of /etc/httpd/conf/httpd.include: Invalid command 'php_admin_flag', perhaps mis-spelled or defined by a module not included in the server configuration
Called myself updating apache using YUM;
Code:
yum -c /home/admin/yum.conf upgrade apache Gathering package information from servers Getting headers from: Atomic Rocket Turtle - 7.3 - Atomic PSA-Compatible RPMS Getting headers from: Atomic Rocket Turtle - 7.3 - Base OS RPMS mirror Getting headers from: Atomic Rocket Turtle - 7.3 - SW-Soft PSA 7.0 RPMS Getting headers from: Atomic Rocket Turtle - 7.3 - OS Update RPMS mirror Finding updated packages Downloading needed headers .......(omitted) Finding obsoleted packages Resolving dependencies Dependencies resolved I will do the following: [update: apache.i386] Is this ok [y/N]: y Getting apache-1.3.27-6.legacy.i386.rpm Calculating available disk space - this could take a bit apache 100 % done Do parse ... done. frontpage_module already installed. Updated: apache.i386 Transaction(s) Complete
Code:
[root@pluto info]# apachectl restart /usr/sbin/apachectl restart: httpd not running, trying to start [Sat Mar 5 11:47:51 2005] [warn] module mod_frontpage.c is already added, skipping /usr/sbin/apachectl restart: httpd started
I have looked at the file it is referring to, but does me no good to make any changes becuase I get a permission denied error when I try to over-write it on the server via ftp. Maybe because httpd/apache is running, It won't kill itself like it should and I don't know it's PID.