Plesk 11.x / Linux :: Event Handler For Subscription Created

Apr 25, 2014

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.

View 3 Replies


ADVERTISEMENT

Plesk 11.x / Windows :: Event New Subscription Created / Delete On Event Manager

Apr 17, 2014

How can I create new action when new subscription was created/deleted?

View 1 Replies View Related

Plesk 11.x / Linux :: Event Handler To Change Default Permissions Of Skeleton Site

Mar 1, 2015

I am running Plesk 11.5.30 on CentOS and trying to change the default permissions of the /httpdocs folder and the skeleton site that is in .skel/0/httpdocs that appears when a domain is created. I have failed to find the event that I need to use to trigger the command.

#!/bin/bash
chmod -R g+rwx "/var/www/vhosts/${NEW_DOMAIN_NAME}/httpdocs"​

Some research suggested using the 'physical hosting created' but there is no option for this in 11.5.30.

View 3 Replies View Related

Plesk 11.x / Linux :: Running Script From Event (Hosting Settings Created)

Jun 10, 2014

I'm trying to run a simple bash script when a new account is created, because I need to move some files automatically. So what I did:

I have created a simple bash script for testing if Plesk run it, called move_some_files.sh under /var/www

Code:

#!/bin/bash
echo "${NEW_SYSTEM_USER} ${NEW_DOMAIN_NAME}" >> move_some_files.log

I created this file as root and did chmod +x.

I created a new 'Hosting settings created' event running as root and with the highest priority with this command: /var/www/move_some_files.sh

I created a new customer with to test it

But, is not running the script! If I try some command directly on the event like 'touch /var/www/new_file' it's created, so the event is running, but not my script.

View 1 Replies View Related

Plesk 12.x / Linux :: Dovecot Mail Subscription File Not Created?

Dec 16, 2014

if i create a new mailaccount in the power-user panel and i dont log in into the webmailer, so the "subscription" file is not created.

that means there is no way to sent emails with the new created account with external mail clients (Thunderbird), because there is no "sent" or "drafts" folder.

the problem disappears, if i log into the webmailer after creating a new mailaccount.

is there any other way to fix this bug? i want plesk 12 to create the "standard" folders (Trash, Drafts, Sent, Spam) automatically.

something to the used system:

- Ubuntu 14.04 Server
- Plesk 12.0.18
- IMAP/POP3 Server: dovecot
- SMTP Server: postfix

(logfiles are not showing anything..)

View 8 Replies View Related

Plesk 12.x / Windows :: Creating Event Handler - Domain Name

Dec 18, 2014

I am trying to create plesk event handler

I have created the event

"C:Program Files (x86)ParallelsPleskbinsubscription_settings.exe" -u "${NEW_DOMAIN_NAME}" -disk_space 15G
for domain updated / domain created

But it doesn't run.

If I add hardcode the domain name for example mytest.com

"C:Program Files (x86)ParallelsPleskbinsubscription_settings.exe" -u mytest.com -disk_space 15G

the event works.

View 7 Replies View Related

Plesk 11.x / Windows :: Unable To Create Or Update Subscription - PHP Handler Is Not Registered

Jan 23, 2014

I have parallel plesk 11.5 on my VPS hosting. Recently I upgraded the PHP version to 5.4 via Updates and Upgrades feature. Now, I am not able to change anything for any domain/website, it always shows me following error:

"Error: Unable to create or update the subscription: The PHP handler "fastcgi-5.4" is not registered. It was probably deleted from the server. Register a handler with the same properties and try again."

I tried creating a handler with same name in IIS but it didn't work. When I checked in "Server Components" the max PHP version is "PHP 5.3.28" but I see PHP 5.4 installed in C:ParallelsPleskAdditionalPleskPHP54 folder on the server.

View 2 Replies View Related

Plesk 11.x / Windows :: Unable To Create Or Update Subscription - PHP Handler Not Registered

Dec 1, 2014

When logged into the admin panel, I can manage all other domain except for one. When I try to manage this particular domain (which is our own domain rather than a client domain), it takes a while before returning page not found. In the logs, it's getting a high volume of the following error message:

Error: Unable to create or update the subscription: The PHP handler "fastcgi-5.3" is not registered. It was probably deleted from the server. Register a handler with the same properties and try again.

I've tried attacking the issue through IIS. PHP appears to be configured correctly in IIS. I've looked at permissions. The website itself runs fine, I just can't manage the domain.

Another issue, which may be related, is when trying to access the PHP Manager in IIS for the PleskControlManager site, it gets an error stating that it can't find the php.ini file. I don't know if this is normal, or related.

View 2 Replies View Related

Plesk Automation :: Update Hard Disk Memory Limit For The Created Subscription

Mar 3, 2014

Is any way to change hard disk memory limit for created subscription ? It is 4 Gb I have to increase it to 8 Gb.

View 1 Replies View Related

Plesk 12.x / Linux :: Event Manager Commands - Where Does STDOUT Go

Mar 5, 2015

If a shell script is run via the Plesk Events Manager, where does STDOUT & STDERR go? (assuming that nothing in the script itself is redirecting it)

Does it get automatically sent to /dev/null?

Does it get written to a file somewhere?

Is having a script produce output when run from Plesk Event Manager likely to cause any problems?

View 3 Replies View Related

Plesk 11.x / Linux :: Configure Event To Monitor Email Queue?

May 19, 2014

How can I configure an event so when the number of emails in the queue exceeds a certain number then I am notified on the Mobile Plesk Server Monitor?

View 7 Replies View Related

Plesk 11.x / Linux :: New Mailbox Variable From (Mail Account Updated) Event

Jan 15, 2015

PRODUCT, VERSION, MICROUPDATE, OPERATING SYSTEM, ARCHITECTURE
Parallels Plesk, 11.5, .30_build115130819.13, Debian 7.0, Intel 64bit

PROBLEM DESCRIPTION
When triggering the events 'Mail account created' or 'Mail account modified' the returned variable NEW_MAILBOX will always state TRUE regardless of the mailbox option being ticked or not ticked on the 'New mail account' option located on the 'Mail' tab of a subscription.

STEPS TO REPRODUCE
1: Log in to plesk.
2. Select 'Tools & Settings'
3: Select 'Event Manager'
4: Select 'Add New Event Handler'
5: Select Event 'Mail account updated'
6: Enter in '/usr/bin/php /root/scripts/dbmail/mail_mod.php' to the Command box.

[Code] ....

ACTUAL RESULT

[NEW_MAILBOX] => true

EXPECTED RESULT

[NEW_MAILBOX] => false

ANY ADDITIONAL INFORMATION

I submitted this with parallels support and they stated that the variable NEW_MAILBOX will always return as TRUE regardless of if the mailbox option is ticked or not. They also stated the NEW_MAILBOX variable will be true regardless of any action taken on the panel with mail accounts.
The actual documentation on this variable is very sparse

Component name/description Old component value New component value
Mailbox old_mailbox new_mailbox

We previously had some code that would trigger on this variable and would create a mail account on our mail server with or without a mailbox.

if (!strcmp(getenv('NEW_MAILBOX'),"true") && !strcmp(getenv('OLD_MAILBOX'),"false")){
//Create a mailbox on the external mail service
}
if (!strcmp(getenv('NEW_MAILBOX'),"false") && !strcmp(getenv('OLD_MAILBOX'),"true")){
//Create a mail forwarder on the external mail service
}

At some point this variable has stopped working with newer versions of plesk. Having a variable that is always true regardless of what is done when creating a mail account seems pointless and requesting a new feature that was already there in older versions doesnt seem like something that should be requested on a new feature request.

QUESTION: Is there anyway to get this functionality restored other than requesting it gets re added via [URL] ....

View 2 Replies View Related

Plesk 12.x / Linux :: Unable To Activate Added PHP Handler

Oct 24, 2014

I just added a new PHP Handler with PHP Verison 5.5.18 as cgi and i always get an error when activating. I used the samte setting and php ini as the Buildin Ones

root@ip1:/usr/local/src/php-5.5.18# /usr/local/psa/bin/php_handler --list
id: display name: full version: version: type: cgi-bin: php-cli: php.ini: custom:
5.5.18 5.5.18 5.5.18 5.5 cgi /usr/local/php550-cgi/bin/php-cgi /etc/php5/cli/php.ini true
cgi 5.3.29 5.3.29 5.3 cgi /usr/bin/php5-cgi /etc/php5/cgi/php.ini false
fastcgi 5.3.29 5.3.29 5.3 fastcgi /usr/bin/php5-cgi /etc/php5/cgi/php.ini false
module 5.3.29 5.3.29 5.3 module /usr/bin/php5-cgi /etc/php5/cgi/php.ini false

When i want to activate it i get

Fehler: phpinimng failed: Cannot parse php.ini: (<class 'php_ini.PhpIniSyntaxError'>, PhpIniSyntaxError('[<stdin>:24] Invalid configuration line. Are there excessive leading spaces?',))

I get this even if i want to activate a build in one.

In my additional php config i have

mail.log = /var/log/phpmail.log
mail.add_x_header = On
date.timezone = "Europe/Berlin"
[Zend]
zend_extension=/usr/lib/php/modules/ioncube_loader_lin_5.3.so
zend_extension=/usr/lib/php5/ZendGuardLoader.so
sendmail_path = /usr/sbin/sendmail-wrapper-php

I am using Debian Squeeze.

View 4 Replies View Related

Plesk 12.x / Linux :: DEFER During Call Grey Handler?

Sep 25, 2014

sometimes my server doesn't forward emails to other accounts, and I see in log file:

Sep 25 07:38:55 s17218468 /usr/lib64/plesk-9.0/psa-pc-remote[1151]: handlers_stderr: DEFER
Sep 25 07:38:55 s17218468 /usr/lib64/plesk-9.0/psa-pc-remote[1151]: DEFER during call 'grey' handler
Sep 25 07:38:55 s17218468 /usr/lib64/plesk-9.0/psa-pc-remote[1151]: Message aborted.

If I restart the server it works.

View 3 Replies View Related

Plesk 12.x / Linux :: Site Isolation Settings For PHP Handler Type Ignored

Dec 23, 2014

On a server which was running for years now and was updated from plesk 10 to plesk 11 and also to plesk 12 (12.0.18 Update #29) there seems to be a bug.

Customers are able to change PHP handler while in site_isolation_settings.ini it is not allowed:
php_handler_type = fastcgi

PSA service was restarted too:
/etc/init.d/psa restart

This is a serious issue because customers should not be able to change PHP handler type.

Only abonnements created with older Plesk versions are affected. I cannot say which version exactly because server had installed Plesk 10, 11 and 12. What do we have to modify to disallow changing the PHP handler type for this abonnements created with Plesk versions befor Plesk 12?

View 4 Replies View Related

Plesk 12.x / Linux :: Adding New Mail Handler Before Queue For Spam?

Nov 24, 2014

It is posible add new mail handler before queue for spam? Example:

mail_handlers_control --add --priority=10 --executable=/usr/local/psa/handlers/hooks/spam --name=spam --enabled --queue=before-queue --type=recipient-domain --mailname=domain.com --context=text

I need for scan relay mail ....

View 1 Replies View Related

Plesk 11.x / Linux :: No Mailbox Created

May 24, 2014

$request = <<<EOF
<packet version="1.6.5.0">
<mail>
<create>
<filter>
<site-id>34</site-id>
<mailname>
<name>$username</name>
<mailbox>
<enabled>true</enabled>
<quota>1024000</quota>
</mailbox>

[code]....

I write this code for creating mail box, but I get "No mailbox" message in plesk panel. I need to create mailbox.

View 2 Replies View Related

Plesk 12.x / Linux :: New Created Domain Does Not Appear At Panel

Jul 11, 2014

I just created a new Domain "bernhardlinz.de" at the

Plesk Panel -> Websites & Domains -> Add new Domain

After the Creation the new Domain does not appear under "Websites & Domains".

I check the domain with

Code:
/usr/local/psa/bin/domain -i bernhardlinz.de

And all looks fine like my other, older domains:

Code:
General
=============================
Domain name: bernhardlinz.de
Owner's contact name: Bernhard Linz (admin)
Domain status: OK

[Code] ....

I can see the domain under "Mails" and also create new mail accounts. There are no Errors for this under

Code:
/usr/local/psa/admin/logs/panel.log

As i try to add the domain first i got a

Code:
[11-Jul-2014 21:41:35 Europe/Berlin] PleskUtilException: mailmng-outgoing failed: ERROR:outgoing:database disk image is malformed

Which I removed with the

Code:
/usr/local/psa/admin/sbin/mchk

Command I found in the Plesk forum. After that i could add the domain.

I try a add another fantasy domain - also works but alos not displaying in Panel "Websites & Domains"

I take a look at the Plesk-Database "psa" with the Build-In "phpMyAdmin"

I take a look at the table "domains" and it looks like the other entries.

The Server was restored a few days before from a Backup. After the restore i had have the problem the "mysql" service did not start. I fixed the problem with the description from [URL] ... (Start mysql in recoverymode, export all data, delete the content of the whole mysql folder /var/lib/mysql folder, init new database and import the exported data). After that all looks fine.

View 2 Replies View Related

Plesk 12.x / Linux :: DNS Zones Not Created On Slave Servers

Jul 19, 2015

I am setting up slave DNS servers using bind 9.8 on CentOS 6. I have followed the procedure here successfully: [URL] ....

The problem is that even if I see something like the following in named.run on the slave server (which implies the rndc connection worked):

received control channel command 'addzone xxxxxxxx.com { type slave; file "xxxxxxxx.com"; masters { x.x.x.x; }; };'
received control channel command 'refresh xxxxxxxx.com'
received control channel command 'addzone xxxxxxxx.com { type slave; file "xxxxxxxx.com"; masters { x.x.x.x; }; };'

I still cannot query any entries for that zone from the slave DNS server:

$ dig @y.y.y.y xxxxxxxx.com
; <<>> DiG 9.8.3-P1 <<>> @y.y.y.y xxxxxxxx.com
; (1 server found)
;; global options: +cmd

[Code] .....

I also do not see any zone files created anywhere on the slave server.

View 12 Replies View Related

Plesk 11.x / Linux :: Each File / Folder Created By PHP Overridden By FTP

Jul 14, 2014

I got this Problem after install a New Plesk Server.

Current: CentOS 6.5, Plesk 11.5.30, PHP 5.3.3 (Default install), PHP as FastCGI (I Tried also with Plesk 12.x).

What I did: in IP Tables i set al Ports for Plesk; I set in /etc/proftpd.conf the Ports "PassivePorts 65000 65200"

Problem: Each file ore folder created by an php Application i cant see ore override by ftp.

Example: I Upload a new installation of Joomla 2.5 (CMS) by ftp with a User created by plesk. Then I start the Installation by using the Webbrowser. In this process Joomla change some files and create also an configuration.php. All done by php Scripts. Now I check the configuration.php on the FTP -> Cant see it. -> I check by SSH and the file exists. If I Check the Permissions it seams, that all file have same permissions, owner and group.

-> Configuration.php can not see by ftp ore be overwritten
-> htaccess.txt I see by ftp and i can manage
->> Permissions seams to be the same "?"!"

View 1 Replies View Related

Plesk 11.x / Linux :: Different IP For Domains In Same Subscription

Jun 5, 2014

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.

View 1 Replies View Related

Plesk 12.x / Linux :: Error After Add Subscription

Jul 21, 2014

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

View 5 Replies View Related

Plesk 12.x / Linux :: API Subscription Not Working

Aug 31, 2014

I have an Issue with API.

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.

View 4 Replies View Related

Plesk 12.x / Linux :: No Backups Are Created Or Loaded On FTP Backup Server

Oct 7, 2014

We use Plesk 12 with ubuntu 12.04.5 LTS ......

Plesk 12 does not create backups for Customers.

If we restarts the server, Plesk created again for 2 days backups and then again not. There are no errors present.

The backup should be loaded on a FTP backup server after the Create

This makes Plesk but only if you restarts the server. Otherwise, no backups are created or loaded on the FTP backup server.....

View 1 Replies View Related

Plesk 12.x / Linux :: Mail Tab Is Not Showing For 1 Subscription

Aug 27, 2014

I have a problem with e-mail management. I have 4 subscriptions and for 3 of them I do not have problem.

For one of them, mail tab not showing. Obviously I check the checkbox "Enable mail management functions in Panel"...

View 1 Replies View Related

Plesk 12.x / Linux :: API Subscription Response Timeout

Apr 9, 2015

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.

View 1 Replies View Related

Plesk 12.x / Linux :: Cannot Transfer Subscription To Another Customer

Jun 1, 2015

I am trying to transfer a subscription to another customer but it fails with this error message...

this subscription requires more resources than can be provided by the new owner's provider

I can't find any limits for a customer so I don't know why it won't transfer. This is plesk 12.

Is there a limit somewhere as to how many subscriptions a customer can have?

View 1 Replies View Related

Plesk 11.x / Linux :: IP Settings - How To Associate Different IPs In 1 Subscription

Oct 9, 2014

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...

View 1 Replies View Related

Plesk 12.x / Linux :: Error When Creating New Subscription

Jun 18, 2015

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.

[2015-06-18 08:35:13] ERR [util_exec] proc_close() failed
PHP Fatal error: Uncaught exception 'PleskUtilException' with message 'glmng failed: ' in /usr/local/psa/admin/plib/Service/Agent.php:243
Stack trace:

[Code] .....

View 7 Replies View Related

Plesk 12.x / Linux :: Set Subscription User Shell Via Xml?

Jul 1, 2015

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?

View 1 Replies View Related

Plesk 12.x / Linux :: How To Get Checkbox Unselected For Every Subscription

Jul 2, 2015

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) ?

View 8 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved