Please read the bugreport #478193 (http://bugs.debian.org/478193)
As I said before it's well known problem in *libc-client* which is used by php5-imap. Ondrej 2009/9/29 Nicolas MAUBERT <mister...@yahoo.fr>: > I not user uw-imap but courier-imap. > It's the same problem for both dameon ? > > Nicolas. > > ________________________________ > De : Ondřej Surý <ond...@debian.org> > À : Nicolas <mister...@yahoo.fr>; 548...@bugs.debian.org > Cc : cont...@bugs.debian.org > Envoyé le : Mardi, 29 Septembre 2009, 11h48mn 27s > Objet : Re: [php-maint] Bug#548857: php5-imap: Unable to create selectable > TCP socket > > reassign 548857 uw-imap > severity 548857 normal > forcemerge 478193 548857 > thank you > > This is well known bug in libc-client library. Reassigning to uw-imap > > Ondrej > > On Tue, Sep 29, 2009 at 09:39, Nicolas <mister...@yahoo.fr> wrote: >> Package: php5-imap >> Version: 5.2.10.dfsg.1-2.2 >> Severity: important >> >> >> With the following php code : >> >> <?php >> >> $mbox = imap_open("{localhost:143}INBOX","myusername","mypassword"); >> >> if ($mbox) >> { >> echo "connected"; >> imap_close($mbox); >> } >> else >> { >> echo "not connected :<br>" . imap_last_error(); >> } >> >> ?> >> >> >> I obtain this error : >> >> Warning: imap_open() [function.imap-open]: Couldn't open stream >> {localhost:143}INBOX in /var/www/test/imap.php on line 3 >> not connected : >> Unable to create selectable TCP socket (4150 >= 1024) >> >> >> Info : >> >> /proc/sys/fs/file-max = 1250000 >> /proc/sys/fs/file-nr = 5920 0 1250000 >> Same comportment with php5-imap stable and testing. >> Imap server is courier-imap. >> >> >> -- System Information: >> Debian Release: 5.0.3 >> APT prefers stable >> APT policy: (500, 'stable') >> Architecture: amd64 (x86_64) >> >> Kernel: Linux 2.6.28.7-grsec-niloo-release (SMP w/2 CPU cores) >> Locale: LANG=fr_FR, LC_CTYPE=fr_FR (charmap=ISO-8859-1) >> Shell: /bin/sh linked to /bin/bash >> >> Versions of packages php5-imap depends on: >> ii libapache2-mod-php5 5.2.10.dfsg.1-2.2 server-side, HTML-embedded >> scripti >> ii libc-client2007b 8:2007b~dfsg-1.1+b1 c-client library for mail >> protocol >> ii libc6 2.9-25 GNU C Library: Shared >> libraries >> ii libcomerr2 1.41.3-1 common error description >> library >> ii libgssapi-krb5-2 1.7dfsg~beta3-1 MIT Kerberos runtime >> libraries - k >> ii libk5crypto3 1.7dfsg~beta3-1 MIT Kerberos runtime >> libraries - C >> ii libkrb5-3 1.7dfsg~beta3-1 MIT Kerberos runtime >> libraries >> ii libpam0g 1.0.1-5+lenny1 Pluggable Authentication >> Modules l >> ii libssl0.9.8 0.9.8g-15+lenny5 SSL shared libraries >> ii php5-cgi [phpapi-200 5.2.10.dfsg.1-2.2 server-side, HTML-embedded >> scripti >> ii php5-cli [phpapi-200 5.2.10.dfsg.1-2.2 command-line interpreter for >> the p >> ii php5-common 5.2.10.dfsg.1-2.2 Common files for packages >> built fr >> >> php5-imap recommends no packages. >> >> php5-imap suggests no packages. >> >> -- no debconf information >> >> >> >> _______________________________________________ >> pkg-php-maint mailing list >> pkg-php-ma...@lists.alioth.debian.org >> http://lists.alioth.debian.org/mailman/listinfo/pkg-php-maint >> > > > > -- > Ondřej Surý <ond...@sury.org> > http://blog.rfc1925.org/ > > -- Ondřej Surý <ond...@sury.org> http://blog.rfc1925.org/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org