• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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