Plesk 12.x / Linux :: VPS Template - User Already Exists
Feb 10, 2015
I've been messing about a lot recently and I've had to rebuild my VPS template a lot in the past month. For some reason, Plesk is finding user data from a bunch of previous instances, so I've got to a point now where it's saying users exist when they can't be found in the panel interface.
I don't know how my VPS provider's infrastructure works but I'd presume that when I rebuild the server it's a total new instance and no data should carry over.
Is the the user data stored locally, and how would I go about clearing out the obsolete data?
View 1 Replies
ADVERTISEMENT
Aug 25, 2014
I have a problem with one of my user accounts (let's call it testuser) in Plesk. System is Windows Server 2012 R2 with Plesk 12.In the Control Panel, the customer and subscription for testuser are removed, so there should not be any data left for the domain/user.
However, when I want to create a new subscription with the username testuser, Plesk gives the error "User account already exists". I tried to manually remove the domain and took the following steps:
Code:
C:Program Files (x86)ParallelsPleskbin>customer --remove testuser
An error occurred during removal of customer account: testuser does not exist
C:Program Files (x86)ParallelsPleskbin>webuser --remove testuser
The web user with the name 'testuser' does not exist
C:Program Files (x86)ParallelsPleskbin>ftpsubaccount --remove testuser -do
main testdomain.tld
Unable to remove FTP account: Unable to find service node for web service on dom
ain with id=0
C:Program Files (x86)ParallelsPleskbin>database --remove testuser
An error occurred during database removal: database does not exist
As described in this topic, I logged in to the MySQL server and tried to remove the user:
Code:
C:Program Files (x86)ParallelsPleskMySQLbin>mysql -P8306 -uadmin -p[admin-pass] psa
mysql> g SELECT id FROM `sys_users` WHERE login=`testuser`
ERROR 1054 (42S22): Unknown column 'testuser' in 'where clause'
mysql> g DELETE FROM `sys_users` WHERE login=`testuser`
ERROR 1054 (42S22): Unknown column 'testuser' in 'where clause'
Also, the inetpub/vhosts directory for the user is correctly removed and therefore doesn't exist. Are there any other steps I can take to remove the user manually and so be able to recreate the user?
View 3 Replies
View Related
Mar 11, 2015
I am currently in the process of migrating a few hundred domains from one server to another using Plesk's Migration & Transfer Manager. The servers have the following name servers allocated:
Server 1: ns9.example.com & ns2.example.com
Server 2: ns1.example.com & ns2.example.com
In the DNS Zone Template in Tools & Settings on Server 2, can I just click Apply DNS Template Changes and change all migrated domains NS records to ns1/ns2? Will this affect custom DNS entries as a lot of the domains have DNS changes that need to remain. I'm just hoping that this might be a quicker way than going into each domains DNS zone and manually changing ns9 to ns1.
I just really don't want all the domains DNS zones to reset to the standard template on Server 2 ...
View 7 Replies
View Related
Jul 2, 2014
It seems to me that the panel is not DNS Template for any domain.
Plesk v. 12.0.18
View 1 Replies
View Related
Jul 17, 2014
With the standard-DNS-Layout every customer has an MX-entry like MX 10 mail.customerdomainexample.com
The problem is, that inbound mailservers get a TLS warning, because the mailhostname does not match mail.companydomainexample.com, which is the domain with a valid SSL-Certificate pointing to the same server.
Wouldn't it make sense to change the default template to mail.companydomainexample.com since it is the same machine anyway?
View 2 Replies
View Related
Apr 2, 2015
Is there a chance to change the default nameserver name for customers created by a reseller.
Example:
System wide default
ns.provider.de
ns2.prodiver.de
ns3.provider.de
Now the reseller wants:
ns.reseller.de
ns2.reseller.de
ns3.reseller.de
The NS-Entries of the reseller may be the same physical nameserver, but it should be anonymized. How can I achieve that?
View 1 Replies
View Related
Sep 3, 2014
I disabled the reverse proxy and i got following error:
Code:
Fehler: Aufgrund von Fehlern in den Konfigurations-Templates konnten keine neuen Konfigurationsdateien für den Apache Webserver erstellt werden: Template processing failed: file = /opt/psa/admin/conf/templates/default/server.php, error = Template_Exception: syntax error, unexpected '=>' (T_DOUBLE_ARROW)
file: /opt/psa/admin/plib/Template/Processor.php
[Code] ....
Now I got the problem that i can't create the /etc/apache2/plesk.conf.d/server.conf
View 1 Replies
View Related
Aug 13, 2014
edited /usr/local/psa/admin/conf/templates/custom/domain/nginxDomainVirtualHost.php and add this include hhvm.conf; and work but it's possible to edit this setting only for one vhosts? I must enable only for one vhost because i have some php script not work with hhvm
View 3 Replies
View Related
Feb 7, 2015
I am now encountered the problem, in which a user wanted to create an FTP account that is already in use by another user.
Is there a kind of template / mask in which you can optionally specify the user name style.
If the user is set up, but it creates the system user name, you could not let this might Automatically set before that?
View 1 Replies
View Related
Apr 23, 2015
We have a problem with our plesk servers. I executed "/usr/local/psa/admin/sbin/httpdmng --reconfigure-all" and now the plesk interface shows an error message:
Template processing failed: file = /opt/psa/admin/conf/templates/custom/server.php,
error = Template_Exception: Incomplete metainfo, domainId undefined.
file: /opt/psa/admin/plib/Template/Processor.php line: 27 code: 0
[Code] ......
I found out that all domain configs were generated correctly, but the psa database shows an error (select * from Configurations where status = 'error'; ) for file /etc/apache2/plesk.conf.d/server.conf.
View 7 Replies
View Related
Jul 23, 2015
I'm using this script as a cron to generate DKIM keys for the domains I have. It's an easy script. And it does it's job just OK. I have the necessary software installed and configured.
The way it works is:
The script check if the domain in queue has a record for it. If it doesn't, OpenDKIM generates a one time DKIM record for mail._domainkey that I am entering to my dns records for all the domains I have.
After creating the DKIM record, it checks and deletes mail._domainkey records if there's any. Then adds the generated DKIM to plesk dns zones and disables/enables greylisting to create the appropriate dns entry.
If it does have a DKIM recors on the hdd already, then it removes
mail._domainkeyand
TXT o=-entries.
After that it basically adds the already generated DKIM record and it disables/enables the greylisting for each domain in order to recreate "TXT o=-"
Up till here, it works fine. I can see these entries when I check the DNS Settings. They are there.
But whenever I run this script either via cron or manually, I get an error message on my panel: (You can check the screenshot as well)
Code:
Warning: The DNS zone was modified. If you would like to apply DNS template changes to this zone, either click the 'Apply DNS Template Changes' button on this page or choose the 'Apply the changes to all zones' option in Server Administration Panel > Tools & Settings > DNS Template Settings > Apply DNS Template Changes.
And unless I manually click "Apply DNS Template Changes" for EVERY SITE it doesn't go away.
So, I was wondering, is there a way to scriptize that command? Or how to prevent it?
This is the command I use to generate DKIM and add it to Plesk database, also if any such record exists, delete and re-write it:
Code:
#!/bin/sh
ADMIN_PASS=`cat /etc/psa/.psa.shadow`
MYSQL_BIN_D=`grep MYSQL_BIN_D /etc/psa/psa.conf | awk '{print $2}'`
mysql="${MYSQL_BIN_D}/mysql -N -uadmin -p${ADMIN_PASS} psa"
query="select name from domains;"
domains=`echo $query | $mysql `
for i in ${domains}; do
echo "Processing $i"
[Code] ....
View 4 Replies
View Related
Jun 23, 2015
Plesk Applications Installer. I wish to create my own WordPress template (with preinstalled plugins/themes) for my customers.
Is there an easy way to do this (or anyway to do this)?
View 3 Replies
View Related
Aug 19, 2014
I want to use the Panel as a Master DNS Server.
1: Obtain two Nameservers. ns1.maindomain.com, ns2.maindomain.com. (Completed)
2: Glue the Nameservers to the server's IP addresses. 1.1.1.1 -> ns1.maindomain.com / 2.2.2.2 -> ns2.maindomain.com (Completed)
3: Successfully register domain and make sure it's pointing to the correct server. (Completed)
4: Register new domain (client.com) to server using ns1.maindomain.com & ns2.maindomain.com as it's nameservers. (Problem)
Reason: Can't edit the template correctly due to a suffix .<domain> that I cannot get rid of.
In order for me to use (ns1.maindomain.com) and (ns2.maindomain.com) as the namerservers for client.com, I'll need to be able to edit those fields entirely. I don't want Plesk to append the client's domain name to the NS record.
This may be a very simple thing to remove, but I give up.
View 3 Replies
View Related
Apr 30, 2015
I created a New Client Default Domain by copying plesk's original Default Domain.This template is for clients we move from older versions of plesk up to servers with plesk 12.x. Under resources for that "Service Plan Name"
I have Sites published with Presence Builder set to 0 and.Allow customer to create trial Presence Builder websites. Not checked.When I log in as the client I still see Presence Builder with edit Website.I also confirmed the correct plan was picked for that subscription by picking the new "New Client Default Domain" and under add-on plans I picked "remove"
But when I log in as the "client" to see what they would see I see Presence Builder and Edit Website available.How do I get rid of that selection?I can see a client clicking on it and basically over writing their current website.
View 1 Replies
View Related
Sep 15, 2014
When you click on "Forgot your password?" in Plesk for Linux 11, you'll get an email like this: Dear <firstname>Your password could not be sent because it is stored in the encrypted form.To set up a new password, please follow the link: <link to reset password>
How can I change that? It's a bit sparse and it doesn't even include a email signature with the company name.
View 3 Replies
View Related
Jul 9, 2014
The IP addresses assigned to our servers have changed so it's time to update the default SPF information contained in the DNS records for ALL of the domains hosted on our servers:
OLD
Code:
v=spf1 +ip4:173.236.23.185 +ip4:173.236.23.188/30 +a +mx -all
NEW
Code:
v=spf1 +ip4:69.160.255.188/30 +ip4:69.160.255.192 +a +mx -all
However, when we update the resource record in the DNS template and then "Apply the changes to all zones...",
Panel will apply changes from the template to all DNS zones including the customized ones. Note that user-modified records always remain intact. For example, if the template contains a new record that was already added by a customer, Panel will keep the customer's record.Click to expand...
View 1 Replies
View Related
Jul 29, 2014
i use plesk 11.5 then remove domain alias thietkethicong.org and creat an hosting for domain thietkethicong.org have error : "This DNS record already exists."
View 12 Replies
View Related
Jul 8, 2008
I added a domain name through Plesk. after that I deleted it because I wasn't happy with the configuration and thought I'd just start from scratch.
now, I'm unable to add it. the domain is not listed with the other domains on the server, however when I try to add it I get "Such DNS record already exists".
View 1 Replies
View Related
Feb 14, 2014
The issue is effectively that we created a subscription with the domain. Which has since been deleted. The domain now wants to be added to another subscription on the account.
The domain can be seen in both the PBAS and PPA domains and everything seems to point at the right subscriptions. I presume all this is right as we have other domains quite happily added to the subscription in a similar manner.
I'm not really wanting to rip out the entire domain from the system as we spent the morning putting in 132 records, due to a bizarre lack of bulk insertion tools.
View 9 Replies
View Related
Nov 19, 2013
I am having complains from our clients that their mails are always going to spam folders istead of inbox. I decided to have some tests and find out problems which couse the issue and solve them. We have PTR records correctly, Our IPs and domain names are not listed in any blacklists, And I checked "Use DomainKeys" checkbox for all our domains in mail settings.
These were all good and thought that all works well untill I ran a test on [URL].....
I opened a mail file (.MAI) and copied all content (with headers, contents and all) to that site and got a result like;
pts rule name description
---- ---------------------- ---------------------------------------------------
0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust
[95.108.252.17 listed in list.dnswl.org]
0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked.
[Code] ....
The 3rd line from the last confused me. "Message has a DKIM or DK signature, not necessarily valid" and "DKIM-Signature header exists but is not valid" parts of that report put a question in mind. Does the "Use DomainKeys" checkbox in the Plesk Panel really working? I mean, it creates all the DNS entries and all, but the email message is starting with a line "DomainKey-Status: no signature" and that supports the 2nd line from the last in that report.
The question is, what should I do to make DomainKeys work as it should? I am using the latest 11.5.30 Update #23 of Plesk Panel for Windows on a Windows 2012 Standart server with MainEnable Enterprise Premium. Enterprise version of MainEnable also has DKIM settings available for all the domains in its own panel, but it's disabled because I didn't set anything in there.
View 1 Replies
View Related
Mar 20, 2015
I have manually removed a user from the Ubuntu OS. The user isn't present in the Plesk-UI too.On my Vhosts SuexecUserGroup is still set to this non existent user. So the apache can't restart...
Apache message:
bad user name xxx
Action 'configtest' failed.
Are there corresponding UI-fields in Plesk or can I edit any Plesk-Db-Table to fix this?How is SuexecUserGroup set by Plesk?
View 2 Replies
View Related
Jul 1, 2015
Is it possible to set the subscription shell option of an subscription via xml api? I see it is possible via cmd "/usr/local/psa/bin/subscription -u {subscription} -shell /usr/local/psa/bin/chrootsh" But how is it possible via xml api?
View 1 Replies
View Related
May 15, 2015
I need to create a SSH account for an subscription. This account is not allowed to access other domains. How do i do that?
I know how to create an SSH account with remote access.
View 1 Replies
View Related
Nov 2, 2014
I use Plesk 11.5.30 on my vServer. I created a new domain with a new web user and /bin/bash (chroot) setting. I can't login with a SFTP connection to this domain only normal FTP connection works. With existing users I don't have this problem.
View 1 Replies
View Related
Jan 19, 2015
We have a website under httpdocs/. We can change/delete files with a ftp user : "ftpold". All is ok. We must create another ftp access for another company which can access only to httpdocs directory (not to logs/, error_docs/...).
So we have create a ftp access in Plesk. But with this ftp connexion, we can not update/delete files ou update rights.
So we decide to change rights on the files/directories under httpdocs with the new ftp access :
httpdocs# chown -R ftpnewsacln *
The is no errors but the files:directories are always with the old ftp user :
httpdocs# ls -l
ftpold psacln ... libs/
ftpold pscln ... index.php
Why ? How can i create another ftp access ?
View 3 Replies
View Related
Jun 30, 2014
I have a virtual server linux with Strato. When I have upgrade from 11.5 to 12.0.18 in spanish I have seen that I can´t add a new domain in power user. The user has ilimited domains and I have less that 10 domains. I see the buttom of "add domain" as in 11.5 and appears all the fields to complete, but there is not buttom to accept o decline. There is no problem with alias or subdomain. I have reinstall 11.5 and dissapeared the problem, but when I upgrade again to 12.0 this buttom doesn´t appear.
View 1 Replies
View Related
Jan 30, 2015
I'm running a brand new installed VPS with CentOS 6.6 and Plesk 12.0.18. I created a subscription and by default a FTP user is created. However, I cannot login with these credentials. I also created a new user but the same problem presists. I'm 100% sure that the username and password is correct.
Filezilla gives me and 530 Login incorrect. But if I look at the /var/log/secure file, I see this odd message (FTP username = test):
Jan 30 16:01:45 transip 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
Jan 30 16:01:45 transip proftpd: PAM adding faulty module: /lib64/security/pam_stack.so
Jan 30 16:01:45 transip proftpd: pam_listfile(proftpd:auth): Couldn't open /etc/ftpusers
Jan 30 16:01:45 transip proftpd[18085]: 127.0.0.1 (x.x.x.x[x.x.x.x]) - USER test (Login failed): No such user found
No such user found, although it is created with Plesk.
View 10 Replies
View Related
May 28, 2015
How can I create an FTP user read-only in plesk 11.5?
View 1 Replies
View Related
Nov 26, 2014
I would like my Plesk users to each have access to the mail folder for their domain. cPanel appears to do this by default by creating a folder named /home/user/mail which contains a subfolder for each domain name. Plesk, however, places all email folders together in the /var/qmail/mailnames folder. I would like to end up with a structure similar to how cPanel does it, but it looks like there are at least a couple of ways to accomplish that and I'm not sure what would be the most safe, reliable way to do it.
One way I can think to do it would be to override the Plesk dovecot config by adding a new config file to /etc/dovecot/conf.d. I think changing the values for mail_home and mail_location as follows would possibly work.
Old values:
mail_home = /var/qmail/mailnames/%Ld/%Ln
mail_location = maildir:/var/qmail/mailnames/%Ld/%Ln/Maildir
New values:
mail_home = /var/www/vhosts/%Ld/mail/%Ld/%Ln
mail_location = maildir:/var/www/vhosts/%Ld/mail/%Ld/%LnMaildir
I see a potential issue with this solution; the %Ld for an add-on domain will probably be the add-on domain, and there will not be a folder within /vhosts/ with that name. Perhaps there is another variable for the primary domain that I could use there.
A second way I can think to do it would be to add a symlink in /var/www/vhosts/domain/ named "mail" that points to the actual mail folder for a domain. Again, issues would probably occur here with add-on domains, and I also can't see a way to automate this. I also predict permissions issues with this solution.
I am using Dovecot if that makes a difference.
View 3 Replies
View Related
Jun 27, 2014
Looking at a server with Plesk 12 installed there is no root user shown in tools & settings / scheduled tasks.
Login as root and crontab -l shows root has some tasks.
On a similar server with Plesk 11.5 installed can see root user shown in tools & settings / scheduled tasks.
View 1 Replies
View Related
Jun 20, 2014
I facing a serious problem with my qmail and plesk 11.0.9.I found the way spammer did with my server by listening everything on port 25. Maybe he know the RCPT hosts of mine, and they send emails with random username but with domain hosted on my Plesk. (user1@mydomain.com, user2@ my domain.com, ... userxxx@mydomain.com).
qmail only check domain in RCPT if spammer input:"mail from user1@mydomain.com" - (with out ":") - no email address on my server.then server reply: 550, no mailbox here by that name. (#5.7.17)
But qmail check username and domain if spammer input:""mail from: user1@mydomain.com" - (with ":") - no email address on my server. Then server reply: 250 OK..This is really weird! I tried with all my plesk server, this bug still effected.Click to expand...
View 2 Replies
View Related