|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2001-08-29 14:23 UTC] joseph dot mcdaniel at bellsouth dot com
Iplanet 4.1 web server will not come up with obj.conf modifications as documented.
Compiled with:
configure --with-mysql=/usr/local/mysql
--with-nsapi=/opt/app/netscape/server4/
--enable-track-vars
--enable-enable-libgcc
--with-zlib=/usr/local
No configuration or make errors.
Web server comes up fine until the obj.conf modfied as below.
-------------------------------------------------------
output of truss:
open("/opt/app/netscape/server4/userdb/dbswitch.conf", O_RDONLY) = 10
fstat64(10, 0xFFBED938) = 0
ioctl(10, TCGETA, 0xFFBED8C4) Err#25 ENOTTY
read(10, " d i r e c t o r y d e".., 8192) = 31
read(10, 0x0018251C, 8192) = 0
llseek(10, 0, SEEK_CUR) = 31
close(10) = 0
brk(0x00188CC0) = 0
brk(0x0018CCC0) = 0
mmap(0x00000000, 73728, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_NORESERV
E|MAP_ANON, -1, 0) = 0xFDC80000
mprotect(0xFDC80000, 8192, PROT_NONE) = 0
sigaction(SIGABRT, 0x00000000, 0xFFBEAC08) = 0
llseek(0, 0, SEEK_CUR) = 80974
sigaction(SIGABRT, 0xFFBEAA58, 0xFFBEAB58) = 0
sigprocmask(SIG_SETMASK, 0xFED5ADB8, 0xFFBEAA60) = 0
lwp_kill(1, SIGABRT) = 0
sigprocmask(SIG_SETMASK, 0xFFBEAA60, 0x00000000) = 0
Received signal #6, SIGABRT [default]
siginfo: SIGABRT pid=28519 uid=60001 code=-1
*** process killed ***
--------------------------------------------------------
obj.conf modified for php:
# Sun Netscape Alliance - obj.conf
# You can edit this file, but comments and formatting changes
# might be lost when the admin server makes changes.
Init fn="load-modules" shlib="/opt/app/siteminder/webagent/lib/NSAPIWebAgent.so" funcs="SmInitAgent,SiteMinderAgent,SmRequireAuth,SmLoginFcc,smGetCred,smMakeCookie"
Init fn="SmInitAgent" config="/opt/app/netscape/server4/https-bosdf7i4/config/WebAgent.conf"
Init fn="flex-init" access="/opt/app/netscape/server4/https-bosdf7i4/logs/access" format.access="%Ses->client.ip% - %Req->vars.auth-user% [%SYSDATE%] \"%Req->reqpb.clf-request%\" %Req->srvhdrs.clf-status% %Req->srvhdrs.content-length%"
Init fn="load-types" mime-types="mime.types"
Init fn="load-modules" shlib="/opt/app/netscape/server4/bin/libphp4.so" funcs="php4_init,php4_close,php4_execute,php4_auth_trans"
Init fn="php4_init" LateInit="yes"
Init fn="load-modules" shlib="/opt/app/netscape/server4/bin/https/lib/libNSServletPlugin.so" funcs="NSServletEarlyInit,NSServletLateInit,NSServletNameTrans,NSServletService" shlib_flags="(global|now)"
Init fn="NSServletEarlyInit" EarlyInit="yes"
Init fn="NSServletLateInit" LateInit="yes"
<Object name="default">
AuthTrans fn="SiteMinderAgent"
NameTrans fn="pfx2dir" from="/siteminderagent/pwcgi" dir="/opt/app/siteminder/webagent/pw" name="cgi"
NameTrans fn="pfx2dir" from="/siteminderagent/pw" dir="/opt/app/siteminder/webagent/pw"
NameTrans fn="pfx2dir" from="/siteminderagent" dir="/opt/app/siteminder/webagent/samples"
NameTrans fn="NSServletNameTrans" name="servlet"
NameTrans fn="pfx2dir" from="/servlet" dir="/opt/app/netscape/server4/docs/servlet" name="ServletByExt"
NameTrans fn="pfx2dir" from="/ns-icons" dir="/opt/app/netscape/server4/ns-icons" name="es-internal"
NameTrans fn="pfx2dir" from="/mc-icons" dir="/opt/app/netscape/server4/ns-icons" name="es-internal"
NameTrans fn="pfx2dir" from="/help" dir="/opt/app/netscape/server4/manual/https/ug" name="es-internal"
NameTrans fn="pfx2dir" from="/manual" dir="/opt/app/netscape/server4/manual/https" name="es-internal"
NameTrans fn="document-root" root="/opt/app/netscape/server4/docs/default"
PathCheck fn="SmRequireAuth"
PathCheck fn="unix-uri-clean"
PathCheck fn="check-acl" acl="default"
PathCheck fn="find-pathinfo"
PathCheck fn="find-index" index-names="index.html,home.html"
ObjectType fn="type-by-extension"
ObjectType fn="force-type" type="text/plain"
Service fn="php4_execute" type="magnus-internal/x-httpd-php"
Service method="(GET|POST|HEAD)" type="magnus-internal/fcc" fn="SmLoginFcc"
Service method="(GET|HEAD)" type="magnus-internal/scc" fn="smGetCred"
Service method="(GET|HEAD)" type="magnus-internal/ccc" fn="smMakeCookie"
Service fn="send-cgi" type="magnus-internal/cgi"
Service method="(GET|HEAD)" type="magnus-internal/imagemap" fn="imagemap"
Service method="(GET|HEAD)" type="magnus-internal/directory" fn="index-common"
Service method="(GET|HEAD)" type="*~magnus-internal/*" fn="send-file"
AddLog fn="flex-log" name="access"
</Object>
<Object name="cgi">
ObjectType fn="force-type" type="magnus-internal/cgi"
Service fn="send-cgi"
</Object>
<Object name="servlet">
ObjectType fn="force-type" type="text/html"
Service fn="NSServletService"
</Object>
<Object name="jsp092">
ObjectType fn="type-by-extension"
ObjectType fn="change-type" type="magnus-internal/jsp092" if-type="magnus-internal/jsp"
Service fn="NSServletService" type="magnus-internal/jsp092"
</Object>
<Object name="ServletByExt">
ObjectType fn="force-type" type="magnus-internal/servlet"
Service type="magnus-internal/servlet" fn="NSServletService"
</Object>
<Object name="es-internal">
PathCheck fn="check-acl" acl="es-internal"
</Object>
<Object name="x-httpd-php">
ObjectType fn="force-type" type="magnus-internal/x-httpd-php"
Service fn="php4_execute"
</Object>
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 17:00:02 2025 UTC |
The configuration options were: configure --with-mysql=/usr/local/mysql --with-nsapi=/opt/app/netscape/server4/ --enable-track-vars --enable-libgcc --with-zlib=/usr/local