Plesk Automation :: System Or Service Template Defaults For PHP
Apr 10, 2015
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"
View 3 Replies
ADVERTISEMENT
Aug 11, 2014
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.
View 4 Replies
View Related
Feb 3, 2015
I try to apply my dns template to all dns but it can't work.
I try on the interface and on the command line.
/usr/local/psa/bin/dns --reset [domain_name] -ip [ip]
View 1 Replies
View Related
Oct 28, 2014
I am having issues setting up CloudFlare on out PPA system. I have is setup under Hosted Applications. I have setup a Resource for CloudClare and added it to the service templates. When i go into a clients Control Panel to install the app, I get a couple different errors. When i try to use a previously setup administrator for the subscription, which is listed under "Grant administrative access to existing user," I get the following error:
"Error: Installation of CloudFlare For PA failed. invalid values passed for settings of application resource; details for setting with id 'admin_username': The "CloudFlare username" setting value 'xxxxx' is already in use. Please provide unique value." Is this because I am logged in as the user?
When I create a login under "Use administrative credentials not connected to any particular user," I get the following error: "Error: Installation of CloudFlare For PA failed. Invalid structured output returned by script: Failed to parse structured output. Structured output: '<output xmlns= URL.... WARNING: A connectivity error occurred while contacting the service. WARNING: A connectivity error occurred while contacting the service. WARNING: A connectivity error occurred while contacting the service. WARNING: A connectivity error occurred while contacting the service.'. "
I do get an email from CoudFlare with the setup instructions for the new account.Under the PPA control panel, I am using the IP address for the Management Node in the "POA API IP" field. Is this correct, or should I have entered localhost?I am running 11.5 Update 8, and CloudFlare For PA (3.0.2-18).Setup instructions for Plesk or POA does not quite cover everything for a PPA installation.
View 2 Replies
View Related
May 26, 2015
Is it possible to disable the option to change the system user (FTP/SSH) for customers. I can disable this for the control panel user but not the system user (FTP/SSH). Is there any option to do this that I didn't see?
View 2 Replies
View Related
Aug 28, 2014
How do we disable the "change system user settings" option when a user creates a new webspace? I don't want customers to pick their own system username/passwords.
View 2 Replies
View Related
May 16, 2014
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.
View 4 Replies
View Related
Jun 15, 2015
I have a problem to install a service node. In task, I have this error:
Unable to authenticate at the host '10.252.13.197'. To resolve this issue, please follow the instructions at [URL] ....
I followed the instructions, but mysql don't display my new server.
[root@plesk000-exp-01 ~]# mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa -e 'select accessKey from ServiceNodes where ipAddress="10.252.13.197";'
[root@plesk000-exp-01 ~]#
I deleted service node but the problem still remains.
View 1 Replies
View Related
Feb 26, 2014
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)....
View 4 Replies
View Related
Mar 23, 2015
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).
View 1 Replies
View Related
Mar 18, 2014
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.
View 3 Replies
View Related
Apr 24, 2014
install such extension as Watchdog (available on PPP) on PPA Service nodes (or maybe as a Watchdog Server on Management node)?
View 2 Replies
View Related
Mar 19, 2014
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)'.
Content of the service_config.xml
Code:
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<!DOCTYPE SERVICE_CONFIG PUBLIC "SM" "SM 1.0">
<SERVICE_CONFIG/>
View 3 Replies
View Related
Jun 30, 2014
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.
View 2 Replies
View Related
May 15, 2014
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.
View 2 Replies
View Related
Jun 5, 2014
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:
[Code] ...
View 4 Replies
View Related
May 5, 2014
Is there a KB (I couldn't find one) - to implement rate limiting for receiving mail on our service nodes?
Just had another customer account compromised (not a very weak password either) - and that meant > 250,000 emails - a LOT of cleanup.
Not only do we need rate limiting, but we also need notification of potential abuses.
View 4 Replies
View Related
Apr 21, 2007
I want to establish free web hosting site/service. Is there any system available that will automate all registrations and stuff? I'm looking for something like layeredpanel..
Maybe theres anything similar but open source?
View 1 Replies
View Related
Jul 5, 2013
I am trying to install Automation, and I keep getting an error after the "Getting SELinux" step, here is a log of the process so far:
Code:
[INFO]: Checking current user privileges...
[INFO]: Checking critical environment requirements...
[INFO]: Determining OS parameters...
[INFO]: Detected OS: CentOS-5-x86_64
[INFO]: Getting SELinux state...
[ERROR]: Unexpected error: ''
[Code] ....
I have tried running the installation on a different server and the same issue came up...
View 19 Replies
View Related
Apr 4, 2015
I am installing plesk automation on centos 6.5 using this command on a fresh system
./ppa_installer --password some_password --admin_email some_email
and get the following error.
[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.
Looks like some lib is not found in the mirrors.
View 1 Replies
View Related
Jan 29, 2015
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.
View 8 Replies
View Related
Nov 8, 2008
How to change index manager defaults?
Whenever I set up a new account
View 4 Replies
View Related
Mar 11, 2015
I am currently in the process of migrating a few hundred domains from one server to another using Plesk's Migration & Transfer Manager. The servers have the following name servers allocated:
Server 1: ns9.example.com & ns2.example.com
Server 2: ns1.example.com & ns2.example.com
In the DNS Zone Template in Tools & Settings on Server 2, can I just click Apply DNS Template Changes and change all migrated domains NS records to ns1/ns2? Will this affect custom DNS entries as a lot of the domains have DNS changes that need to remain. I'm just hoping that this might be a quicker way than going into each domains DNS zone and manually changing ns9 to ns1.
I just really don't want all the domains DNS zones to reset to the standard template on Server 2 ...
View 7 Replies
View Related
Jul 2, 2014
It seems to me that the panel is not DNS Template for any domain.
Plesk v. 12.0.18
View 1 Replies
View Related
Feb 10, 2015
I've been messing about a lot recently and I've had to rebuild my VPS template a lot in the past month. For some reason, Plesk is finding user data from a bunch of previous instances, so I've got to a point now where it's saying users exist when they can't be found in the panel interface.
I don't know how my VPS provider's infrastructure works but I'd presume that when I rebuild the server it's a total new instance and no data should carry over.
Is the the user data stored locally, and how would I go about clearing out the obsolete data?
View 1 Replies
View Related
Jul 17, 2014
With the standard-DNS-Layout every customer has an MX-entry like MX 10 mail.customerdomainexample.com
The problem is, that inbound mailservers get a TLS warning, because the mailhostname does not match mail.companydomainexample.com, which is the domain with a valid SSL-Certificate pointing to the same server.
Wouldn't it make sense to change the default template to mail.companydomainexample.com since it is the same machine anyway?
View 2 Replies
View Related
Apr 2, 2015
Is there a chance to change the default nameserver name for customers created by a reseller.
Example:
System wide default
ns.provider.de
ns2.prodiver.de
ns3.provider.de
Now the reseller wants:
ns.reseller.de
ns2.reseller.de
ns3.reseller.de
The NS-Entries of the reseller may be the same physical nameserver, but it should be anonymized. How can I achieve that?
View 1 Replies
View Related
Sep 3, 2014
I disabled the reverse proxy and i got following error:
Code:
Fehler: Aufgrund von Fehlern in den Konfigurations-Templates konnten keine neuen Konfigurationsdateien für den Apache Webserver erstellt werden: Template processing failed: file = /opt/psa/admin/conf/templates/default/server.php, error = Template_Exception: syntax error, unexpected '=>' (T_DOUBLE_ARROW)
file: /opt/psa/admin/plib/Template/Processor.php
[Code] ....
Now I got the problem that i can't create the /etc/apache2/plesk.conf.d/server.conf
View 1 Replies
View Related
Aug 13, 2014
edited /usr/local/psa/admin/conf/templates/custom/domain/nginxDomainVirtualHost.php and add this include hhvm.conf; and work but it's possible to edit this setting only for one vhosts? I must enable only for one vhost because i have some php script not work with hhvm
View 3 Replies
View Related
Feb 7, 2015
I am now encountered the problem, in which a user wanted to create an FTP account that is already in use by another user.
Is there a kind of template / mask in which you can optionally specify the user name style.
If the user is set up, but it creates the system user name, you could not let this might Automatically set before that?
View 1 Replies
View Related