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

Domain deletion not correct

Discussion in 'Plesk for Linux - 8.x and Older' started by jsvandehoef, May 15, 2006.

  1. jsvandehoef

    jsvandehoef Guest

    0
     
    Hi,

    I've deleted an domain on my Plesk 8.0 server, but the deletion was not completed. The domain still exists in Plesk as where the files on the filesystem are allready deleted.

    When I delete the domain again, from plesk, the following exception appears:

    ERROR: PleskException
    Table::select() failed: no such row in the table

    0: /usr/local/psa/admin/plib/dns/DNSZone.php:52
    DNSZone->DNSZone(string '1')
    1: /usr/local/psa/admin/plib/common_func.php3:2555
    objectMaker(string 'DNSZone', string '1')
    2: /usr/local/psa/admin/plib/dns/DNSManager.php:39
    DNSManager::getDNSZone(string '1')
    3: /usr/local/psa/admin/plib/class.Domain.php:644
    Domain->getDNSZone()
    4: /usr/local/psa/admin/plib/class.PhDomain.php:207
    PhDomain->reset(integer '0', boolean true, boolean false)
    5: /usr/local/psa/admin/plib/class.BsDomain.php:289
    BsDomain->reset(integer '0')
    6: /usr/local/psa/admin/plib/class.BsDomain.php:283
    BsDomain->delete(integer '0')
    7: /usr/local/psa/admin/plib/class.BsDomain.php:524
    mdeleteDomains(array)
    8: /usr/local/psa/admin/plib/class.Manager.php:351
    Manager->removeDomains(array)
    9: /usr/local/psa/admin/htdocs/domains/domains.php3:215

    What can I do to permanently delete theis domain?

    Kind Regards,

    Jeroen
     
  2. drumstick@

    drumstick@ Guest

    0
     
    I got the same problem. I was deleting a domain and it froze in the middle of deletion.

    I rebooted the server and tried to delete again and I recieved the same errors.

    I also tried deleting the client that teh domain belonged to and it also froze.
     
  3. drumstick@

    drumstick@ Guest

    0
     
    I fixed the problem by deleting the Domain within the Plesk MySQL database (Database Name: psa).

    I logged into the Linux shell as "root" and then logged into MySQL.

    commands:

    mysql -u admin -p

    use psa;
    delete from domains where name='domain name';
    quit;


    I also deleted the user that belonged to the domain in the /etc/passwd file.
     
  4. jsvandehoef

    jsvandehoef Guest

    0
     
    It worked! Thanx Drumstick!
     
  5. NetVicious

    NetVicious Guest

    0
     
  6. blank_page

    blank_page Regular Pleskian

    24
    53%
    Joined:
    Dec 17, 2006
    Messages:
    229
    Likes Received:
    0
Loading...