Plesk 12.x / Windows :: Bulk Create Domains Through CLI
May 17, 2015
I need to create more than a 1000 domains and i'm hoping to do this using an automated process. I can create them individually through the command line interface on our windows server but this will take a lot of time and effort.
View 1 Replies
ADVERTISEMENT
Jul 31, 2012
I have a dedicated server here in the UK with fasthosts (win 2008 server, IIS 7), which which has been running fine for nearly a year. it was running plesk 9.2, and then out of the blue it got errors creating a new domain saying that PHP wasn't installed.
PHP was/is installed on the server, and is still running fine within my 12+ domains/websites. at the point of the error it was running 5.3.8 - i had manually upgraded the version outside of Plesk, but it had seen the new version when installing new domains.
When Plesk stopped seeing that PHP was installed, my hosts asked me to upgrade Plesk, as it would solve the issue. I used that ai.exe program, and choose v11.
The control panel installed OK - but I did lose my websites for a while, due to it downgrading my PHP to v5.2, and installing an older MySQL version which tried to use the same ports etc (I also have manually installed mysql v5.5 and have 1gig databases in that installation!).
After chosing the upgrade to 5.3 option in the Plesk control panel, and turning the Plesk installed Mysql v5.1 service off and to disabled in windows services - 'revealing' my 5.5 version, I could at least get my websites up and running once again!
Once all those were running (the priority), I have found that v11 Plesk has the same problem as v9.2, namely that it doesn't think that PHP is installed and available.
The error on installing a new domain;
Error: Failed domain creation: Unable to update domain data: Execute websrvmng --add-domain "--domain-name=testkrispy.co.uk" failed with error code 1: PHP 5 is not installed
Oddly it does see PHP 5.3.15 in the Service components screen, and it's ticked 'green' in that page, so all looks well.
On trying to install a new domain using plesk I get this;
And also on pages such as webmail - it also shows 'PHP not installed' against those webmail clients which would need PHP to run.
Any way to 'force' Plesk to see that the PHP 5.3.15 version that it itself installed (and I've removed the component and re-installed using Plesk).
My list on the server components page;
ASP 7.0.6002.18276
ASP.NET 2.0.50727.4016
FastCGI Support 7.0.6002.22343
Perl v5.10.1 built for MSWin32-x86-multi-thread
PHP 5.3.15
Python 2.6.5.12
SSI 7.0.6001.18000
I've tried something found on this forum (under the 10.4 area), but that hasn't fixed it;
"C:ParallelsInstallerparallelsPANEL-WIN_11.0.9dist-msi-Microsoft-2003-i386php53.msi" you will have an option for "repair" - ran that, no difference.
So as it stands, Plesk 11 is running, and most functions work, it just doesn't recognise the PHP install that it put in place... so I can't add software which requires PHP through Plesk, nor add new domains. All existing domains are running and using PHP fine - so it's installed OK.
One error I've noticed on startup - within the PHP error log, is the following - which I'm guessing is coming from the Plesk's own PHP executable (I can see it uses a 5.3.10 version in it's own admin area, with an extended php.ini file? ) I'm guessing the plesk's php.ini extension is trying to double load some dlls (which isn't a problem?) but seems to not find the php_sockets.dll - although that file is in the directory specified!? If it's a php dll around network sockets, maybe it is trying to use those to communicate with a running php instance? (Just guessing here?)
[30-Jul-2012 15:56:42 UTC] PHP Warning: Module 'mbstring' already loaded in Unknown on line 0
[30-Jul-2012 15:56:43 UTC] PHP Warning: Module 'mysql' already loaded in Unknown on line 0
[30-Jul-2012 15:56:43 UTC] PHP Warning: Module 'mysqli' already loaded in Unknown on line 0
[30-Jul-2012 15:56:44 UTC] PHP Warning: Module 'pdo_mysql' already loaded in Unknown on line 0
[30-Jul-2012 15:56:44 UTC] PHP Warning: Module 'pdo_sqlite' already loaded in Unknown on line 0
[30-Jul-2012 15:56:44 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'C:pleskAdditionalPleskPHP53extphp_sockets.dll' - The specified procedure could not be found. in Unknown on line 0
View 3 Replies
View Related
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
Aug 24, 2014
I try to create a TXT registry DNS using this:
default._domainkey.my-domain.com
_domainkey.my-domain.com
All work , but in Domain Alias, cannot create any registry TXT wih symbols like '_'
View 1 Replies
View Related
Mar 31, 2013
I'm IIS Administrator. I using Plesk 11.x and i dont know config plesk to create a application pool per site when site was created by plesk.
View 1 Replies
View Related
Jun 22, 2015
I want to create a new email would then click on the OK button attachment error is displayed.
View 1 Replies
View Related
Mar 17, 2014
I've got a problem with trying to add email accounts in Plesk.
My software is:
Windows 2008 R2 64Bit
Plesk 11.5.3
Mail Enable Standard / Free 7.53
I've added a subscription and the domain name.
When I click the Mail tab under the domain, I go to click "Create Email Address".
Plesk just sits there and doesn't load the next page.
I've tried looking for error logs, in Windows event viewer under Plesk it's blank.
The SMTP connector has only 1 outbound email in the queue.
I've tired running the Plesk fix permissions and verify database on Mail without resolving this issue.
View 3 Replies
View Related
Oct 9, 2013
How can I remove all previous web users, even after an uninstall, I am having trouble finishing a new installation, during the wizard because users already exist.
View 15 Replies
View Related
Apr 20, 2014
I suddenly started to get the following error
Windows 2008 server 64 bits 24 gigs ram sql express php plesk 11.5.30 latest update passed the latest self test with no problem
Internal error: ODBC error #42S02: [MySQL][ODBC 3.51 Driver][mysqld-5.5.31]Table 'apsc.aps_package' doesn't existODBC error #42S02:
Message ODBC error #42S02: [MySQL][ODBC 3.51 Driver][mysqld-5.5.31]Table 'apsc.aps_package' doesn't existODBC error #42S02:
File aps_php.php
Line 11933
Type Exception
Go To Previous Page
View 1 Replies
View Related
Jul 4, 2014
I have this big problem, when I try to create a new signature, it returns me this error (ProtDir_IIS :: update () failed: Add Protected Directory failed: columns SiteId, path are not unique (Error code 1)).
View 3 Replies
View Related
Mar 21, 2015
I am using Web admin edition .I need to create two subdomains namely sub1.example.com and sub2.example.com with different IP address. So i need to create two webspaces since a webspace cannot have two domians pointing to two different IP. So now to I can create two webspaces set to different IP. But to create sub1.example.com in one webspace and sub2.example.com in another webspace , i need main domain example.com in both the workspace. But if try to create example.com in second webspace it already exists.Because it exists in another webspace. Actually i dont want to create example.com in both webspace. i need to its subdomain in different webspace.
So one solution is to create example.com and sub1.example.com in one webspace and create another webspace using Adding new webspace and specifying domain name as sub2.example.com. But i don't know does the second subdomain will work properly without creating main domain.
View 1 Replies
View Related
Nov 13, 2014
My Plesk backup doesn't work properly. I constantly get the error "dump file has wrong format".I followed the steps in "How to verify an invalid Plesk backup file" [URL] .... and found the following:
Code:
C:UsersAdministrator>c:xmllintxmllint.exe --noout --schema "%plesk_dir%PMM
plesk.xsd" "D:Program Files (x86)ParallelsPleskBackupmanual_info_1411131008
_formatted.xml"
file:///D:/Program%20Files%20(x86)/Parallels/Plesk/Backup/manual_info_1411131008
_formatted.xml:2769:
[code]...
No matter what I do (updating settings, saving, etc.), the error keeps coming back. Seems like a database inconsistency. How can I access the Plesk DB through PhpMyAdmin to check the notifications table? When I go to Settings > Database servers > Local MySQL server > Webadmin, I only see my customers' databases.
View 5 Replies
View Related
Jan 8, 2014
when I create new email address get this error:
Error: Source: Microsoft OLE DB Provider for SQL Server
Description: 'encrypt' is not a recognized built-in function name.
View 1 Replies
View Related
Jan 21, 2014
My Plesk Panel version 11.0.9 on Microsoft Windows Server 2008 R2 Service Pack 1 with mail Server : IceWarp Server 10.2.2
And my subscriptions had 2 domains : matbaocare.com (main domain) & matbaocare.net (second domain).
When I create E-mail Address , by default I can choose several domain on my account with @matbaocare.com or @matbaocare.net.
But I don't want to create E-mail with second domain, just main domain can use email !
How to config Plesk to auto disable create E-mail with several domain on account?
View 7 Replies
View Related
Mar 9, 2014
How can I prevent users to create blank or simple password (like 12345) on mailserver(Plesk Panel 11.5)?
View 2 Replies
View Related
Jul 3, 2013
After Update to 11.5.30.
We can't able to create new domain. its taking too long . given no result.
When we refresh the page the domain shows in plesk but its not showing in IIS7.
View 6 Replies
View Related
Jan 4, 2014
I want to have this option on my homepage ! Is this posible whit plesk panel 11.5 or do we need to upgrade??
View 3 Replies
View Related
Apr 10, 2014
im getting an error when im trying to create a subscription on a windows node via PPA management node, the task error is:
Method name: registerIpPlesk on SCREFleskWebIIS:0
Last execution output: This IP address XXX.XXX.XXX.XXX is already registered in Panel on the network interface Local Area Connection
the IP XXX.XXX.XXX.XXX is the correct service node IIS ip address..
View 1 Replies
View Related
Dec 2, 2014
When trying to migrate from one 12.0.18 Update #26 to another, I got always the same error:
Details
Error:
Unable to download dump files to local store.
Error:
The network path was not found
View 5 Replies
View Related
Feb 4, 2014
In plesk 11 with os windows 2012 when i try to create any new subscription i get following error:
Error: Unable to update domain data: Execute websrvmng --add-domain "--domain-name=testDomain123.com" failed with error code 1:
what should i do? this problem happen suddenly without any changes by us.
View 1 Replies
View Related
May 19, 2015
we use plesk 12 and server 2012 r2 i want know how can i disable php perl python cgi that resellers can not enable it for their users when add new plan, i do not want my users and users resellers access to php perl python cgi,
View 1 Replies
View Related
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
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
Mar 31, 2014
I've installed the Plesk Panel onto a windows 2008 server. It's all good, web sites are flowing and I'm really happy with the software. The issue I'm having is a customer has an asp site with an access database. After I uploaded their site, they couldn't write to the database, so I had to manually go and set the permission on the database for the "Plesk IIS Anonymous Account (IUSR_xxx)" user to have modify access on the file.
So my question is this, how can I set up the default hosting account to already allow this and so I don't have to go an waste time tweaking the folders manually trying to find the right permissions?
Also, why is it the Plesk IIS Anonymous account that needed to have it's permissions tweaked and not the "Default Plesk application pool user (IWAM_plesk(default))" which is the user who's configured on the application pool in IIS? I can't see where the Plesk IIS Anon user is being used.
View 1 Replies
View Related
Jun 6, 2014
Any user that logs in, even with the format domainusername, get's the following error message: 530 User cannot log in.I have already tried the following:
net stop MSFTPSvc
net start MSFTPSvc
View 1 Replies
View Related
Jun 20, 2013
I'm trying to rename a domain in my panel and keep getting the following error:
Code:
Error: Execute websrvmng --rename-vhost "--old-name=domainb.com" "--new-name=domaina.com" failed with error code 1: External component has thrown an exception. In IIS7NativeProvider module Exception type: System.Runtime.InteropServices.SEHException at _CxxThrowException(Void* , _s__ThrowInfo* ) at IIS7ApplicationPools.copy(IIS7ApplicationPools* , auto_ptr<IApplicationPool>* , basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >* srcName, basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >* dstName)
Running
Code:
websrvmng --rename-vhost "--old-name=domainb.com" "--new-name=domaina.com"
In the Windows command line gives the following error:
Code:
Cannot find domain by name 'domaina.com'
Haven't found many leads on the web as to what this might be.
View 2 Replies
View Related
May 28, 2014
I got this error without any kind of explanation and I cannot identified where is the problem:
Error: Call to a member function getIpAddresses() on a non-object (PleskDataManager.php:1280)
View 8 Replies
View Related
Feb 1, 2013
I have a server setup and running shared hosting perfectly. I duplicated one of the plans and just set it to DEDICATED IP. This is for users that will be requiring SSL.
I then went into my panel settings and added in all the additional ip's. It even says in the panel listing "6 dedicated ip's available".
Yet, when I try to re-run the task for provisioning it constantly fails with the message:
Unable to create hosting. Ip address does not exist in client's pool ....
View 3 Replies
View Related
May 27, 2014
I need to get a list of suspend domains from mysql. The domains are suspend because they exceeded quota.So far I have done this query:
#############
select domains.id,
domains.name as domena,
Round(((sum(domains.real_size))/1048576),2) realMB,
(select Round((limits.value/1048576),2) from limits left join (domains, subscriptions, subscriptionproperties) on (domains.id=subscriptions.object_id and subscriptions.id=subscriptionproperties.subscription_id and subscriptionproperties.value=limits.id) where subscriptionproperties.name='limitsId' and limits.limit_name='disk_space' and domains.name=domena) quotaMB
from domains
where domains.status='2' and
(select (sum(domains.real_size)))>0
group by domains.cl_id;
but I didnt managed to get only those that exceed the quota.
View 3 Replies
View Related
Oct 1, 2014
I need move "Manual Move" all the email content from different domains.
For example i have the domain:
xxx3.com
with the emails:
info@xxx3.com
sales@xxx3.com
network@xxx3.com
I like know how i can move the email content from every email from one Panel to another Panel without the Transfer Manager. Because the account is created on the other server with different configurations, but i need backup only the old email.
View 2 Replies
View Related