on 06-15-2009 11:49 AM
hi all
i have download kernel patch 201 for SAP on solaris 10, when i unpavk it generate error
bash: SAPCAR: command not found
root@devsap # cd kernel_patch/
root@devsap # ls
SAPEXEDB_201-20001000 SAPEXEDB_201-20001000.SAR
root@devsap # SAPCAR -xvf SAPEXEDB_201-20001000.SAR
bash: SAPCAR: command not found
plz guide me
regarde
imran
> i have download kernel patch 201 for SAP on solaris 10, when i unpavk it generate error
> bash: SAPCAR: command not found
>
> root@devsap # cd kernel_patch/
> root@devsap # ls
> SAPEXEDB_201-20001000 SAPEXEDB_201-20001000.SAR
> root@devsap # SAPCAR -xvf SAPEXEDB_201-20001000.SAR
> bash: SAPCAR: command not found
Yes - because the user "root" does not have SAPCAR in its path
Execute as
/usr/sap/<SID>/exe/SAPCAR -xvf ....
Markus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> again same error
>
> root@sapdev # SAPCAR -xvf /dump/newkernel_201/SAPEXE_201-20001810.SAR
> bash: SAPCAR: command not found
> root@sapdev # pwd
> /sapmnt/DEV/exe
yes - because you did not execute SAPCAR as I posted.
You have to give the FULL PATH for SAPCAR (not for the file to be extracted):
/usr/sap/<SID>/exe/SAPCAR -xvf SAPEXE....
Markus
sapcar is in /sapmnt/DEV/exe or /usr/sap/DEV/SYS/exe/run
1)stopsap & saposcol -k
2) i have successfully run
root@sapdev # /sapmnt/DEV/exe/SAPCAR -xvf /dump/newkernel_201/SAPEXEDB_201-20001829.SAR
root@sapdev # /sapmnt/DEV/exe/SAPCAR -xvf /dump/newkernel_201/SAPEXE_201-20001810.SAR
3)root@sapdev # cp -p /dump/kernel_backup/exe/saproot.sh /sapmnt/DEV/exe/
4)root@sapdev # cd /sapmnt/DEV/exe/
root@sapdev # ./saproot.sh DEV
everthing has successfully run
but when i logon DEVadm
start saposcol service it generate error
devadm> saposcol
open logfile '/usr/sap/tmp/dev_coll.tmp' failed... use stderri
05:11:24 15.06.2009 ERROR: cannot open log file /usr/sap/tmp/dev_coll.tmp
05:11:24 15.06.2009 ERROR: Make sure directory /usr/sap/tmp exists or specify DIR_PERF
05:11:24 15.06.2009 ERROR: in profile and run saposcol pf=<profile>
> root@sapdev # ./saproot.sh DEV
>
> everthing has successfully run
>
> but when i logon DEVadm
>
> start saposcol service it generate error
> devadm> saposcol
> open logfile '/usr/sap/tmp/dev_coll.tmp' failed... use stderri
> 05:11:24 15.06.2009 ERROR: cannot open log file /usr/sap/tmp/dev_coll.tmp
> 05:11:24 15.06.2009 ERROR: Make sure directory /usr/sap/tmp exists or specify DIR_PERF
> 05:11:24 15.06.2009 ERROR: in profile and run saposcol pf=<profile>
1. If you unpack the kernel as user "root" then all the kernel files are owned by that user - that is wrong. You have to do a "chown -Rf devadm:sapsys" for the exe directory and then execute saproot.sh again.
2. The error message is pretty clear, please check if the directory exists and what permissions it has.
Please first read the error messages and try to solve yourself before posting every step you take.
Markus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.