The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > AIX
.
google unix.com



AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
ENOENT error occurs while issueing execlp command mansa HP-UX 1 08-10-2009 09:55 AM
Giving existing user access on ftp Alexis Duarte Shell Programming and Scripting 0 07-23-2009 08:33 AM
insert pipes for existing and non-existing records saravanamr Shell Programming and Scripting 1 06-29-2009 03:59 AM
Bash copy file contents into an existing file at a specific location gshepherd7 Shell Programming and Scripting 6 03-11-2009 09:26 AM
folder existing and file existing crowman Shell Programming and Scripting 4 08-28-2008 06:07 PM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 2 Weeks Ago
ghp ghp is offline
Registered User
  
 

Join Date: Dec 2008
Location: Zwevegem, Belgium
Posts: 13
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)

+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 (permalink)  
Old 2 Weeks Ago
dukessd dukessd is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2006
Posts: 307
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 (permalink)  
Old 2 Weeks Ago
ghp ghp is offline
Registered User
  
 

Join Date: Dec 2008
Location: Zwevegem, Belgium
Posts: 13
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 (permalink)  
Old 2 Weeks Ago
dukessd dukessd is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2006
Posts: 307
Sorry, no idea.
I suspect, like you, google can only find your threads and unassociated rubbish.
Could it be a line number in the .jsp???
  #5 (permalink)  
Old 2 Weeks Ago
zxmaus's Avatar
zxmaus zxmaus is offline Forum Staff  
Moderator
  
 

Join Date: May 2008
Location: /etc/objrepos
Posts: 297
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
  #6 (permalink)  
Old 2 Weeks Ago
ghp ghp is offline
Registered User
  
 

Join Date: Dec 2008
Location: Zwevegem, Belgium
Posts: 13
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:

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?
Reply

Bookmarks

Tags
access, enoent

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:44 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0