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

Problems with /etc/apache2/conf.d/zz010_psa_httpd.conf

Discussion in 'Plesk for Linux - 8.x and Older' started by zeroborg, May 8, 2006.

  1. zeroborg

    zeroborg Basic Pleskian

    23
    57%
    Joined:
    May 8, 2006
    Messages:
    35
    Likes Received:
    0
    Hi all...

    I have a problem with this file:
    /etc/apache2/conf.d/zz010_psa_httpd.conf

    Every time that i try to restart the Apache service,
    i have a fatal error (inside OR outside PLESK).
    The error says that the "Document root" must be a directory.
    I edit this file, i put the correct path (old: /srv/www/vhosts/htdocs, NEW: /srv/www/vhosts/httpdocs)
    and after that, everything is OK.
    BUT, every now and then, the file, changes and is loosing my changes.
    Please, advise me, where to make the changes, so it will take it permanently.
    Thank you.

    Konstantinos.
     
  2. bonesadams

    bonesadams Guest

    0
     
    what change you are trying in this file? -/etc/apache2/conf.d/zz010_psa_httpd.conf

    and what OS is on the server ?
     
  3. pdreissen

    pdreissen Guest

    0
     
    Offcourse. This file is handled by Plesk, thus every change you make will be overwritten every time you make a change in Plesk.

    What are you trying to do ?
     
  4. zeroborg

    zeroborg Basic Pleskian

    23
    57%
    Joined:
    May 8, 2006
    Messages:
    35
    Likes Received:
    0
    Hi all.

    Sorry, for not replying, but the problem i had is solved (last year).
    So now, everything is OK.

    Thanx anyway. :)
     
  5. MathewS

    MathewS New Pleskian

    19
    35%
    Joined:
    Sep 16, 2009
    Messages:
    8
    Likes Received:
    0
    I am getting an error while restarting the httpd service (Apache).
    Error Msg is
    NameVirtualHost xxx.xxx.xxx.xxx:80 has no VirtualHosts
    NameVirtualHost xxx.xxx.xxx.xxx:443 has no VirtualHosts

    I tried to edit the z010_psa_httpd.conf file manually. Is it because of that? Any help in this matter will be appreciated

    Thanks
    Mathew Sunil
     
  6. MathewS

    MathewS New Pleskian

    19
    35%
    Joined:
    Sep 16, 2009
    Messages:
    8
    Likes Received:
    0
    After editing zz010_psa_httpd.conf Apache server is not working

    When I try to restart the Httpd service I am getting the fllowing error

    [warn] NameVirtualHost xxx.xxx.xxx.xxx:80 has no VirtualHosts
    [warn] NameVirtualHost xxx.xxx.xxx.xxx:443 has no VirtualHosts.

    I tried to do some changes in the zz010_psa_httpd.conf file. After that only this problem started. Is there any way that I can solve this problem? In fact I took a back of the zz010_psa_httpd.conf file before I editing it. Even the back up copy also not working. It is giving the same error.

    Any help in this regard will be appreciated

    thanks
    Mathew Sunil.
     
  7. lvalics

    lvalics Silver Pleskian Plesk Guru

    36
    43%
    Joined:
    Jun 20, 2003
    Messages:
    963
    Likes Received:
    32
    Location:
    Romania
    Do not edit that file manually cause it will be rewritten each time you do some modification in PLESK.
    One of your domain have wrong IP and this is why you get that
     
  8. Vipa

    Vipa New Pleskian

    22
    57%
    Joined:
    Jan 22, 2007
    Messages:
    14
    Likes Received:
    0
    Try to delete the backup file, that fixed the problem for me.
    It looks like every file in this folder is interpreted, so if thers is a backup file the entries are read double.
     
  9. MathewS

    MathewS New Pleskian

    19
    35%
    Joined:
    Sep 16, 2009
    Messages:
    8
    Likes Received:
    0
    Thanks....................................
     
Loading...