Plesk 12.x / Linux :: Removing FTP-user Through API Results In 500 Internal Server Error (PHP)
Apr 28, 2015
To automate some tasks for some projects I'm working on, I need to be able to automatically create or delete ftp-users.
Creating and listing ftp-accounts is working great, but when it comes to deleting them I run into an internal server error. Before my script gets the response it's waiting for, the script crashes.
- When live watching the Apache error-log with 'tail -f', the terminal-session is exited with 'Killed (core dumped)'
- Apache error-log shows:
Code:
(104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server, referer: http://example.com/ftp.php?action=delete
Premature end of script headers: ftp.php, referer: http://example.com/ftp.php?action=delete
- Webbrowser shows default '500 Internal Server Error'
I have checked and changed time-out settings, but it didn't work. Error occurs a few seconds after executing, while the timeouts are set to 60 to 90 seconds.
Packet send to Plesk:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.6.6.0">
<ftp-user>
[Code].....
View 15 Replies
ADVERTISEMENT
Jul 17, 2015
When I change an email address on a user's account I get this error?
Code:
Internal error: mailmng-mailname failed: Unable to open dir /var/qmail/mailnames/mydomain.com/stevebrown/@attachments: No such file or directory System error 2: No such file or directory
Message mailmng-mailname failed: Unable to open dir /var/qmail/mailnames/bullochrec.com/stevebrown/@attachments: No such file or directory System error 2: No such file or directory
File Agent.php
Line 243
Type PleskUtilException
Using Cloudlinux 6.6 and Plesk 12
View 2 Replies
View Related
Jan 23, 2015
I am using plesk panel 12.0 when i try to remove domain i get this error :
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 : Domain.php
Line :393
Type :Smb_Exception
I even tried with command line utility...
View 3 Replies
View Related
Oct 31, 2014
I'm trying to migrate a Plesk 9.5 to a Plesk 12 via the tools.
I tested some domains before doing he whole but I have a "big" domain who make an error:
ERROR: Call to a member function updateUser() on a non-object (Abstract.php:930)
I already checked on google, tested the solution but each time I do the migration, it crash again...
View 3 Replies
View Related
Oct 18, 2014
Upgraded Plesk 11.5 to 12, enabled rouncube and got an Internal server error when trying to load webmail.domain.com
In /var/log/plesk-roundcube/errors found an error:
PHP Warning: system() has been disabled for security reasons in /usr/share/psa-roundcube/bin/update.sh on line 161
Changed php.ini settings, restarted apache, same internal server error, but no more errors in log.
Tried /usr/share/psa-roundcube/bin/update.sh
Got errors:
WARNING: File type detection doesn`t work properly!
Please check the 'mime_magic' config option or the finfo functions of PHP and run this script again.
WARNING: Mimetype to file extension mapping doesn't work properly!
Please check the 'mime_types' config option and run this script again.
Tried to reinstall roundcube in Plesk
View 1 Replies
View Related
Nov 29, 2014
I have used plesk 11.5 and never had problem before. I installed Plesk 12 and Migrated sites + created new email to test as well. When I go to webmail webmail.domain.com
I get the login screen from round cube which i want.
Then I enter login + password and I get 500 Internal Server Error.
Apache Server at webmail.domaincom Port 80
It worked fine on 11.5
Linux CentOS 6.6
View 12 Replies
View Related
Oct 29, 2014
I have experiencing strange behaviour of Plesk admin panel. Actually there were a lot of issues similar with 500 Internal Server error but mine is a bit different..
This is the log came from the '/var/log/sw-cp-server/error_log'
/bin/sh: /usr/share/sw-cp-server/applications-conf.sh: Permission denied
Cannot find config item ["global/SERVERsocket==:8443", ".php", 0]
2014-10-29 19:38:22: (mod_fastcgi.c.1068)
[Code] ....
As you can see there is a line starts with /bin/sh: /usr/share/sw-cp-server/applications-conf.sh: Permission denied and i tried to change this one for permission like 0755 or alternatives for a run but nothings changed. Btw i have plenty of disk space, it wasn't also the case.
I cannot even login with my domain name without 'https' and with the port 8880. It's again giving me the same issue.
BTW i want to give a little extra information; it was a long time that Plesk admin panel working but after today it's stuck in 500 Internal server error. What i tried today that to follow 'How to generate custom self-signed SSL certificates and apply it to Postfix: [URL] ....' , but after 6th step i was decied to stop because i couldnt find the root.pem file a minute and than i wanted to try on plesk and i saw the bad news I don't know it was related but i wanted to share.
View 5 Replies
View Related
Mar 30, 2015
When i try to restore a domain from Server Repository I am getting this strange error
Internal server error:
ERROR: Call to a member function write() on a non-object (Apache.php:821)
How could I fix it?
View 1 Replies
View Related
Dec 19, 2014
Trying to access any APS installed in Plesk i obtain this error: Internal error: Package with UID 'fb00f4ad-620a-4052-96b7-398bd99d9d6d' not found.The error panel.log:
[19-Dec-2014 13:17:19 Europe/Berlin] Exception: Package with UID 'fb00f4ad-620a-4052-96b7-398bd99d9d6d' not found.
file: /usr/share/aps_php/aps_php.php
line: 12519
[code]....
This post change the error, but i think that is not the correct way: [URL] ..... Any way to reinstall/regenerate APS database and anything related with it?
View 2 Replies
View Related
Oct 28, 2014
My plesk version is 12.0.18.When I try to install wordpress I had this error:Internal error: Failed to parse metadata...MessageFailed to parse metadata...File aps_php.php Line10024.
View 2 Replies
View Related
Jul 7, 2015
I am getting Package with UID '9f03febe-57f4-4233-ace8-23f5ce964198' not found error.
I have applied this => [URL] ...
But problem is not solved this time I am getting same error but different UID number.
View 6 Replies
View Related
Apr 9, 2015
Getting this error on the customer, domain and subscriptions pages on Plesk 11.5 update 5.
Running CentOS 5.9
View 1 Replies
View Related
Jan 5, 2015
Since the update to #30 two separate installs on Ubuntu 14.04.1 LTS I'm getting the below error :
Internal error: The directory does not exist "admin"Click to expand...
View 4 Replies
View Related
Jun 24, 2015
Recently we had to rollback the Plesk database and Plesk version files to their pre-upgrade state, and rerun the upgrade procedure as it is described in the knowledge base [URL] ..... The update process then worked smoothly and we are now using the newest version 12.0.18 on CentOS 6 with the newest microupdates 1200150615.10.
But right after this update procedure we are not able to access some domains with the filemanager anymore. The browser shows the following error message:
Internal error: filemng: opendir failed: Permission denied System error 13: Permission denied
Message filemng: opendir failed: Permission denied System error 13: Permission denied
File Agent.php
Line 243
Type PleskUtilExceptio
The logfile: /usr/local/psa/admin/logs/panel.log is a bit more detailed
[URL] ....
What I did so far was the following:
1.) I checked out the knowledge base, specifically this entry was worth looking at. But /usr/local/psa/bin/repair --restore-vhosts-permissions didn't solve the problem.
2.) I found a similar problem in the discussion board but the approaches they took weren't successful in my case.
Due to the fact that the file manager worked before the rollback of the database and the major upgrade, I think there might be a connection.
From my point of view the permission settings should be right. Other domains using exactly the same permissions and they are working fine.
# ll /var/www/vhosts/system/domain.com/
total 20K
drwxr-x--- 2 root psaserv 4,0K 24. Jun 02:13 conf
drwxr-xr-x 2 root root 4,0K 8. Jan 2014 etc
drwx------ 2 psaadm root 4,0K 24. Jun 03:43 logs
[Code] ....
View 1 Replies
View Related
May 22, 2014
My site is showing 500 internal server error. I use classic ASP. How to enable custom error on the server? I use Plesk 11. With Plesk 9.5, it will automatically show up on the server.
View 5 Replies
View Related
Apr 17, 2014
I have this error.
HTML:
<?xml version="1.0" encoding="UTF-8"?>
<!--
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=169433
-->
<configuration>
<configSections>
[Code] ....
View 1 Replies
View Related
Nov 13, 2008
I get this error in Plesk 8.6 when trying to delete a domain. I have tried various things from various forums, but they have failed:
Error: Unable to remove domains: Problems occured while removing domains: Delete database user failed: Object 'sys.queue_messages_210099789' does not exist or is not a valid object for this operation.
Earlier when I tried to remove it, it removed only physical hosting from the server (not the complete hosting account). When I try again to add physical hosting I get:
Error: DNSZone::Table:: select() failed: no such row in the table
Not sure if two errors are related. Can anyone help me out with this.
View 7 Replies
View Related
Dec 23, 2014
I'm having a problem with Plesk Panel 11.0.9 update #64. All other page running perfect. But when I go to "Backup Manager --> Database Backup Repository --> Upload Backup File" then Plesk Panel show error: Internal Server Error 500.0.
On server, it show detail below: .....
View 2 Replies
View Related
Jun 15, 2014
Clean install on openSUSE 13.1
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
View 6 Replies
View Related
Jun 25, 2015
I was following this tutorial to resolve the 500 internal error I get when I visit webmail.example.com and it says:
Ensure that the '/var/www' is not a symlink to any other directory# ls -ld /var/www lrwxrwxrwx 1 root root 14 Oct 24 11:14 www -> /mnt/data/www/.You need to remove the symlink and change the vhosts location by using the transvhosts.pl utility: when I run the above command, it gives me this: ls -ld /var/www drwxr-xr-x 9 root root 4096 Jun 18 02:58 /var/www this means I have a symbolic link ? how can I delete it ? and if I delete it will it effect anything?
View 1 Replies
View Related
May 16, 2015
I've been fiddling with Plesk to get HTTPS to work for [URL] .... Unfortunately I haven't had any successes at forcing HTTPS, all result in a 'to many redirects' message.
The certificate is already activated and can be verified trough; [URL] ....
Code:
proxy_error_log:2015/05/16 16:35:00 [crit] 21266#0: *2336 SSL_do_handshake() failed (SSL: error:140A1175:SSL routines:SSL_BYTES_TO_CIPHER_LIST:inappropriate fallback) while SSL handshaking, client: 64.41.200.106, server: 151.80.117.38:443
proxy_error_log:2015/05/16 16:36:37 [crit] 21266#0: *2616 SSL_do_handshake() failed (SSL: error:14094085:SSL
[Code] .....
View 11 Replies
View Related
Oct 25, 2014
I have the follow errors at (one) of my plesk panel:
at Applications:
Search results could not be loaded at the moment. Retry Click to expand...
View 8 Replies
View Related
Oct 25, 2014
After last night's attempt to upgrade one of our old plesk servers (10.0.1), on RHEL 5.5, we are left with unfunctional control panel.
Following the KB [URL] ...., we see:
1) no /usr/local/psa/version file exists currently.
2) mysql -uadmin -p`cat /etc/psa/.psa.shadow` -D psa -e 'select * from upgrade_history order by upgrade_date desc limit 1'
+---------------------+--------------------------------+------------+
| upgrade_date | version_info | db_version |
+---------------------+--------------------------------+------------+
| 2010-12-01 10:52:30 | 10.0.1 RedHat el5 109101029.17 | 01090 |
+---------------------+--------------------------------+------------+
as you see the plesk was OLD. No line for the last night's upgrade, though in here.
3) but: rpm -q psa
psa-12.0.18-rhel5.build1200140606.15
So, the installation procedure finished partially, installing net packages, but not really updating all info.
Comparison of the MySQL scheme for DB psa with another server with the new installation shows that some minimal differences in some tables and a couple of missing tables. So, it looks like it _almost_ succeeded.
Comparison of the RPMs installed on the two servers, shows some differences in installed packages and versions. For example, there are 2 versions of psa-backup-manager and 2 versions of psa-migration-manager on the "malfunctioning" machine.
Further runs of the autoinstaller does not work, since it seems to think that everything is fully installed/updated. How to proceed from this point. Control panel does not work...
We've looked through the installation log files and Wonder if there is some log file that we are missing - where shold we look for messages in case of a failed installation?
View 8 Replies
View Related
Jul 30, 2014
a Backup from Plesk 11.0.9 last MU installed to Plesk 12.0.18 last MU installed brings a lot of:
Database:
<message code="FailedDatabaseUserDeployment" severity="warning" id="160ffa07-4a78-400b-88f9-8a4292b78c30">
<description>Failed deployment of database user phpbb of database usr_web2_3</description>
<message code="ExecCmd::ExFailed" severity="warning" id="f5e9a089-a046-4937-8fe0-bbaee9e61b7b">
[Code]....
View 7 Replies
View Related
Oct 10, 2012
- Apache version : 2.2.21
- operating system : MAC OS Lion Server
- mod_ssl : 2.2.21
I have a certain area on a homepage which is protected by an .htaccess file. The code of the .htaccess file is the following:
Code:
AuthType Digest
AuthName "Password Required"
Options +Indexes
# code for HTTPS
RewriteEngine On
RewriteCond
%{SERVER_PORT} !^443$
RewriteRule (.*) https://%{SERVER_NAME}%{REQUEST_URI}
Require valid-user
Usually everything has been working fine with this .htaccess-file until today. There hasn't been any change on the system.
If you click on the hyperlink to the restricted area the login window appears where you need to type in your username and a password. After typing in these data the following message appears in the browser:
500 Internal Server Error
The server encountered an internal error or
misconfigruation and was unable to complete your request. (…)
The apache error log file contains the following message:
Request exceeded the limit of 10 sub request nesting levels due to probable configuration error.
Use 'LimitInternalRecursion' to increase the limit if necessary.
Use 'LogLevel debug' to get a backtrace.
The increase of the LimitInternalRecursion does not solve the problem. So I switched the LogLevel in the httpd.conf file from warn to debug and looked again on the entries of the error log.
The following appeared (I have replaced ip addresses, usernames and URL by xyz or <URL>) :
Code:
[error] [client xyz]
mod_digest_apple: Client is using a nonce not issued by this server for this context:/rb/Vorlesung/WS12/Downloads/, referer:
http:<URL>
[Code] ....
View 3 Replies
View Related
Aug 30, 2014
I cannot seem to find a conclusive answer to this. I use subdomains to create client websites then once they are in their own domains the subdomains still remain. Can I delete only the subdomain and leave all the files or at least leave the database since it is still connected to the new domain. Example below.
subdomain.example.com uses database1
newsite.com still uses database1
Is there a way to copy the database into the new domain?
View 1 Replies
View Related
Jul 21, 2014
I'm trying to delete a client from the panel and I get just that message:
"Internal error"
How to solve this?
View 2 Replies
View Related
Feb 5, 2014
When I create a new subscription in Plesk 11.5 for Windows, i'm shown the following message:
Internal error: Wrong encryption key size
MessageWrong encryption key size
File aps_php.php
Line237
TypeException
View 1 Replies
View Related
Mar 6, 2009
I am getting 500 Internal server error.What may be the reason ?
The site was running fine till yesterday.
View 5 Replies
View Related