FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 05-20-2008, 01:32 PM
"Alexey Medvedchikov"
 
Default Apache2 + PHP5 problem

On 5/20/08, "Mateusz A. Mierzwiński" <mateuszmierzwinski@o2.pl> wrote:
> Can anybody tell me what happend with PHP5 under (Linux athene
> 2.6.23-gentoo-r3 #1 PREEMPT RT Sun Dec 9 01:12:25 Local time zone must be
> set--se x86_64 Intel(R) Celeron(R) CPU 2.53GHz GenuineIntel GNU/Linux)
> Gentoo? My server runs with error (and white pages after accessing):
>
> [Tue May 20 13:59:11 2008] [notice] child pid 2554 exit signal Segmentation
> fault (11)
> [Tue May 20 13:59:11 2008] [notice] child pid 2556 exit signal Segmentation
> fault (11)
> [Tue May 20 13:59:13 2008] [notice] child pid 2611 exit signal Segmentation
> fault (11)
>
> After unloading PHP5 modules (moving 70_php5_mod) and restarting Apache
> everything is OK but... without PHP. What's up. This is PHP build flags:
>
> [ebuild R ] dev-lang/php-5.2.6_rc4 USE="apache2 berkdb bzip2 cgi cli
> crypt ftp gd hash iconv imap iodbc mysql mysqli ncurses nls odbc pcntl pcre
> pic posix readline session simplexml soap sockets ssl sysvipc threads
> unicode xml xmlreader xmlrpc xmlwriter zip zlib (-adabas) -bcmath
> (-birdstep) -calendar -cdb -cjk -concurrentmodphp -ctype -curl -curlwrappers
> -db2 -dbase (-dbmaker) -debug -discard-path -doc (-empress) (-empress-bcs)
> (-esoob) -exif -fastbuild (-fdftk) -filter (-firebird) -flatfile
> -force-cgi-redirect (-frontbase) -gd-external -gdbm -gmp -inifile -interbase
> -ipv6 (-java-external) -json -kerberos -ldap -ldap-sasl -libedit -mcve
> -mhash -msql -mssql -oci8 (-oci8-instant-client) -pdo -postgres -qdbm
> -recode -reflection -sapdb -sharedext -sharedmem -snmp (-solid) -spell -spl
> -sqlite -suhosin (-sybase) (-sybase-ct) -tidy -tokenizer -truetype -wddx
> -xpm -xsl -yaz -zip-external" 0 kB
>
>
>
>
> --
> gentoo-user@lists.gentoo.org mailing list
>
>

Look for broken deps, after upgrading to 5.2.6_rc4 smth brokes, i dont
remember what - had same problem - use revdep-rebuild
(app-portage/gentoolkit)

--
Free as in `freedom', not as beer.
 
Old 05-20-2008, 04:08 PM
kashani
 
Default Apache2 + PHP5 problem

Mateusz A. Mierzwiński wrote:
Can anybody tell me what happend with PHP5 under (Linux athene
2.6.23-gentoo-r3 #1 PREEMPT RT Sun Dec 9 01:12:25 Local time zone must
be set--se x86_64 Intel(R) Celeron(R) CPU 2.53GHz GenuineIntel
GNU/Linux) Gentoo? My server runs with error (and white pages after
accessing):


[Tue May 20 13:59:11 2008] [notice] child pid 2554 exit signal
Segmentation fault (11)
[Tue May 20 13:59:11 2008] [notice] child pid 2556 exit signal
Segmentation fault (11)
[Tue May 20 13:59:13 2008] [notice] child pid 2611 exit signal
Segmentation fault (11)


After unloading PHP5 modules (moving 70_php5_mod) and restarting Apache
everything is OK but... without PHP. What's up. This is PHP build flags:


[ebuild R ] dev-lang/php-5.2.6_rc4 USE="apache2 berkdb bzip2 cgi
cli crypt ftp gd hash iconv imap iodbc mysql mysqli ncurses nls odbc
pcntl pcre pic posix readline session simplexml soap sockets ssl sysvipc
threads unicode xml xmlreader xmlrpc xmlwriter zip zlib


Is your Apache also built with threads? If it is not I would rebuild PHP
without threads and try again.


kashani
--
gentoo-user@lists.gentoo.org mailing list
 
Old 05-21-2008, 11:15 PM
deface
 
Default Apache2 + PHP5 problem

try strace'ing it


On May 21, 2008, at 6:15 PM, Mateusz A. Mierzwiński wrote:


Alexey Medvedchikov pisze:
On 5/20/08, "Mateusz A. Mierzwiński" <mateuszmierzwinski@o2.pl>
wrote:



Can anybody tell me what happend with PHP5 under (Linux athene
2.6.23-gentoo-r3 #1 PREEMPT RT Sun Dec 9 01:12:25 Local time zone
must be
set--se x86_64 Intel(R) Celeron(R) CPU 2.53GHz GenuineIntel GNU/
Linux)

Gentoo? My server runs with error (and white pages after accessing):

[Tue May 20 13:59:11 2008] [notice] child pid 2554 exit signal
Segmentation

fault (11)
[Tue May 20 13:59:11 2008] [notice] child pid 2556 exit signal
Segmentation

fault (11)
[Tue May 20 13:59:13 2008] [notice] child pid 2611 exit signal
Segmentation

fault (11)

After unloading PHP5 modules (moving 70_php5_mod) and restarting
Apache
everything is OK but... without PHP. What's up. This is PHP build
flags:


[ebuild R ] dev-lang/php-5.2.6_rc4 USE="apache2 berkdb bzip2
cgi cli
crypt ftp gd hash iconv imap iodbc mysql mysqli ncurses nls odbc
pcntl pcre
pic posix readline session simplexml soap sockets ssl sysvipc
threads

unicode xml xmlreader xmlrpc xmlwriter zip zlib (-adabas) -bcmath
(-birdstep) -calendar -cdb -cjk -concurrentmodphp -ctype -curl -
curlwrappers
-db2 -dbase (-dbmaker) -debug -discard-path -doc (-empress) (-
empress-bcs)

(-esoob) -exif -fastbuild (-fdftk) -filter (-firebird) -flatfile
-force-cgi-redirect (-frontbase) -gd-external -gdbm -gmp -inifile -
interbase
-ipv6 (-java-external) -json -kerberos -ldap -ldap-sasl -libedit -
mcve
-mhash -msql -mssql -oci8 (-oci8-instant-client) -pdo -postgres -
qdbm
-recode -reflection -sapdb -sharedext -sharedmem -snmp (-solid) -
spell -spl
-sqlite -suhosin (-sybase) (-sybase-ct) -tidy -tokenizer -truetype
-wddx

-xpm -xsl -yaz -zip-external" 0 kB




--
gentoo-user@lists.gentoo.org mailing list





Look for broken deps, after upgrading to 5.2.6_rc4 smth brokes, i
dont

remember what - had same problem - use revdep-rebuild
(app-portage/gentoolkit)


I use revdep-rebuild every time I get any update. My system is 100%
consistent but something is wrong. I've try to remove updates by
mkfs.jfs and unpack backup created after update. Everything is ok,
but when installing gallery2 php module still get segfault. What's
wrong? I'm out of ideas...

--
gentoo-user@lists.gentoo.org mailing list



--
gentoo-user@lists.gentoo.org mailing list
 
Old 05-22-2008, 06:34 AM
Martins
 
Default Apache2 + PHP5 problem

On Thursday 22 May 2008 02:23:10 Mateusz A. Mierzwiński wrote:
> Mateusz A. Mierzwiński pisze:
> > Alexey Medvedchikov pisze:
> >> On 5/20/08, "Mateusz A. Mierzwiński" <mateuszmierzwinski@o2.pl> wrote:
> >>> Can anybody tell me what happend with PHP5 under (Linux athene
> >>> 2.6.23-gentoo-r3 #1 PREEMPT RT Sun Dec 9 01:12:25 Local time zone
> >>> must be
> >>> set--se x86_64 Intel(R) Celeron(R) CPU 2.53GHz GenuineIntel GNU/Linux)
> >>> Gentoo? My server runs with error (and white pages after accessing):
> >>>
> >>> [Tue May 20 13:59:11 2008] [notice] child pid 2554 exit signal
> >>> Segmentation
> >>> fault (11)
> >>> [Tue May 20 13:59:11 2008] [notice] child pid 2556 exit signal
> >>> Segmentation
> >>> fault (11)
> >>> [Tue May 20 13:59:13 2008] [notice] child pid 2611 exit signal
> >>> Segmentation
> >>> fault (11)
> >>>
> >>> After unloading PHP5 modules (moving 70_php5_mod) and restarting
> >>> Apache
> >>> everything is OK but... without PHP. What's up. This is PHP build
> >>> flags:
> >>>
> >>> [ebuild R ] dev-lang/php-5.2.6_rc4 USE="apache2 berkdb bzip2
> >>> cgi cli
> >>> crypt ftp gd hash iconv imap iodbc mysql mysqli ncurses nls odbc
> >>> pcntl pcre
> >>> pic posix readline session simplexml soap sockets ssl sysvipc threads
> >>> unicode xml xmlreader xmlrpc xmlwriter zip zlib (-adabas) -bcmath
> >>> (-birdstep) -calendar -cdb -cjk -concurrentmodphp -ctype -curl
> >>> -curlwrappers
> >>> -db2 -dbase (-dbmaker) -debug -discard-path -doc (-empress)
> >>> (-empress-bcs)
> >>> (-esoob) -exif -fastbuild (-fdftk) -filter (-firebird) -flatfile
> >>> -force-cgi-redirect (-frontbase) -gd-external -gdbm -gmp -inifile
> >>> -interbase
> >>> -ipv6 (-java-external) -json -kerberos -ldap -ldap-sasl -libedit -mcve
> >>> -mhash -msql -mssql -oci8 (-oci8-instant-client) -pdo -postgres -qdbm
> >>> -recode -reflection -sapdb -sharedext -sharedmem -snmp (-solid)
> >>> -spell -spl
> >>> -sqlite -suhosin (-sybase) (-sybase-ct) -tidy -tokenizer -truetype
> >>> -wddx
> >>> -xpm -xsl -yaz -zip-external" 0 kB
> >>>
> >>>
> >>>
> >>>
> >>> --
> >>> gentoo-user@lists.gentoo.org mailing list
> >>
> >> Look for broken deps, after upgrading to 5.2.6_rc4 smth brokes, i dont
> >> remember what - had same problem - use revdep-rebuild
> >> (app-portage/gentoolkit)
> >
> > I use revdep-rebuild every time I get any update. My system is 100%
> > consistent but something is wrong. I've try to remove updates by
> > mkfs.jfs and unpack backup created after update. Everything is ok, but
> > when installing gallery2 php module still get segfault. What's wrong?
> > I'm out of ideas...
>
> Configuring search environment for revdep-rebuild
>
> Checking reverse dependencies...
>
> Packages containing binaries and libraries broken by a package update
> will be emerged.
>
> Collecting system binaries and libraries... done.
> (/root/.revdep-rebuild.1_files)
>
> Collecting complete LD_LIBRARY_PATH... done.
> (/root/.revdep-rebuild.2_ldpath)
>
> Checking dynamic linking consistency...
> done.
> (/root/.revdep-rebuild.3_rebuild)
>
> Assigning files to ebuilds... Nothing to rebuild
>
> Evaluating package order... done.
> (/root/.revdep-rebuild.5_order)
>
> Dynamic linking on your system is consistent... All done

I should upgrade rpm and then rebuild neon to get apache2+php5 back to normal.
Dont remember was there anyting else.

martins
--
gentoo-user@lists.gentoo.org mailing list
 

Thread Tools




All times are GMT. The time now is 03:23 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org