cancel
Showing results for 
Search instead for 
Did you mean: 

Error 2 for write/read access to a file

Former Member

Hello All,

I am getting an error in sm21 in of our system and the error message is displaying as below. The error message is dispalying continously in SM21.

Error 2 for write/read access to a file. File = E:\usr\sap\TED\SYS\global\500JOBLG\0001X00300400X09339

Actions taken

1. Ran the reports of RSBTCDEL2 and RSBTCDEL with 10 days as variant

2. Enough free space on disk (15GB Free Space)

However I am not able to trace out the error and solution for the same.

Kindly help me with your valuable inputs to get rid off this issue in our system.

Environmen: ECC6 NUC / Windows server 2003 / SQl 2005 database

Regards

Vijay

Accepted Solutions (1)

Accepted Solutions (1)

blanca_serrano
Advisor
Advisor

Hello Vijay,

You are welcome. I hope the suggested "tips" help you to solve the problem.

Regards,

Blanca.

Former Member
0 Kudos

Hi,

You can even go to the particular locatin E:\usr\sap\TED\SYS\global\500JOBLG\0001X00300400X09339 and change the file permission to read/write.

Thanks

Former Member
0 Kudos

Hi Blanca,

Thanks again and I tried which you have suggested.

Those tips worked for me and also my problem was solved.

Thanks for the same

Vijay

Answers (2)

Answers (2)

blanca_serrano
Advisor
Advisor
0 Kudos

Hello Vijay,

Good to know it!!

Regards,

Blanca

blanca_serrano
Advisor
Advisor
0 Kudos

Hello Vijay,

error 2 means "no such file or directory" so this most probably happens because of some inconsistency.

You can do a consistency check:

1. Run Transaction SM65

2. Select Goto ... Additional tests

3. Select "Consistency check DB Tables" and click execute.

4. Once you get the results check to see if you have any inconsistencies in any of your tables.

5. If there are any inconsistencies reported then run the "Background Procesing Analyses" (SM65 .. Goto ... Additional Tests) again. This time check both the "Consistency check DB Tables" and the

"Remove Inconsistencies" option.

6. Run this a couple of times until all inconsistencies are removed from the tables.

Make sure you run this SM65 check when the system is quiet and no other batch jobs are running as this would put a lock on the TBTCO table till it finishes. This table may be needed by any other batch job that is running or scheduled to run at the time SM65 checks are running.

Are the following reports running daily as per SAP note 48400?

RSPO0041 (or RSPO1041), RSBTCDEL2: To delete old TemSe objects (Note 784969)

RSPO1043 and RSTS0020 for the consistency check.

Also you have to ensure that the directory to /global is accessable from external applications other than SAP. Such error may occur due to unaccessable to the directory (access right of this directory).

I hope this helps you.

Regards,

Blanca

Former Member
0 Kudos

Hello Blanca,

To be honest, Its a very clear explanatory for my query.

Million thanks for that .

I will try those things and then will get back to you.

Regards

Vijay Kumar