1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

Can't turn domain on.. really weird..

Discussion in 'Plesk for Linux - 8.x and Older' started by Griffith, Mar 24, 2005.

  1. Griffith

    Griffith Guest

    0
     
    I have a domain that I think was disabled during backup and didn't restart. At first it had stutus = 4 in the domains table (backup status), so I tried changing it to 0 (online status), but it doesn't work.. and if I try to disable / enable it, it wont get online..

    I get this error:
    "Unable to activate/deactive domain: domainmng failed: Empty error message from utility"! Any ideas how I can fix this? Really boring :(

    I also found this in the admin httpsd_error_log:
    bu_flags_cleaner: Unable to turn on domain "domain.tld".

    (I have searched the forums and tried some of the solutions with no success)
     
  2. perlboy

    perlboy Guest

    0
     
    Having same problem.

    Using command:

    /usr/local/psa/admin/bin/domainmng --turn-on --domain-name=siempretango.net.au

    It segfaults (which is why it's an empty message). Doing an strace on it:

    Code:
    <snip>
    EAGAIN (Resource temporarily unavailable)
    fcntl64(3, F_SETFL, O_RDWR)             = 0
    write(3, "\32\0\0\0\3set foreign_key_checks=0;", 30) = 30
    read(3, "\5\0\0\1", 4)                  = 4
    read(3, "\0\0\0\2\0", 5)                = 5
    fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
    read(3, 0x891b960, 8192)                = -1 EAGAIN (Resource temporarily unavailable)
    fcntl64(3, F_SETFL, O_RDWR)             = 0
    write(3, "8\0\0\0\3select id from domains wher"..., 60) = 60
    read(3, "\1\0\0\1", 4)                  = 4
    read(3, "\1", 1)                        = 1
    read(3, "\25\0\0\2", 4)                 = 4
    read(3, "\7domains\2id\3\n\0\0\1\3\3#B\0", 21) = 21
    read(3, "\1\0\0\3", 4)                  = 4
    read(3, "\376", 1)                      = 1
    read(3, "\4\0\0\4", 4)                  = 4
    read(3, "\003322", 4)                   = 4
    read(3, "\1\0\0\5", 4)                  = 4
    read(3, "\376", 1)                      = 1
    fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
    read(3, 0x891b960, 8192)                = -1 EAGAIN (Resource temporarily unavailable)
    fcntl64(3, F_SETFL, O_RDWR)             = 0
    write(3, "a\0\0\0\3select d.htype, h.sys_user_"..., 101) = 101
    read(3, "\1\0\0\1", 4)                  = 4
    read(3, "\2", 1)                        = 1
    read(3, "\22\0\0\2", 4)                 = 4
    read(3, "\1d\5htype\3\7\0\0\1\376\3\1\1\0", 18) = 18
    read(3, "\30\0\0\3", 4)                 = 4
    read(3, "\1h\vsys_user_id\3\n\0\0\1\3\3%@\0", 24) = 24
    read(3, "\1\0\0\4", 4)                  = 4
    read(3, "\376", 1)                      = 1
    read(3, "\f\0\0\5", 4)                  = 4
    read(3, "\7vrt_hst\003428", 12)         = 12
    read(3, "\1\0\0\6", 4)                  = 4
    read(3, "\376", 1)                      = 1
    fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
    read(3, 0x891b960, 8192)                = -1 EAGAIN (Resource temporarily unavailable)
    fcntl64(3, F_SETFL, O_RDWR)             = 0
    write(3, ")\0\0\0\3SELECT login FROM sys_users"..., 45) = 45
    read(3, "\1\0\0\1", 4)                  = 4
    read(3, "\1", 1)                        = 1
    read(3, "\32\0\0\2", 4)                 = 4
    read(3, "\tsys_users\5login\3\24\0\0\1\375\3\5@\0", 26) = 26
    read(3, "\1\0\0\3", 4)                  = 4
    read(3, "\376", 1)                      = 1
    read(3, "\6\0\0\4", 4)                  = 4
    read(3, "\5tango", 6)                   = 6
    read(3, "\1\0\0\5", 4)                  = 4
    read(3, "\376", 1)                      = 1
    pipe([4, 5])                            = 0
    pipe([6, 7])                            = 0
    fcntl64(4, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
    fcntl64(6, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
    clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb75f0b68) = 21283
    select(7, [4 6], NULL, NULL, {1, 0})    = 0 (Timeout)
    waitpid(21283, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 21283
    close(6)                                = 0
    close(4)                                = 0
    clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb75f0b68) = 21286
    waitpid(21286, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WUNTRACED) = 21286
    rt_sigaction(SIGINT, {SIG_IGN}, {SIG_DFL}, 8) = 0
    rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0
    rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
    clone(child_stack=0, flags=CLONE_PARENT_SETTID|SIGCHLD, parent_tidptr=0xbfff1288) = 21288
    waitpid(21288, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 21288
    rt_sigaction(SIGINT, {SIG_DFL}, NULL, 8) = 0
    rt_sigaction(SIGQUIT, {SIG_DFL}, NULL, 8) = 0
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    --- SIGCHLD (Child exited) @ 0 (0) ---
    fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
    read(3, 0x891b960, 8192)                = -1 EAGAIN (Resource temporarily unavailable)
    fcntl64(3, F_SETFL, O_RDWR)             = 0
    write(3, "Y\0\0\0\3SELECT s.login FROM web_use"..., 93) = 93
    read(3, "\1\0\0\1", 4)                  = 4
    read(3, "\1", 1)                        = 1
    read(3, "\22\0\0\2", 4)                 = 4
    read(3, "\1s\5login\3\24\0\0\1\375\3\5@\0", 18) = 18
    read(3, "\1\0\0\3", 4)                  = 4
    read(3, "\376", 1)                      = 1
    read(3, "\5\0\0\4", 4)                  = 4
    read(3, "\4bent", 5)                    = 5
    read(3, "\1\0\0\5", 4)                  = 4
    read(3, "\376", 1)                      = 1
    pipe([4, 6])                            = 0
    pipe([8, 9])                            = 0
    fcntl64(4, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
    fcntl64(8, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
    clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb75f0b68) = 21289
    select(9, [4 8], NULL, NULL, {1, 0})    = 0 (Timeout)
    waitpid(21289, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 21289
    close(8)                                = 0
    close(4)                                = 0
    clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb75f0b68) = 21292
    waitpid(21292, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WUNTRACED) = 21292
    rt_sigaction(SIGINT, {SIG_IGN}, {SIG_DFL}, 8) = 0
    rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0
    rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
    clone(child_stack=0, flags=CLONE_PARENT_SETTID|SIGCHLD, parent_tidptr=0xbfff1288) = 21294
    waitpid(21294, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 21294
    rt_sigaction(SIGINT, {SIG_DFL}, NULL, 8) = 0
    rt_sigaction(SIGQUIT, {SIG_DFL}, NULL, 8) = 0
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    --- SIGCHLD (Child exited) @ 0 (0) ---
    fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
    read(3, 0x891b960, 8192)                = -1 EAGAIN (Resource temporarily unavailable)
    fcntl64(3, F_SETFL, O_RDWR)             = 0
    write(3, "w\0\0\0\3SELECT s.login FROM subdoma"..., 123) = 123
    read(3, "\1\0\0\1", 4)                  = 4
    read(3, "\1", 1)                        = 1
    read(3, "\22\0\0\2", 4)                 = 4
    read(3, "\1s\5login\3\24\0\0\1\375\3\5@\0", 18) = 18
    read(3, "\1\0\0\3", 4)                  = 4
    read(3, "\376", 1)                      = 1
    read(3, "\1\0\0\4", 4)                  = 4
    read(3, "\376", 1)                      = 1
    fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
    read(3, 0x891b960, 8192)                = -1 EAGAIN (Resource temporarily unavailable)
    fcntl64(3, F_SETFL, O_RDWR)             = 0
    write(3, "\274\0\0\0\3SELECT u.login, a.type, a.p"..., 192) = 192
    read(3, "\1\0\0\1", 4)                  = 4
    read(3, "\4", 1)                        = 1
    read(3, "\22\0\0\2", 4)                 = 4
    read(3, "\1u\5login\3\20\0\0\1\376\3\201@\0", 18) = 18
    read(3, "\21\0\0\3", 4)                 = 4
    read(3, "\1a\4type\3\5\0\0\1\376\3\0\1\0", 17) = 17
    read(3, "\25\0\0\4", 4)                 = 4
    read(3, "\1a\10password\3\377\0\0\1\375\3\0\0\0", 21) = 21
    read(3, " \0\0\5", 4)                   = 4
    read(3, "\0\24PASSWORD(a.password)\3\20\0\0\1\375\3\0\0\37", 32) = 32
    read(3, "\1\0\0\6", 4)                  = 4
    read(3, "\376", 1)                      = 1
    read(3, "\17\0\0\7", 4)                 = 4
    read(3, "\vsiemprenews\373\373\373", 15) = 15
    read(3, "\20\0\0\10", 4)                = 4
    read(3, "\fsiempretango\373\373\373", 16) = 16
    read(3, "\16\0\0\t", 4)                 = 4
    read(3, "\nsiemprecal\373\373\373", 14) = 14
    read(3, "\1\0\0\n", 4)                  = 4
    read(3, "\376", 1)                      = 1
    --- SIGSEGV (Segmentation fault) @ 0 (0) ---
    +++ killed by SIGSEGV +++
    [root@mackay root]#
    
    Ideas? I'll lodge a ticket via our Plesk Partner login and see what SW-Soft has to say.

    Stuart Low
     
  3. perlboy

    perlboy Guest

    0
     
    Ok,

    Some how the PSA database lost all trace of the accounts table related entries for the domain. Domainmng seems to segfault when it can't find an account it's been pointed to.

    Grabbing recent backups I reset all the logins (databases, web users etc) for the domain and was able to reenable it as per usual.

    Stuart Low
     
  4. _hts

    _hts Guest

    0
     
    Connect to mysql and then:
    use psa;
    update domains set status = 0 where name='disableddomain.com';
    exit
     
Loading...