- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Really strange: intermittent "bad interpreter:...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2004 05:25 AM
05-20-2004 05:25 AM
Really strange: intermittent "bad interpreter: Stale NFS file handle" error
We have a J5000 running HP-UX 11i that has been performing sluggishly for several weeks. Load is around 3. A few users are running Matlab or intensive home grown applications, so the load isn't that suprising but the interactive response feels slower than usual.
What is suprising is something I just noticed today.
Writing a couple of trivially small/simple shell scripts. They begin with:
#!/usr/bin/perl
Every once in a while, when I start the script, I get an error message:
topstudy.pl: /usr/bin/perl: bad interpreter: Stale NFS file handle
(topstudy is the name of my script)
The stale NFS file handle error also comes sometimes when I start another script that has #!/bin/sh as the shell interpreter.
Any ideas what is causing this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2004 05:37 AM
05-20-2004 05:37 AM
Re: Really strange: intermittent "bad interpreter: Stale NFS file handle" error
>> what's causing this?
1.Basically the remote file on the NFS Server either goes away all together
2. or the inode of the file the client was accessing has changed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2004 05:39 AM
05-20-2004 05:39 AM
Re: Really strange: intermittent "bad interpreter: Stale NFS file handle" error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2004 05:48 AM
05-20-2004 05:48 AM
Re: Really strange: intermittent "bad interpreter: Stale NFS file handle" error
Since this is occuring once in a while only suggest you run bdf the moment you get this error. Are there absolutely no errors related to NFS in the syslog or dmesg?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2004 05:48 AM
05-20-2004 05:48 AM
Re: Really strange: intermittent "bad interpreter: Stale NFS file handle" error
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2004 05:51 AM
05-20-2004 05:51 AM
Re: Really strange: intermittent "bad interpreter: Stale NFS file handle" error
Do you have some NFS mounts on this system?
If yes, are all they still available?
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2004 08:59 AM
05-20-2004 08:59 AM
Re: Really strange: intermittent "bad interpreter: Stale NFS file handle" error
I will check patch freshness tomorrow. I will also assign points then. :-)
A related question: does HP-UX 11i allow a remount like Linux does? This is a busy system. If it is possible, I can instantaneously umount and remount the file systems, but I don't want to kick everyone off.
To answer one of the questions... Yes, there are NFS mounts on this system and Yes, they all seem to be working fine.
I still don't understand why I'd get a "bad interpreter" message for a shell on a local file system even if NFS file systems were acting up.