• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

How I ruined my server

jcgalvez

Basic Pleskian
Hello,

Well, it's a long story but I'll try to be precise with how I made my server stop working (could be a bug???)

I created a domain (say mydomain.com) as the principal domain
then I created several "alias" domains mydom1.com pointing to mydomain.com otherdom1.com pointing as well to mydomain.com
then I tried to create a "subdomain", so I created a subdomain with a different domain, let's call tech.thisdom.com
Mydomain.com was pointing to the default directory /httpdocs/
so, since the customer required to point to the same directory, I pointed the subdomain (tech.thisdom.com) exactly to the same directory /httpdocs/

So far, so good so, customer finished tests, and after 7 months not touching the server at all, not changing, anything, not even upgrading, I had the briliant idea and upgraded from 11.x to the latest 11.09, everything went smoothly, and no hassle nor nothing.

The problem arised when I tried to import another domain from another server, so I went to Migration & Transfer Manager and I did the transfer (a normal thing to do that I did several times from other servers to plesk on linux

Apache suddenly stopped and kept saying that the domain name was wrong "httpd: bad user name ..."

so I did the /usr/local/psa/admin/sbin/httpdmng --reconfigure-all

Nothing worked.

I removed the "just imported" domain, and seems like this triggered a total reconfiguration that totally wiped my data (httpdocs)

As far as I understand having a domain and a subdomain pointing to exactly the same directory (/httpdocs/) is not acceptable and when you delete the subdomain, it deletes the main directory as well.

My tech people took 3 hours to put the server back online, they had to do several things to re-create the space, and so..

Since the customer requested not to backup (thing that we had to do) there was no step back, but it would not work since this "pointing bug" (main domain and alias) seems like it would not allow to restore the backup either.

Now I'm totally scared to upgrade to version 11.5 due to all this situation and on the other machine that I upgraded to 11.5 backups are wrong

I get the following error: Could not find password for account id '396'. Return empty password and I do not know where to find this "user 396"

Javier
 
Hello,

You can find out your account from plesk DB through following command


Code:
mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa

select * from sys_users,accounts where accounts.id=sys_users.id;
 
Back
Top