• 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!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.

Resolved Error: Permission denied to remove domain ID 3

Milos Jankovic

New Pleskian
Hi,

I have a problem deleting domain from Plesk. When I want to delete domain/subdomain in Plesk 12.5 I get error: "Error: Permission denied to remove domain ID 3"

I have been reading around the web and followed solution:

1 - Use Putty
2 - login to your acc
3 - use line: plesk bin domain -r domain.com

but I get error: "Could not open Repository at "/etc/sw/keys": Cannot open file
Error: must run as root.
exit status 1"

So my question is how to get root priveleges so I could delete domain using SSH. I logged in as a FTP user. I am using VPS. What option from list of "Access to the server over SSH" should I use?

Thanks,
Milos
 
@Milos Jankovic,

You are logging in as FTP user, which does not have the required permissions to run the command. No matter what option you use in Plesk, the FTP user will not get the required permissions (expected, as we do not want users to gain full access to the server).

You need to login with an account with privileges, one that was set up during the OS installation should do the job.
root is the user name or account that by default has access to all commands and files on a Linux or other Unix-like operating system. It is also referred to as the root account, root user and the superuser

When you want to run commands as root, just start the command with 'sudo' (meaning: super user do), like "sudo plesk bin domain -r domain.com", press enter, and you will be prompted for the root password. After you enter it and confirm, the command gets executed under the root privileges.
 
Login with root privileges was such a logical step. :) I just learned how to find the root user data on VPS configuration GUI. Everything else went fine after that.
urki, thanks a lot!
 
Back
Top