Skip to Content

startsap: Cannot write class prefetch list

Hello,

at startup from SAP on oracle 11.2.0.4 with a Java Only Netweaver 7.4 I have got a problem with the file "class_prefetch.lst".

Error message:

sidadm> startsap

Checking SID Database

-------------------------------------------

setTrace: false

WARNING: Cannot write class prefetch list; classload performance may be affected

WARNING: java.io.FileNotFoundException: class_prefetch.lst (Permission denied)

WARNING: To fix the problem, remove the inaccessible file /oracle/SID/saptrace/diag/rdbms/sid/SID/trace/class_prefetch.lst

System is starting and working.

But I can't solve this problem. On other systems I don't find a file class_prefetch.lst in the mentioned path, so there is nothing to remove.

How can I solve this warning / problem?

Regards,

Julia

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    Sep 12, 2014 at 05:44 AM

    Hello,

    Ashutosh supported me with a workaround but problem is not solved for me.

    Where does this message comes from?

    And why I can't find such a file /oracle/SID/saptrace/diag/rdbms/sid/SID/trace/class_prefetch.lst in other systems?

    Regards,

    Julia

    Add comment
    10|10000 characters needed characters exceeded

    • Hello Reagan,

      yes, this can be the cause!

      I had a look into /home/sidadm - there I can find a file class_prefetch.lst.

      And because of some administrative doings I was in folder  /oracle/SID/saptrace/diag/rdbms/sid/SID/trace as sidadm and started SAP from here.

      Thank you - I think this is the cause. And correctly sidadm has no write access in /oracle/SID path!

      Regards,

      Julia

  • avatar image
    Former Member
    Sep 10, 2014 at 10:57 AM

    Hi Julia,

    Goto the directory /oracle/SID/saptrace/diag/rdbms/sid/SID/trace/

    and run the command

    touch class_prefetch.lst


    hope it will help!


    Also do check the permission of trace it should have a owner orasid and sapsys

    With Regards

    Ashutosh

    Add comment
    10|10000 characters needed characters exceeded

    • Hello Ashutosh,

      I thought about creating file too, but I don't know what this file stands for.

      So I created file now with chmod 777. Permission of folder trace is correct (orasid,dba).

      Now warning message disappeard and some entries are written in file.

      But although I'm wondering because this file does not exist in other systems.

      So for what is this file? Is there any misconfiguration in JAVA stack?

      Regards,

      Julia

  • Sep 10, 2014 at 11:03 AM

    WARNING: To fix the problem, remove the inaccessible file /oracle/SID/saptrace/diag/rdbms/sid/SID/trace/class_prefetch.lst

    Check for permissions or follow what ashutosh has quoted.

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 10, 2014 at 11:24 AM

    Hi Julia

    Is the \USR folder volume is full no free space ?

    BR

    SS

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 12, 2014 at 08:41 AM

    setTrace: false

    WARNING: Cannot write class prefetch list; classload performance may be affected

    WARNING: java.io.FileNotFoundException: class_prefetch.lst (Permission denied)

    WARNING: To fix the problem, remove the inaccessible file /oracle/SID/saptrace/diag/rdbms/sid/SID/trace/class_prefetch.lst

    Based on the trace information and if you look at the above sequence it looks like the startsap script is creating the class_prefetch.lst file and then it is trying to remove the file and in both cases the it fails due to permission issues.

    Regards

    RB

    Add comment
    10|10000 characters needed characters exceeded