• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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