• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

Unable to generate the web server configuration file on the host <nsxxxxxxx.ovh.net>

Status
Not open for further replies.

borisr

New Pleskian
version: Parallels Plesk Panel v11.5.30_build115130819.13
os: centos 6.5 (final)


Hi all,
I recently received this messsage from in my mailbox "Unable to generate the web server configuration file on the host <nsxxxxxxx.ovh.net>" which is coming now every hour for 4 days now.

I first tried to regenerate an apache conf file with the magic on my Centos 6:
# /usr/local/psa/admin/sbin/httpdmng --reconfigure-all

but it gives me this output:

Execution failed.
Command: httpdmng
Arguments: Array
(
[0] => --reconfigure-server
[1] => -no-restart
)

Details: 2014-06-26T07:22:55+02:00 ERR (3) [util_exec]: proc_close() failed
2014-06-26T07:22:57+02:00 ERR (3) [panel]: Apache config (14037601750.08836100) generation failed: Template_Exception: Syntax error on line 10 of /etc/httpd/conf/plesk.conf.d/server.conf:
The address or port is invalid

file: /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 68
code: 0
Syntax error on line 10 of /etc/httpd/conf/plesk.conf.d/server.conf:
The address or port is invalid


At line 10 in my server.conf file I have a bunch of ipv6 address that looks like this:

NameVirtualHost xx.xx.x.xx:80
NameVirtualHost [xxxx:xxxx:8:5b11::1000]:80
NameVirtualHost [xxxx:xxxx:8:5b11::1001]:80
NameVirtualHost [xxxx:xxxx:8:5b11::1002]:80
NameVirtualHost [xxxx:xxxx:8:5b11::1003]:80
NameVirtualHost [xxxx:xxxx:8:5b11::1004]:80
NameVirtualHost [xxxx:xxxx:8:5b11::1006]:80
NameVirtualHost [xxxx:xxxx:8:5b11::1005]:80
NameVirtualHost [xxxx:xxxx:8:5b11::1007]:80


I dont know exactly what I did wrong. Anybody can point me to the right direction ?
Thanks for any help it will be much appreciated!
 
Last edited:
Thanks a lot, it worked perfectly !
I found this article but I thought it was not directly related to my problem, probably a lack of knowledge on my own.
Sorry for the inconvenience and have a nice day ;-).
 
Status
Not open for further replies.
Back
Top