Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Unable to make perfdump work

807567Apr 13 2004 — edited Apr 13 2004
iPlanet 6.0 Service Pack5 on Solaris8.

I could not get perfdump to work.

I have the following ( as per instructions in the manual ):

1) obj.conf:
# Sun Netscape Alliance - obj.conf
# You can edit this file, but comments and formatting changes
# might be lost when the admin server makes changes.

<Object name="default">
NameTrans fn="assign-name" name="stats-xml" from="(/stats-xml|/stats-xml/*)"
NameTrans fn="strip-params"
NameTrans fn="NSServletNameTrans" name="servlet"
NameTrans fn="pfx2dir" from="/enewmedia" dir="/export/softgame/app_enewmedia/prod"
NameTrans fn="pfx2dir" from="/yahoo" dir="/export/softgame/app_yahoo/prod"
NameTrans fn="pfx2dir" from="/optus" dir="/export/softgame/app_optus/prod"
NameTrans fn="pfx2dir" from="/21cn" dir="/export/softgame/app_21cn/prod"
NameTrans fn="pfx2dir" from="/mig" dir="/var/softgame/partner/prod/web/mig"
NameTrans fn="pfx2dir" from="/sunday" dir="/export/softgame/app_sunday/prod"
NameTrans fn="pfx2dir" from="/sina" dir="/export/softgame/app_sina/prod"
NameTrans fn="pfx2dir" from="/telstra" dir="/export/softgame/app_telstra/prod"
NameTrans fn="pfx2dir" from="/starhub" dir="/export/softgame/app_starhub/prod"
NameTrans fn="pfx2dir" from="/gsmmobile" dir="/export/softgame/app_gsp1/prod"
NameTrans fn="pfx2dir" from="/tcnz" dir="/export/softgame/app_tcnz/prod"
NameTrans fn="pfx2dir" from="/vodacom" dir="/export/softgame/app_vodacom/prod"
NameTrans fn="pfx2dir" from="/worldpop" dir="/export/softgame/app_worldpop/prod"
NameTrans fn="pfx2dir" from="/dc" dir="/export/softgame/app_dawsonscreek/prod"
NameTrans fn="pfx2dir" from="/servlet" dir="/export/softgame/app_vodafone/prod/servlet" name="ServletByExt"
NameTrans fn="pfx2dir" from="/mc-icons" dir="/usr/iplanet/servers/ns-icons" name="es-internal"
NameTrans fn="pfx2dir" from="/manual" dir="/usr/iplanet/servers/manual/https" name="es-internal"
NameTrans fn="document-root" root="$docroot"
NameTrans fn="assign-name" from="/.perf" name="perf"
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,login.jsp,index.jsp"
ObjectType fn="type-by-extension"
ObjectType fn="force-type" type="text/plain"
Service type="magnus-internal/jsp" fn="NSServletService"
Service method="(GET|HEAD)" type="magnus-internal/imagemap" fn="imagemap"
Service method="(GET|HEAD)" type="magnus-internal/directory" fn="send-error"
Service method="(GET|HEAD)" type="*~magnus-internal/*" fn="send-file"
AddLog fn="flex-log" name="access" iponly="1" custom="yes"
</object>

<Object name="cgi">
ObjectType fn="force-type" type="magnus-internal/cgi"
Service fn="send-cgi" user="$user" group="$group" chroot="$chroot" dir="$dir" nice="$nice"
</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="stats-xml">
Service fn="stats-xml"
</object>

<Object name="perf">
Service fn="service-dump"
</object>

<Object ppath="<doc_root>/.perf">
Service fn="service-dump"
</object>
I tried withOUT the following earlier:
<Object ppath="<doc_root>/.perf">
Service fn="service-dump"
</object>
I just added them recently based on this:
http://www.google.com.au/search?q=cache:d74anYWEEA0J:kgottryu10.gottry.com:443/new_articles/Using_perfdump.pdf+iPlanet+.perf&hl=en&ie=UTF-8




2) magnus.conf:
< ... snip....>

Init fn=load-types mime-types=mime.types
Init fn="load-modules" shlib="/usr/iplanet/servers/bin/https/lib/libNSServletPlugin.so" funcs="NSServletEarlyInit,NSServletLateInit,NSServlet
NameTrans,NSServletService" shlib_flags="(global|now)"
Init fn="NSServletEarlyInit" EarlyInit=yes
Init fn="NSServletLateInit"  LateInit=yes
Init fn="flex-rotate-init" rotate-start="0000" rotate-interval="1440"
Init fn="flex-init" access="$accesslog" format.access="%Ses->client.ip% - %Req->vars.auth-user% [%SYSDATE%] \"%Req->reqpb.clf-request%\" %Req
->srvhdrs.clf-status% %Req->srvhdrs.content-length% \"%Req->headers.referer%\" \"%Req->headers.user-agent%\""
Init fn="stats-init" update-interval="5" virtual-servers="20" profiling="yes"
But after a restart of the instance, all I get is an HTTP 404:
10.0.254.74 - - [13/Apr/2004:17:41:02 +1000] "GET /.perf HTTP/1.1" 404 292 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007"
Help!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 11 2004
Added on Apr 13 2004
3 comments
314 views