Plesk 11.x / Linux :: Query List Of System Users Using API RPC
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
ADVERTISEMENT
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
Apr 15, 2009
One of the projects I will work on will require to process 50,000 emails a day. Most of these emails would include attachments and the challenge is to process them and put all the stuff into a database for the application to use.
My biggest concern is spam and we cannot afford to lose out on legitimate emails. One way of configuring the setup would entail checking emails for the specific types of attachments and piping it in.
However I was just wondering if someone here has dealt with this volume of emails and also what are the spam limiting options available (even commercial would do)
View 3 Replies
View Related
Jun 2, 2014
I have just added some extra IP addresses to my plesk panel from 1&1
CentOS 5.6 (Final)
Panel version11.5.30 Update #45
I have changed a couple of domains to have their own IP address - one marked as shared, the other as dedicated.
I can not log in to either via FTP since changing to a new IP address, the DNS has been changed to reflect this change over and resolves correctly.
I have used the domain name, original IP address and new IP address as the host address with filezilla on windows and mac, and smart ftp on windows.
All accept the username and password, but then all of them timeout with ETIMEOUT error.
Existing domains on the original IP address log in fine via FTP.
View 2 Replies
View Related
Nov 23, 2007
I've setup MDaemon mail server on my local PC to send personal emails to Yahoo Groups.
Maximum recipients per message is set to 100 for the clients.
When there are more than 1 messages pending to be sent to yahoogroups.com, mdaemon creates a message to be sent to this domain and add 31 users in To (BCC) list and the message fails as it should, saying "too many recipients".
There should only be one recipient in To list, but I could not locate the setting where to set maximum recipients for outgoing email
I'm also searching mdaemon forums, but as i get quick response from WHT...
View 0 Replies
View Related
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
View Related
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
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
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
May 25, 2008
this is simple steps to Prevents users from overriding system php.ini in suPHP mode .... in CPanel servers
first : you must make sure that suphp is installed as default handler
than just edit your httpd.conf file or php.conf file ( will be better to use php.conf )
now add this line :
Quote:
suPHP_ConfigPath /usr/local/lib
or ( Zend )
Quote:
suPHP_ConfigPath /usr/local/Zend
if you need to use only php.ini config file :
Quote:
suPHP_Config /usr/local/lib/php.ini
View 0 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
Feb 16, 2015
My reseller have got one plan, where option "Gestion de l'accès au serveur via SSH" (Manage SSH access to server) is on "Peut autoriser l'accès uniquement à un environnement chrooté" (Can autorize access only in chrooted environment).
This plan contains only one subscription in which I would like to permit users to use sftp. If I go in the subscription, and then I click on "Customize subscription", I can see option "Gestion de l'accès au serveur via SSH" (Manage SSH access to server) is on "Peut autoriser l'accès uniquement à un environnement chrooté" (Can autorize access only in chrooted environment)...
=> So same than in the plan.
After that, when I click on subscription => WebSites and Domain => One domain => FTP Access and I choose a ftp user, I don't have any option to allow ssh access to the user.
View 4 Replies
View Related
Oct 14, 2014
After some recents updates (currently running on: 12.0.18 Update #19) appeared a problem with connecting to FTP for passive mode users:
Connect ok!
"/" is the current directory
Get directory
227 Entering Passive Mode
550 Access is denied.
Server logs:
/var/log/messages
Oct 14 12:11:26 host xinetd[3692]: START: ftp pid=2709 from=::ffff:xxx.xxx.xxx.xxx
Oct 14 12:11:26 host proftpd[2709]: processing configuration directory '/etc/proftpd.d'
Oct 14 12:11:26 host proftpd[2709]: yyy.yyy.yyy.yyy (xxx.xxx.xxx.xxx[xxx.xxx.xxx.xxx]) - FTP session opened.
But:
/var/log/secure:
Oct 14 12:11:26 host proftpd: PAM unable to dlopen(/lib64/security/pam_stack.so): /lib64/security/pam_stack.so: cannot open shared object file: No such file or directory
Oct 14 12:11:26 host proftpd: PAM adding faulty module: /lib64/security/pam_stack.so
Oct 14 12:11:26 host proftpd: pam_listfile(proftpd:auth): Couldn't open /etc/ftpusers
Oct 14 12:11:26 host proftpd[2709]: yyy.yyy.yyy.yyy (xxx.xxx.xxx.xxx[xxx.xxx.xxx.xxx]) - USER client: Login successful.
ad1: yes, i do have passive ports configured in /etc/proftpd.conf and FW is properly configured
ad2: everything was fine until recent updates
ad3: this is happening only for passive users only
ad4: we are experiencing this issues across all Plesk instances [6x] on CentOS 6.5 with 12.0.18 Update #19
View 6 Replies
View Related
Jan 18, 2015
I'm using Plesk Panel 12 on Debian GNU/Linux 7.6 server. I created a ftp user in a subdomain (sub.domain.tld) of my domain (domain.tld).
In Tools and settings = Policy security, I allowed sftp and ftp connections. When I try to connect I get this message :
Code:
sftp my_user@domain.tld
Connection closed
In the password file I got :
Code:
my_user:x:10000:1003::/var/www/vhosts/domain.tld/sub.mydomain.tld/httpdocs:/bin/false
View 15 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
Sep 25, 2014
I am looking for a way to prevent panel users i created to change their passwords.
When i try to edit user roles, i can check/uncheck capabilities, but nothing on user password change.
I've tried to search information on this but both Google and this forum are flooded by "users password change" regarding "Horde", which i don't use.
View 1 Replies
View Related