Operating System - HP-UX
1825775 Members
2101 Online
109687 Solutions
New Discussion

Re: vuepad problems printing from nfs mounted home diretory

 
Joseph Ujfalusi
Occasional Contributor

vuepad problems printing from nfs mounted home diretory

There is a little background needed to fully explain the issue.

Printing from local home directories was not a problem prior to implementing NIS and NFS mounted home directories (simultaneously).

The system is essentially as follows (running hpux 10.20 + support plus patches for June 2000):

hosta : NIS master, NFS server with home directories and print server

hostb : user workstation that the user is logging into. The lp commands work properly for printing any files, however printing from within vuepad fails as explained below.

Now if a user edits a file in their home directory using vuepad then tries to print the file within vuepad a dialog with the following message appears.


PRINT_PR_VUE[Error]

An attempt to change to the following directory:

/var/tmp

on host "hosta" failed

check the spelling and permissions and make sure the directory exists.

Why is it trying to write to "hosta" as the NFS home directories are mounted locally and there are printers defined locally on "hostb" that are actually remotes off "hosta".

Does anyone have any ideas? I know that 10.20 is old, but this is what I need to get working. An alternative is to use another GUI based editor, but I would like to understand the problem.
2 REPLIES 2
Elena Leontieva
Esteemed Contributor

Re: vuepad problems printing from nfs mounted home diretory

Have a look at this doc:
Document description: VUE File Manager cannot open file in user's home directory
Document id: CSS9309081400
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062950966

Hope, it might help.

Elena.
Joseph Ujfalusi
Occasional Contributor

Re: vuepad problems printing from nfs mounted home diretory

The issue is not that they cannot open the file rather it is that they cannot print the file.

They definitely have rwx permissions on their own home directory. So as far as I can see it isn't a mounting issue. It seems that vuepad recognizes that it is not a local directory and somehow tries to write its temp file to /var/tmp on the NIS server rather than the local /var/tmp, which to me seems like a bug.