Plesk API Apache Restart Interval - Dynamically Creating Subscriptions

Feb 12, 2015

I'm using PHP cURL with the Plesk API to dynamically create Subscriptions. The problem I'm having is that the Apache server tends to reset before the response is returned, ultimately interrupting the connection.

I found a Plesk setting to define the Apache restart interval. I set it to 120 seconds, which I thought solved the issue, but I'm still having unreliable connection issues.

The request to create/remove a subscription always completes, but it's the response that I'm struggling to have returned.

View 2 Replies


ADVERTISEMENT

Creating Subdomains Dynamically

Feb 28, 2007

I have basic Html and webdesign skills other than that zilch

I am working on my assignment for uni. and wanted to know if I can create multiple sub domains when I am hosted with a webhost.

I want to be able to do the following:users can sign up and get a subdomain of their choice.

users are allocated a limited webspace

The access to file types need to be controlled. In the sense that users can only upload/download certain file types like html, htm, jpg, gif, zip etc.

Users can have forms that work only within their subdomain.

for example the domain name is www.webworld.com

the user signs up for [url] where "mysite" is the subdomain.

the user can have a form at [url]

This form should not affect the other subdomains hosted by users. Just in case someone screws up the entire site should not be down.

Is this possible? if yes, any pointers on how I can go about getting this done?
Would the webhost help with setting this up?

Any good webhost I should consider for such a setup? Any other things I should consider like data transfer / bandwidth Would this be a very expensive affair?costs?

View 9 Replies View Related

Plesk 12.x / Linux :: Creating New Domain Inside Subscriptions - Target Directory Is In Invalid State

Apr 15, 2015

I have following Warning when creating a new Domain inside a Subscriptions:

I found this Article: [URL] .....

But in my case this does not solve the Problem.

1> All permissions are right.
2> When I type command '/usr/local/psa/bin/repair --restore-vhosts-permissions' i get the answer 'Directory permissions were successfully updated.'
3> The Order of Webuser and FTPUser (as described in the article) could also not be the problem, because in my case there is only one user (There is only Webuser and no FTP-User.)
4> When typing '/usr/local/psa/bin/repair --update-vhosts-structure' I get the following error 6 times each:

Code:

[2015-04-15 21:03:30] ERR [util_exec] proc_close() failed
Error: update-vhosts-structure failed: mkdir: cannot create directory `./webroot.kk-bits.com/logs': File exists
ERROR: Cannot relink logs. Target directory '/var/www/vhosts/webroot.kk-bits.com/logs' is in invalid state.

Unable to update the structure of the home directory: an unexpected error has occurred.
update-vhosts-structure failed: mkdir: cannot create directory `./webroot.kk-bits.com/logs': File exists
ERROR: Cannot relink logs. Target directory '/var/www/vhosts/webroot.kk-bits.com/logs' is in invalid state.

To get the error 6 times seems to mean, that i have this problem with 6 Domain.

View 1 Replies View Related

Apache :: Cache Whole Dynamically Generated Webpage?

Oct 21, 2014

i already setup caching for html, images, css, js etc. but my pages are dynamically generated by CMS like wordpress and similar.Is there any apache module or any clever way how i can cache whole dynamically generated page on my server?I mean like i have 6GB ram free, so i would like to dedicate like 3gb for this cache.

View 2 Replies View Related

Plesk 11.x / Windows :: List Of Subscriptions In TXT Or CSV

Apr 12, 2014

How to take output of Subscriptions in txt or csv...

I want only primary domain names which are listed under subscription...

In domains table subdomain as well as addon domains are also included so i cant use domains table...

View 1 Replies View Related

Plesk Automation :: How To Merge Two Subscriptions

May 5, 2014

How do I merge two subscriptions - ie, move domainB.com into the subscription of domainA.com?

View 5 Replies View Related

Plesk 11.x / Windows :: Unable To Add Subscriptions

Jun 14, 2014

I can't add subscriptions, not even for the administrator account, comes up with:

Error: Filename: ?C:inetpubvhostsmygclive.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.COM

[Code] .....

View 2 Replies View Related

Plesk 12.x / Linux :: Adding Subscriptions - Cannot Customize It

May 6, 2015

I seem to be having a strange problem with Plesk 12, after adding about 23 domains, i cant seem to add any more domains.

While adding the domain, it just keeps syncing, and then when i click on the subscriptions i see the domain has been added, but i cannot customise it.

View 3 Replies View Related

Plesk 11.x / Linux :: Copying Files Between Subscriptions

Jun 4, 2014

I want to be able to copy 1000's of files from one subscription to another or rather from one domain to another on the server without having to FTP them each time. Is there a way which this can be done directly in Plesk and avoid the need to ftp the same 1000's of files into each subscription ? FTPing on my connection is really slow and takes 2-3 for each subscription / domain, whereas if I could just FTP to the server once and then copy&paste the files between subscriptions then this would save me a huge amount of time...

View 2 Replies View Related

Plesk 12.x / Linux :: 502 Bad Gateway After Upgrade On Subscriptions

Sep 27, 2014

After upgrading (i know, i should not do this) from Squeeze to Wheezy i have got a problem with subscriptions.Plesk seems to work, but whein i want do manage a domain/hosting. i just see 502 Bad Gateway nginxClick to expand...

View 7 Replies View Related

Plesk 12.x / Linux :: Can't Find Domain In Subscriptions

Oct 15, 2014

I imported backups in Plesk 12 from Plesk 9.5.4.

I can access 4 out of 5 domains in my subscritions, but one domain dosn't appear in the list.

The 4 working domains are "Default Domain", the one i can't access is "unlimited".

In the list of packages i can click on the number of subscriptions and see the domains, but if click on the 1 unlimited subscription nothing gets listed / no elements found.

The domains is online, but i can't access it with plesk.

View 1 Replies View Related

Plesk 12.x / Windows :: Change PHP 5.4 Version To All Subscriptions?

Jan 6, 2015

I need to change to all subscriptions to php 5.4 version. How can I do at the same time to all subscriptions? I tray to change in the service plans but it's dont' run. We have more than 270 subscriptions, How do you change all the time?

View 8 Replies View Related

Plesk 11.x / Windows :: Cannot Remove Domain On Subscriptions

Mar 18, 2014

I'm using plesk Panel version11.0.9 Update #60 . I get this error when remove domain on Subscriptions .

Error: Unable to delete system user: SysUser->_systemRemove() failed: usermng failed: Class not registered (COM Error 80040154) at Can't CreateInstance(psa.scheduler.device.PSASchedulerCollection)Click to expand...

View 11 Replies View Related

Plesk 12.x / Linux :: Can't Add New Subscriptions Or Domains / Subdomain After Upgrade

Jun 25, 2014

Can't add new subscriptions or domains/ subdomain after upgrade. Upgraded to 12.0.18 today and can no longer add domains or subdomains. When I try create a new subscription I get the following 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.

Trying to generate all configuration files OR generate broken configuration files doesnt work. Still get the same error.

When I try can create a subdomain I get the error:

.............
Error: proftpd-config failed: mktemp: failed to create file via template `/etc/proftpd.d/50-plesk.conf.XXXXXX': No such file or directory
Can not create temporary file
...........

This solution [URL] ..... doesnt work that just says 'ls: cannot access /etc/proftpd.d/: No such file or directory'

I tried yum update proftpd to see if that would do anything but get this...

Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* atomic: mir01.syntis.net
193 packages excluded due to repository priority protections
Setting up Update Process
No Match for argument: proftpd
No package proftpd available.
No Packages marked for Update

In plesk, ProFTPD ftpserver is showing as installed.

View 7 Replies View Related

Plesk Automation :: PPA - Restrict Service Nodes For Subscriptions

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

Plesk 12.x / Linux :: 12.0.18 Subscriptions Backup Manager Disable

Jan 23, 2015

I have migrated User from Confixx 3.3.9 to Plesk and now it works fine.

In the Subscriptions i have disable the Feature Backup for the Costumers, but it dosent take an effect.

So i Turn it on and off again. But there was also no effect.

View 1 Replies View Related

Plesk 12.x / Linux :: Can't Create Customers / Domains / Subscriptions

Jan 22, 2015

Any time I attempt to create a customer, subscription, domain, anything I get the error "The password should be between 5 and 20 characters in length.". The password is exactly like that. On some pages it gives an error to the username I chose and the error just explains what a username is (??)....

The only actual error I've seen is one from creating an account via the command line. It was a PHP error relating to a function having issues with the encoding or something. (I think this is only relating to sending feedback though?)

Error occurred while sending feedback. HTTP code returned: 502 PHP Notice: iconv(): Wrong charset, conversion from `ISO-8859-1' to `UTF-8//TRANSLIT' is not allowed; File: /usr/local/psa/admin/plib/api-common/cu.php, Line: 599

Error occurred while sending feedback. HTTP code returned: 502 PHP Notice: iconv(): Wrong charset, conversion from `ISO-8859-1' to `UTF-8' is not allowed; File: /usr/local/psa/admin/plib/api-common/cu.php, Line: 597​..I've tried OpenSuSE 12.3 with Plesk 11.5 and 12 and I'm now on OpenSuSE 13.1 with the latest Plesk 12.

View 3 Replies View Related

Plesk Automation :: Change Subscriptions User / Customer

Mar 20, 2014

I have a Customer with 22 subscriptions associated. Can I assign some of these subscriptions to another customer?

View 2 Replies View Related

Plesk 12.x / Linux :: Database Copying Between Subscriptions Missing?

Jun 11, 2015

I've been happily copy databases between subscriptions in Plesk 11.5xx for years but having updated to 12 the feature no longer works.

In the copy database screen when the 'local MySQL server' option is selected in the drop down the 'Copy to existing database' radio button is disabled.

My service provider tells me this is a feature change.

View 2 Replies View Related

Plesk 11.x / Windows :: Can't Active Customer / Domain Or Subscriptions

Feb 14, 2014

Company is using software Parallels Plesk Panel 11.5.30 for Windows
And
There currently are in trouble about how some websites it's can't active Customer, domain or Subcriptions on 1 Resellers.

View 2 Replies View Related

Plesk 12.x / Linux :: Default Site For Disabled Subscriptions

Jul 9, 2015

If you would disable a subscription and reloaded that domain name. You would be redirected to a default subscription. How can i change this default landing page?

View 2 Replies View Related

Plesk 12.x / Linux :: Missing Domains In Subscriptions List?

Aug 25, 2014

After a migration I did this weekend I mis a couple of the migrated domains in the subscription list. The domains are working great, but I cannot find them in Plesk.

I got this errors in the migration manager:

Info:
The password was generated for user 'Domain Administrator (domain.com)'. New password is 'GA66QgQ'

Warning:
Execution of /opt/psa/admin/plib/api-cli/user.php --create domain.com -owner admin -guid cfa43606-e8b0-444c-a005-660984840498 -cname Domain Administrator (domain.com) -passwd '' -status disabled -domain-admin true -email '' -external-email true -role Domain Administrator (domain.com) -country NL -legacy-user false -subscription-name domain.com -ignore-nonexistent-options failed with return code 1.
Stderr is
Error during user creation: Owner with id 1 has not subscription with id 69

Warning: domain "domain.com"
Execution of /opt/psa/admin/bin/backup_restore_helper --restore-legacy-dlu domain.com -dlu-info /opt/psa/PMM/tmp/deployer_legacy_dluIrjcWa -ignore-nonexistent-options failed with return code 1.
Stderr is
Unable to create Account object: Account: unable to select: no such row in the tableClick to expand...

View 1 Replies View Related

Plesk 12.x / Linux :: Unable To Migrate All Subscriptions Of Old System Into New One

Oct 13, 2014

I got a new Server with Plesk 12.0.8 (old one has 11.5.30). Now I have to migrate all Subscriptions of the old System into the new one.

I tested it with one item and all time I get this warning:

Warning:SSL certificate "default certificate" Execution of /opt/psa/admin/plib/api-cli/certificate.php --create default certificate -cert-file /opt/psa/PMM/tmp/pmm-cert-GzVcei -key-file /opt/psa/PMM/tmp/pmm-privkey-PgXbaU -print-signature -admin -ignore-nonexistent-options failed with return code 1. Stderr is Unable to create certificate "default certificate": Unable to set the private key: Probably, the private key format is invalid.

View 2 Replies View Related

Plesk 12.x / Linux :: Subscriptions Blocked On Change Domain Prefix

Jun 25, 2015

I have a Plesk 12.0.18 on Centos Server. All subscriptions works fine, but one subscription have a domain with this problem.

When i change the domain prefix to "www.mydomain.com" or to "mydomain.com", this still stuck to "Waiting...".

When this happens, the rest of the server still works fine, but will not let me make any changes to the rest of subscriptions.

I try to edit the apache vhosts, but this looks fine.

View 3 Replies View Related

Plesk 12.x / Linux :: Unable To Sync Subscriptions With Service Plan

Jan 29, 2015

I have a 'Service Plan' which has 270 subscriptions associated with it. When I navigate to 'Service Plans' page, underneath my plan it reads "Unable to sync subscriptions with the service plan" along with a yellow exclamation mark.

If I go into the plan there is another message near the "Update & Sync" button stating that syncing will take time and therefore be run in the background. When I click the "Update & Sync" button nothing appears to happen. If I then click on the plan again, as if to edit the settings I get the following "Warning: Subscriptions are currently syncing with the service plan. Please wait until the sync process is finished." and it prevents me from accessing the plan settings.

If I wait a while, I can eventually get into the plan settings again, which should mean that the Update & Sync has completed. However the "Unable to sync subscriptions with the service plan" warning is still present under my custom plan on the 'Service Plans' page and if I navigate to a subscription to check if it has been updated it hasn't.

If I change the subscription plan to another plan and then change it back to my original plan again, then the changes are reflected. But this is obviously a workaround.

Why doesn't the "Update & Sync" button do as it should?

Why is my plan "Unable to sync subscriptions with the service plan"?

View 2 Replies View Related

Plesk 12.x / Linux :: Phpmyadmin - All Users (subscriptions) Has Access To All Databases

Sep 19, 2014

today we notice that all subscriptions on Plesk when we access phpmyadmin has access to all databases,it was a Plesk update that can be done this ?

I don't remember to update anything during this days to this happen.

View 1 Replies View Related

Restart Apache

Apr 23, 2008

I have 8 apache servers that is sharing one httpd.conf file... When changes made in the httpd.conf, you have you restart httpd... How can I restart all 8 servers at the same time instead of logging into each server and do it manually?

View 2 Replies View Related

Can't Restart Apache

Jul 17, 2009

We are unable to restart apache on our server, as a result no sites are accessible in the browser. Our host states we need to clear out the following files:

[root@server1 logs]# ls -lAh|grep -v ' 0 '
total 1.9G
-rw-r--r-- 1 root root 92M Jul 17 07:55 access_log
-rw-r----- 1 root root 463K Dec 9 2007 audit_log
-rw-r--r-- 1 root root 1.2G Jul 17 07:57 error_log
-rw-r--r-- 1 root root 6 Jul 17 07:42 httpd.pid
-rw-r--r-- 1 root root 92K Feb 18 2008 ssl_engine_log
-rw-r--r-- 1 root root 535M Jul 17 07:46 suexec_log
-rw-r--r-- 1 root root 10 Jul 17 03:21 suexec_log.offset
-rw------- 1 root nobody 5.6M Dec 10 2007 suphp_log

Is it ok to simply delete these files? If so, will they recreate
themselves?

View 14 Replies View Related

Apache Down - Can't Restart

May 6, 2007

I'm running Apache 2.0.52 on a CentOS 4.4 server.

Running two static sites and one CMS.

I have no trouble logging in through SSH
Also no problem accessing webmin on port 10000

I've tried to restart Apache httpd
And tried to reboot the server...

Nothing.

I recently did a Yum Update,
also removed ISPconfig - it's probably the latter thats the problem, although I haven't used it - at all - just playing around setting up PHPmyadmin, Squirrelmail and a couple of email accounts.

But the only error log output I get is that there are no virtual servers for 88.198.81.186:80 and 88.198.81.187:80 and Unable to open logs | unable to start piped log program

Since the update and removal of ISPconfig 4-5 days ago there hasn't been any issues. I haven't done anything. Yet I do think might be some of the old ISPconfig settings acting up.

View 4 Replies View Related

Loading Php Extension Dynamically

Jul 25, 2009

I realize the title isn't clear enough, but that's the closes to my question

What I basically want to know is if its possible to add pgql support for PHP without rebuilding PHP (running easyapache). Currently all standalone phppgadmin instaces return:

Your PHP installation does not support PostgreSQL. You need to recompile PHP using the --with-pgsql configure option.

Is it possible to load the pgsql extension without rebuilding, like you'd do with zend for example.

View 2 Replies View Related







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