#21603 [Fbk->NoF]: snmp shared module crash the apache server when starts

From: Date: Tue, 28 Jan 2003 04:40:53 +0000
Subject: #21603 [Fbk->NoF]: snmp shared module crash the apache server when starts
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-31426@lists.php.net to get a copy of this message
 ID:               21603
 Updated by:       sniper@php.net
 Reported By:      alietss@yahoo.com
-Status:           Feedback
+Status:           No Feedback
 Bug Type:         SNMP related
 Operating System: Linux RedHat 8.0.92
 PHP Version:      4CVS-2003-01-12 (stable)
 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.




Previous Comments:
------------------------------------------------------------------------

[2003-01-13 16:40:28] sniper@php.net

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.

------------------------------------------------------------------------

[2003-01-12 17:38:50] alietss@yahoo.com

Hi, all at php, I'm building rpms oh php-4.3.1 stable from 12  Jan
2003, httpd-2.0.40-15, on a RedHat 8.0.92, I built it succesfully a lot
of packages, but the snmp module crash apache web server, but there is
something very strange, it works on a server but in another don't,(is
working on the server where I built it) here my ldd command on the
server that is working..., there's not error log in apache

[root@ecodevel root]# ldd /usr/lib/php4/snmp.so
        libsnmp.so.5 => /usr/lib/libsnmp.so.5 (0x4001c000)
        libc.so.6 => /lib/i686/libc.so.6 (0x42000000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
[root@ecodevel root]#

here the ldd in the server that crash apache, both servers have the
same redhat8.0.92..

[root@linux root]# ldd /usr/lib/php4/snmp.so
        libsnmp.so.5 => /usr/lib/libsnmp.so.5 (0x40009000)
        libc.so.6 => /lib/i686/libc.so.6 (0x42000000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
[root@linux root]#

As you see the number after libsnmp is different...
Here my configure line...

'./configure' '--host=i686-pc-linux-gnu' '--build=i686-pc-linux-gnu'
'--target=i686-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr'
'--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin'
'--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include'
'--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var'
'--sharedstatedir=/usr/com' '--mandir=/usr/share/man'
'--infodir=/usr/share/info' '--prefix=/usr'
'--cache-file=../config.cache' '--with-config-file-path=/etc'
'--with-config-file-scan-dir=/etc/php.d' '--enable-force-cgi-redirect'
'--disable-debug' '--enable-pic' '--disable-rpath'
'--enable-inline-optimization' '--with-bz2' '--with-db4'
'--with-curl'
'--with-dom=/usr' '--with-exec-dir=/usr/bin'
'--with-freetype-dir=/usr'
'--with-png-dir=/usr' '--with-gd' '--enable-gd-native-ttf'
'--with-ttf'
'--with-gdbm' '--with-gettext' '--with-pdflib=shared'
'--with-tiff-dir=/usr' '--with-ncurses' '--with-gmp'
'--with-iconv'
'--enable-xslt=shared' '--with-jpeg-dir=/usr' '--with-openssl'
'--with-png' '--with-pspell' '--with-regex=system'
'--with-xml'
'--with-expat-dir=/usr' '--with-zlib' '--with-layout=GNU'
'--enable-bcmath' '--enable-exif' '--enable-ftp'
'--enable-magic-quotes' '--enable-safe-mode' '--enable-sockets'
'--enable-sysvsem' '--enable-sysvshm' '--enable-discard-path'
'--enable-track-vars' '--enable-trans-sid' '--enable-yp'
'--enable-wddx' '--without-oci8' '--with-pear=/usr/share/pear'
'--with-imap=shared' '--with-imap-ssl' '--with-kerberos=/usr/kerberos'
'--with-ldap=shared' '--with-mcal=shared,/usr'
'--with-mcrypt=shared,/usr' '--with-mhash=shared,/usr'
'--with-mssql=shared,/usr' '--with-mysql=shared,/usr'
'--with-pgsql=shared' '--with-snmp=shared,/usr' '--with-snmp=shared'
'--with-xslt-sablot=shared,/usr' '--with-sablot-js=shared,/usr'
'--enable-ucd-snmp-hack' '--with-unixODBC=shared'
'--enable-memory-limit' '--enable-bcmath' '--enable-shmop'
'--enable-versioning' '--enable-calendar' '--enable-dbx'
'--enable-dio'
'--enable-mcal' '--with-apxs2=/usr/sbin/apxs'

                            I hope it helps

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=21603&edit=1



Thread (3 messages)

« previous php.bugs (#31426) next »