HP-UX: Problem viewing directory with BDF...


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users HP-UX: Problem viewing directory with BDF...
# 1  
Old 04-29-2011
HP-UX: Problem viewing directory with BDF...

Hi all,

When I use BDF command on this particular server, it outputs mostly normal stuff. However, there is one directory it can't read at all.

Also, it doesn't seem to exist.

When I BDF my file system with a small panic script (it happens even if you use just the bdf command):

Quote:
rtiadmin(izivanov):/home/izivanov> bdfpanic
bdf: /var/test: Permission denied
File System close to full - rtiadmin:/var/adm/depot is at 86%
As you can see the /var/test has a problem with permissions.

I went there to see if I can view the problem...

Quote:
rtiadmin(root):/home2/root# cd /var/test
sh: /var/test: Permission denied.
rtiadmin(root):/home2/root# ll /var/test
/var/test not found
Pretty weird. I doesn't even seem to see anything there. But BDF function see's it!

Has anyone seen this before?

Thanks
# 2  
Old 04-29-2011
Code:
$ ls -ld /var /var/test
/var/test not found
dr-xr-xr-x  30 bin        bin           1024 Mar  3  2009 /var
$

This User Gave Thanks to DGPickett For This Post:
# 3  
Old 04-29-2011
what gives
Code:
bdf
cat bdfpanic
cat /etc/fstab
cat /etc/mnttab

?
This User Gave Thanks to ctsgnb For This Post:
# 4  
Old 04-29-2011
Thanks ctsgnb,

Got this from doing: cat /etc/mnttab

One of the lines read...

Quote:
RTIPDC2:/SAMBA /var/test cifs soft,noac,retrans=3,timeo=50,acregmin=0,acregmax=0,acdirmin=0,acdirmax=0,proto=udp,NFSv3,dev=6300000 8 0 0 1295578405
# 5  
Old 04-29-2011
This User Gave Thanks to ctsgnb For This Post:
# 6  
Old 04-29-2011
So, it is a mount point (which root does not want anyone writing if no mount, being silly, as it gets hidden by the mount). Gotta get a friendly mount.
# 7  
Old 04-29-2011
Hi DGPickett,

Sorry I'm a knew Sys Admin, and new in HP-UX. What can I do about this issue?

Thanks,
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Viewing file size in current directory

What is the command line for viewing the sizes(lines and bytes)of all the files in your present working directory? Is it >ls -la (2 Replies)
Discussion started by: Payton2704
2 Replies

2. HP-UX

Bdf in HP-UX

Hi guys, I have to make an output of several databases we've got running on our system with the command bdf. This has to be done every 3 months. I want to put it in an scriptfile and trigger it in crontab. In the output it must display the differences in diskspace between these three monts. Any... (3 Replies)
Discussion started by: djmental
3 Replies

3. Tips and Tutorials

Viewing changes in directory

Hi, I have a directory, and there is a job running and constantly writes and removes files from and to this directory. I would like to see somehow these changes without pressing `ls` every second. Kind of `tail -f` command, but for a directory list and not for file content. I thought maybe kind... (5 Replies)
Discussion started by: ilya_dv
5 Replies

4. Shell Programming and Scripting

Problem with a BDF script...

Hi, I'm trying to use an old script I found of the internet a while back, I forget where its from. Its supposed to convert the bdf function and display filesystem size in MB's and line it up however it never worked... Here is the error: And here is the code: #!/usr/bin/sh echo... (3 Replies)
Discussion started by: zixzix01
3 Replies

5. UNIX for Dummies Questions & Answers

Bourne shell viewing files in directory

Hi, I have a program that get a directory name from the user, then the program should go through one by one of the file, asking the user whether to move it to another folder. I tried to list the time of the file one by one. But it seems like it doesn't work. The code is as follow: check() {... (10 Replies)
Discussion started by: mInGzaiii
10 Replies

6. UNIX for Dummies Questions & Answers

Viewing Directory Content as You Navigate Directories in UNIX

Hi, Can someone help me figure out how to view directory content while I navigate directories (without having to go to the actual directory and "ls-ing" it)? Is there some keyboard shortcut for this? For instance, it would be useful if I could see the content of a directory when I'm copying... (2 Replies)
Discussion started by: shelata
2 Replies

7. HP-UX

gdb problem viewing variables

Hi, I don't know if this is HP-UX specific, but I'll take my chances with this forum. ;) I'm using WDB 5.7 on HP Itanium 11.23. 'file' on my executable shows: ELF-32 executable object file - IA64 The problem is with viewing the contents of the variables. Following is a sequence that... (0 Replies)
Discussion started by: rimon
0 Replies

8. UNIX for Dummies Questions & Answers

Viewing files in a directory?

How do I view files in a directory? (1 Reply)
Discussion started by: Ania
1 Replies

9. UNIX for Dummies Questions & Answers

Problem Viewing Text Files In NT/Samba

I have a problem viewing text files in NT(Samba) with files stored on a Unix Box. The unix box is actually my FTP server where various OS's FTP to it. The text file is ftp'd from IBM to the Unix Box and viewed in NT. The problem is that the return carriage does not register in the text file. I... (1 Reply)
Discussion started by: cwong
1 Replies
Login or Register to Ask a Question