Plesk 11.x / Linux :: Unable To Generate Web Server Configuration File On Host
Jun 25, 2014
version: Parallels Plesk Panel v11.5.30_build115130819.13
os: centos 6.5 (final)
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
[Code] .....
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
[Code] ....
View 2 Replies
ADVERTISEMENT
Jul 28, 2014
After the last update, I get this error:
Unable to generate the web server configuration file on the host <xxx.de> because of the following errors:
Template_Exception: nginx: [emerg] PEM_read_bio_X509_AUX("/usr/local/psa/var/certificates/certRHXRsQy") failed (SSL: error:0906D064EM routinesEM_read_bio:bad base64 decode)
nginx: configuration file /etc/nginx/nginx.conf test failed
file: /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0
Please resolve the errors in web server configuration templates and generate the file again.
the websites of my customer are not reachable now....
View 2 Replies
View Related
Jul 18, 2015
On Plesk 11.5.30 I have just patched with SSLfix.sh. [URL] ......
When I run an ssl check I get - Certificate name mismatch
I am also getting the following message
Unable to generate the web server configuration file on the host because of the following errors:
Template_Exception: apache2: Syntax error on line 211 of /etc/apache2/apache2.conf: Syntax error on line 73 of /etc/apache2/mods-enabled/ssl.conf: </IfModule>SSLHonorCipherOrder without matching <IfModule>SSLHonorCipherOrder section
[Code] .....
View 4 Replies
View Related
Jun 21, 2014
I get this error after upgrade from Parallels Plesk 11.5 for Linux to 12.0.18 (Ubuntu 12.04.4 LTS):
Template_Exception: nginx: [emerg] PEM_read_bio_X509_AUX("/opt/psa/var/certificates/certI3Fakms") failed (SSL: error:0906D064EM routinesEM_read_bio:bad base64 decode) nginx: configuration file /etc/nginx/nginx.conf test failed
file: /opt/psa/admin/plib/Template/Writer/Webserver/Abstract.php line: 75 code: 0
Reconfigure all does not work:
web:Execution failed. Command: httpdmng Arguments: Array ( [0] => --reconfigure-all )
Details: Execution failed. Command: httpdmng Arguments: Array ( [0] => --reconfigure-server [1] => -no-restart )
Details: [2014-06-22 02:23:16] ERR [util_exec] proc_close() failed [2014-06-22 02:23:21] ERR [util_exec] proc_close() failed
[Code] .....
View 19 Replies
View Related
Aug 31, 2014
I have some error with my server. All my sites are inaccessible.
Code:
Template_Exception: nginx: [emerg] SSL_CTX_use_PrivateKey_file("/opt/psa/var/certificates/cert-ao0glw") failed (SSL: error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error:Type=X509_ALGOR error:0D08303A:asn1 encoding routines:ASN1_TEMPLATE_NOEXP_D2I:nested asn1 error:Field=pkeyalg, Type=PKCS8_PRIV_KEY_INFO error:0907B00D:PEM
[Code] .....
View 2 Replies
View Related
Aug 31, 2013
I just installed the Health Monitor add-on in a brand new Plesk 11.5.30 on CentOS 6.4 but all that it's area in Plesk displays is this funky looking error:
{"status":"error","statusMessages":[{"status":"error","class":"","content":"Unable to load configuration file.Click to expand...
View 11 Replies
View Related
Apr 27, 2015
I have a one problem in my server . I use in Parallels Plesk v12.0.18_build1200140606.15 os_CentOS 6 I vps in systemOS CentOS6.6 Final Minimal and installing plesk health monitor show error in :
{"status":"error","statusMessages":[{"status":"error","class":"","content":"Unable to load configuration file.
And I try the command
/usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/scripts/setup-health-monitor.php
output problem is :
Error: Unable to read /proc/partitions
View 11 Replies
View Related
Apr 29, 2013
I can not log into to plesk right now. It's display message " Unable to read Control Panel configuration file: date_default_timezone_get() [function.date-default-timezone-get]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_ timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier.We selected 'Asia/Krasnoyarsk' for '7.0/no DST' instead".
View 1 Replies
View Related
Aug 29, 2014
I'm unable to access my plesk control panel .its giving this error "Unable to read Control Panel configuration file";tried all available solution for permissions but the problem remains.
View 3 Replies
View Related
Jul 13, 2014
I'm getting this error ....
Code: Unable to generate the web server configuration file on the host <xxx> because of the following errors:
Template_Exception: apache2: bad user name <username>
file: /opt/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0
Please resolve the errors in web server configuration templates and generate the file again.
<username> once was a user existing on the server. But I removed the user some days ago.
Since this morning I cannot reconfigure my web server. This always stops with the error message from above.
Unfortunately there is no clue, where the error could be located. The Abstract.php is crypted, so I am not able to check the where the problem is...
View 4 Replies
View Related
Feb 25, 2015
I have a new CentOS 7, with Plesk 12, CentOS 7 by default has XFS filesystem.
I try migrate sites from another Plesk Server but Plesk agent say: "hard disk quota is not supported due to configuration of server file system" (my CentOS 7)
My CentOS7:
CentOS Linux 7.0.1406 64 bits
Plesk 12.0.36
My fstab
[root@ns ~]$ cat /etc/fstab
/dev/mapper/centos-root / xfs defaults,usrquota,grpquota 1 1
UUID=ba391bd5-786c-4ae7-8bbd-f36f831ae6eb /boot xfs defaults 1 2
/dev/mapper/centos-swap swap swap defaults 0 0
I added "usrquota,grpquota", then mount -o remount / ; but when I try quotacheck -fmv / I gest this:
[root@ns ~]$ quotacheck -fmv /
quotacheck: Skipping /dev/mapper/centos-root [/]
quotacheck: Cannot find filesystem to check or filesystem not mounted with quota option.
but quotaon command works:
[root@ns ~]$ quotaon /
quotaon: Enforcing group quota already on /dev/mapper/centos-root
quotaon: Enforcing user quota already on /dev/mapper/centos-root
The problem here is why Plesk does not recognize quotas as enabled on CentOS 7??
If I try this command it seems good:
[root@ns ~]$ /usr/local/psa/admin/sbin/usermng --isquotable
0
Also I do this:
- Disabled Selinux
- Check all packages as quota, etc.
I have been using some reference: [URL] ....
View 11 Replies
View Related
Jul 8, 2014
I am unable to disable or modify the firewall by using the plesk firewall extention. Plesk throw the two errors below:
Code:
Error: Could not disable firewall:
util_exec(.., 'proc_open') failed: file does not exist or is not executable: /opt/psa/admin/bin/modules/firewall/register_service
Code:
Error: Could not activate firewall configuration:
util_exec(.., 'proc_open') failed: file does not exist or is not executable: /opt/psa/admin/bin/modules/firewall/safeact
I checked the symlinks, they point to the same location: /opt/psa/admin/bin/modules/firewall/mod_wrapper
-r-s--x--- 1 root root 18896 Jun 6 10:37 mod_wrapper
View 2 Replies
View Related
Oct 24, 2014
Where the file that holds PHP fastcgi configuration is located. I was told its here but it's not
/etc/nginx/conf.d/*.conf.
View 3 Replies
View Related
Jun 25, 2015
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Parallels Plesk Panel 12.0.18 MU #51 CentOS 6.6 (Final)
PROBLEM DESCRIPTION
The following error has started to appear on our server: New configuration files for the Apache web server were not created due to the errors in configuration templates: Template processing failed: file = /usr/local/psa/admin/conf/templates/default/nginxDomainVhost.php, error = Template_Exception: Empty content was provided for config file /var/www/vhosts/system/domain/conf/nginx.conf file: /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php line: 47 code: 0. Detailed error descriptions were sent to you by email. Please resolve the issues and click here to generate broken configuration files once again or here to generate all configuration files.
STEPS TO REPRODUCE
Appears on the plesk home page
ACTUAL RESULT
Error displaying as above
EXPECTED RESULT
No error should be displaying, I haven't seen this before and we didn't receive an email with error descriptions. Is it safe to regenerate the broken config files / all of them? t
View 2 Replies
View Related
Dec 6, 2014
When i go to https://ip:8447 i get the error
Can't connect to backend: No such file or directory
The source is locked and the "Store installation files in directory" is empty and i cant change it. The source gives an explantation:
"This field was locked by vendor. Enable it by removing 'SOURCE' option from Parallels Installer configuration file."
But where is the Installer configuration? I think i might have deleted this by accident and comparing files with another server didnt gave result.
[URL] .... doesn't list it either
/usr/local/psa/admin/sbin/autoinstaller
also doesn't have an option to get the current or default config.
View 10 Replies
View Related
May 7, 2015
When I specify log rotation settings for domain xyz.com in Plesk panel I expect them to be saved in /etc/logrotate.d/xyz.com file, at least this is the expected behaviour according to Plesk12 Admin Guide: [URL] ....
Apparently, it doesn't happen and I don't have xyz.com file in /etc/logrotate.d/
Log rotation doesn't seem to work either, at least it doesn't work for error.log
I read somewhere that log rotation feature has to be specially enabled in Plesk but I couldn't find specifics anywhere.
View 2 Replies
View Related
Jun 6, 2015
On attempting to select the configuration->filter option on RoundCube, we got the error message:
SERVICE CURRENTLY NOT AVAILABLE!
Error No. [501]
On /var/log/plesk-roundcube/errors we can see the following logs:
[06-Jun-2015 14:57:17 -0300]: PHP Error: SieveRules plugin: Unable to open default rule file in /usr/share/psa-roundcube/plugins/sieverules/sieverules.php on line 1523 (GET /roundcube/?_task=settings&_action=plugin.sieverules)
...
[06-Jun-2015 14:57:17 -0300]: PHP Error: SieveRules plugin: Unable to open example rule file in /usr/share/psa-roundcube/plugins/sieverules/sieverules.php on line 1560 (GET /roundcube/?_task=settings&_action=plugin.sieverules)
...
[06-Jun-2015 14:57:17 -0300]: PHP Error: Error loading template for sieverules.sieverules in /usr/share/psa-roundcube/program/include/rcmail_output_html.php on line 496 (GET /roundcube/?_task=settings&_action=plugin.sieverules)
View 1 Replies
View Related
May 23, 2015
When i add the private key and certificate via plesk panel, i get the following error:
ERR [panel] Unable to set the certificate: Unable to put certificate file: Unable to arrange cert file: file_put_contents failed:
View 1 Replies
View Related
May 21, 2015
I run a virtual server (Ubuntu 12.04, Plesk 12, Postfix 2.9.6) using plesk to manage multiple domains. The server address is server.domain1.com. I use plesk to also manage domain1.com regarding all services, including DNS and mail.
What I just found is that postfix sometimes issues the following warning:
server postfix/trivial-rewrite[7397]: warning: do not list domain server.domain1.com in BOTH mydestination and virtual_alias_domains
The essential part of my main.cf is:
myhostname = server.domain1.com
mydestination = localhost.$mydomain, localhost.localdomain, localhost
virtual_mailbox_domains = $virtual_mailbox_maps, hash:/var/spool/postfix/plesk/virtual_domains
virtual_alias_maps = $virtual_maps, hash:/var/spool/postfix/plesk/virtual
virtual_mailbox_maps = , hash:/var/spool/postfix/plesk/vmailbox
virtual_transport = plesk_virtual
And /var/spool/postfix/plesk/virtual_domains contains amongst others:
domain1.com domain1.com/
I do not have any issues with receiving or sending e-mails right now, but would like to get rid of the error message however.
Could it be the problem that postfix automatically sets mydomain to $myhostname with skipping the first part (i.e., mydomain is implicitly set to domain1.com)? Should I manually set mydomain to server.domain1.com instead? Any other recommendations? Since mydomain seems to be used in multiple options [URL] ..., I wonder what I might destroy with changing this? As all mail services run without any further troubles at the moment, I don't want to break this...
As I assume that quite some people use a plesk-based server to manage the domain to which the server itself belongs to, I would assume that there should be a general fix/check to updated mydomain accordingly?
View 3 Replies
View Related
Apr 6, 2015
After enabling File Sharing in Plesk 12, the service appears to function correctly. If only a few files are uploaded, they are ok. However, after uploading a directory structure with a handful of MB, and subdirectories, File Sharing stops. It shows at the top of the screen:
"Internal error: The File Sharing service is temporarily unavailable because the site is down for maintenance."
it also says in the main window:
"Unable to load folders list."
Clicking on Upload Files, that dialog also shows "Unable to load folders list."
I have checked that the ownership of those files on the server is www-data:www-data , and that permissions are 755 for directories and 644 for files, because it seems like ownership and permissions could be an issue, however that doesn't fix it. Removing all the files in the share does fix it, however that's not useful if the files should be available for sharing.
View 17 Replies
View Related
Aug 9, 2012
I just installed Plesk 11.0.9 Update #8 on a CentOS Linux Server and found a new FTP-server running and listening on port 21. I wanted to deactivate it or at least change the port number to anything else. But in the config file /etc/xinetd.d/ftp_psa there is a comment:
#DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED AUTOMATICALLY,
#SO ALL YOUR CHANGES WILL BE LOST AFTER YOU UPGRADE PARALLELS PLESK PANEL.
So I can't deactivate the FTP-server with the line "disable = yes" because the default file is restored after a while (I can't pinpoint the event when it happened). In the Plesk frontend I can't see any possibility to deactivate the server or change the port.
In the file above, there is mentioned another config file "server_args = -c /etc/proftpd.conf" but changes in that file are ignored for whatever reason. There I changed the port number but without success. It's still listening on 21 even if the file says otherwise.
View 11 Replies
View Related
Feb 21, 2015
I update the backup of whole server (the file is .xml.tar)
Now how can I restore all my domains, server.configuration and so on?
View 13 Replies
View Related
May 23, 2015
I noticed that my spamassassin wasn't running on my server. so I restarted the service from the plesk panel but got the following message:
Error: Unable to make action: Unable to manage service by spammng: spamassassin: unrecognized service
ERROR:spammng:Unable to start SpamAssassin service
('--start', 'spamassassin')
So I SSH'ed into my machine and saw that spamassassin wasn't running.
The I reinstalled spamassassin from the "add and remove product components", but that didn't change anything. Still the same error.
View 18 Replies
View Related
Aug 16, 2014
I recently upgraded to 12.0.18 and I am using Roundcube 1.0 from the panel. I read that the "Unable to connect to sieve serve" problem would be solved in version 12.It seems not. What to do?
View 12 Replies
View Related
Dec 17, 2014
I tried to add ac new subscription and this failed.No I have an inconsistent subscription and get the following error: New configuration files for the Apache web server were not created due to the errors in configuration templates:
Template processing failed: file = /opt/psa/admin/ conf/ templates/ default/domainVhost.php,
error = Template_Exception: No data. file: /opt/psa/admin/plib/Template/Processor.php line: 28 code: 0
Previous error: Template_Variable_Exception: No data. file: /opt/psa/admin/plib/Template/Variable/AbstractCachedData.php line: 67 code: 0.
Detailed error descriptions were sent to you by email.click here to generate broken configuration files once again or here to generate all configuration files.
I have Plesk 12.0.18 on Ubuntu
View 1 Replies
View Related
Dec 5, 2014
I get the following error in plesk i don't know how to resolve this
Unable to configure the web server: Execution failed.
Command: httpdmng Arguments: Array ( [0] => --reconfigure-all )
Details: Execution failed. Command: httpdmng Arguments: Array ( [0] => --reconfigure-server [1] => -no-restart )
[Code] .....
View 2 Replies
View Related
Feb 10, 2015
I'm build Plesk Panel for Linux and Presence Builder, I don't want my user can upload their website to hosting via File Manager. How can I do it...
View 2 Replies
View Related
Jul 8, 2015
I'm trying to setting plesk backups to own ftp server.. My ftp server is listening by the port 31..
My conf:
Server: mydomain:31
Directory: vpsbkp
User and password...
Passive mode checked
Here the error display: "Transport error: unable to list directory: Curl error: Couldn't connect to server"
Where are the bkp ftp logs?
View 4 Replies
View Related
Sep 21, 2014
Since we had Update to 12.x we have problem to connect to any ftp Server
We have this Problem on two diffrend Plesnikserver.
Both are running under Ubuntu 12.04 ....
View 1 Replies
View Related
Jul 11, 2014
After the upgrade of our Plesk installation from 9.5x to 11.5.30Everything works ok (sites,sites with databases, Plesk etc)but when I go to Home>Tools & Settings> Backup Manager.I see errors on every daily backup I have on schedule:
The backup Plesk_Daily_Full_Backup_1407060112.tar has completed with warnings. (View the details) Close this message
Error:mysql "myuser_drupal"
Unable to define superuser password for mysql server on localhost
Error:mysql "myuser_drupal"
Unable to get list of db servers (ErrorCode: 1, STDOUT.
Error:mysql "myuser_wp_eng"
Unable to define superuser password for mysql server on localhost
View 1 Replies
View Related