sapinst system copy error on oracle 11g database

During System Copy using ECC 6.0 SR3 Installation master on oracle database version 11g you may encounter another problem with sapinst if it tries to execute the command execute DBMS_SCHEDULER.DISABLE('GATHER_STATS_JOB'); This job does not exist in 11g and your installation will stop with the message:

DIAGNOSIS: Error message: ORA-27476: "SYS.GATHER_STATS_JOB" does not exist

You need to edit the control.xml file in your installation directory and comment out the GATHER_STATS_JOB disabling command. Just put "--" before the word "execute" so your line looks like this:

stream.putLine("--execute DBMS_SCHEDULER.DISABLE('GATHER_STATS_JOB');");

This shouldn't be necessary, but do it anyway: Edit the file dbms_scheduler.sql in your installation directory and comment out the line (created as per control.xml) so it looks like this


Stop sapinst! Restart sapinst, chosing exactly the same options as before, and choose "continue old installation". Your installation should run through now.

SAPinst Error during installation "Resource temporarily unavailable"

Error: EsStdUnamFileMapInit: Info: mmap() failed. errno = 11(Resource temporarily unavailable)

Solution: Remove parameter es/implementation=std from Instance profile and restart SAP.
Then re-run SAPinst.

Also check SAP Note 941735 - SAP memory management for 64-bit Unix Systems.

Below command can be very useful as well.

/usr/sap//SYS/exe/run/memlimits | more