From: roihar@cc4.crl.aecl.ca
Subject: helpviewer problem with sunos 4.1.1
Organization: AECL RESEARCH
Date: Tue, 6 Oct 1992 20:08:27 GMT


PROBLEM: When attempting to start the Helpviewer when not logged in as
         root we get the following error messages...

helpopen: starting new Viewer
/tmp/hvtmpAAAa01248.Z: Not a regular file.
helpviewer: uncompress /tmp/hvtmpAAAa01248No such 
            file or directory
Can't apply Decompress filter to file
     /apps/openwin/lib/help/handbooks/top.toc.handbook.Z
helpviewer: error opening "handbooks/top.toc.handbook"
usage: helpviewer file | view-link
helpopen: Viewer could not display document:
          handbooks/top.toc.handbook

NOTE: /tmp is a soft link to our external data disk

lrwxrwxrwx  1 root            9 Aug 27 15:01 /tmp -> /dat3/tmp

If we follow the path to "top.toc.handbook.Z"  ==>

drwxr-xr-x 39 root         1536 Sep 25 12:49 apps
drwxr-xr-x  7 root          512 Feb 20  1992 openwin
drwxr-xr-x 12 root         2560 Aug 19 11:24 lib
lrwxrwxrwx  1 root           13 Apr  1  1992 help -> locale/C/help
drwxr-xr-x  3 root          512 Feb 20  1992 locale
drwxr-xr-x  5 root          512 Oct  6 14:59 C
drwxr-xr-x  6 root         1024 Oct  6 15:00 help
drwxr-xr-x  3 root         1024 Feb 20  1992 handbooks
-rw-r--r--  1 root         5767 Sep 18  1991 top.toc.handbook.Z

The hvtmp?????????.Z file should be a compressed PostScript 
file. Where does the message  
 "/tmp/hvtmpAAAa01248.Z: Not a regular file." come from???

HELPVIEWER works fine from my priveleged root account but won't work
from guest account???

printenv for root gives:

DISPLAY=:0
DOSDIR=/apps/dos
FONTPATH=/usr/openwin/lib/fonts
GUIDEHOME=/apps/guide
HELPPATH=/apps/lang/SC1.0/SourceBrowser.info:/apps/openwin/lib/help:
/apps/guide/lib/help:/apps/guide/etc
HOME=/
LD_LIBRARY_PATH=/apps/lang/SC1.0:/apps/openwin/lib:/usr/lib
LOGNAME=root
MANPATH=/apps/lang/man:/usr/share/man:/usr/openwin/share/man:
/apps/openwin/share/man:
/apps/accounts/macleod/local/man:/apps/local/man
NOSUNVIEW=0
OPENWINHOME=/usr/openwin
PATH=/apps/lang:/usr/openwin/bin:/usr/openwin/bin/xview:/bin:/usr/bin:/usr/ucb:
/etc:/usr/etc:.:/usr/openwin/demo:/apps/dos/sun4/bin:/apps/s_print/sun4:
/apps/guide/bin:/apps/utilities/conv/PBM/pbm:/apps/utilities/conv/PBM/pgm:
/apps/utilities/conv/PBM/ppm:/apps/utilities/conv/PBM/pnm:
/apps/utilities/conv/IMTOOLS/imtools/bin:/apps/guide/bin:/usr/games:
/apps/accounts/macleod/local/bin:/apps/local/bin:
/apps/local/bin/xprint:/apps/randy/local/bin:/
PWD=/home/sun03/guest
SHELL=/bin/csh
TERM=sun-cmd
USER=root
WINDOW_PARENT=/dev/win0
WINDOW_TTYPARMS=
WMGR_ENV_PLACEHOLDER=/dev/win3
XFILESEARCHPATH=/usr/openwin/lib/%T/%N%S
TERMCAP=sun-cmd:te=\E[>4h:ti=\E[>4l:tc=sun:
GID=1
RANDYHOME=/apps/accounts/macleod
SUN_SOURCE_BROWSER_EX_FILE=/apps/lang/SC1.0/sun_source_browser.ex
EDITOR=textedit


printenv for guest gives:

DISPLAY=:0
DOSDIR=/apps/dos
FONTPATH=/usr/openwin/lib/fonts
GUIDEHOME=/apps/guide
HELPPATH=/apps/lang/SC1.0/SourceBrowser.info:/apps/openwin/lib/help:
/apps/guide/lib/help:/apps/guide/etc
HOME=/home/sun03/guest
LD_LIBRARY_PATH=/apps/lang/SC1.0:/apps/openwin/lib:/usr/lib
LOGNAME=root
MANPATH=/apps/lang/man:/usr/share/man:/usr/openwin/share/man:
/apps/openwin/share/man:/apps/accounts/macleod/local/man:/apps/local/man
NOSUNVIEW=0
OPENWINHOME=/apps/openwin
PATH=.:/apps/openwin/bin/xview:/apps/openwin/bin:
/apps/accounts/radford/radware/bin:/apps/accounts/macleod/local/bin:
/apps/local/bin:/apps/lang:/apps/dos/sun4/bin:/usr/bin:/usr/etc:
/usr/ucb:/apps/guide/bin:/usr/local/tcpr/sun4
PWD=/home/sun03/guest
SHELL=/bin/csh
TERM=sun-cmd
USER=guest
WINDOW_PARENT=/dev/win0
WINDOW_TTYPARMS=
WMGR_ENV_PLACEHOLDER=/dev/win3
XFILESEARCHPATH=/usr/openwin/lib/%T/%N%S
TERMCAP=sun-cmd:te=\E[>4h:ti=\E[>4l:tc=sun:
GID=1
RANDYHOME=/apps/accounts/macleod
SUN_SOURCE_BROWSER_EX_FILE=/apps/lang/SC1.0/sun_source_browser.ex
EDITOR=textedit


Any idea what the problem could be?? We recently got onto the Internet and 
modified a few files such as /etc/hosts.equiv and /etc/hosts. Other than that
I really cannot see any possible causes. Please respond directly to
roihar@crl.aecl.ca. I don't get a chance to read news groups much.
Newsgroups: comp.sys.sun.admin