Login | Register
Login | Register

My pages Projects SunSource.net openCollabNet
OpenSPARC.net >  Cool Tools >  Cool Stack >  Cool Stack 1.2 patches

Cool Stack 1.2 Patches


This page lists the list of Cool Stack 1.2 bugs that have been addressed. In most cases, a binary patch has been provided.

PHP Dtrace Extension does not work
PHP APC Extension - apc_sem_lock:semop failures
mod_perl files missing
lighttpd does not work when started as non-root user


PHP Dtrace Extension
    The Dtrace Extension to PHP in Cool Stack 1.2 doesn't work as it was built incorrectly. Please download the  extension below :
dtrace_1.2_sparc.so
dtrace_1.2_x86.so

After installing CSKphp5 from the CSKamp package, copy the above file to /opt/coolstack/php5/lib/php/extensions/no-debug-non-zts-20060613/dtrace.so

Add extension="dtrace.so" to /opt/coolstack/php5/lib/php.ini and you are now ready to begin using it.


PHP APC Extension - apc_sem_lock: semop failures
    If you are the using APC extension shipped with Cool Stack 1.2, you may see the following error in apache logs :
apc_sem_lock: semop(7) failed: Invalid argument

APC-3.0.14 has a bug which appears only with php-5.2.4 onwards.
The APC extension with this issue fixed is available :
apc_1.2_sparc.so
apc_1.2_x86.so

Copy the file to /opt/coolstack/php5/lib/php/extensions/no-debug-non-zts-20060613/apc.so

A source code patch is also available at  http://cooltools.sunsource.net/coolstack/apc_sem_op.patch


mod_perl files missing
  mod_perl files are not packaged properly in the CSKapache2 package. The missing files are now available:
mod_perl_fix_1.2_sparc.tar.bz2
mod_perl_fix_1.2_x86.tar.bz2

To install these files :
# cd /opt
# /usr/sfw/bin/gtar -jxf mod_perl_fix_1.2_{sparc,x86}.tar.bz2


lighttpd does not work when started as a non-root user
 
If you run lighttpd as a non-root user e.g webservd, then you will see the following messages in lighttpd logs :
"(server.c.1429) fdevent_poll failed: Invalid argument"

This is a bug in lighttpd; see ticket 1465. The issue has been discussed in detail in the following blog:
http://blogs.sun.com/mandy/entry/lighttpd_smf_troubles

New lighttpd packages with SMF support are available here:
CSKlighttpd_1.2-1_sparc.pkg.bz2
CSKlighttpd_1.2-1_x86.pkg.bz2