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


ADVERTISEMENT

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 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 :: 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 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 / 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 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 12.x / Windows :: File Manager Not Working - Cannot Delete Domain

Sep 11, 2014

After we update to plesk 12. We are not able to access file manager inside plesk.

Its giving this error : check attachment,

Also when we tries to delete a domain we can't its giving this error message : Failed to parse response. Reason: Failed to read data from stream Process output:

It seems some permission issue. I already executed plesk configutor and permission fix tool but the issue remains.

View 1 Replies View Related

Apache :: Exception In Event Viewer

Aug 4, 2014

We got exception in Apache 2.4.9 Eventviewer

Faulting application name: httpd.exe, version: 2.4.9.0, time stamp: 0x5326c43e
Faulting module name: libapr-1.dll, version: 1.5.0.0, time stamp: 0x5326c4ed
Exception code: 0xc0000005
Fault offset: 0x000091b4

[Code] ....

View 3 Replies View Related

Keeping Iptables Data And Restore In The Event Of A Crash

May 24, 2007

way to monitor traffioc usage by IP address on WHT a while ago.

Well finally I have managed to do it!

Here is what is displays...

PHP Code:

1201K  962M            all  --  *      *       0.0.0.0/0            0.0.0.0/0
54545   41M fws-client1  all  --  *      *       0.0.0.0/0            192.168.2.6
 507K  295M fws-client2  all  --  *      *       0.0.0.0/0            192.168.2.10
 1015  824K fws-client3  all  --  *      *       0.0.0.0/0            192.168.2.14
    0     0 fws-client4  all  --  *      *       0.0.0.0/0            192.168.2.18
    0     0 fws-client5  all  --  *      *       0.0.0.0/0            192.168.2.22
66616   58M fws-client1  all  --  *      *       192.168.2.6          0.0.0.0/0
 571K  568M fws-client2  all  --  *      *       192.168.2.10         0.0.0.0/0
  905  126K fws-client3  all  --  *      *       192.168.2.14         0.0.0.0/0
    0     0 fws-client4  all  --  *      *       192.168.2.18         0.0.0.0/0
    0     0 fws-client5  all  --  *      *       192.168.2.22         0.0.0.0/0 

I have just one final question....

In the event of a crash, will all the data that has been accumulated using iptables, be lost?

If so is there a way to store the values in a file, say every 5 mins?

View 4 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 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 :: Databases Are Not Deleted When Delete A Subscription

Oct 29, 2014

I have done many tests and always fails.= Plesk 9.5 to Plesk 12 =

I perform a migration with several domains from Plesk 9.5 and Plesk 12, it runs well. Then I remove all the migrated domains in Plesk 12 server. Then I perform a new migration with the same domains from the same server with Plesk 9.5 to the same server with Plesk 12 and it fails.The reason is that Plesk 12 doesn't remove the databases attached to the subscriptions. The new migration tries to deploy the databases and it can't because the same databases with the same users are deployed already.

I tried to remove the databases with `plesk bin database` and it was not enough. Maybe the same error will show when you migrate from Plesk 11.5/12 to Plesk 12.

View 3 Replies View Related

Plesk 12.x / Linux :: Cannot Access Backup Manager (Tools And Settings Or Any Subscription)

Jul 11, 2014

After a successful upgrade from 11.5.30 to 12.0.8 the Backup Manager cannot be accessed anymore. The system replies with:

Internal error: Failed to parse response. Reason: Failed to read data from stream Process output:

MessageFailed to parse response. Reason: Failed to read data from stream Process output:
File PMMConnector.php
Line708
TypePleskPMMResponseException

Apparently the backups are not saved anymore either.

View 3 Replies View Related

Plesk Automation :: Website Is Not Assigned To Subscription - Cannot Reassign Or Delete

Mar 18, 2014

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

View 2 Replies View Related

Delete Files Created On A Specific Date

Jun 28, 2008

Is there a quick shell command to find (inside a directory) and delete all the files created e.g. on January 10, 2008 ?

View 2 Replies View Related

Plesk 12.x / Windows :: No IUSR Accounts Created Since Upgrade?

Aug 13, 2014

Since I upgraded to Plesk 12, when I create a new subscription, an IUSR account is no longer created for that website so I can grant the appropriate permissions to folders, etc.

View 2 Replies View Related

WHM: Can You Delete Entries In SSL Key/Crt Manager

Aug 14, 2008

how to delete the excessive SSL keys / CRT's from WHM?

I have so many of these freakin' things (from doing it WRONG the first few times) that I want to clean it up.

how do you clear out the KEYS / CRTS / Signing Requests from WHM?

View 3 Replies View Related

Plesk 12.x / Windows :: How To Change Subscription

Mar 7, 2015

I want to change subscription from vmtraininginstitute.com to vmtechnosys.com. How can i do?

View 1 Replies View Related

Plesk 12.x / Windows :: Wordpress Install Created Duplicate Tables

Feb 8, 2015

Window server 2012 r2: I installed wordpress on a domain using plesk. Seemed to work correctly. But when I went to the site www.example.com/wp-admin, the native or default wordpress install started up. I could find no way to bypass this, so I just re-entered all the same settings.

The result was that I ended up with 2 sets of database tables, one set named with my chosen prefix wp_blahblah_ and one set prefixed with wp_blahblah_wp_.

Not good, so I deleted the later set. Wordpress seems to be working, despite one error on the tables I can't reproduce.

View 1 Replies View Related

Plesk 11.x / Windows :: Subscription Not Found But Present In IIS

Mar 20, 2014

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?

View 2 Replies View Related

Plesk 11.x / Windows :: Error Creating A New Subscription

Apr 13, 2014

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

[Code] ....

View 3 Replies View Related

Plesk 11.x / Windows :: Point Www Only To Another Subscription On Same Server

Apr 7, 2015

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.

View 3 Replies View Related

Plesk 11.x / Windows :: Subscription Term Is About To Expire?

Feb 19, 2014

I get a mail that my subscription term is about to expire. In Plesk panel I can see this is for 27.02, but I don't see how to extend/renew it.

View 10 Replies View Related

Plesk 12.x / Windows :: MSSQL 2012 User Is Created Without DB Owner Role

Jan 5, 2015

After upgrading to Plesk Panel 12, when db user is created on MsSQL 2012 server, db user seems to be missing db_owner role which is causing a lot of hassle at the moment.

I was not able to locate any settings for such except for following option.

"Enable the db_backupoperator role membership for all Microsoft SQL Server database users"

Please note, this only applies to new db user created as Plesk 11.5 didn't have such problem and only seems to be related to SQL 2012 not 2008.

View 5 Replies View Related

Plesk 12.x / Windows :: How To Import Existing MS SQL Database Into Subscription

Apr 2, 2015

I've created a website for a client using Sitefinity CMS and MS SQL Server 2008 R2. I've transferred the database from my local SQL server to the production server using SQL Management Studio.

I've created a customer and subscription for hosting the website and it's all up and running perfectly. However, I want to automate the backup of the SQL database for the website which I can only do if the subscription knows about the SQL database for that website. So, how do I associate the two? How do I get the database to show up in plesk for that customer such that it can be part of the scheduled backups - and of course also somethign I could restore via plesk if I had too?

The database exists. It wasn't create via plesk in any way, but I want plesk to be able to back it up, and ideally for it to show up in the customers subscription, etc.

View 1 Replies View Related

Plesk 11.x / Windows :: Subscription Suspended By Bandwidth Overuse

Aug 1, 2013

What happens to subscriptions which automatically suspended because of overused monthly bandwidth , at new month ? do they automatically activate or we should activate them manually ?

And does the monthly bandwidth counter reset at first they of new month or it reset 30/31 day after subscription creation date?

View 3 Replies View Related







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