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"?
I like to create some service plans using the cli-tools, /usr/local/psa/bin/service_plan.I am able to create a service plan, but I'm unable to create a service plan inside a reseller plan. For example I cannot "tell" the service_plan script to add the created serviceplan to a reseller plan. Is it possible to create a serviceplan inside a reseller plan, using the cli?
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.
Recently I've tested the usage of domain keys on my plesk 12 server. The feature works without problems. I'm wondering however if it's possible to activate the domain keys by a service plan or subscription model. If not, for all my domains (65) I've to activate them manually and for each domain iIll create in the future I have to activate it too.
I can't switch a subscription to another service plan, my conf is very simple.I have on reseller account with service pack "Default Reseller".This reseller account contains 1 client with custom subscription.
When I want to switch the pack to another service plan, I have only one choice : "No change" so I cannot.I have 4 service plan so I don't know how to solve this problem.
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
I use a up2date Plesk 12 on a Debian Linux Server. I use my Admin Account to create Service Plans, Customer an Subscriptions. I enter the customer Accounts by klick Open in Control Panel (i am Admin in the Customer Account) and add domains.
today I try to change the PHP Settings of all Domains. (set more php_memory and max_execution_time)The Service Plan are success sync to all Subscriptions. but the settings are not change on the Domains check with phpinfo();so I try to rewrite all settings by using the command line and change the PHP Version and change back
for i in `mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa -Ns -e "select name from domains"`; do /usr/local/psa/bin/domain -u $i -php_handler_id 9235d9db7f57382520fd94d64d1f80b2f121e79b; done
for i in `mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa -Ns -e "select name from domains"`; do /usr/local/psa/bin/domain -u $i -php_handler_id fastcgi; done but the settings are still not effected.
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
I was trying to get Active Sync running on my Windows Server 2008 R2 to be able to sync calenders, adress-books etc. with my mobile without success. With a Linux Server ot seems to be "easy" changeable like posted here: [URL]...
Need getting Active Sync running on my Windows machine? According to the steps in the mentioned post, I failed very early
1. check
2. I changed the following files: => "C:inetpubvhostswebmailhordeconfigconf.php" "C:ParallelsPleskWebmailhordehordeconfigconf.php" "C:ParallelsPleskWebmailhordehordeconfigconf.php.plesk"
with the values: => $conf['auth']['admins'] = array(my mail account); $conf['activesync']['enabled'] = true; $conf['activesync']['version'] = '14.1';
3. Rewrite: here the "problems" start, as of course I don't have the nginx option the question is, where to place the rewrite-rules best?
4. check
5. don't know what to do here, if it even is a problem with the max connections to the imap server?
6. I can restart the mailenable service ?
7. as I have admin rights in horde now, I could do step 7!
That's it? I can't use the active sync features ...
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 am doing migration of plesk 11 from one server to another server on both server version is same but after migration I cant find any service plan which is there on old server.how can i copy / migrate service plan from one serer to another server
When a reseller create a service plan themselves...is there any way to limit the CPU and memory setting for the application pool to recycle on their own created plan?
When I try to unlock a subscription I get the following error message. The fact is that I have not customized any time any parameter of this subscription, but has blocked me.ERROR: Call to a member function isDefault() on a non-object (Domain.php:966)
I'am using Plesk 12 Web Pro Edition, I would like to know how can I sync my customers with WHMCS? I have config Plesk Server (at whmcs, module version Plesk 10/11) according to WHMCS. But I still with error and without can sync, users, domains, etc... from plesk web pro to whmcs.
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...
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...
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.
I have a subscription and I'm able to switch the subscription to a given service-plan, but I'm unable to sync the subscription with the plan, using the CLI. These are my commands:
result => The subscription <domain.com> is now associated with the service plan Hosting..When watching the webinterface in Plesk, I see the domain is "connected" to the service plan, so far so good. However, I notice that the subscription is not synced.
Back to the CLI, I've tried some combinations, but I can't get the subscription synced. The webbased interface keeps telling me that the subscription is unsynced. Here is what I've tried:
And I also unlocked it (just in case it was locked) like so: /usr/local/psa/bin/subscription --unlock-subscription <domain.com>
The funny part is that the CLI tells me: "Subscription <domain.com> was synchronized with the associated service plans." but unfortenately it's not if I look through the GUI. Only if I click the sync-option webbased the subscription get synced. we have to transfer over 1000 domains and need to sync these domains with a given service-plan.
I have recently started using the slave DNS manager in the Plesk extension library. I've found that even for DNS zones that are switched off in Plesk, failed sync/transfers still try to take place between the slave and master. Why is this so?
Shouldn't turning the DNS functionality off in Plesk remove the zone from the slave DNS server?
When a domains DNS functionality is turned off, it removed the zone info from the master, but no command is issued to remove it from the slave??
Domain that is trying to sync/transfer: example.com Plesk/Master server: 111.11.11.111 Slave DNS: 222.222.22.222
Code: May 6 08:51:39 ns2 named[1178]: zone example.com/IN: refresh: unexpected rcode (REFUSED) from master 111.11.11.111#53 (source 0.0.0.0#0) May 6 08:51:39 ns2 named[1178]: zone example.com/IN: Transfer started. May 6 08:51:40 ns2 named[1178]: transfer of 'example.com/IN' from 111.11.11.111#53: connected using 222.222.22.222#53166
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.
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.
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.
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?