php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13042 Web server aborts during startup
Submitted: 2001-08-29 14:23 UTC Modified: 2002-10-17 01:00 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: joseph dot mcdaniel at bellsouth dot com Assigned:
Status: No Feedback Package: iPlanet related
PHP Version: 4.0.6 OS: solaris 2.8
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
37 - 6 = ?
Subscribe to this entry?

 
 [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>

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-08-29 14:32 UTC] joseph dot mcdaniel at bellsouth dot com
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
 [2002-08-14 21:30 UTC] kalowsky@php.net
Duplicate of 10821
 [2002-09-29 20:19 UTC] sniper@php.net
Does the solution mentioned in #10821 fix this for you?

 [2002-10-17 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over 2 weeks, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2004-05-26 05:42 UTC] bharatprakash at hotmail dot com
Check the permission from the first directory i.e. /opt/app
This directory should have 755
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 00:01:41 2024 UTC