Hello Emiliano,

Friday, May 11, 2001, 11:31:01 AM, you wrote:

>> Starting program: /usr/bin/httpd -X
>> Syntax error on line 207 of /etc/httpd/conf/httpd.conf:
>> API module structure `mmap_static_module' in file 
>/etc/httpd/lib/apache/mod_mmap_static.so
>>  is garbled - perhaps this is not an Apache module DSO?

E> If you can't run it in gdb than it's not very likely you can run it
E> outside. Can you start /usr/bin/httpd -X from the command line? Do you
E> have more than one apache binary around?

 WHOOPS!
 Sorry, you are right.
 Output of right httpd:

(gdb) run -X
Starting program: /usr/sbin/httpd -X
Cannot access memory at address 0x2f656863
(gdb) bt
#0  _dl_debug_state () at dl-debug.c:56
#1  0x4000aadb in _dl_catch_error (errstring=0xbfffd670, 
    operate=0x4018ce80 <dl_open_worker>, args=0xbfffd674) at dl-error.c:141
#2  0x4018d365 in _dl_open (file=0xbfffd764 "libnss_files.so.2", mode=1, 
    caller=0xbfffd670) at dl-open.c:306
#3  0x40171cda in do_open (a=0xbfffd7b8) at nsswitch.c:288
#4  0x4000aadb in _dl_catch_error (errstring=0xbfffd7b4, 
    operate=0x40171cb8 <do_open>, args=0xbfffd7b8) at dl-error.c:141
#5  0x4017126a in __nss_lookup_function (ni=0x80c2630, 
    fct_name=0x40198411 "getservbyname_r") at nsswitch.c:255
#6  0x40171bc2 in __nss_lookup (ni=0xbfffd82c, 
    fct_name=0x40198411 "getservbyname_r", fctp=0xbfffd830) at nsswitch.c:149
#7  0x40171ea6 in __nss_services_lookup (ni=0xbfffd82c, 
    fct_name=0x40198411 "getservbyname_r", fctp=0xbfffd830) at XXX-lookup.c:68
#8  0x40176308 in __getservbyname_r (name=0x403b70d6 "mysql", 
    proto=0x403b7370 "tcp", resbuf=0x401a173c, buffer=0x80c1c48 "", 
    buflen=1024, result=0xbfffd864) at ../nss/getXXbyYY_r.c:150
#9  0x40176204 in getservbyname (name=0x403b70d6 "mysql", 
    proto=0x403b7370 "tcp") at ../nss/getXXbyYY.c:123
#10 0x40378ada in php3_minit_mysql (type=1, module_number=9)
    at functions/mysql.c:258
#11 0x403553dc in module_startup_modules () at internal_functions.c:533
#12 0x4034e4ac in php3_module_startup () at main.c:1268
#13 0x4034bf8a in php3_create_dir () from /etc/httpd/modules/libphp3.so
#14 0x80558b4 in ap_single_module_configure ()
#15 0x805041d in ap_get_server_built ()
#16 0x8054664 in ap_clear_module_list ()
#17 0x8054c5c in ap_handle_command ()
#18 0x8054ca8 in ap_srm_command_loop ()
#19 0x805519d in ap_process_resource_config ()
#20 0x8055824 in ap_read_config ()
#21 0x805d105 in main ()
#22 0x400c69ab in __libc_start_main (main=0x805cf20 <main>, argc=2, 
    argv=0xbffffb14, init=0x804f808 <_init>, fini=0x807d7ac <_fini>, 
    rtld_fini=0x4000ad00 <_dl_fini>, stack_end=0xbffffb0c)
    at ../sysdeps/generic/libc-start.c:92
 

-- 
Best regards,
 Denis                            mailto:[EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to