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

Restore Failed - urgent advice appreciated

Discussion in 'Plesk for Linux - 8.x and Older' started by gee_fin, Nov 7, 2006.

  1. gee_fin

    gee_fin Guest

    0
     
    I've had a restore fail halfway through with the fatal exception quota error message. The domain now just shows the default new domain installation page. All the files are still there, the databases are still active, the domain is still there with all it's alias/mail/etc in Plesk, but no files whatsoever are being served.

    I'm tearing my hair out trying to get this back up as it's a live site and I'm at my wits end. Can anyone shed any light on what the half-restore might have broken?

    Any help would be hugely, hugely appreciated,

    Cheers,
    Graeme.
     
  2. 0031

    0031 Guest

    0
     
    Do the domain registered in Plesk and has physical hosting? If yes - run psa/admin/sbin/websrvmng --reconfigure-all to rebuild the apache's configs.

    And ensure that DNS resolving is correct
     
  3. gee_fin

    gee_fin Guest

    0
     
    Hi,

    Many thanks, it <I>seems</I> to be back up now, with only the odd strange error that seems to be reducing. I ended up deleting the lot and manually restoring. The only issue now is that it's back to the old chesnut of Plesk complaining it can't delete the domain because of the quota issue. I keep hitting this, I'm presuming Plesk doesn't like it when you setup clients/domains with the unlimited flag (even though it appears this is the default option). So I now have a domain I can't delete (and need!). Very frustrating :(

    Graeme.
     
  4. 0031

    0031 Guest

    0
     
    What exactly the error message? Is there something in psa/admin/logs/httpsd_error_log?
     
  5. gee_fin

    gee_fin Guest

    0
     
    Error is -

    Code:
    ERROR: PleskFatalException  	
    Unable to remove hosting: Unable to delete system user: SysUser->systemRemove() failed: usermng failed: usermng: Unable to set quota for user 'racedcouk'
    
    0: /usr/local/psa/admin/plib/class.PhDomain.php:228
        PhDomain->reset(integer '0', boolean true, boolean false)
    1: /usr/local/psa/admin/plib/class.BsDomain.php:289
        BsDomain->reset(integer '0')
    2: /usr/local/psa/admin/plib/class.BsDomain.php:283
        BsDomain->delete(integer '0')
    3: /usr/local/psa/admin/plib/class.BsDomain.php:524
        mdeleteDomains(array)
    4: /usr/local/psa/admin/plib/class.Manager.php:351
        Manager->removeDomains(array)
    5: /usr/local/psa/admin/htdocs/domains/domains.php3:215
    
    And it just won't let the domain be removed.

    httpdsd_error_log is reporting -

    Code:
    System error 32: Broken pipe
    [Tue Nov  7 15:58:12 2006] [notice] caught SIGTERM, shutting down
    Processing config directory: /usr/local/psa/admin/conf/httpsd.*.include
    [Tue Nov  7 15:59:48 2006] [notice] Apache/1.3.33 (Unix) mod_ssl/2.8.22 OpenSSL/0.9.7e PHP/5.0.5 configured -- resuming normal operations
    [Tue Nov  7 15:59:48 2006] [notice] Accept mutex: sysvsem (Default: sysvsem)
    usermng: Unable to set quota for user 'racedcouk'
    usermng: Unable to set quota for user 'racedcouk'
    usermng: neither PSA_PASSWD nor PSA_CRYPTED_PASSWD environment variables are set. unable to determine user's password
    usermng: Unable to set quota for user 'racedcouk'
    usermng: neither PSA_PASSWD nor PSA_CRYPTED_PASSWD environment variables are set. unable to determine user's password
    usermng: Unable to set quota for user 'racedcouk'
    usermng: Unable to set quota for user 'racedcouk'
    [Tue Nov  7 17:15:19 2006] [error] [client 82.118.108.34] File does not exist: /usr/local/psa/admin/htdocs/domains/databases/phpMyAdmin/css/themes/original/img/error.ico
    [Tue Nov  7 17:15:22 2006] [error] [client 82.118.108.34] File does not exist: /usr/local/psa/admin/htdocs/domains/databases/phpMyAdmin/css/themes/original/img/error.ico
    [Tue Nov  7 17:15:24 2006] [error] [client 82.118.108.34] File does not exist: /usr/local/psa/admin/htdocs/domains/databases/phpMyAdmin/css/themes/original/img/error.ico
    usermng: Unable to set quota for user 'racedcouk'
    usermng: Unable to set quota for user 'racedcouk'
    
    It's as though it's deleted some of the hosting but not it all, directories still there, domain not freed up :(
     
  6. 0031

    0031 Guest

    0
     
    Is quota enabled on disk partitions?

    # grep quota /etc/mtab
     
  7. gee_fin

    gee_fin Guest

    0
     
    Hmm, that returns nothing :/
     
Loading...