1836365 Members
1991 Online
110100 Solutions
New Discussion

Stale NFS file handle

 
nithinpb
New Member

Stale NFS file handle

Hi,

I am getting the following error,"Stale NFS file handle", when I am trying to Compile a file using aCC Compiler (aCC A.03.65). I am not able to exec my compiler file itself.

Please do suggest what's the issue.

Thanks.
6 REPLIES 6
Steven E. Protter
Exalted Contributor

Re: Stale NFS file handle

Shalom,

Check the NFS server.

/sbin/init.d/nfs.client stop
/sbin/init.d/nfs.server stop
/sbin/init.d/nfs.core stop
/sbin/init.d/nfs.care start
/sbin/init.d/nfs.server start
/sbin/init.d/nfs.client start

The procedure above is a reset. Normally this will not help however, because the problem is on the syslog file of the NFS server.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Dennis Handly
Acclaimed Contributor

Re: Stale NFS file handle

I assume the problem is on the source or include file you are trying to compile and that is over NFS?

>SEP: /sbin/init.d/nfs.care start

That should be "nfs.core".
nithinpb
New Member

Re: Stale NFS file handle

Hi Dennis,

I did not quite get your question. The problem is with executing the aCC compiler. My source files are on NFS.

I do know that it has something to do with the mounted swap space. It must have run out of it. I am not sure of it yet though. I am trying.

--
Nithin.

Dennis Handly
Acclaimed Contributor

Re: Stale NFS file handle

>The problem is with executing the aCC compiler. My source files are on NFS.

This probably has nothing to do with the compiler.
Try vi(1), more(1) or cksum(1) on your source files.
rajdev
Valued Contributor

Re: Stale NFS file handle

Hi,

First confirm if your NFS is ok, do a bdf ,
cd to the nfs directory to and check if you can read your source files, vi or ls -l on the dir....
run dmesg and see if any nfs errors are displayed.
is /usr also mounted from nfs ..?

run bdf and send the output.

Regards
RD
Dave Olker
Neighborhood Moderator

Re: Stale NFS file handle

Hi,

Is this something repeatable? Can you duplicate the error at will? Also, what OS is the NFS client running?

Regards,

Dave


I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo