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.
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.
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...
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.
I have plesk12 set up but when i set a mail (dovecot) password, it gets stored in plain text (which I can verify by running /usr/local/psa/admin/sbin/mail_auth_view ). I would like to change this default setting to be encrypted.
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.
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:
The VPS has 16 domains running on it, all with different web addresses and their own email accounts etc.
It's a Linux server and is running postfix for the mail. The main website on this domain has the mail service disabled because we have an exchange service on our own server here in the building where we work. Now when anyone on any of our domains on the VPS try to email us at 'maincompany.com' they get the following error message:
This is the mail system at host <vps address>.
Your message could not be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can delete your own text from the attached returned message.
The mail system
<stevew@maincompany.com>: mail for maincompany.com loops back to myself...
In an environment where there is no webmail enabled for hosted sites and no sites have registered names (eg; they all belong in "our name space"), what is the affect of NAMED not running?
One affect that I have seen is with Site Scheduled Tasks that need URL resolutions. This appears to fail if Named is not running. All OTHER site content seems to work just fine. Apparently even in WordPress Multi-user/site situations.
I FULLY understand bind/named (and /etc/hosts, /etc/resolv.conf, /etc/nsswitch.conf), but it seems that it some cases, virtual hosted sites do not need Named (active) to function. This is NOT a case of incorrect DNS definitions created by Plesk for any hosted site.
SO - what is the "affect" of Named NOT running in a PLesk-12 Linux environment - not only for hosted sites but also the Plesk server itself?
Plesk 12.0.18 on CentOS 6.5 using Postfix...i have configured outgoing mail control to have a limit on a domain. I have removed all entries from the server wide white list.This setting - Allow scripts and users to use Sendmail is unchecked.However I can send any number of messages using PHP's mail() command from a PHP script on the domain.I see this in the maillog:Error during 'limit-out' handler...But the email is sent and no limit is applied.
sitea.com was pointing to /home/me/public_html/sitea
siteb.com was pointing to /home/me/public_html/siteb
On my new server, I have root permissions and used Plesk to create two domains sitea.com and siteb.com . Now plesk asks for a user to be created for each domain, so created usera and userb for sitea and siteb respectively.
Now as root on my server I created the dir /home/me/ and untarred the whole backup from old server to new server and I have dirs :
/home/me/public_html/sitea and /home/me/public_html/siteb
In apache configuration in file: httpd.include_sitea under dir /var/www/vhosts/sitea.com/conf/httpd.include
I changed the document root to /home/me/public_html/sitea
So I thought I am all set. But it does not work. When I try sitea.com in the browser it works but for all subdirs, for eg sitea.com/images it says Access denied.
This is because the dirs I created are owned by root.
So the owner of /home/me/public_html/sitea needs to be usera for this to work ?
Again for siteb to work I need to change the owner of /home/me/public_html/siteb to userb ?
This will be painful ? At least I should be able to change the owner of /home/me/public_html/ to one owner and ensure all sites under that work fine. How do I do that ?
I think the problem is clear by now. Its that I want all my sites to work off from .../public_html/ sub dirs.
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...
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 ?
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:
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.
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.
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.
Is it possible to get a list of domains that are using a specific pair of nameservers?
We've purchased several hosting companies over the years, and would like to consolidate the nameservers we are using and need to manage.
Thus.. we need to figure out which customers are using which nameservers.
So getting a list of which domains are using the nameservers we don't want to use any more would be a nice easy way. Then we can contact those specific customers only.
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.