Help me about Segmetation Fault after click Update

tuantavnu

New member
Joined
Apr 11, 2014
Messages
5
Hi there,

After i click Update in Direct Admin for Administrator. I can't login again directadmin port 2222.
I search Google but still not fix this error.
Now apache, mysql still running, but DirectAdmin cannot login at 2222.

I user gdb to debug, error show like:

Code:
(gdb) run s
Starting program: /usr/local/directadmin/directadmin s

Program received signal SIGSEGV, Segmentation fault.
0x082957d5 in _dl_relocate_object () at ../sysdeps/i386/dl-machine.h:348
348     ../sysdeps/i386/dl-machine.h: No such file or directory.
   in ../sysdeps/i386/dl-machine.h
(gdb)

Anybody help me fix this error. I'm very thankful.
 
Hi,

Here is my server infos:
Code:
CentOS release 5.8 (Final)
Linux
2.6.18-308.4.1.el5
x86_64

Version of current DA is : 1.44.0

Error occurs after I click 'Update' on DireactAdmin. Before, DA work normally. I'm very confuse. :(

I run command: /usr/local/directadmin/directadmin o but still error: Segmentation fault
Code:
[root@server directadmin]# /usr/local/directadmin/directadmin o
Segmentation fault

Anh i run "bt full" from gdb, it output like:

Code:
[B](gdb) run s[/B]
Starting program: /usr/local/directadmin/directadmin s

Program received signal SIGSEGV, Segmentation fault.
0x082957d5 in _dl_relocate_object () at ../sysdeps/i386/dl-machine.h:348
348     ../sysdeps/i386/dl-machine.h: No such file or directory.
        in ../sysdeps/i386/dl-machine.h
[B](gdb) bt full[/B]
#0  0x082957d5 in _dl_relocate_object () at ../sysdeps/i386/dl-machine.h:348
        refsym = 0x8a7508
        r_type = 6
        version = 0x8b3dd0
        symtab = 0x8a5c28
        r = 0x8b78f8
        end = 0x8b7c20
        l_addr = 0
        ranges = {{start = 9130552, size = 10728, lazy = 0}, {start = 9125089, size = 0, lazy = 257501863}}
        ranges_index = 0
        strtab = 0x8ae7a8 ""
        strtab = 0x8ae7a8 ""
#1  0x0827a447 in dl_open_worker (a=0xffffd6c0) at dl-open.c:294
        args = 0xffffd6c0
        file = 0xffffd830 "libnss_files.so.2"
        mode = 1
        new = 0x839add8
        l = 0x839b008
        lazy = 1
        i = 3
        args = 0xffffd6c0
        file = 0xffffd830 "libnss_files.so.2"
        mode = 1
        new = 0x839add8
        i = 3
#2  0x08279927 in _dl_catch_error (objname=0xffffd6b8, errstring=0xffffd6bc, operate=0x827a030 <dl_open_worker>, args=0xffffd6c0) at dl-error.c:152
        errcode = 0
        old = 0xffffd720
        c = {objname = 0x0, errstring = 0x0, env = {{__jmpbuf = {1, -10192, 0, -10600, -10832, 136812787}, __mask_was_saved = 0, __saved_mask = {__val = {0 <repeats 25 times>, 4294956744, 4294956800, 0, 0, 0, 137857280, 
                  0}}}}}
        old = 0xffffd720
        c = {objname = 0x0, errstring = 0x0, env = {{__jmpbuf = {1, -10192, 0, -10600, -10832, 136812787}, __mask_was_saved = 0, __saved_mask = {__val = {0 <repeats 25 times>, 4294956744, 4294956800, 0, 0, 0, 137857280, 
                  0}}}}}
#3  0x0827a583 in _dl_open (file=0xffffd830 "libnss_files.so.2", mode=1, caller=0x0) at dl-open.c:407
        args = {file = 0xffffd830 "libnss_files.so.2", mode = 1, caller = 0x0, map = 0x839add8}
        objname = 0x0
        errstring = 0x839a6f0 "/lib/libc.so.6"
        errcode = 0
#4  0x0827b1ba in do_dlopen (ptr=0xffffd808) at dl-libc.c:78
        ptr = 0xffffd808
#5  0x08279927 in _dl_catch_error (objname=0xffffd800, errstring=0xffffd804, operate=0x827b1a4 <do_dlopen>, args=0xffffd808) at dl-error.c:152
        errcode = 0
        old = 0x0
        c = {objname = 0x0, errstring = 0x0, env = {{__jmpbuf = {1702060661, -10232, 137375588, -10264, -10496, 136812787}, __mask_was_saved = 0, __saved_mask = {__val = {0, 1095902232, 0, 1397231007, 0, 849833, 0, 
                  137996016, 137996016, 4294956968, 136708410, 137996016, 0, 0, 137994248, 4294957792, 4294957780, 4294957080, 136794805, 640, 0, 0, 137996016, 4222461064, 137996016, 2064, 136701122, 7, 4160737280, 4096, 
                  16, 16}}}}}
        old = 0x0
        c = {objname = 0x0, errstring = 0x0, env = {{__jmpbuf = {1702060661, -10232, 137375588, -10264, -10496, 136812787}, __mask_was_saved = 0, __saved_mask = {__val = {0, 1095902232, 0, 1397231007, 0, 849833, 0, 
                  137996016, 137996016, 4294956968, 136708410, 137996016, 0, 0, 137994248, 4294957792, 4294957780, 4294957080, 136794805, 640, 0, 0, 137996016, 4222461064, 137996016, 2064, 136701122, 7, 4160737280, 4096, 
---Type <return> to continue, or q <return> to quit---
                  16, 16}}}}}
#6  0x0827b0ad in __libc_dlopen (__name=0xffffd830 "libnss_files.so.2") at dl-libc.c:42
        objname = 0x4 <Address 0x4 out of bounds>
        last_errstring = 0x0
        __name = 0xffffd720 ""
        args = {name = 0xffffd830 "libnss_files.so.2", map = 0x8270f48}
#7  0x08270fca in __nss_lookup_function (ni=0x839a908, fct_name=0x830bba7 "getpwnam_r") at nsswitch.c:340
        saved_errno = 0
        shlib_name = 0xffffd830
        known = 0x839a888
        found = 0xffffd83f
        result = 0x65736275
#8  0x0827193a in __nss_lookup (ni=0xffffd944, fct_name=0x830bba7 "getpwnam_r", fctp=0xffffd948) at nsswitch.c:147
        ni = 0xffffd944
        fct_name = 0x830bba7 "getpwnam_r"
        fctp = 0xffffd948
#9  0x0826c19b in __getpwnam_r (name=0x82b83e0 "diradmin", resbuf=0x8378480, buffer=0x839a2e8 "", buflen=1024, result=0xffffd988) at ../nss/getXXbyYY_r.c:168
        resbuf = 0x8378480
        startp = 0x0
        start_fct = 0
        nip = 0x839a908
        fct = 0xffffd968
        no_more = 137998344
        status = NSS_STATUS_UNAVAIL
        nscd_status = 137998344
        startp = 0x0
        start_fct = 0
        nip = 0x839a908
        fct = 0xffffd968
#10 0x0826bd27 in getpwnam (name=0x82b83e0 "diradmin") at ../nss/getXXbyYY.c:131
        buffer_size = 1024
        resbuf = {pw_name = 0x0, pw_passwd = 0x0, pw_uid = 0, pw_gid = 0, pw_gecos = 0x0, pw_dir = 0x0, pw_shell = 0x0}
        result = 0x3436
        save = 137806368
#11 0x080aa985 in getUID(char const *) ()
No symbol table info available.
#12 0x0804a88e in Config::readFile(char const *, int, int) ()
No symbol table info available.
#13 0x0804823e in Config::Config(char const *) ()
No symbol table info available.
#14 0x081b89b6 in __static_initialization_and_destruction_0 ()
No symbol table info available.
#15 0x081b8afe in global constructors keyed to numservers ()
No symbol table info available.
#16 0x082a0745 in __do_global_ctors_aux ()
        nothrow = {<No data fields>}
        bad_alloc virtual table = {4 vtable entries, 0x82a1f20 <bad_alloc type_info function>, 0x82a1ee0 <bad_alloc::~bad_alloc(void)>, 0x82a1f70 <bad_alloc::what(void) const>, 0}
        bad_alloc type_info node = '\000' <repeats 11 times>
        __new_handler = 0
---Type <return> to continue, or q <return> to quit---
#17 0x080480ca in _init ()
No symbol table info available.
#18 0x082461f6 in __libc_start_main (main=0x81b7fa0 <main>, argc=2, ubp_av=0xffffdad4, init=0x80480b4 <_init>, fini=0x82a2020 <_fini>, rtld_fini=0, stack_end=0xffffdacc) at ../sysdeps/generic/libc-start.c:122
        main = 0x81b7fa0 <main>
        argc = 2
        ubp_av = 0xffffdad4
        init = 0x80480b4 <_init>
        fini = 0x82a2020 <_fini>
        rtld_fini = 0
        stack_end = 0xffffd560
        ubp_ev = 0x82a2020
        auxvec = 0xffffd720
        dummy_addr = 0xffffd720
#19 0x08048101 in _start ()
No symbol table info available.
 
Back
Top