Greetings! Clue humbly requested ...

I followed oft-posted directions to the letter for getting PHP 4.0.6
setup on Solaris 2.6 with Netscape Enterprise Server 3.6 SP3.

All's well in the config and make logs (I think), but when I go to run the
NES daemon, I get back no confirmation that it actually started.

Sure enough, it didn't. The logs, however, show that things _did_ start up
just fine. Only sometime later it bailed out.

No errors to stdout or stderr (perhaps console but I can't get to it).
Nothing in the logs that looks awry. Zilch.

So I stuck "truss" in the start script and tried again to see what was up.
Sure enough this shows up right toward the end:

 lwp_sigredirect(1, SIGUSR2)                     = 0
     Received signal #17, SIGUSR2, in sigsuspend() [caught]
       siginfo: SIGUSR2 pid=26209 uid=60001

So the "nobody" user tripped up somehow. Not sure what it tripped on though.

I know if I remove the inits for PHP4 it starts up again (natch). I also
checked my make output for PHP4 - looks great, EXCEPT for a few warnings
that are (hopefully) "mostly harmless:"

 Making all in nsapi
 make[2]: Entering directory `/tmp/php-4.0.6/sapi/nsapi'
 make[3]: Entering directory `/tmp/php-4.0.6/sapi/nsapi'
 /bin/sh /tmp/php-4.0.6/libtool --silent --mode=compile
gcc  -I. -I/tmp/php-4.0.6/sapi/nsapi -I/tmp/php-4.0.6/main -I/tmp/php-4.0.6 
-I/opt/ns-es-3.6/include -I/tmp/php-4.0.6/Zend -I/opt/mysql/include -I/tmp/p
hp-4.0.6/ext/xml/expat/xmltok -I/tmp/php-4.0.6/ext/xml/expat/xmlparse -I/tmp
/php-4.0.6/TSRM  -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS -D_RE
ENTRANT -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -I../TSRM -g -O2 -pthreads  -c
nsapi.c
 nsapi.c: In function `nsapi_request_dtor':
 nsapi.c:440: warning: passing arg 1 of `nsapi_free' discards qualifiers
from pointer target type
 nsapi.c:442: warning: passing arg 1 of `nsapi_free' discards qualifiers
from pointer target type
 /bin/sh /tmp/php-4.0.6/libtool --silent --mode=link
gcc  -I. -I/tmp/php-4.0.6/sapi/nsapi -I/tmp/php-4.0.6/main -I/tmp/php-4.0.6 
-I/opt/ns-es-3.6/include -I/tmp/php-4.0.6/Zend -I/opt/mysql/include -I/tmp/p
hp-4.0.6/ext/xml/expat/xmltok -I/tmp/php-4.0.6/ext/xml/expat/xmlparse -I/tmp
/php-4.0.6/TSRM  -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS -D_RE
ENTRANT -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -I../TSRM -g -O2 -pthreads   -o
libsapi.la  nsapi.lo
 make[3]: Leaving directory `/tmp/php-4.0.6/sapi/nsapi'
 make[2]: Leaving directory `/tmp/php-4.0.6/sapi/nsapi'
 make[1]: Leaving directory `/tmp/php-4.0.6/sapi'

Upon seeing some other posts related to this, I checked for pthreads. The
configure log has:

 checking for pthreads_flags... -pthreads
 checking for pthreads_lib...

Notice there's no "yes" _or_ "no" in there, and no warning about not
finding it. Also, when I start NES I don't get a pclose error (or
anything, not in any of the logs or elsewhere).

I also checked my libphp4.so and even did an ldd on it. Nothing unusual
there either.

Clues?

(I'll also cross-post to the installation issues list as well.)

Thanks in advance for any ideas ...

- JD



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to