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
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.
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.
when I try to activate a new subscription (webspace) comes out an error as attached image, which tells me that there is already a user account and a DNS record, but in reality do not exist and therefore can not delete them.
I have a brand new Plesk 12 Installation with just a first Subscription/Domain for my test. Enabling fail2ban jails brings me the following error for the jails plesk-proftpd and ssh. All others went on.
error 'f2bmng failed: ERROR No file(s) found for glob /var/log/secure'.
I see that /var/log/secure is missing, althoug I already used ssh and ftp to log in once. I can go to touch the /var/log/secure file or adjust the jail configs to proper log file location? Which is the way to go?
My company and I are currently discovering Plesk on a CentOS 6.6 based system. We are migrating from an old system on which FTP usernames could hold uppercase letters, which apparently is not the case in Plesk 11 (or is it because of CentOS?).
Anyway, as we can't change these FTP account names, I was thinking about creating a rule with mod_rewrite in the proftpd.conf file.
So the question is: how can I reinstall/reconfigure proftpd with this module activated? I don't even know where to find the corresponding package (which repo, correct version, etc...)
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.
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.
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?
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.
I installed FastCGI and configured it via fcgiconfig.js using this command
cscript fcgiconfig.js -add -section:"PHP" -extension:php -path:"C:PHPphp-cgi.exe" It configured fcgiext.ini and added the .php extension to the sites and what not.
When accessing a php script, I get the following error though:
FastCGI Error
The FastCGI Handler was unable to process the request. Error Details:The FastCGI process exited unexpectedly Error Number: -2147467259 (0x80004005). Error Description: Unspecified error HTTP Error 500 - Server Error. Internet Information Services (IIS) I did not do anything special with the PHP. It is the zip 5.2.5 from the site. I configured php.ini and move it to c:/windows. I granted IUSR permission on php-cgi.exe
I tried to set up a site with a "dedicated" IP without SSL, and ran into this problem again. The new IPs (v4 or v6) are not reachable, pingable, or trace routable from outside the container, even from its PCS hardware node.This is what I get after adding the address in PPA:
By contrast, if I add an IP address through PVA, it is pingable. Note the differences, namely that PVA's ifcfg-eth0:0 has "BOOTPROTO=static" and the IPs double quoted. For those testing at home also note that PVA removed the existing IPv6 addresses (that it didn't know about).
I recently realized that domainkeys headers are not added to mail messages that are generated on our server. We are using MailEnable Enterprise 8.60 (upgraded on the Stardart edition, that is installed with Plesk).
I thought the problem could be related with this upgrade and created a new VM and tried that out. Installed Windows Server 2012 R2 Std, enabled DNS and IIS with ASP.NET versions, applied all updates, installed Plesk 12 and Upgraded to MailEnabled Enterprise. On the new server mails are going with the correct domainkeys headers.
Now I think that the problem was generated because of the Migration. On the old server Plesk 11.5 was installed and we didn't have any domainkeys issues. When we created our new server, with the same steps I wrote below, and migrated our backup to the new server, domainkeys headers weren't there anymore.
I couldn't find any documentation about this issue. Is there any commands to reset the settings related to domainkeys or may be it's a curruption in the psd database?
When trying to install magicspam (magicspam-plesk-1.0.8-1.1-precise64-postfix.amd64.deb) in the extensions management I get the following error: Error: Unable to install the extension: Unable to install the module package file
OSUbuntu 12.04.5 LTS Plesk version12.0.18 Update #18, last updated at Oct 7, 2014 02:05 AM
The previous update of magicspam with version 1.0.6 worked fine. There were no changes to the system except the Plesk updates.
After I've upgraded Plesk 1.0.18 to latest version, I'm unable to set protection on directories. Plesk say it is set, but it is not. I can access protected directory without pop-up of login-details. Old protected directories work, but for new one added not working anymore. I also tried by conventional way adding .htaccess and .htpasswd files to the directory, but it does not apply either.
I get an error when i try to access my webmail(horde) over the i-net i get error Unable to get webmail password every time. The error appeared when i upgraded from 11.09 to 11.5. I also followed this tutorial but it didn't worked too. --> [URL] ....
I have installed this several times on my server without issue and 24 hours after setting up one successfully I am no longer able to install any. Upon installation I keep getting this error message and to my knowledge nothing has been changed with the setup of the server.
Code: Error: Installation of joomla at http://webaddress.co.uk/httpdocs failed. Non-zero exit status returned by script. Output stream: 'PHP Warning: fopen(/var/www/vhosts/webaddress.co.uk/httpdocs/httpdocs//configuration.php): failed to open stream: No such file or directory in /usr/local/psa/var/apspackages/apscataloggi4T1a.zip93a52a9b-e8bb-df/cache/scripts/file-util.php on line 15 '. Error stream: 'PHP Warning: fopen(/var/www/vhosts/webaddress.co.uk/httpdocs/httpdocs//configuration.php): failed to open stream: No such file or directory in /usr/local/psa/var/apspackages/apscataloggi4T1a.zip93a52a9b-e8bb-df/cache/scripts/file-util.php on line 15 '.
I am trying to move a particular domain to a different subscriber but am getting an error. I haven't had any problems with this function before.
Code:
Warning: Some problems were encountered when attempting to assign some of the subscriptions to a new owner.Unable to continue subscription transfer: this subscription requires more resources than can be provided by the new owner's provider.
Warning: Unable to continue subscription transfer: this subscription requires more resources than can be provided by the new owner's provider.
All of the resources it shows before and after the transfer are the same. What it is referring to?
My server is saturated in SPAM e-mails being sent from it, however I am struggling in tracing the root of this problem. I have now exhausted 4 IP addresses and our provider is blocking port 25 automatically on a number of occasions now.
I have used the KB article: [URL] .... to trace the highest senders of e-mail, however this has proved to be unsuccessful in finding "all" of the offending domains.
I have suspended e-mail and domains on a number of subscriptions due to the high number of e-mails being sent from the system. I have also enabled outbound mail control and set limits to 10/hr however there are domains attempting to exceed this on an hourly basis. I have investigated these subscriptions but am not able to find anything offending. Is there any feature within plesk that can show me exactly where the spam is coming from...
I tried to open updates & upgrades, with above flow, using the same username and password to log in the panel, on :8443, but the page said the username or password is not valid. attached screenshot....
I installed plesk 12.0.18 on some servers all is running ok but in one server after update the new feature to limit outgoing mail is missing. I installed ModSecurity Web Application and is missing too.Panel is not on Power User mode
I am running Debian 7.5 and after a recent re-install of plesk and the os I am unable to download any applications. As soon as I run install wordpress or any other application the download bar just sits at zero.