Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

AIX 5.3: access existing file gives ENOENT

11 views
Skip to first unread message

Gerard H. Pille

unread,
Nov 2, 2009, 5:03:52 AM11/2/09
to
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)

+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

0 new messages