cancel
Showing results for 
Search instead for 
Did you mean: 

issue while upgrading SAP Kernel on Oracle,Aix

Former Member
0 Kudos

Hello Experts,

While upgrading the kernel, as part of copying the files to kernel directory i get the following issue though i stopped the sap as well as data base and also the services. i also did the cleanipc yet it says text file is busy.. I know its not complicated but i believe i am missing something here kindly let me know what else i can look into..

Kernel700 is the directory where i placed my new kernel.

cp /usr/sap/XXX/SYS/exe/Kernel700/* /sapmnt/XXX/exe

cp: /usr/sap/XXX/SYS/exe/Kernel700/cfw is a directory (not copied).

cp: /sapmnt/XXX/exe/dboraslib.o: Text file busy

cp: /sapmnt/XXX/exe/dbsdbslib.o: Text file busy

cp: /sapmnt/XXX/exe/dsrlib.o: Text file busy

cp: /sapmnt/XXX/exe/dw_gui.o: Text file busy

cp: /sapmnt/XXX/exe/dw_mdm.o: Text file busy

cp: /sapmnt/XXX/exe/dw_stl.o: Text file busy

cp: /sapmnt/XXX/exe/dw_xml.o: Text file busy

cp: /sapmnt/XXX/exe/dw_xtc.o: Text file busy

cp: /usr/sap/XXX/SYS/exe/Kernel700/jkit is a directory (not copied).

cp: /sapmnt/XXX/exe/libicudata30.a: Text file busy

cp: /sapmnt/XXX/exe/libicui18n30.a: Text file busy

cp: /sapmnt/XXX/exe/libicuuc30.a: Text file busy

cp: /sapmnt/XXX/exe/libregex.o: Text file busy

cp: /sapmnt/XXX/exe/librfccm.o: Text file busy

cp: /sapmnt/XXX/exe/libsapcsa.o: Text file busy

cp: /sapmnt/XXX/exe/sapcpp46.o: Text file busy

Thanks,

Raj

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,,,

Firstly looks like you uncarred in new kernel executables in to usr/sap/XXX/SYS/exe/Kernel700/

I would do the following steps...

step 1-

Login as root switch cd /sapmnt/SID/> --> cp  -Rp exe <target path> to make backup of existing kernel <exe> directory recursively with permissions..

cp -Rp flag will backup directories like cfw and serviehttp directories recursively with permissions folders inside folders...

step 2-

Connect to you newly uncareed path as root and run follwing command..In your case.. it is

/usr/sap/XXX/SYS/exe/Kernel700/> cp -Rp * /sapmnt/SID/

Now issues comes with cannot overwrite dboraslib.o

To avoid this issue what can be done..If you can afford restart of OS and try to run copy command issue can be avoided..

or restart of OS is not possible ..first connect to /sapmnt/SID/exe as root and type and rename the following files which were busy as follows :-

sapmnt/SID/exe/> mv dboraslib.o orig_dboraslib.o

Now rename all the files which ere busy as mentioned NOT directories

Now connect to new kernel run command > cp -Rp * /sapmnt/SID/

Perform ./saproot.sh

http://help.sap.com/SAPHELP_NW04S/helpdata/en/43/3753c4b87b6025e10000000a422035/content.htm

Former Member
0 Kudos

AS i have tried all the above mentioned options in the first place still these files were being used or in SAP terms "busy". SO I hard to reboot the Unix machine then it worked fine. ANyways thanks for the quick support.

Former Member
0 Kudos

You need to unload this libraries with

/usr/sbin/slibclean

To check what process having this library loading run

genld -l

If no more processes having this library loading but problem does not resolved simply remove them with rm command and copy new libraries

Regards

Roman

former_member189725
Active Contributor
0 Kudos

You bring the SAP application .

Then as <sid>adm execute the following

#  cleanipc <instance_no> remove

Then login as root

set the environment variable

export DIR_LIBRARY /usr/sap/<SID>/SYS/exe/run

export LIBPATH $LIBPATH:/usr/sap/<SID>/SYS/exe/run

# cleanipc <instance_no> remove

Then again login as <sid>adm

Extract the kernel into /sapmnt/<SID>/exe

# /usr/sap/<SID>/DVEBMG*/exe/SAPCAR -xvf <Kernel_file.SAR> -R /sapmnt/<SID>/exe

You will be able to do it.

Regards

Ratnajit