cancel
Showing results for 
Search instead for 
Did you mean: 

Kernel Upgrade - Issue

Former Member
0 Kudos

Hello All,

I have upgraded the kernel 640 from 175 to 247.

1) After this activity when I run the command startsap it was not able to start saposcol.

2) When we run the command stopsap SAP was down but when i run ps -aef | grep -i sap it was showing many process of SAP.

As a soultion to this, I have implemented the note 809477 (replaced the startsap and stopsap in exe with the given attached files in note).

After this, when I give the command startsap, the saposcol is getting started but giving the following error.(touch: 0652-046 Cannot create /usr/sap//D00/work/dev_tp). PFB the details.

<Server>:<SID>adm 6> startsap

Checking <SID> Database

-


ABAP Database is not available via R3trans

Starting SAP-Collector Daemon

-


07:43:57 19.04.2009 LOG: Effective User Id is root

******************************************************************************

  • This is Saposcol Version COLL 20.95 640 - AIX v11.16 5L-64 bit 080318

  • Usage: saposcol -l: Start OS Collector

  • saposcol -k: Stop OS Collector

  • saposcol -d: OS Collector Dialog Mode

  • saposcol -s: OS Collector Status

  • Starting collector (create new process)

******************************************************************************

saposcol on host <Server> started

Running /usr/sap/<SID>/SYS/exe/run/startdb

Trying to start <SID> database ...

Log file: /home/<SID>adm/startdb.log

<SID> database started

/usr/sap/<SID>/SYS/exe/run/startdb completed successfully

Checking <SID> Database

-


ABAP Database is running

*touch: 0652-046 Cannot create /usr/sap//D00/work/devtp.*_

Starting SAP Instance DVEBMGS20

-


Startup-Log is written to /home/<SID>adm/startsap_DVEBMGS20.log

Instance on host <Server> started

IGS on host <Server> started

Many thanks in advance,

Nike S

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

thanks.. Solved the issue

Former Member
0 Kudos

Hi:

Nike, how do you solve it problem?

Especific the dev_tp problem.

Regards!

Edited by: Antonio Armas Salvarrey on Sep 19, 2011 6:07 AM

Former Member
0 Kudos

Hi,

_touch: 0652-046 Cannot create /usr/sap//D00/work/dev_tp._

We are also facing the same problem even after replacing the latest startsap & stopsap. After debugging I found there is issue with save_tplog() function in startsap script. Time being I have change this function with old save_tplog() function.

It is working perfectly for me.

But I am also raising an OSS message for this error.

Regards,

Sachin Rane.

Former Member
0 Kudos

Hi Nike,

This is a bug in 247 patch. Recently we upgraded our kernel patch level to 247. After upgradation we faced same issue that SAPOSCOL is not getting started with startsap script.

Then we have checked the same with file permissions etc. didnt work.

It is getting started manully with any user, but didnt automatically with startsap script.

SAP propossed to download latest startsap script and apply.

To be frank we didnt check with the latest startsap script.

Regards

Nick Loy

Former Member
0 Kudos

Hi,

It seems database is not available through R3trans. Please execute R3trans -d as <SIDADM> from App server and check the trans.log.

Also; you should change the permissions of saposcol and change the owner to Root.

Hope this will help

Former Member
0 Kudos

Hi Nike,

Once you complete copying the new kernel files in the exe directory, then you have run slibclean as root (or through sudo) and also you have run the saproot.sn script again as root for setting the permissions.

/usr/sbin/slibclean

/usr/local/adm/saproot.sh <SID>

Run the above 2 commands as root and then try to startsap.

Hope this helps you to resolve your issue.

Cheers,

Hari Kishan.

fidel_vales
Employee
Employee
0 Kudos

Hi,

and I wonder how is this related to Oracle. Do you know that you have posted it on the SAP on Oracle Forum?

a little check.

Can the user <SID>adm write on the directory /usr/sap//D00/work/?

> touch /usr/sap//D00/work/pepe

Check the authorizations and owners of the kernel you have installed.

take a look at the startsap script and check what is trying to do after starting the DB