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

Cannot restart my Apache server

Discussion in 'Plesk 11.x for Linux' started by kadoudal, Jan 27, 2013.

  1. kadoudal

    kadoudal Regular Pleskian

    27
    23%
    Joined:
    Nov 20, 2007
    Messages:
    244
    Likes Received:
    0
    After upgrading my Debian 6 server , I restarted my PP then deleted some old domains .
    I got an error email from my system stating

    <<===== start email ====>
    Unable to generate the web server configuration file on the host <sd-30152.dedibox.fr> because of the following errors:

    apache2: Syntax error on line 207 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/httpd.conf: No such file or directory

    Please resolve the errors in web server configuration templates and generate the file again.
    <<===== end email ====>

    I look into the file structure and effectively there is no /etc/apache2/httpd.conf file ...

    I tried to reconfigure the server , but I guess this is failing because of apache setup , not ...Plesk ?
    Before taking any silly action ( like re-installng Plesk, which seems OK) , I prefer ask you what I should do first ?
    thanks for your help

    <=== console ===>
    /usr/local/psa/admin/bin/httpdmng --reconfigure-server
    2013-01-27T10:07:08+00:00 ERR (3): Apache config (13592812250.28571500) generation failed: apache2: Syntax error on line 207 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/httpd.conf: No such file or directory

    apache2: Syntax error on line 207 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/httpd.conf: No such file or directory
     
Loading...