Plesk Automation :: Adding Resources After Subscription Deployed?
Feb 11, 2014
We deployed a subscription (through PBAS), and realised afterwards that the database resource was missing.
This has now been added and the subscription synchronised.
However, the MySQL system is still not available on the subscription. How can we enable the MySQL (or indeed any added resource) after the subscription has been deployed.
I saw for Webspace you can add additional webspace, is there a similar feature for the Databases?
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.
The issue is effectively that we created a subscription with the domain. Which has since been deleted. The domain now wants to be added to another subscription on the account.
The domain can be seen in both the PBAS and PPA domains and everything seems to point at the right subscriptions. I presume all this is right as we have other domains quite happily added to the subscription in a similar manner.
I'm not really wanting to rip out the entire domain from the system as we spent the morning putting in 132 records, due to a bizarre lack of bulk insertion tools.
I'm having a problem where there are a few test websites that have been left over from deleted subscriptions, there doesn't seem to be any option under Services > Websites to delete them or reassign them to a subscription, and when I try to add a new subscription and specify one of the websites I can't create the subscription as it says that the website already exists, ideally I would just like to remove these websites
im getting an error when im trying to create a subscription on a windows node via PPA management node, the task error is:
Method name: registerIpPlesk on SCREFleskWebIIS:0 Last execution output: This IP address XXX.XXX.XXX.XXX is already registered in Panel on the network interface Local Area Connection
the IP XXX.XXX.XXX.XXX is the correct service node IIS ip address..
I have some problems adding a database and a webserver service-node:
Mar 19 13:44:13 plesk-db : DBG [SYSTEM 4:6600:f6affb70 lib]: [SMConfig] {module_id="Common"; code="1"} Internal error: SAXParseException while parsing /usr/local/pem/etc/service_config.xml: element 'SERVICE_CONFIG' is not allowed for content model '(SERVICES)'. Mar 19 13:45:50 plesk-www : DBG [SYSTEM 3:9054:f6affb70 lib]: [SMConfig] {module_id="Common"; code="1"} Internal error: SAXParseException while parsing /usr/local/pem/etc/service_config.xml: element 'SERVICE_CONFIG' is not allowed for content model '(SERVICES)'.
I am working on a new install of PPA, and after installation on the management node Im trying to add the other nodes. Ive tried to add a Apache, Postfix, DNS & DB node, and they all have the same issue. The installation task fails with the following error:
Destination host 'node.domain.com' (#3), IP '192.168.1.*' : The operation can not be completed because the following component is missing or is not running: pleskd (sc_name '', sc_id #45)
(domain and IP are removed here, correct in the original error. The IP is a backchannel IP, and the public IP was properly set in the management node).
I've verified that pleskd was installed and is running on each node:
Code:
24710 ? S 0:00 /usr/local/pem/sbin/pleskd --props-file /usr/local/pem/etc/pleskd.props --send-signal 24712 ? S 0:00 /usr/local/pem/sbin/pleskd --props-file /usr/local/pem/etc/pleskd.props --send-signal 24714 ? S 0:00 /usr/local/pem/sbin/pleskd --props-file /usr/local/pem/etc/pleskd.props --send-signal ...
I've verified that my management node can connect to the nodes in question via 8532:
Code: ]# telnet 192.168.1.* 8352 Trying 192.168.1.*.. Connected to 192.168.1.*. Escape character is '^]'. ^] telnet> quit Connection closed.
So there shouldn't be any firewall or other networking issues.
Somehow when customers add a new MySQL database they can select a Local MySQL server. It turns out this is the MySQL instance running on the CP server, can I somehow hide this server from the list?
Starting point: a working site using a shared IPv4, dedicated IPv6, and SSL. HTTP and HTTPS work, the latter only using SNI of course.
The good news: If I simply allocate an IP resource of 1 to a subscription it is pulled from the pool, assigned to the service node, assigned to the web site, DNS is updated, and the site is automatically changed to using a Dedicated IPv4 and Dedicated IPv6.
The bad news: visitors land on the default web site of the service node, with the default SSL certificate.
Other info: I can't ping the new IP, even though it shows in "ip a l" and /etc/sysconfig/network-scripts/ifcfg-eth0:0. [edited]
After the IP assignment, it is still installed, and /etc/httpd/conf/plesk.conf.d/ip_default/domainname.conf shows the new certificate is being used.
However, a second set of VirtualHost entries is created in server.conf for this IP for ports 80 and 443, with NameVirtualHost enabled on the new IP. The port 443 entry uses the default certificate. Apache's setup this default VirtualHost entry will override the web site configuration because Apache is listening on port 443 with the wrong cert.
If I go to "Change webspace settings" and toggle to Shared IPv4, Dedicated IPv6 the site works again via HTTPS, and Dedicated IPv4 and Dedicated IPv6 breaks it again. Setting the SSL cert to None and back again does not work.
Setting the SSL cert to None, changing to a dedicated IP, and enabling SSL results in the server being inexplicably inaccessible...browsers no longer connect to either the default site or the correct site, and I don't see any entries in the vhosts's logs.
[LOGTEE]: Error Downloading Packages: [LOGTEE]: [LOGTEE]: libuuid-2.17.2-12.18.el6.i686: failure: Packages/libuuid-2.17.2-12.18.el6.i686.rpm from base: [Errno 256] No more mirrors to try.
On a clean install of CentOS 6.6 (Final) I did the following:
1. updated the /etc/hosts file to point my ip to the hostname
2. Open the ports in the iptables file.
3. ran the ppa_installer per the instructions on [URL] ....
The ppa_installer log says installed Successfully. However the following occurs:
1. Cannot browse to the url:8443, or any of the other variations (8080, 8880, https/http)
2. Yum installer is now broken (I replicated this twice). Yum will not run at all with the following error:
There was a problem importing one of the Python modules required to run yum. The error leading to this problem was: /usr/lib64/libcurl.so.4: file too short
Please install a package which provides this module, or verify that the module is installed correctly.It's possible that the above module doesn't match the
current version of Python, which is: 2.6.6 (r266:84292, Jan 22 2014, 09:42:36) [GCC 4.4.7 20120313 (Red Hat 4.4.7-4)]
I am now going to try Cent OS 6.4.. will report back.
My Problem is that I can't run webstats or my RAM maxes out causing all kinds of problems. Normally my privvmpages is around 200,000 out of an allocation of 500,000 but with webstats on that goes through the roof.
What can I do? Do I have to get more RAM? I can buy more ram but it is kind of pricey.
Would switching to Plesk solve my problem? I heard it uses less resources. But I have never used it before.
I want to set plesk to allow the overuse for disk space and bandwidth for my customers, but not for e-mail accounts.
If I do not allow overuse, what exactly happens when a customer exceeds the use of resources? The plesk panel immediately stops all the customer's services? Or what?
Moreover: is there a diagnostic utility to understand if the plesk panel is working correctly and is correctly installed?
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 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 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.
We are facing a strange issue in a Plesk Windows server. One of the domain's subscription and the domain itself is not found in Plesk server. We also queried the related tables in Plesk db, but there is no entry of the domain or the user. But the domain is present in IIS. So is the user and the directories along with the correct permissions. How can we resolve the issue and get the domain added in Plesk so that the customer can manage it from Plesk panel?
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 am new to Parallels software, more specifically Parallels Panels. I have installed a trial copy of the software on my Windows 2008 R2 SP1. This is a Dedicated machine with no other users on it. I presume installation of Panels was successful because I can log in and see the admin control panel. I created a customer with success. I am now trying to create a subscription using the default service plan. After entering all the appropriate info on the new subscription page and submitting it, a few moments later I receive the following error:
Error: Filename: ?C:Inetpubvhosts estyourwebhostingprosite.comhttpdocsweb.config Error: The configuration section 'system.webServer/rewrite/rules' cannot be read because it is missing a section declaration In module Exception type: System.Runtime.InteropServices.COMException at Microsoft.Web.Administration.Interop.AppHost
PRODUCT, VERSION, VERSION OF MICROUPDATE, OPERATING SYSTEM, ARCHITECTURE Plesk 11.0.9, Windows Server 2012
PROBLEM DESCRIPTION: I have an application that uses customer prefixes ex. user1.domain.com, user2.domain.com. The application exists in one plesk subscription (with exclusive IP), the sales site (www) exists on another subscription on the same server (different IP - shared). On a previous version of plesk (9.5 I believe) I was able to easily point the www prefix to another subscription/domain on the same server. In Plesk 11 it won't let me do that ... when I try to create a "www" alias for the intended subscription I get the error message "Error: Wrong prefix for domain alias".
EXPECTED RESULT: Some option to allow me to point the www prefix to another subscription on same server.
For the application's subscription, the DNS is hosted within plesk, for the intended www subscription the DNS is hosted at godaddy. I don't think any of that makes a difference but mentioned anyways.
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?