Newsgroups: comp.sys.hp
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!uupsi!cmcl2!prism.poly.edu!tasha.poly.edu!rocky
From: rocky@tasha.poly.edu (A1 rocky shiotsuki (staff) )
Subject: rpc: clnt_call said 'Mount point /usr1 not found.'
Message-ID: <1991May1.190050.8624@tasha.poly.edu>
Sender: rocky@tasha.poly.edu (A1 rocky shiotsuki (staff) )
Reply-To: rocky@prism.poly.edu (Rocky Shiotsuki)
Organization: Polytechnic University, New York
Distribution: usa
Date: Wed, 1 May 1991 19:00:50 GMT


  Hi networld

I need help for program that used rpc call.
I'm using HP 9000 s 400t with drive as followed:
/dev/dsk/0s0         149886  113625   21272    84%   /
/dev/dsk/5s0         115423   76093   33558    69%   /usr1
And OS is HPUX 7.03
And I'm try to run a program called nfsad, came with MAC_NFS package.
I'm using this program on another HP 9000 s 400t with out error. But
I'm getting error from second machine.
An error message from nfsad as followed:
 % nfsad /usr1
 Mount point /usr1 not found.
 %

Souce code is looks like this:
       .  (char *directory pointed to string "/usr1")
       .
  request_text.length = strlen(directory);
  request_text.dir = directory;
       .
       .
  client->cl_auth = authunix_create_default();
  total_timeout.tv_sec = 20;
  total_timeout.tv_usec = 0;
  clnt_stat = clnt_call(client,1L,xdr_text,&request_text,xdr_fhstatus,
                   &mount_return,total_timeout);
  if ( clnt_stat != RPC_SUCCESS)
  {
     clnt_perror(client,"rpc");
     exit(-1);
  }

      .
      .
The clnt_call return the value RPC_SUCCESS, but mount_return.status
contain the value 13, if it success then mount_return.status should
have the value 0.
Please some one help me to what should I look for to solve this
problem.

   Thanks in advance!
---------------------------------------------------------------------
Rocky Shiotsuki      Polytechnic University
                     333 Jay Street, Brooklyn, New York 11201
                     Internet: rocky@prism.poly.edu (128.238.2.17)
