1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Apache fails to start - config problems

Discussion in 'Plesk for Linux - 8.x and Older' started by Rags, Apr 3, 2006.

  1. Rags

    Rags Guest

    0
     
    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
     
  2. Rags

    Rags Guest

    0
     
    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
     
  3. macosbrain

    macosbrain Guest

    0
     
    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.
     
Loading...