1753925 Members
8965 Online
108810 Solutions
New Discussion юеВ

bdf and df error

 
Achilles_2
Regular Advisor

bdf and df error

Hi guys,

Now I am getting the error on bdf and dk "bdf: Cannot open /etc/mnttab: Permission denied" and "df: Cannot open /etc/mnttab: Permission denied". There is nothing wrong with mnttab. Any ideas??
8 REPLIES 8
Robert-Jan Goossens
Honored Contributor

Re: bdf and df error

Hi,

Could you check the permissions of the /etc/mnttab ?

-rw-r--r-- 1 root sys 681 Sep 5 13:18 mnttab

Robert-Jan
Sreedhar Nathani
Valued Contributor

Re: bdf and df error

Hi,

try the following.
#mv /etc/mnttab /tmp/mnttab.old
#mount -a

>> after that check whether you are able to run the bdf or df

Thanks
Arunvijai_4
Honored Contributor

Re: bdf and df error

Similar problem with solutions,

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=932590

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Muthukumar_5
Honored Contributor

Re: bdf and df error

Error message itself saying the permission problem. It may be with /etc/mnttab or bdf binary only.

# ls -l /usr/bin/bdf
-r-sr-xr-x 1 root bin 20480 Sep 23 2003 /usr/bin/bdf

Else,

# chmod 4566 /usr/bin/bdf
# chown root:bin /usr/bin/bdf

# ls -l /etc/mnttab
-rw-r--r-- 1 root root 490 Oct 3 06:27 /etc/mnttab

else,

# chmod 644 /etc/mnttab

hth.
Easy to suggest when don't know about the problem!
Achilles_2
Regular Advisor

Re: bdf and df error

There is no difference of the permission in other HP server. But the other is fine. One thing I mention that I haven't removed and created the hard disk recently.
Muthukumar_5
Honored Contributor

Re: bdf and df error

So you are having that specific permission in your machine.

Is syncer process running there? Check it as,

# ps -ef | grep syncer

else start it.

# /usr/sbin/syncer

hth.
Easy to suggest when don't know about the problem!
Muthukumar_5
Honored Contributor

Re: bdf and df error

Execute syncer with startup as,

# /sbin/init.d/syncer start

if it is not running.

and do,

# sync -l

Is there anything as error's or information.

hth.
Easy to suggest when don't know about the problem!
Muthukumar_5
Honored Contributor

Re: bdf and df error

Just a strange scenario as,

# mv /etc/mnttab /etc/mnttab.old
# sleep 10
# bdf

Are you getting details now?

hth.
Easy to suggest when don't know about the problem!