• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

File does not exist /var/www

DominikT

New Pleskian
I´m having an 404-Error.

[Tue Sep 17 15:12:34 2013] [error] [client xx.xx.xx.xx] File does not exist: /var/www/test.html
this test.html file ist not located directly in /var/www its a File of an Vhost.

Can somebody tell my why apache is searching the file in /var/www eg. DocumentRoot???

Apachectl configtest ist OK
Restart dont solve this Problem.
 
Does this happen on all domains or a single domain name?
Have you already re-generated your vhosts with

Code:
 /usr/local/psa/admin/sbin/httpdmng --reconfigure-all
 
Im getting this...

root@sirius:/var/log# /usr/local/psa/admin/sbin/httpdmng --reconfigure-all
Execution failed.
Command: httpdmng
Arguments: Array
(
[0] => --reconfigure-domains
[1] =>
)

Details: 2013-09-17T16:02:55+02:00 ERR (3) [util_exec]: proc_close() failed
2013-09-17T16:02:55+02:00 ERR (3) [panel]: Apache config (13794265750.26008900) generation failed: Template_Exception: Destination directory '/etc/nginx/plesk.conf.d/vhosts' not exist

file: /opt/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 68
code: 0
Destination directory '/etc/nginx/plesk.conf.d/vhosts' not exist
 
Last edited:
i´m getting this output and it affects all domains....

root@sirius:/var/log# /usr/local/psa/admin/sbin/httpdmng --reconfigure-all
Execution failed.
Command: httpdmng
Arguments: Array
(
[0] => --reconfigure-domains
[1] =>
)

Details: 2013-09-17T16:02:55+02:00 ERR (3) [util_exec]: proc_close() failed
2013-09-17T16:02:55+02:00 ERR (3) [panel]: Apache config (13794265750.26008900) generation failed: Template_Exception: Destination directory '/etc/nginx/plesk.conf.d/vhosts' not exist

file: /opt/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 68
code: 0
Destination directory '/etc/nginx/plesk.conf.d/vhosts' not exist

Thanks
 
Create it ...

Code:
mkdir /etc/nginx/plesk.conf.d/vhosts

Then again ..

Code:
/usr/local/psa/admin/sbin/httpdmng --reconfigure-all
 
Won't work... Can i Five you some additional Information?

I tried to use ngnix as reverse proxy, and get bad gateways... So I removed it. Since then I have this failure.

Thanks
 
Seems the problem is apache...

I got:
/etc/init.d/httpd restart
-bash: /etc/init.d/httpd: No such file or directory

and have an empty httpd.conf File...

Is there any way to reinstall apache with default settings?

Thanks
 
Back
Top