Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 170011 - net-nds/phpldapadmin-1.0.1 broken with dev-lang/php-5.2.1-r3
Summary: net-nds/phpldapadmin-1.0.1 broken with dev-lang/php-5.2.1-r3
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-08 19:45 UTC by Peter Kerwien
Modified: 2007-05-28 05:11 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Kerwien 2007-03-08 19:45:04 UTC
When I upgraded php from php-5.1.6-r11 to the new stable 5.2.1-r3 om my amd64 server, mediawiki and phpLDAPadmin stopped working. The problem with mediawiki disappered when I removed eaccelerator-0.9.5 but I cannot get phpLDAPadmin-1.0.1 to work with the newer PHP version. When I try to log in to phpLDAPadmin it accepts the password, but then complaints that it cannot connect to the LDAP server.

PHP upgrade info:

[ebuild     U ] dev-lang/php-5.2.1-r3 [5.1.6-r11] USE="apache2 berkdb bzip2 cli crypt ctype gd gdbm iconv imap ldap mhash mysql ncurses nls pcre posix readline reflection session spl sqlite ssl threads truetype unicode xml zlib (-adabas) -apache -bcmath (-birdstep) -calendar -cdb -cgi -cjk -concurrentmodphp -curl -curlwrappers -db2 -dbase (-dbmaker) -debug -discard-path -doc (-empress) (-empress-bcs) (-esoob) -exif -fastbuild (-fdftk) -filter (-firebird) -flatfile -force-cgi-redirect (-frontbase) -ftp -gd-external -gmp -hash -inifile -interbase -iodbc -ipv6 -java-external -json% -kerberos -ldap-sasl -libedit -mcve -msql -mssql -mysqli -oci8 (-oci8-instant-client) -odbc -pcntl -pdo -pdo-external -pic -postgres -qdbm -recode -sapdb -sharedext -sharedmem -simplexml -snmp -soap -sockets (-solid) -spell -suhosin (-sybase) (-sybase-ct) -sysvipc -tidy -tokenizer -wddx -xmlreader -xmlrpc -xmlwriter -xpm -xsl -yaz -zip -zip-external% (-filepro%) (-hyperwave-api%) (-informix%) (-memlimit%) (-ming%)" 0 kB 



Reproducible: Always

Steps to Reproduce:
1. Upgrade to php-5.2.1-r3
2. Use mediawiki-1.8.4/1.9.3 with eaccelerator-0.9.5 or phpLDAPadmin-1.0.1
3. 




server2 php # emerge --info
Portage 2.1.2-r9 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.20.1 x86_64)
=================================================================
System uname: 2.6.20.1 x86_64 Intel(R) Core(TM)2 CPU          6300  @ 1.86GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 08 Mar 2007 03:20:01 +0000
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://files.gentoo.org http://files.gentoo.org ftp://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aac acpi amd64 apache2 berkdb bitmap-fonts bzip2 cdr cli cracklib crypt ctype cups dri encode fam ffmpeg fortran gd gdbm gpm gtk iconv imagemagick imap isdnlog java jpeg ldap libg++ maildir matroska mhash midi mozilla mp3 mysql ncurses nls nptl nptlonly nsplugin opengl pam pcre perl php png posix ppds pppd python readline reflection samba session spl sqlite ssl tcpd threads tiff truetype truetype-fonts type1-fonts unicode usb x264 xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="radeon fglrx vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-03-08 20:41:36 UTC
Kindly investigate the logs and post some errors; 'oh it doesn't work any more' is not a useful bug description.
Comment 2 Peter Kerwien 2007-03-08 21:15:02 UTC
For the mediawiki + eaccelerator problem I get the following error message in the webbrowser when trying the access the wiki:

Fatal error: Cannot access protected property DatabaseMysql::$mOut in /var/www/localhost/htdocs/mediawiki/includes/Database.php on line 429

In /var/log/apache2/error_log, I can only find:

[Thu Mar 08 22:01:40 2007] [notice] child pid 24443 exit signal Segmentation fault (11)

For the phpLDAPadmin problem, I get the message:

Could not connect to LDAP server.

Precisely after the login attempt. In the syslog I found this:

Mar  8 22:11:03 server2 slapd[18581]: conn=16 fd=11 ACCEPT from IP=127.0.0.1:551
07 (IP=0.0.0.0:389) 
Mar  8 22:11:03 server2 slapd[18581]: conn=16 op=0 BIND dn="cn=Manager,dc=kerwie
n,dc=homeip,dc=net" method=128 
Mar  8 22:11:03 server2 slapd[18581]: conn=16 op=0 BIND dn="cn=Manager,dc=kerwie
n,dc=homeip,dc=net" mech=SIMPLE ssf=0 
Mar  8 22:11:03 server2 slapd[18581]: conn=16 op=0 RESULT tag=97 err=0 text= 
Mar  8 22:11:03 server2 slapd[18581]: conn=16 op=1 UNBIND 
Mar  8 22:11:03 server2 slapd[18581]: conn=16 fd=11 closed 
Mar  8 22:11:03 server2 slapd[18581]: conn=17 fd=11 ACCEPT from IP=127.0.0.1:551
08 (IP=0.0.0.0:389) 
Mar  8 22:11:03 server2 slapd[18581]: bind: invalid dn (cn=Manager,dc=ke}I\216
D9V\211\232^_\231dc=net) 
Mar  8 22:11:03 server2 slapd[18581]: conn=17 op=0 RESULT tag=97 err=34 text=inv
alid DN 
Mar  8 22:11:03 server2 slapd[18581]: conn=17 op=1 UNBIND 
Mar  8 22:11:03 server2 slapd[18581]: conn=17 fd=11 closed 
Mar  8 22:11:03 server2 slapd[18581]: conn=18 fd=11 ACCEPT from IP=127.0.0.1:551
09 (IP=0.0.0.0:389) 
Mar  8 22:11:03 server2 slapd[18581]: bind: invalid dn (cn=Manager,dc=ke}I\216
D9V\211\232^_\231dc=net) 
Mar  8 22:11:03 server2 slapd[18581]: conn=18 op=0 RESULT tag=97 err=34 text=inv
alid DN 
Mar  8 22:11:03 server2 slapd[18581]: conn=18 op=1 UNBIND 
Mar  8 22:11:03 server2 slapd[18581]: conn=18 fd=11 closed 
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-03-08 21:20:31 UTC
Well, move the mediawiki thing outta here to a separate bug please, completely unrelated.
Comment 4 Renat Lumpau (RETIRED) gentoo-dev 2007-05-26 23:37:45 UTC
Please report this upstream and reopen if needed.
Comment 5 Peter Kerwien 2007-05-28 05:11:41 UTC
The problem seems to be solved when I upgraded to eaccelerator-0.9.5.1 and php-5.2.2-r1.