• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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

zeroborg

Basic Pleskian
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.
 
what change you are trying in this file? -/etc/apache2/conf.d/zz010_psa_httpd.conf

and what OS is on the server ?
 
Originally posted by zeroborg
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.

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 ?
 
Hi all.

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

Thanx anyway. :)
 
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
 
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.
 
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
 
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.

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.
 
Back
Top