1845900 Members
4529 Online
110250 Solutions
New Discussion

bdf problems

 
SOLVED
Go to solution
dictum9
Super Advisor

bdf problems


hp-ux 11.0, N-class

I have never seen this error before, what does it mean? I can cat /etc/mnttab just fine, the file exists.


#:bdf
bdf: Cannot open /etc/mnttab: Permission denied
5 REPLIES 5
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: bdf problems

Your '#:' $PS1 would seem to suggest that you are root but that's hardly conclusive.

Confirm that /etc/mnttab is owned by root:root and has 644 permisions and is a regular file.
If it ain't broke, I can fix that.
James R. Ferguson
Acclaimed Contributor

Re: bdf problems

Hi:

You can try, removing the file and recreating it:

# rm /etc/mnttab
# mount -a

Regards!

...JRF...
dictum9
Super Advisor

Re: bdf problems

The /etc/mnttab file is owned by root and is 644.

However, I am getting a lot of errors written to console about:

NFS server not responding still trying

Could this be something that messed up /etc/mnttab?
James R. Ferguson
Acclaimed Contributor

Re: bdf problems

Hi:

> NFS server not responding still trying

Well, then, you a stale file handle due to a connection loss. A reboot may be necessary.

> Could this be something that messed up /etc/mnttab?

The file probably isn't corrupt, but since it is updated as filesystems are mounted, a stale NFS mountpoint recorded therein causes 'bdf' to "complain". As I noted, you can try removing the file and recreating it again.

Regards!

...JRF...

A. Clay Stephenson
Acclaimed Contributor

Re: bdf problems

The symptom is a bit unusual in that generally bdf hangs on dead NFS servers. 11.0 lacks the -f option to force an NFS umount. you might try stoppingh the NFS client but I doubt that's going to help.
If it ain't broke, I can fix that.