Page 1 of 1

Problem with php-fpm on centos 6.2

Posted: 2012/02/06 16:15:40
by kingcasino
Hi all,

I complied php 5.3.10 on CentOS 6.2 and it OK.

But when i restart php-fpm, i have got some error and it show

[code]WARNING: [pool web] child 16356 said into stderr: "ERROR: [pool web] failed to setuid(501): Resource temporarily unavailable (11)"
WARNING: [pool web] child 16356 said into stderr: "ERROR: [pool web] child failed to initialize", pipe is closed[/code]

CPU load 100% when this process php-fpm running...

[img]http://i397.photobucket.com/albums/pp55/lalala747/Congdonglinux/php-fpm.jpg[/img]

First i see this error and i don't know how i have to do ?

can you help me, please..

Thanks All

Problem with php-fpm on centos 6.2

Posted: 2012/02/06 23:39:03
by pschaff
It is apparently [b]not[/b] OK.

Please review the recommended reading and particularly [url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=14408&forum=47]Installing Software[/url] and [url=http://wiki.centos.org/AdditionalResources/Repositories]Repositories[/url], and note the warnings and advice about installing and configuring the [url=http://wiki.centos.org/PackageManagement/Yum/Priorities]yum priorities plugin[/url]. Non-core repos should have a higher numeric value, which is a lower priority. Lower is "better" as in golf scores.

Please pay particular attention to the evils of [url=http://wiki.centos.org/PackageManagement/SourceInstalls]Source Installs[/url]. Source installs as root are particularly dangerous. Running web applications as root is also dangerous.

IUS and Remi have packages for php-5.3.10:[code]
# yum --noplugins --enablerepo ius,remi list php\*5.3.10\*
Available Packages
php.x86_64 5.3.10-2.el6.remi remi
php-bcmath.x86_64 5.3.10-2.el6.remi remi
php-cli.x86_64 5.3.10-2.el6.remi remi
php-common.x86_64 5.3.10-2.el6.remi remi
php-dba.x86_64 5.3.10-2.el6.remi remi
php-devel.x86_64 5.3.10-2.el6.remi remi
php-embedded.x86_64 5.3.10-2.el6.remi remi
php-enchant.x86_64 5.3.10-2.el6.remi remi
php-fpm.x86_64 5.3.10-2.el6.remi remi
php-gd.x86_64 5.3.10-2.el6.remi remi
php-imap.x86_64 5.3.10-2.el6.remi remi
php-interbase.x86_64 5.3.10-2.el6.remi remi
php-intl.x86_64 5.3.10-2.el6.remi remi
php-ldap.x86_64 5.3.10-2.el6.remi remi
php-mbstring.x86_64 5.3.10-2.el6.remi remi
php-mcrypt.x86_64 5.3.10-2.el6.remi remi
php-mssql.x86_64 5.3.10-2.el6.remi remi
php-mysql.x86_64 5.3.10-2.el6.remi remi
php-mysqlnd.x86_64 5.3.10-2.el6.remi remi
php-oci8.x86_64 5.3.10-2.el6.remi remi
php-odbc.x86_64 5.3.10-2.el6.remi remi
php-pdo.x86_64 5.3.10-2.el6.remi remi
php-pgsql.x86_64 5.3.10-2.el6.remi remi
php-process.x86_64 5.3.10-2.el6.remi remi
php-pspell.x86_64 5.3.10-2.el6.remi remi
php-recode.x86_64 5.3.10-2.el6.remi remi
php-snmp.x86_64 5.3.10-2.el6.remi remi
php-soap.x86_64 5.3.10-2.el6.remi remi
php-sqlite.x86_64 5.3.10-2.el6.remi remi
php-tidy.x86_64 5.3.10-2.el6.remi remi
php-xml.x86_64 5.3.10-2.el6.remi remi
php-xmlrpc.x86_64 5.3.10-2.el6.remi remi
php53u.x86_64 5.3.10-1.ius.el6 ius
php53u-bcmath.x86_64 5.3.10-1.ius.el6 ius
php53u-cli.x86_64 5.3.10-1.ius.el6 ius
php53u-common.x86_64 5.3.10-1.ius.el6 ius
php53u-dba.x86_64 5.3.10-1.ius.el6 ius
php53u-debuginfo.x86_64 5.3.10-1.ius.el6 ius
php53u-devel.x86_64 5.3.10-1.ius.el6 ius
php53u-embedded.x86_64 5.3.10-1.ius.el6 ius
php53u-enchant.x86_64 5.3.10-1.ius.el6 ius
php53u-fpm.x86_64 5.3.10-1.ius.el6 ius
php53u-gd.x86_64 5.3.10-1.ius.el6 ius
php53u-imap.x86_64 5.3.10-1.ius.el6 ius
php53u-intl.x86_64 5.3.10-1.ius.el6 ius
php53u-ldap.x86_64 5.3.10-1.ius.el6 ius
php53u-litespeed.x86_64 5.3.10-1.ius.el6 ius
php53u-mbstring.x86_64 5.3.10-1.ius.el6 ius
php53u-mcrypt.x86_64 5.3.10-1.ius.el6 ius
php53u-mssql.x86_64 5.3.10-1.ius.el6 ius
php53u-mysql.x86_64 5.3.10-1.ius.el6 ius
php53u-odbc.x86_64 5.3.10-1.ius.el6 ius
php53u-pdo.x86_64 5.3.10-1.ius.el6 ius
php53u-pgsql.x86_64 5.3.10-1.ius.el6 ius
php53u-process.x86_64 5.3.10-1.ius.el6 ius
php53u-psa-compat.x86_64 5.3.10-1.ius.el6 ius
php53u-pspell.x86_64 5.3.10-1.ius.el6 ius
php53u-recode.x86_64 5.3.10-1.ius.el6 ius
php53u-snmp.x86_64 5.3.10-1.ius.el6 ius
php53u-soap.x86_64 5.3.10-1.ius.el6 ius
php53u-tidy.x86_64 5.3.10-1.ius.el6 ius
php53u-xml.x86_64 5.3.10-1.ius.el6 ius
php53u-xmlrpc.x86_64 5.3.10-1.ius.el6 ius
php53u-zts.x86_64 5.3.10-1.ius.el6 ius
[/code]

Re: Problem with php-fpm on centos 6.2

Posted: 2012/03/14 18:10:02
by walidaly
You need to adjust your configuration...check this post [url=http://gadelkareem.com/2012/02/29/install-php-5-3-10-with-php-fpm-on-centos-6-2-64-bit/]Install PHP 5.3.10 with PHP-FPM on CentOS 6.2[/url]