Plesk 11.x / Linux :: Catch-all Not Working On Additional Subscription Domains
May 26, 2014
URL....I trying to solve the problem fixing the psa.Parameters table, however i cannot find the relation between id on Parameters table and domains table.
I understand it is not possible to move a domain to another subscription, or to create a new subscription with an existing domain name.The problem I have is I wish to use a different IP address for a domain within a single subscription. I need to do this to establish SSL cert on one of the domains.
I have mine Custom billing Panel Today my Developer start code API for it by Docs that Parallels given but we got stuck on Subscription...
if we set login name and password API shows this error While creating subscription
Error 2204 Unable to update hosting preferences. Unable to check system user existence: login name is empty It happens only while creating the subscription...
Creating of user is working fine only subscription don't want work and we don't know why we tried many things and none of it works.
My plesk 12 is working, but one subscription doest show, or any of the domains.
Doing some digging got to this:
[root@server src]# /usr/local/psa/bin/sw-engine-pleskrun check_db_integrity-beta.php PHP Notice: Undefined variable: PLESK_DB_HOST in /usr/local/src/check_db_integrity-beta.php on line 240 List of records in [psa.domains.cl_id] that miss a matching record in [psa.clients.id] 0 List of records in [psa.dom_level_usrs.dom_id] that miss a matching record in [psa.domains.id] 27, 32, 36, 43, 61, 83, 86
[Code] ....
ERROR: Table "smb_apsImportedResources" is not found in database "psa"! ERROR: Table "smb_apsImportedResources" is not found in database "psa"! List of records in [psa.domains.webspace_id, cl_id WHERE webspace_id<>0] that miss a matching record in [psa.domains.id, cl_id WHERE webspace_id=0] 20:1, 52:1, 52:1, 52:1, 68:1
I have a server which I am using for multiple clients. Some with SSL enabled, some without. I have added custom ngingx conf files for nginxDomainVirtualHost.php and nginxWebmailPartial.php in /usr/local/psa/admin/conf/templates/custom and modified the following lines to try and harden security:
I check in /etc/nginx/plesk.conf.d/vhosts/<domain>.conf and the changes are shown correctly there but browsers and online tools such as [URL] .... still say that the sites are using 128 bit encryption and TLS 1.0.
The Plesk admin panel itself displays 256 bit encryption and TLS 1.2.
Microsoft Windows Server 2012 R2 12.0.18 Update #26
After the creation of a subscription, DNS does not work properly.
The last successful subcription was created Sept 26, 2014.
I thought something ontoward had happened at first so attempted to delete the subscription and re-create.
On attempting to delete the subscription the following error is given
Error: Some of the selected subscriptions were not removed. Unable to remove domain: Error during domain.com removeZone: dnsmng failed: Unknown error 0x80131509 (COM Interop Error 80131509, Description: System.InvalidOperationException: Operation is not valid due to the current state of the object. at System.Management.ManagementObject.Delete(DeleteOptions options) at System.Management.ManagementObject.Delete() at WMIMsDNS.Provider.DeleteRecordsByType(String zone, String type) at WMIMsDNS.Provider.DeleteZone(String zone, UInt32& serial)) at removeZone ZoneName = 'domain.com'Click to expand...
I have several domains configured in my Plesk, and one of them is set as the "Detault site" under Home >> Tools & Setings > IP address management.This has the unpleasant side effect that any domain I point to this IP renders content from the Default site unless it's setup. How can I configure the default site to render content from only one domain?
I want to add a new port for SMTP (1024) as a client's ISP block 25, 587 and 2525. I tried following this guide: [URL] ... but it doesn't work with Parallels Plesk Panel 11.5 ...
How to add an additional SMTP port to Qmail in Plesk 11.5?
Using Plesk 12.0.18 and CentOS 6.6, I installed PHP 5.6 through the Plesk Updates menu. After that, the new version was not automatically selectable inside Plesk Panel. I added it using php_handler.However, when selecting PHP 5.6 for a website, I only get a 500 server error.
Trying to troubleshoot, I ran "/opt/plesk/php/5.6/bin/php-cgi -v", which also resulted in an error:Fatal Error Unable to allocate shared memory segment of 67108864 bytes: mmap: Cannot allocate memory (12)The same kind of error is logged in the error_log for the website I switched to 5.6.
The error also occurs when calling "php-cgi -v" directly in the command line.The same error occured when I tried the same thing with PHP 5.5.
For some application-testing I installed PHP 5.5 and PHP 5.6 alongside the existing PHP 5.3 installation. To do that I used the web-interface of the Plesk-installer.
Installing the software went well, or at least didn't show any errors.
After installing I went back to the login-page to get back into the portal, but that didn't work.
I am using the right username and password and don't see any errors, I just keep getting the login-screen and no errors. Logging in through SSH is working as it should. Only access to Plesk on 8443 seems to be denied.
Server reboot didn't work, restarting Plesk-services didn't work...
How can I restore this so I can get back to work?
This Plesk-installation is on a CentOS 6 server on which I have full rights.
i'm running the latest version of Plesk 11 on a Ubuntu 12.04 system.
We have a customer with a domain and this customer added other domains to his account.
now, 2 domains are not working, he created the as usual, Plesk created the directories under /vhosts/domain.com/domain1.com and the vhosts.conf are also correct.
when i'm opening the domain in the browser, i get the following error message:
The requested URL /var/www/vhosts/domain.com/index.php was not found on this server.
Is there any way to give a reseller or customer access to the php custom settings box labeled "Additional configuration directives" on the website & domains -> php settings button that an admin can see and alter? We have attempted to give resellers the "Common PHP settings management" and "Setup of potentially insecure web scripting options that override provider's policy" options, but it still does not show up to a reseller.
I have plesk 12.0.18 Update #9 Fresh installation. When i'm done with adding an subscription i get this error:
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/domainVhost.php, error = Template_Exception: No data. file: /usr/local/psa/admin/plib/Template/Processor.php line: 28 code: 0 Previous error: Template_Variable_Exception: No data. file: /usr/local/psa/admin/plib/Template/Variable/AbstractCachedData.php line: 67 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. See the details in Configuration Troubleshooter
I'm using the API to dynamically create new subscriptions. However, I frequently never receive a response back for my request.
I have enabled graceful restart, which has made an improvement, but my requests still fail to return a response every now and then.
This is problematic, because the script needs to know whether the subscription has been successfully created or not. Often times, when the script times out, the subscription was successfully created. But Once and and a while that's not true, and it is causing inconsistencies in my system.
I manage 1 server with 5 domains. I use the panel as power user (unique user)
I want to assign a new IP to a domain. In the hosting setting there is no IP to choose and in the IP tab if I click on the IP there is no domains to choose becouse all the domains are assigned to the primary IP...
I'd like to set IP in the hosting setting of the domain...
We get this same error on every subscription we create. It doesn't seem to affect anything but it's more of an annoyance than anything. It did it on plesk 11.5 and now with plesk 12.
Is it possible to set the subscription shell option of an subscription via xml api? I see it is possible via cmd "/usr/local/psa/bin/subscription -u {subscription} -shell /usr/local/psa/bin/chrootsh" But how is it possible via xml api?
I'm using plesk with PBAS to provision subscriptions.I have it set to allow all users all applications in their permissions.However, on all the subscriptions, under the "General" -> "Customize" -> "Applications" tab, it always has the checkbox: "Provide only applications that I select" checked, so they can't see any applications.How can I get the checkbox unselected for every subscription (and any new subscriptions) ?
When you create a subscription for a customer, there is a php max memory assignment in the service plan. I am wondering if the max memory is based on per website customer creates or it is based on per account..
if it is based on per website, that means if a customer create 100 website under one subscription....and per php max memory is 256m, that means they will be using max. 256mx100...is that correct?
Is there any way to do resource throttling by subscription?What I would like to do is limit the CPU resources to all of the subscriptions equally, as some subscriptions are eating away the CPU all the time.
Version Parallels Plesk v12.0.18_build1200140606.15 os_Debian 7.0 OS Debian 7.7
Which Event Handler gets fired when a subscription is created? I've tried both "Hosting settings created" and "Default domain (the first domain added to a subscription/webspace) created" but those don't seem to be firing when I create a new subscription. After creating the Event Handler the psa service was restarted each time. I have a script setup to just log the NEW_DOMAIN_NAME to a file, but that isn't happening.
When creating a new subscription via the API (Plesk 12) is there a way to specify the Mail settings? More importantly is there a way to turn off Mail when setting up a new subscription? Each time I create a subscription via the API Plesk spits out the following error:
Code: 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/domainWebmail.php, error = Template_Exception: Empty content was provided for config file /etc/httpd/conf/plesk.conf.d/webmails/horde/demon3zxc.e-worksmedia.com_webmail.conf file: /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php line: 47 code: 0.
When changing the subscriber of migrated (or new subscriptions) from a normal customer to another normal customer or reseller customer I sometimes get the following message:
Code: Reassigning Selected Subscriptions ERROR: PleskFatalException Picker not supported
When going back to the subscription overview I get the following error message:
When adding a subscription with a certain plan, I get this error"Error: The plan was not applied: Custom changes in PHP settings" almost instantly after I initiated the creation of the new subscription. Another service plan doesn't have the issue, and though I tried finding the reason why one works while the other doesn't I simply wasn't able to. The service plan in question is used for over 40 others without a problem just when I select it for a new subscription, I get the mentioned error message.I am using Plesk 12 on Linux, all latest updates installed.