1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

can't delete site

Discussion in 'Plesk for Windows - 8.x and Older' started by ghawley, Feb 15, 2006.

  1. ghawley

    ghawley Guest

    0
     
    i am trying to delete a site that didn't restore properly and now it won't let me. It's giving me the following error:

    Unable to remove domains: Problemsoccured while removing domains: Unable to turn OFF: domainmng failed: Execute usermng access off failed: Unable to get the user (kaywolf) home: (2221) The user name could not be found.

    Please help, the site is down!
     
  2. jbuts

    jbuts Guest

    0
     
    You should use Plesk Reconfigurator -> repair plesk installation -> Plesk Virtual host security to create this user in system or you can manually create this user. Home directory for the user should point to %plesk_vhosts%\domain.com\httpdocs. But i recommend you use Plesk Reconfigurator.
     
  3. eleblanc

    eleblanc Guest

    0
     
    About the same thing happened to me seems like when i try to remove the domain it failed now i cannot restore ANY of a single domain and trying to restore any give me a error. I mean by that i try to restore domain Y and get a error:

    Database error: the domain X has hosting type vrt_hst but has no corresponding record in the table hosting.

    Help! this is preventing me from restore ANY domain in my restore file

    And i cannot delete the site X that is showing in plesk but not in IIS manager

    When i try to delete the domain i get this

    Unable to remove domains: Problems occured while removing domains: Unable to turn the domain OFF: domainmng failed: Can't query SELECT Login FROM sys_users WHERE id=: MySQL error 1064: You have a error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near " at line 1.
     
  4. Toepes

    Toepes Guest

    0
     
  5. eleblanc

    eleblanc Guest

    0
     
    By reconfiguring the X virtual hosting i was able to fix the X domain, and restore all my domain from the backup except one Z domain, that give me the same error when starting the restore. This time that domain is not present in plesk neither in IIS. Something must be left about the Z domain in the database.
     
  6. arvin

    arvin Guest

    0
     
    I think you can delete domain manually in these fields:

    -IIS
    -Mailenable
    -mysql tables:
    -hosting
    -sys_users
    -log component
    -log actions
    -DNS record
    -lis params
     
  7. eleblanc

    eleblanc Guest

    0
     
    With help from plesk i the last domain is back up. Now obviously this server is strugling with this new load. I have one domain using a dedicated pool application. and once in a while about every hours or two the memory used by the w3w.exe (domain) pool app, sky rocket to size well over 500 meg of memory, consequently using the swap file and causing the server to crawl to a halt. So i had to put that site offline. Don't know what could cause this. It was running fine on a other plesk server setup exactly like this one.

    Eric
     
  8. Satch22

    Satch22 Guest

    0
     
    I swear this question has been asked a billion times on this forum, and we've yet to receive a valid answer on how to remove a domain that erros out when you try to remove it.

    C'mon!
     
  9. Toepes

    Toepes Guest

    0
     
    Yust a simple walktrough how to delete a domain manually would be perfect.

    There must be someone at SW-Swoft who could offer this support ?
     
  10. JArnoldussen

    JArnoldussen Basic Pleskian

    23
    57%
    Joined:
    Mar 31, 2006
    Messages:
    42
    Likes Received:
    0
    Does anyone have a solution? I have a domain I can't delete, and it's taking up a license spot. Why does Plesk have so many little issues??
     
  11. Gris@

    Gris@ Guest

    0
     
    I think that it is easier to create missed record or to change hosting type in domains table (htype column)
     
  12. jas8522

    jas8522 Basic Pleskian

    24
    23%
    Joined:
    Feb 3, 2005
    Messages:
    80
    Likes Received:
    0
    Location:
    Halifax, Nova Scotia Canada
    Here's what worked for me

    First to fix the user issue:

    edit /etc/passwd and look for the username in question - it should be given in the error.

    If it does not exist, copy one of the lines in that file for another general user/vhost. It will look something like below, but replace username with the actual username and number with the last entry in the file's number + 1

    username:x:number:10001::/var/www/vhosts/domain.com:/bin/bash

    After doing that I still couldn't remove the domain because the mailname didn't exist. So I did:

    mkdir /var/qmail/mailnames/domain.com

    You may also need to create /var/www/vhosts/domain.com ... I didn't have to because I copied over a backup of that directory.

    Hope this helps.

    Jordan
     
  13. JArnoldussen

    JArnoldussen Basic Pleskian

    23
    57%
    Joined:
    Mar 31, 2006
    Messages:
    42
    Likes Received:
    0
    As this is a Plesk Windows forum, not a Linux forum, I don't see how that post will assist. Doesn't anyone have a solution to this problem? It's costing licenses on our server!
     
  14. jas8522

    jas8522 Basic Pleskian

    24
    23%
    Joined:
    Feb 3, 2005
    Messages:
    80
    Likes Received:
    0
    Location:
    Halifax, Nova Scotia Canada
    Oh yeah

    I thought I had limited my search for this problem to linux, hadn't even noticed!

    Sorry... although the one time I had a problem with this on my windows box it was because I had a window open for the directory it was trying to remove.

    Jordan
     
Loading...