Plesk 12.x / Linux :: Cannot List Sites Through API
Apr 15, 2015
I'm trying to get a list of all sites on a Plesk 12 server. This is the request:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.6.6.0">
<site>
[Code].....
View 4 Replies
ADVERTISEMENT
Jan 12, 2015
Impossible to find a way to show, by default, all domains and websites...
When I log on the Plesk Admin, I come first on a list of websites and domains, but they are not «all» listed. I have to go to the full bottom of the page to click on «Show all».
I didn't find a preference or anything else to change that, and I don't understand why all domains are not listed.
View 3 Replies
View Related
Jan 22, 2015
Where I can get full country list ? I need it to my new site and there missing lot of country in the list. I have 109 country but world have more ....
List must be like this:
(1, 'af', 'Afghanistan'),
(2, 'dz', 'Algeria'),
(3, 'ar', 'Argentina'),
(4, 'au', 'Australia'),
Have search on internet but not find good sites!
View 2 Replies
View Related
Feb 4, 2015
I would find an easy way to add a list of IP in Fail2ban whitelist in linux console.What is the file to modify ? Is there a command line or a process ?
View 4 Replies
View Related
Sep 9, 2014
Is it possible to query for a list of system users using the API RPC? I know it's possible with a MySQL query
Code:
select id, login, account_id from sys_users order by login;
I've searched through the API RPC manual, but I don't see a way to do this. I always have to specify a filter, I can't find a way to just query for all users.
View 1 Replies
View Related
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
Jul 24, 2015
In my documents I have command:
# mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa -e "select name from domains" | grep -v 'name' > domains.txt; while read i; do echo $i; /usr/local/psa/bin/domain_pref -i $i | grep nonexistent; done < domains.txtClick to expand...
View 2 Replies
View Related
Jun 10, 2015
I have Plesk 12 on Centos6.I require a list of every subscription which has consumed the most data on the server. Disk space used by the following files and directories in the subscription:
Websites
Mail accounts
Databases
Logs
Backups
Chroot directories
Configuration files
Anonymous FTP directory
The Plesk bible only listed that this was possible through Subscriptions > Statistics. URL....However viewing the Subscriptions > Statistics is not an option because there are many subscriptions..I also have access to SSH/terminal and found a script for finding large file and directories here URL....However i rather have it in excel or HMTL format.
View 3 Replies
View Related
May 21, 2014
I have a customer that would like a list of their email addresses including all aliases and forwarders. Is there an option to export email addresses to CSV? I can't seem to find anything in the control panel and I dont want to copy and paste 300 addresses.
View 8 Replies
View Related
Feb 17, 2015
I am trying to update Plesk but whenever i try do so with the installer, the update fails because data is somehow added to /etc/apt/sources.list and sources cannot be read anymore. This happens both with the admin panel and the command lines.
Here is the command I'm running:
Code:
plesk installer --all-versions --select-product-id plesk --select-release-latest --show-components >/dev/null && plesk installer --version
Here is the output :
Code:
Doing restart of Parallels Installer...
File downloading products.inf3: 100% was finished.
File downloading plesk.inf3: 10%..20%..30%..40%..50%..60%..70%..80%..90%..100% was finished.
File downloading ppsmbe.inf3: 18%..79%..99%..100% was finished.
[Code] ....
And here is the content of my /etc/apt/sources.list file after the command is ran:
Code:
root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin
bin:x:2:2:bin:/bin:/usr/sbin/nologin
sys:x:3:3:sys:/dev:/usr/sbin/nologin
sync:x:4:65534:sync:/bin:/bin/sync
games:x:5:60:games:/usr/games:/usr/sbin/nologin
[Code] ....
The piece of data above the sources keeps coming back everytime I run the command even though I'm deleting it.
View 5 Replies
View Related
Jul 8, 2015
I'm trying to setting plesk backups to own ftp server.. My ftp server is listening by the port 31..
My conf:
Server: mydomain:31
Directory: vpsbkp
User and password...
Passive mode checked
Here the error display: "Transport error: unable to list directory: Curl error: Couldn't connect to server"
Where are the bkp ftp logs?
View 4 Replies
View Related
May 5, 2015
I'm attempting to utilize the WordPress Toolkit. After clicking scan on a webspace with WordPress installed the panel returns the error "'plugin list' is not a registered wp command. See 'wp support'.".
I've tried it on a few servers that has the WordPress Toolkit installed, but they all return the same error.
View 2 Replies
View Related
Jan 14, 2015
apparently Envelope-From, Sender and Errors-To headers are set to a wrong address for messages from mailman to the list-owner. This is particularly true for mails like 'message requires approval'.
It seems like the plesk<->mailman magic results in all list-domains being written to the end of /var/lib/mailman/Mailman/mm_cfg.py in the following format: add_virtualhost('list.DOMAIN').This in return results in mail headers Envelope-From, Sender and Errors-To of mailman system mails like described above being set to mailman-bounces@DOMAIN, where DOMAIN is the one from the last add_virtualhost entry.
In my opinion, this obviously is a bug. Maintainance mails from mailinglists have wrong headers set, often with a domain that belongs to a completely different customer than the mailinglist.
I found the following discussion on mailman-users mailinglist from 2008 which discusses the same issue - also a plesk setup: URL....
View 4 Replies
View Related
Aug 19, 2014
I have a problem with on domain. The domain is the "main-domain" of the customer but it is not shown in the overview /smb/web/view
Not with the User logged in and not with the admin logged in.
But I can change setting, when I call the detail-page manually: /smb/web/overview/id/d:26
I tried to lock/unlock the domain/account, but nothing worked.
I could not see any mistakes in the database.
Deleting and adding the domain would be a trick, but because of having many domains/subdomains and dns-entries this is not my first choice.
View 2 Replies
View Related
Jul 14, 2014
I know the command in ssh
/usr/local/psa/bin/domain -u domain.com -status enabled
/usr/local/psa/bin/domain -u domain.com -status disabled
but i want to know how can i do to obtain a complete list with all domains on servers wich indicate me which domains are disabled or not ?
View 4 Replies
View Related
Jul 24, 2014
I can only add 100 addresses to the global address spam white list. I need to add more!
View 1 Replies
View Related
Sep 11, 2014
we are in this situation:
OS: CentOS 6.5 (Final)
Plesk version: 12.0.18 Update #16, last updated at Sept 11, 2014 04:07 AM
PHP: 5.4.32
we created a new mailing list test1@domain.tld and we tried to send a message, as administrator, to the list and to the temporary users subscribed.But Mailman dones't send anything ! And we receive this error:
Sep 11 15:20:00 2014 (30314) All recipients refused: {'admin-mailinglist@domain.tld': (554, '5.7.1 <admin-mailinglist@domain.tld>: Relay access denied')}, msgid: <mailman.0.1410441595.30312.test1@domain.tld>
Sep 11 15:20:00 2014 (30314) delivery to admin-mailinglist@domain.tld failed with code 554: 5.7.1 <admin-mailinglist@domain.tld>: Relay access denied
Sep 11 15:20:00 2014 (30314) SMTP session failure: 550, 5.7.1 Command rejected, msgid: <mailman.2.1410441595.30312.test1@domain.tld>
All other services on this server seems to be ok, normail email sending, receiving, http... all right... but mailman no.
View 3 Replies
View Related
Apr 6, 2015
After enabling File Sharing in Plesk 12, the service appears to function correctly. If only a few files are uploaded, they are ok. However, after uploading a directory structure with a handful of MB, and subdirectories, File Sharing stops. It shows at the top of the screen:
"Internal error: The File Sharing service is temporarily unavailable because the site is down for maintenance."
it also says in the main window:
"Unable to load folders list."
Clicking on Upload Files, that dialog also shows "Unable to load folders list."
I have checked that the ownership of those files on the server is www-data:www-data , and that permissions are 755 for directories and 644 for files, because it seems like ownership and permissions could be an issue, however that doesn't fix it. Removing all the files in the share does fix it, however that's not useful if the files should be available for sharing.
View 17 Replies
View Related
Oct 15, 2014
I'm looking for a way to get a report of the top domains that are continuously greylisted so I can determine which ones need to be put on the "domains- whitelist" because they use different IPs when resending, causing very long delays (hours/days/never) for each message sent.We're using Plesk11 on CentOS 6.4 with Postfix and the Plesk built-in Greylisting option enabled.
# /usr/local/psa/bin/grey_listing --info-server
Grey listing configuration.
Grey listing checking enabled
Grey interval 5 minutes
Expire interval 51840 minutes
Penalty interval 2 minutes
Penalty disabled
Personal grey listing
configuration allowed
[code]....
Black domains patterns list:
SUCCESS: Gathering of server wide information complete.Click to expand...
View 4 Replies
View Related
Sep 21, 2014
Since we had Update to 12.x we have problem to connect to any ftp Server
We have this Problem on two diffrend Plesnikserver.
Both are running under Ubuntu 12.04 ....
View 1 Replies
View Related
Jun 16, 2014
I'm getting multiple smtp mass mail attack, using weak passwords.
Is there a command, a part from
/usr/local/psa/admin/sbin/mail_auth_view
to list only unsecure password?
View 1 Replies
View Related
Apr 30, 2015
Started after last update 12.0.18 Update #44 (on CloudLinux): I can send mail wia created mailboxes, but sites can not send mail, contact forms say "Failed to send your message." maillog file also do not indicate sending any messages from domains. Wordpress restore password claims:
"The e-mail could not be sent.
Possible reason: your host may have disabled the mail() function."
php.ini is default:
safe_mode = Off
disable_functions = is empty
The issue about not sending mail from domains was - old versions of LVE anf CageFS are incompatible with latest plesk update, updating them caused all sites in Cagefs to throw error 500 with log string: "SecureLVE jail error Invalid regexps: no match for path to base home directory". It was fixed by changing cagefs.base.home.dirs regexp to the real sites folder location. Enabling cagefs back removed one of the files it shouldn't:
"Removed file /var/cagefs/81/xxx/etc/php.d/soap.ini"
So be carefull to place necesssary files back.
For now everything works.
Click to expand...
Click for original message
View 8 Replies
View Related
Sep 9, 2014
I just want to remove plesk and installed again. i saw (URL...) this page. use this code but plesk not removed. my sites are gone.how can i get back my site? what i should install.When i try install plesk 12 says you already install version 11.0.9
View 7 Replies
View Related
Nov 20, 2014
I seem to have an error with backing up to my personal FTP repository. I have only just noticed the issue, but i believe it originated when I upgraded Plesk Panel 11 to Plesk Panel 12. I am currently running version 12.0.18 on Cent OS 6.5.
Note whether i check the "Use passive mode" option makes no difference to my problem.Below is what I get from the panel.log under /usr/local/psa/admin/logs
Code:
[2014-11-20 19:49:44] ERR [util_exec] proc_close() failed
[20-Nov-2014 19:49:44 UTC] PleskUtilException: '/usr/local/psa/admin/bin/pmm-ras' '--check-repository' '--dump-storage=ftp://USERNAME@IPADDRESS/MYFTPDIRECTORY/' '--use-ftp-passive-mode' failed with code 121.
stdout:
Transport error: unable to list directory: Curl error: Access denied to remote resource
stderr:
file: /usr/local/psa/admin/plib/Service/Agent/Transport/Local/Exec.php
line: 57
code: 0
trace: #0 /usr/local/psa/admin/plib/Service/Agent/Transport/Local.php(60): Service_Agent_Transport_Local_Exec->process(0, Object(Service_Agent_Command_Exec), Object(Service_Agent_Transport_LocalTransaction))
[code]....
View 8 Replies
View Related
Dec 17, 2014
We have installed Plesk 12 on a fresh up to date Ubuntu 14.04 x64 server.
After installation, and before any migration, we have moved some folders:
- /var/www/vhosts -> /opt/vhosts
- /var/qmail -> /opt/qmail
- /var/mysql -> /opt/mysql
We have created symlinks, modified some configuration files (Plesk included) and ran domains reconfiguration script (zero domain installed, but just in case the script will do anything else).
After that, we have launched Plesk Migration Wizard (from Plesk 9 to last release).
Everything has worked fine: all domains have been migrated on our new folders (/opt based) and owners has been correctly defined for each domain. The same for MySQL and all mail accounts.
We have checked Apache VirtualHost configured by Plesk Migration Wizard : our new folders are used (/opt).
So all seems to be ok.
But now, all websites (configured with Apache and Apache PHP module) returns 403 Forbidden error.
We have try changing to FastCGI with Apache same error.
We have try changing to full Nginx (PHP and static files), some websites run.
We have checked some KB (112884, 800) but all seems to be good.
Is there any steps we have omitted when we move folders ?
View 11 Replies
View Related
Jul 8, 2015
After successfully changing to a fresh created dhparam pem and a reissue of my certificate all was well.
A couple of other things needed to be done so I followed the article: [URL] ....
nginxDomainVirtualHost.php was already present so the only thing I did was adding the ciphers I got from another site (ciphers that also gave me XP and IE8 support etc.)
After executing the httpdmng --reconfigure-all command I instantly got a error message:
Details: (timestamp) ERR [util_exec] proc_close() failed
(timestamp) ERR [panel] Apache config (14364042360.16209100) generation failed:
Template_Exception: nginx: [emerg] unknown directive "HIGH:!aNULL:!MD5"
[Code] .....
Why are "HIGH:!aNULL:!MD5" unknown directives? How can I merge:
ssl_ciphers
EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH:ECDHE-RSA-AES256-GCM-SHA384:
ECDHE-RSA-AES128-GCM-SHA256HE-RSA-AES256-GCM-SHA384HE-RSA-AES128-GCM-SHA256:
ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA:
[Code] ....
into these these automatically created @domainname.conf files of all my sites without getting this error.
I'm hosting 5 sites, all 5 sites are down now because of the missing conf files.
View 9 Replies
View Related
Jun 21, 2015
I am seeing some some some strange behaviour when password protecting directories served by nginx and PHP-FPM. If I have a site set up so that 'Process PHP by nginx' is selected under ('Websites & Domains>Web Server Settings>nginx settings') and set up password protection ('Websites & Domains>Password-Protected Directories') PHP pages are still served without asking for a password.
If I untick 'Process PHP by nginx' the behaviour returns to normal and an attempt to any access files results in the password request.Is this behaviour by design? If so, it is not made clear when you set up the password protection that it will not apply to PHP pages if you have nginx process the PHP pages.
OS: CentOS 6.6 (Final)
Plesk version: 12.0.18 Update #51
View 2 Replies
View Related
Dec 29, 2014
Today I reboot my server. And after that my sites are not opening.
View 2 Replies
View Related
Sep 25, 2014
OS: Centos 6.5
Plesk Version: 12.0.18
Recently, we had trouble with Horde, which I Re-installed. However, since then any change that is made to a domain in plesk (changing mailbox settings, domain settings, hosting settings) All website show the default plesk page and I will have to re-run the reconfigure-all command in SSH to bring them all back up. Sometimes even that won't work and I will have to re-run the bootstrap repair command. We were actually on Plesk 11 when this started happening, so we upgraded to Plesk 12, but unfortunately this did not fix the issue.
We have around 500 customer websites on this server, so obviously the changes are made often and the sites going down on every change isn't great at all.
I have a long list of these errors in my error Plesk error log:
2014/09/25 17:31:53 [error] 818#0: *1566 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: *.*.*.*, server: , request: "$
But I can't seem to find out if this is the cause, or how to fix this error correctly on a Plesk install.
View 1 Replies
View Related
Nov 12, 2014
I am trying to increase the PHP memory limit for all Plesk hosted sites.
I've updated the 'memory_limit' setting in /etc/php.ini
Then I ran
Code:
/usr/local/psa/admin/sbin/httpdmng --reconfigure-all
/usr/local/psa/admin/sbin/httpdmng --reconfigure-server
Checking a phpinfo() page on hosted sites I see that this setting has not been effective.
Checking some /var/www/vhosts/system/domain.com/etc/php.ini also shows the old setting, and I can see that these files have not been updated.
I note that all these domain php.ini files have been modified earlier today, all at the same time, so presumably some process did regenerate them earlier. All these files hae the "DO NOT MODIFY ..." heading
I realise that I can go the the domain in Plesk GUI and save the PHP settings to force an update, but is there anyway to force the regeneration of all of these files via CLI?
View 3 Replies
View Related
Oct 22, 2014
When I turn on nginx for the server I am able to browse non SSL protected sites correctly. I receive a 502 Bad Gateway error on any sites that have an SSL certificate. Is there a fix for this? I have been unable to find one.
I am running Plesk 12 on an Ubuntu server.
View 6 Replies
View Related