AIX 5.3: access existing file gives ENOENT


 
Thread Tools Search this Thread
Operating Systems AIX AIX 5.3: access existing file gives ENOENT
# 1  
Old 11-02-2009
AIX 5.3: access existing file gives ENOENT

I ran truss on a running java program, and noticed that the access system call was returning "Err#2 ENOENT" for existing files, files that were succesfully "accessed" earlier in the same program, and later on.


Is there any reasonable explanation for this behaviour?



In the truss output I find: (preceded by line-numbers)
Code:
  +552  access("/softih/fatwire/Shared/elements/Roularta/Query/Template/Sql/2_0.jsp", 04) = 0 
   +563  access("/softih/fatwire/Shared/elements/Roularta/Query/Template/Sql/2_0.jsp", 04) = 0 
   +576  access("/softih/fatwire/Shared/elements/Roularta/Query/Template/Sql/2_0.jsp", 04) = 1 
   +607  access("/softih/fatwire/Shared/elements/Roularta/Query/Template/Sql/2_0.jsp", 04) = 0 
  +1234  access("/softih/fatwire/Shared/elements/Roularta/Query/Template/Sql/2_0.jsp", 04) = 66 
  +1384  access("/softih/fatwire/Shared/elements/Roularta/Query/Template/Sql/2_0.jsp", 04) Err#2  ENOENT 
  +1452  access("/softih/fatwire/Shared/elements/Roularta/Query/Template/Sql/2_0.jsp", 04) = 0

The files are located on:
/dev/lv_soft_IH /softih jfs2 Aug 06 06:37 rw,log=INLINE

Any ideas are very well come,

Gerard
# 2  
Old 11-02-2009
Is the page dynamic? could it have been in the process of being updated while you / your process was trying to read it?

ENOENT 2 /* No such file or directory */

This suggests the file was not there at the time.

Or are there any errors for this disk / mount at the time of the problem?

Otherwise I can not think of a rational explanation.
# 3  
Old 11-03-2009
Code:
access("/softih/fatwire/Shared/elements/Roularta/Query/Template/Sql/2_0.jsp", 04) = 66

Do you have a clue what the 66 would indicate?

I can hardly imagine that filesystem errors would go unnoticed by the system administrators, but I'll have a look anyhow. Thanks.

---------- Post updated at 08:36 PM ---------- Previous update was at 06:31 PM ----------

What if we did not have enough aioserver processes?

It looks that way.
# 4  
Old 11-03-2009
Hi,

there is a known bug that sounds similar to yours ... according to IBM it's NFS related but maybe you want to have a look:
Code:
http://www-01.ibm.com/support/docview.wss?uid=isg1IZ29559

Kind regards
zxmaus
# 5  
Old 11-04-2009
Thanks, zxmaus. I'd ignored that one because of the NFS, and also the files in my case have been around for months without change, to the file and all directories above.

The filesystem is used as a disk cache by a CMS called Fatwire, loads of creates and deletes of files.

I wonder if it is not the truss output that is having me on, eg:
Code:
4776365: 5.3595:        statx("/softih/HTMLpages/OC4J_Fatwire/application-deployments/ContentServer/cs/persistence/_pages/_jsp/_cs__deployed/_roularta/_layout/_Logic.class", 0x000000011749FA40, 176, 010) Err#2  ENOENT
                                                = 0

Has this ENOENT got anything to do with this statx? What's the "= 0" then?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Samba 3.6 on AIX 7.1 - Windows 10 Access to AIX file shares using Active Directory authentication

I am running AIX 7.1 and currently we have samba 3.6.25 installed on the server. As it stands some AIX folders are shared that can be accessed by certain Windows users. The problem is that since Windows 10 the guest feature no longer works so users have to manually type in their Windows login/pwd... (14 Replies)
Discussion started by: linuxsnake
14 Replies

2. AIX

AIX Remote Access

Hello, I'd like to start my question with, is it possible to display the CDE of an AIX device with remote connection from Windows 7? We normally use the Exceed application for this, though I need to connect to the device with VPN connection. With Exceed it goes through TCP, with VPN its UDP,... (2 Replies)
Discussion started by: kobee24
2 Replies

3. AIX

How to integrate AIX Client LPAR to make use of existing MS AD LDAP ?

Hi All, Its regarding the LDAP in AIX. we already have Microsoft Active Directory (LDAP) Server. And would like to integrate My client AIX LPAR to this LDAP server. So' that we can directly use Active directory crdentials to login. (instead of creating USERs on AIX) from my AIX LPAR. ... (4 Replies)
Discussion started by: System Admin 77
4 Replies

4. AIX

AIX to access Windows share

Are there any special requirements/tools needed for a AIX server to see (copy data) a Windows share? Only need 1-way copy (Windows-to-AIX). (8 Replies)
Discussion started by: kirkb
8 Replies

5. HP-UX

ENOENT error occurs while issueing execlp command

/************************************************************************ * * TEST NAME: setrlimitd_su.c * * PURPOSE: To verify the soft (rlim_cur) and hard (rlim_max) limit * of process RLIMIT_DATA resources correctly inherited by * the exec() system call. * * RESULT: function call should... (1 Reply)
Discussion started by: mansa
1 Replies

6. Shell Programming and Scripting

Giving existing user access on ftp

Hi all, I have a project on going that combines two different departments. I cannot give detais on this project, Im sure everybody understands that, but I would like your help on giving me pointers on how to give an existing user access to ftp, without the need to give him full access. So here... (0 Replies)
Discussion started by: Alexis Duarte
0 Replies

7. Shell Programming and Scripting

insert pipes for existing and non-existing records

I have a source file like this, L4058S462 34329094 F51010141TK1070000483L4058S462 34329094 0232384840 381892 182 5690 L4058S462 34329094 F51020141FIRST CLEARING, LLC A/C 3432-9094 L4058S462 34329094 F51030141JOHAN HOLMQVIST ... (1 Reply)
Discussion started by: saravanamr
1 Replies

8. Solaris

Add existing user into an existing group

Pre: no gpasswd/adduser there is just usermod can be used, also there is no -a option for usermod. How should I add a user into a group? (4 Replies)
Discussion started by: a2156z
4 Replies

9. AIX

Access windows share from AIX

How in AIX 5.1 can I access a windows shared drive without using NFS. I have looked into cifs but I can not seem to find the package that I need to install for AIX 5.1 if anyone can give me any further direction please let me know. (2 Replies)
Discussion started by: chefsride
2 Replies

10. Shell Programming and Scripting

folder existing and file existing

I want to look into a folder to see if there are any folders within it. If there are, I need to check inside each folder to see if it contains a .pdf file So If /myserver/myfolder/ contains a folder AND that folder conatins a .pdf file do X Else do Z I may have multiple folders and... (4 Replies)
Discussion started by: crowman
4 Replies
Login or Register to Ask a Question