Rob Jenkins (robj++at++quid)
Fri, 3 Jan 1997 20:26:39 -0800
Cheers
Rob
On Jan 3, 2:51pm, Rambabu wrote:
> Subject: Cannot create Semaphore via NFS (/usr/tmp) !!!
> Hi :
>
> I have a Performer App (compiled under Pf2.0) actually , I am not sure,
> if
> it is 1.2 or 2.0. But now we have Performer 2.2 installed.
> The app is on an nfs mounted directory.
>
> When I tried to run this app froma local machine, I got this
> fatal error message
>
> pfInit: cannot create semaphore via NFS (/usr/tmp). Change PFTMPDIR
>
> I am not setting any PFTMPDIR. I tried setting it to /tmp etc but
> I keep getting the same message. I know that pfInit
> creates semaphores on /usr/tmp and allocates SharedArena on the
> swap space. Has anybody got such messages and found a solution ?
>
> Thanks
>
> Ram
>
> ram++at++ivex3d.com
> =======================================================================
> List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
>-- End of excerpt from Rambabu
-- ________________________________________________________________ Rob Jenkins mailto:robj++at++csd.sgi.com Silicon Graphics, Mtn View, California, USA
#!/bin/sh
# # perf21xfs $Revision: 1.2 $ # # Script to patch a statically linked Performer2.1 application # to allow it to run when PFTMPDIR is an XFS file system # (getting rid of the bogus fatal "cannot create semaphore arena via NFS" # error). # # Run this script on the executable (but make a backup first!) # # So far, it has been tested on the following files: # ~src/trees/demo/GL/perfly/perfly # /usr/demos/Impact/data/GIS/terrain/perfly.ptu # /usr/demos/Impact/MaxImpact/SGI/site/perfly # If you have an executable for which it doesn't work, # please let me know (hatch++at++sgi.com). #
if [ $# -ne 1 ] then echo Usage: `basename $0` executablename >&2 exit 1 fi
perl -p -i.bak \ -e '$/ = 0777;' \ -e "s/pfInit: cannot create semaphore arena via NFS \(%s\). Change PFTMPDIR./pfInit: semaphore arena dir (%s) is not EFS. Use PFTMPDIR to change./;" \ -e "s/(\ \217\274\000\040\ \000\000\000\000\ \217\231..\ \047\244..\ \003\040\370\011\ \047\245..\ \217\274\000\040\ \047\244..\ \217\231..\ \044\005\000\057\ \003\040\370\011\ \000\000\000\000\ \217\274\000\040\ \020\100\000\002\ \047\244..\ \240\100\000\000\ \217\231..\ \047\245..\ \044\006\000\050\ \003\040\370\011\ \000\000\070\045\ \217\274\000\040\ \004\101\000\013\ \207\256..\ \217\206..\ \217\231..\ \044\004\000\001\ \044\005\000\003\ \047\247..\ \003\040\370\011\ \044\306..\ \217\274\000\040\ \000\000\000\000\ \207\256..\ \044\001\000\001\ \025\301\000\012\ \000\000\000\000\ \217\206..\ \217\231..\ \044\004\000)\001\ /"'$1'"\005/g;" \ -e "s/(\ \047\244..\ \003\040\370\011\ \044\245..\ \217\274\000\040\ \000\000\000\000\ \217\231..\ \047\244..\ \003\040\370\011\ \047\245..\ \217\274\000\040\ \047\244..\ \217\231..\ \044\005\000\057\ \003\040\370\011\ \000\000\000\000\ \217\274\000\040\ \020\100\000\002\ \047\244..\ \240\100\000\000\ \217\231..\ \047\245..\ \044\006\000\050\ \003\040\370\011\ \000\000\070\045\ \217\274\000\040\ \004\101\000\013\ \207\257..\ \217\206..\ \217\231..\ \044\004\000\001\ \044\005\000\003\ \047\247..\ \003\040\370\011\ \044\306..\ \217\274\000\040\ \000\000\000\000\ \207\257..\ \044\001\000\001\ \025\341\000\011\ \044\004\000)\001\ /"'$1'"\005/g;" \ $1 exit 0
======================================================================= List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/ Submissions: info-performer++at++sgi.com Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:54:16 PDT