We are trying to add new service node but when we are trying to finish procedure we receive error: The usage of the resource "IP addresses" for subscription with ID "1" exceeds the value of "0".
We do not have a such subscription using ID "1". As I can see this is the ID in database for "Parallels Automation License Key", but it has unlimited license key and have already two nodes attached.
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)'.
We have a PPA environment with 7 service nodes (one management node, two web-, two database- and two e-mail servers). We also have 2 variants of hosting, a consumer and business variant.
We want separate the consumers from the business variants on the service nodes.
I want to use webserver1, databaseserver1 and emailserver1 for consumer hosting and webserver2, databaseserver2 and emailserver2 for business hosting
I want to make two service templates, one consumer and one business template.
Is it possible to configure ppa : When we subscript a consumer template, everything must provision only on the consumer service nodes automatically (web01, db01 and email01) and not on the business services nodes.
We have one Cloud Server hardware node that exists only as the backup location for containers and VMs in Cloud Server/PVA (it hosts no virtual servers). Can it also serve as a Backup Server Node?
A related question, in my case, is whether we can configure a Backup Server Node to use a particular drive/mount/directory, as we can with PVA? I couldn't find any info in the docs about any settings at all for the Backup Server Node.
Got following Problem: Unable to find service node for web service on domain with id = 0
After a Check from [URL] ....
I tried this: [URL] ....
Result:
+--------------------+--------------+---------------------------------------+------------------------------+------------+ | Domains | Service Type | IpAddressesCollections.ipCollectionId | Current value of ipAddressId | Have to be | +--------------------+--------------+---------------------------------------+------------------------------+------------+ | XXXXXXXXXXXXX.org | mail | 30 | 0 | 1 | +--------------------+--------------+---------------------------------------+------------------------------+------------+
Resolution:
mysql -uadmin -p`cat /etc/psa/.psa.shadow` -Dpsa -e 'Update IpAddressesCollections SET ipAddressId = 1 WHERE ipCollectionId = 30'
Result: ERROR 1062 (23000) at line 1: Duplicate entry '30-0' for key 'PRIMARY'
Deleted a domain workspace in Parallels Plesk and now I am getting this error when signing into the panel:Looked at the logs and been trying multiple commands (including the bootstrapper repair etc.)I found the full error from the logs:
[13-Jun-2015 16:35:33 UTC] PleskDBException: Unable to find service node for web service on domain with id=6 file: /usr/local/psa/admin/plib/PhDomain.php line: 1404 code: 0 trace: #0 /usr/local/psa/admin/plib/Smb/Subscription/Domain.php(490): PhDomain->getWebHostingServiceNode()
After deleting a domain, we got the following error which rendered the panel useless.
Internal error: Unable to find service node for web service on domain with id=5 Message Unable to find service node for web service on domain with id=5 File PhDomain.php Line 1402 Type PleskDBException Go To Previous Page
Are there any special practices to reboot a node in PPA?
So far a simple "shutdown -r now" hasn't broken anything but I want to make sure PPA doesn't make assumptions about the nodes being up at any point. (both management and service)...
it is possible to run services such as Apache, Mail, MySQL etc on the Management Node.
I have PBAS setup and have registered the PPA server with PBAS, the PPA Management Node is marked as ready to provide, I have added the appropriate attributes to the MN under Service Nodes, however according to PBAS I need to install the ppa_apache package (and probably others), and when I go to install the packages it's trying to install the ppa_agent package which is conflicting with ppa_core.
Due to data center limitations, I am restricted to 100GB on my primary disk but can have up to 2TB on a second disk.Is it possible to have the backup node use the second disk instead of the primary disk?Also is it possible to have multiple to have multiple backup nodes?
We want to configure our PPA mail node to send all outbound mail through our spam filtering appliance but don't know where to start.
Reading standard Postfix docs give basic instructions on how to direct a handful of domains through a mail relay but we want to direct every outbound email from all domains through our spam filter.
We also want to ensure that any regular updates to the mail node won't break or undo this config.
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 brought up a basic centos 6.5 install in desire to add it to my ppa cluster.
The ppa installation task failed because wget was missing on the new node. The error message made it easy to fix (yum install wget) but thought I'd report it so that your pre-req scripts can check and install it for future users.
I'm testing PPA and have now a questions. How can restrict a subscription to a service node? I have try that over the subscriptions and custom atribute's. That work for the most thinks (Apache/Postfix) but not for MySQL, all customers can by a create to choose the database server (all database servers). How can i customer don't allow to choose the database server?
For a example (web1, mail1 only -> db1) (web2, mail2 only -> db2)
And for the DNS settings to create automaticly a DNS for the database service? (as a sample: db.domain.de -> database service node)....
I can't seem to find if there is a way to specify what hostname is used for a service on a service node. For instance, if one creates a service node named web01, and makes it a DNS service node, is web01 what will be used when creating NS records in zone files, or is there a way to change that?
The ppademo.com site is offline (and was unlicensed again last week).
after learning that server aliases are not available for PPA, we are needing to rename our service nodes. We have looked through the documentation, and did see the ppa.hostname command for the management node but there does not seem to be an equivalent for service nodes.
Is there a way to set default PHP settings so they apply by default to all websites' custom php.ini file, or even server-wide or system-wide? For example, the timezone? I am using custom builds of PHP 5.5 and 5.6, per the PPA docs, but I found that, contrary to some Plesk (not PPA) documentation, /etc/php.ini is not used. It looks like a set of PHP settings are generated into a php.ini for the vhost, and I can set "Additional Directives" for each website but would prefer to set a system default. For instance, on recent PHP versions not having a timezone set generates a warning in the logs on every PHP execution. I'd also like to enable opcache since we're using FastCGI. So from where does PHP generate the vhost's php.ini?
As an aside, adding an "Additional Directives" entry with this unquoted generated an error and no directives were saved:
date.timezone=America/Chicago Instead, I had to quote it: date.timezone="America/Chicago"
I'm attempting to run PPA on Azure but I only have one IP to work with, the public IP address. It's not possible to communicate between servers using the internal IP addresses as they are not necessarily on the same sub net. How can I get PPA and service nodes running on a single IP address per machine?
An example of the error I get when setting up a service node is
Failed to execute command 'cscript /Nologo http_download.js http://<private ip address>/tarballs/Win32Bin/support.cab'. Check logs in 'c:POA_Deploy' at host '<public ip address>' for more details about the reasons of failure.
I want to develop a package for Parallels Plesk Automation to introduce some services like backup email, database, websites. I want to know whether it is possible with Parallels Plesk Automation and if so any links to developers site/documentation.
What could I fix by trying to start mysql server, recieve following errors:
plesk interface:
Code: Failed to restart the "mysql" service. Cannot start/stop/restart service: Rather than invoking init scripts through /etc/init.d, use the service(8) utility, e.g. service mysql restart Since the script you are attempting to invoke has been converted to an Upstart job, you may also use the stop(8) and then start(8) utilities, e.g. stop mysql ; start mysql. The restart(8) utility is also available. start: Job failed to start
from the console:
Code: sudo service mysql start start: Job failed to start
Code: mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) output of plesk_11.5.30_reset_instance_data.log:
[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.