File I/O Error


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers File I/O Error
# 1  
Old 09-19-2008
File I/O Error

Hi,

I have a program that is accessing a file to update calibration data. However, the file access failed with a "File I/O error" message.

Below are the steps taken to resolve the issue but to no avail:

1) Change permission of file & directory to 777
2) confirmed disk is not full (58% empty).
3) move all content out of the directory.
4) confirmed correctness of the group & owner of the file.
5) run the calibration under su login

Any help will be appreciated.

Thanks.

Mouseking
# 2  
Old 09-19-2008
Did 5) work? How is the calibration normally run?

Is the directory a subdirectory of a directory? Have you checked permissions for all directories up the tree?
# 3  
Old 09-19-2008
5) did not work.

I have checked all the directories' permission already but still can't work.

Normally, I will issue the cal command "sruInit" in a open terminal and it will work.

That is why I am so troubled.
# 4  
Old 09-19-2008
Is the file a plain text file? If so, can you read it in using more or less? If it's not plain text, try reading it using dd if=filename of=/dev/null. Make sure you do this using the same user ID as the calibration software runs under.
# 5  
Old 09-19-2008
Yes,it is a text file & it can be read using more or less. This file will hold the calibrated data.
# 6  
Old 09-19-2008
How big is the file? How does the programme usually update it - does it replace the entire contents every time it runs, or update some data in the file, or just add data to the end? Please paste the ls -l filename output.

What operating system and filesystem type are we looking at here?
# 7  
Old 09-19-2008
The infos required is with my colleague & he is on leave & I am not at the factory at the moment & can only get back on next tuesday.

However the OS is Solaris 8 with UFS. I will confirm on the filesystem again.

Is there any more infos required besides the above?
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Print Error in Console and both Error & Output in Log file - UNIX

I am writing a shell script with 2 run time arguments. During the execution if i got any error, then it needs to redirected to a error file and in console. Also both error and output to be redirected to a log file. But i am facing the below error. #! /bin/sh errExit () { errMsg=`cat... (1 Reply)
Discussion started by: sarathy_a35
1 Replies

2. Shell Programming and Scripting

IF section problem. syntax error: unexpected end of file error

Hello, I have another problem with my script. Please accept my apologies, but I am really nooby in sh scripts. I am writing it for first time. My script: returned=`tail -50 SapLogs.log | grep -i "Error"` echo $returned if ; then echo "There is no errors in the logs" fi And after... (10 Replies)
Discussion started by: jedzio
10 Replies

3. Solaris

/bin/find: stat() error <File> : No such file or directory

Hi, I am getting below error in Solaris 10 SPARC when trying to issue a search on /var/tmp partition Below is the query /bin/find /var/tmp/ -type f -atime +1 Below is the result /bin/find: stat() error <File> : No such file or directory (28 Replies)
Discussion started by: prash358
28 Replies

4. Shell Programming and Scripting

Appending error messages from log file next to the corresponding error record

Hi Everyone, I have an issue and trying to get a solution but was not succesful yet. Any help is greatly appreciated. I am using ksh to inoke sql loader to load data from txt file into two oracle tables based on the condition written in the control file. If an error occurs while loading into... (8 Replies)
Discussion started by: vpv0002
8 Replies

5. SCO

Error: msgcnt 1 vxfs: mesg 016: vx_ilisterr - / file system error reading

Hello... i got an error in my SCO OpenServer 6. the error is: msgcnt 1 vxfs: mesg 016: vx_ilisterr - / file system error reading inode 373 Can anyone help me? (1 Reply)
Discussion started by: AndryMB
1 Replies

6. Windows & DOS: Issues & Discussions

Error opening script file - location error

Hello, I know nothing about UNIX, ftp, etc. I am building an excel VBA macro which calls a .bat file. I've taken a pre-existing batch file and am trying to modify it to fit my purposes. I would be very grateful for some assistance. Here is my .bat file: echo off set... (9 Replies)
Discussion started by: starcraftbud
9 Replies

7. Solaris

fssnap error :snapshot error: File system could not be write locked

Hi Guys. This is part of my filesystem structure : Filesystem size used avail capacity Mounted on /dev/md/dsk/d0 47G 5.2G 42G 12% / /devices 0K 0K 0K 0% /devices ctfs 0K 0K 0K 0% ... (2 Replies)
Discussion started by: aggadtech08
2 Replies

8. Shell Programming and Scripting

sqlplus error output to different error log file

HELLO, I am using such a command to write oracle sqlplus query result to text file: sqlplus -S xxx/xxx@xxxxxxx @\tmp\2.sql>\tmp\123.txt Is it possible to script that: If command succesfull write in \tmp\log.txt: timestamp and "succeded" and create 123.txt with results else If error... (2 Replies)
Discussion started by: tomasba
2 Replies

9. HP-UX

How to Redirect the error messages from Syslog file to our own Application Log File

Hello, I am New to Unix. I am Using HP-UX 9000 Series for my Application. I am Currently Facing an Issue that the error messages are being written in the syslog file instead of the Application Log File. The Codes for that Syslog.h is written in Pro*C. I want to know how to Redirect these... (3 Replies)
Discussion started by: balasubramaniam
3 Replies

10. UNIX for Dummies Questions & Answers

Error: Internal system error: Unable to initialize standard output file

Hey guys, need some help. Running AIX Version 5.2 and one of our cron jobs is writing errors to a log file. Any ideas on the following error message. Error: Internal system error: Unable to initialize standard output file I'm guessing more info might be needed, so let me know. Thanks (2 Replies)
Discussion started by: firkus
2 Replies
Login or Register to Ask a Question