HOWTO Debug apache+php ? Re: apache and phpldapconfig

Carmelo Zubeldia czubeldia at deteagrupo.es
Mon Feb 13 15:54:45 UTC 2006


strace -p $PID 

El lun, 13-02-2006 a las 16:58 +0100, Erwin Rol escribió:
> How can i debug apache running php that segfaults when i try to login 
> with phpldapadmin ?
> 
> - Erwin
> 
> On Mon, 2006-02-13 at 00:10 +0100, Erwin Rol wrote: 
> > I am trying to get phpldapconfig working and i have the following 
> > problem. 
> >  
> > when loading the phpldapconfig page everything works fine, my
> "local 
> > host" ldap server shows up, and i can click on "login". When i do
> that i 
> > get the login "prompt" and fill out my login data, than press enter
> or 
> > click the button, and than something strange happens, I get a file
> save 
> > dialog asking me if i want to save login.php. If i check my apache 
> > error_log i see that apache died with a sig 11. 
> >  
> > does anybody else have this problem ? 
> >  
> > - Erwin 
> >  
> >  
> > [Mon Feb 13 00:05:36 2006] [notice] suEXEC mechanism enabled
> (wrapper: /usr/sbin/suexec) 
> > [Mon Feb 13 00:05:36 2006] [info] Init: Seeding PRNG with 256 bytes
> of entropy 
> > [Mon Feb 13 00:05:36 2006] [info] Init: Generating temporary RSA
> private keys (512/1024 bits) 
> > [Mon Feb 13 00:05:37 2006] [info] Init: Generating temporary DH
> parameters (512/1024 bits) 
> > [Mon Feb 13 00:05:37 2006] [info] Init: Initializing (virtual)
> servers for SSL 
> > [Mon Feb 13 00:05:37 2006] [info] Server: Apache/2.2.0, Interface:
> mod_ssl/2.2.0, Library: OpenSSL/0.9.8a 
> > [Mon Feb 13 00:05:37 2006] [notice] Digest: generating secret for
> digest authentication ... 
> > [Mon Feb 13 00:05:37 2006] [notice] Digest: done 
> > [Mon Feb 13 00:05:37 2006] [debug] util_ldap.c(1873): LDAP merging
> Shared Cache conf: shm=0x5555557a4258 rmm=0x5555557a4290 for VHOST:
> xpc.home.erwinrol.com
> 
> > [Mon Feb 13 00:05:37 2006] [info] APR LDAP: Built with OpenLDAP LDAP
> SDK 
> > [Mon Feb 13 00:05:37 2006] [info] LDAP: SSL support available 
> > [Mon Feb 13 00:05:37 2006] [info] Init: Seeding PRNG with 256 bytes
> of entropy 
> > [Mon Feb 13 00:05:37 2006] [info] Init: Generating temporary RSA
> private keys (512/1024 bits) 
> > [Mon Feb 13 00:05:37 2006] [info] Init: Generating temporary DH
> parameters (512/1024 bits) 
> > [Mon Feb 13 00:05:37 2006] [debug] ssl_scache_shmcb.c(369):
> shmcb_init allocated 512000 bytes of shared memory 
> > [Mon Feb 13 00:05:37 2006] [debug] ssl_scache_shmcb.c(549): entered
> shmcb_init_memory() 
> > [Mon Feb 13 00:05:37 2006] [debug] ssl_scache_shmcb.c(571): for
> 512000 bytes, recommending 4265 indexes 
> > [Mon Feb 13 00:05:37 2006] [debug] ssl_scache_shmcb.c(614):
> shmcb_init_memory choices follow 
> > [Mon Feb 13 00:05:37 2006] [debug] ssl_scache_shmcb.c(616):
> division_mask = 0x1F 
> > [Mon Feb 13 00:05:37 2006] [debug] ssl_scache_shmcb.c(618):
> division_offset = 96 
> > [Mon Feb 13 00:05:37 2006] [debug] ssl_scache_shmcb.c(620):
> division_size = 15997 
> > [Mon Feb 13 00:05:37 2006] [debug] ssl_scache_shmcb.c(622):
> queue_size = 2136 
> > [Mon Feb 13 00:05:37 2006] [debug] ssl_scache_shmcb.c(624):
> index_num = 133 
> > [Mon Feb 13 00:05:37 2006] [debug] ssl_scache_shmcb.c(626):
> index_offset = 8 
> > [Mon Feb 13 00:05:37 2006] [debug] ssl_scache_shmcb.c(628):
> index_size = 16 
> > [Mon Feb 13 00:05:37 2006] [debug] ssl_scache_shmcb.c(630):
> cache_data_offset = 8 
> > [Mon Feb 13 00:05:37 2006] [debug] ssl_scache_shmcb.c(632):
> cache_data_size = 13853 
> > [Mon Feb 13 00:05:37 2006] [debug] ssl_scache_shmcb.c(645): leaving
> shmcb_init_memory() 
> > [Mon Feb 13 00:05:37 2006] [info] Shared memory session cache
> initialised 
> > [Mon Feb 13 00:05:37 2006] [info] Init: Initializing (virtual)
> servers for SSL 
> > [Mon Feb 13 00:05:37 2006] [info] Server: Apache/2.2.0, Interface:
> mod_ssl/2.2.0, Library: OpenSSL/0.9.8a 
> > [Mon Feb 13 00:05:37 2006] [debug] proxy_util.c(1681): proxy:
> initialized single connection worker 0 in child 22171 for (*)
> 
> > [Mon Feb 13 00:05:37 2006] [notice] Apache/2.2.0 (Fedora) configured
> -- resuming normal operations 
> > [Mon Feb 13 00:05:37 2006] [info] Server built: Feb  8 2006
> 03:09:46 
> > [Mon Feb 13 00:05:37 2006] [debug] prefork.c(991): AcceptMutex:
> sysvsem (default: sysvsem) 
> > [Mon Feb 13 00:05:58 2006] [notice] child pid 22175 exit signal
> Segmentation fault (11) 
> >  
> > 
> 
> --  
> fedora-devel-list mailing list 
> fedora-devel-list at redhat.com 
> https://www.redhat.com/mailman/listinfo/fedora-devel-list
> 




More information about the fedora-devel-list mailing list