on 08-28-2012 1:55 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.