on 2011 Dec 18 4:10 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> 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
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
> 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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
62 | |
12 | |
7 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.