cancel
Showing results for 
Search instead for 
Did you mean: 

again error kernel upgrade

Former Member
0 Kudos
290

hi

few days back i tried kernel upgrade and face lot of problems regarding .sar file extraction. today again i face problem but different issue, i see some errors such as below:

cp: /sapmnt/SID/exe/dscdb6up: The file access permissions do not allow the speci

fied action.

shall i have to upgrade this kernel file separately as i do r3trans? pls help me

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

I verified from one of our landscape system, dscdb6up is with the owner:group as root:dbsidctl. Probably same is the case with you.

By which user you are trying to copy the new kernel into kernel directory ? I guess you need to use the copy command via the user root, if not doing that already. Otherwise an alternative is to remove/rename this old dscdb6up file from kernel directory and then copy whole new kernel.

Thanks

Former Member
0 Kudos

hi

as per ur advice i rename dscdb6up and some more files bt i face one more error, pls help me

cp: /sapmnt/SID/exe/libicudata30.a: Cannot open or remove a file containing a ru

nning program.

cp: /sapmnt/SID/exe/saprouter: Cannot open or remove a file containing a running

program.

Former Member
0 Kudos

> cp: /sapmnt/SID/exe/libicudata30.a: Cannot open or remove a file containing a ru

> nning program.

> cp: /sapmnt/SID/exe/saprouter: Cannot open or remove a file containing a running

> program.

Hello,

Ok so you have saprouter installed and running on this server probably. Just stop the saprouter and then try to copy the new kernel.

I am not sure for 'libicudata30.a', may be you didn't stop DB/SAP properly yet ? Check the processes by 'ps -ef grep sap' and 'ps -ef grep db2'. Kill the processes if you are not able to stop them. Also you may like to rename this file as well.

Thanks

former_member188883
Active Contributor
0 Kudos

Hi,

cp: /sapmnt/SID/exe/libicudata30.a: Cannot open or remove a file containing a ru

nning program.

Many a times during kernel upgrade files with ".a" extension do not get overwritten. Here the approach to be followed is rename these files and then copy the new files in the kernel directory.

Hope this is useful.

Regards,

Deepak Kori

Answers (2)

Answers (2)

former_member189725
Active Contributor
0 Kudos

Please stop the SAP system as well as the DB and all the services . Then clean the SAP shared memory using cleanipc. Clean DB2 shared memory using ipclean. Then clean the shared memory using for any other loaded libraries with user root. (E.g /usr/sbin/slibclean for AIX if this is the only system ruuning on the host) ) . Login as user <sid>adm and replace the kernel . Run saproot.sh as user root with the environment of <sid>adm . This would set right the permission and ownership of all kernel files.

former_member182505
Contributor
0 Kudos

Hi,

Stop The DB and SAP. if its standalone DB server stop all the application.

stop saposcol and cleanipc for db and sap.

replace the kernel or overwrite.

You have logged on to the operating system as a <SID>adm user.

stopsap

su root (not su u2013 root)

cd /sapmnt/<SID>/exe

./saproot.sh <SID>

exit

startsap

It will provide all necessary permissions.

Thanks.

Sadiq

Frank-Martin
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

for dscdb6up on UNIX there are two options:

(1) If you just want to update the password file ownership sidadm:sapsys and execute paermissions for sidadm are sufficient

(2) to enable dscdb6up to also update the OS passwords, it must be owned by root:sapsys and have a SUID bit .

Option (2) caused your problems. If you are just using dscdb6up for (1) and update your passwords with OS means, there is no reason to restore those permission.

Regards

Frank

Former Member
0 Kudos

> cp: /sapmnt/SID/exe/dscdb6up: The file access permissions do not allow the speci

> fied action.

Hello,

First you check the permissions of this file 'dscdb6up'. I think no need to update it explicitly, you should be able to copy all the files in one go and that should include dscdb6up as well.

Thanks