• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Apache fails to start - config problems

R

Rags

Guest
Hi

I'm using Suse 9.3 with suse security and recommended rpms installed using yast online update.

After an update to plesk 8 apache2 fails to start (using /etc/init.d/apache2 start).

The config files show a misconfiguration.

Code:
/etc/init.d/apache2 start
Can't open perl script "python": No such file or directory
Can't open perl script "python": No such file or directory
Can't open perl script "python": No such file or directory
Starting httpd2 (prefork) Syntax error on line 136 of /etc/apache2/server-tuning.conf:
Invalid command 'BrowserMatch', perhaps mis-spelled or defined by a module not included in the server configuration

I updated apache2 before the upgrade using yast (security reasons). Besides custom vhost configs (as described by swsoft) I changed sysconfig to load proxy proxy_http and rewrite. All other config files were unchanged before the upgrade.

Thank You for help and hints how to fix this.

Jürgen
 
To add further information: the error report from /tmp/psa_8.0.0_SuSE_9.3_build80060331.13_upgrade.log:

Code:
Trying to start Apache server... /etc/sysconfig/apache2: line 79: suexec
log_config mime negotiation setenvif ssl   userdir php4 php5 perl python suexec frontpage 
rewrite proxy proxy_http: command not found
/etc/sysconfig/apache2: line 79: suexec
log_config mime negotiation setenvif ssl   userdir php4 php5 perl python suexec frontpage 
rewrite proxy proxy_http: command not found
/etc/sysconfig/apache2: line 79: suexec
log_config mime negotiation setenvif ssl   userdir php4 php5 perl python suexec frontpage 
rewrite proxy proxy_http: command not found
/etc/sysconfig/apache2: line 79: suexec
log_config mime negotiation setenvif ssl   userdir php4 php5 perl python suexec frontpage 
rewrite proxy proxy_http: command not found
/etc/sysconfig/apache2: line 79: suexec
log_config mime negotiation setenvif ssl   userdir php4 php5 perl python suexec frontpage 
rewrite proxy proxy_http: command not found
Syntax error on line 135 of /etc/apache2/server-tuning.conf:
Invalid command 'BrowserMatch', perhaps mis-spelled or defined by a module not included in the server configuration

I'd appreciate if someone could post the original APACHE_MODULES line from a suse plesk 8 system (/etc/sysconfig/apache2)

THX in advance.

Jürgen
 
got the same problems.

my very quick solution -> backup all data reinstall system an do an update to plesk 8.

that is how it works for me.
ps: i still doesnt have php5 back.
 
Back
Top