on 01-30-2015 11:48 AM
Hello Experts,
We have 3 Production System, in that SAPOSCOL stops frequently.
Frequency is after every 2-3 days SAPOSCOLL stops.
Can i know what would be the reason? How can i get a permenant solution? What should i check?
Please suggest..!!
Regards,
Prasad Jadhav
Hello Prasad,
Is SAPOSCOL the latest one? (at least :dec 22 PL715)
Did you checked the dev_coll file?
What is the OS version?
Did you installed SAPOSCOL from HOSTAGENT packet?
SAPOSCOL: Error Analysis
Known:Warnings and error messages of dev_coll and possible problems with SAPOSCOL
How to analyse the missing performace data situation and how to check SAPOsCol issues
Kind regards,
Tamas Istenes SAP Support Engineer
AGS Primary Support, Global Support Center
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Prasad,
Please open dev_coll file according to dokument:
SAPOSCOL Log Files
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/c4/3a6c67505211d189550000e829fbbd/content.htm
Please copy the line : "compiled at ..." and "patchno"
Could you please allo scroll down and copy some lines from dev_coll ?
Kind regards,
Tamas Istenes SAP Support Engineer
AGS Primary Support, Global Support Center Hungary
Hello Tamas,
Thank you for the reply
Please look at the below information from the dev_coll
SAPOSCOL version COLL 21.02 720 - v2.19, AMD/Intel x86_64 with Linux, 2010-07-23, 64 bit, single threaded, Non-Unicode
compiled at Aug 17 2010
systemid 390 (AMD/Intel x86_64 with Linux)
relno 7200
patch text COLL 21.02 720 - v2.19, AMD/Intel x86_64 with Linux, 2010-07-23
patchno 61
intno 20020600
chgno(local) 1177307
chgno(global) 1182403
PATCHES
DATE CHANGELIST PLATFORM PATCHTEXT
20081211 ALL Option -w support. Removed SizeOfRecord warning rt 130.
20090114 UNIX Log file permissions: 664.
20090203 UNIX Add. single instance check.
20090210 ALL Continue after EWA HW XML generation failure.
20090324 ALL Fix dynamic trace level switch.
20090512 ALL Usage of DIR_HOME as working dir.
20090512 1064069 UNIX Hardware XML permissions 660.
20090613 ALL Async HW info generation.
20090909 UNIX DIR_PERF, DIR_HOME, /var/tmp, ...
20090909 UNIX Group sapsys and smarter permissions of files
20091105 WINDOWS New Monitoring for VMware
20091210 ALL Performance improvement 'saposcol -xml'.
20100723 LINUX New Monitoring for VMware
kindly find the below logs
20:30:05 01.02.2015 | LOG: Profile | : no profile used |
20:30:05 01.02.2015 | LOG: Saposcol Version : [COLL 21.02 720 - v2.19, AMD/Intel x86_64 with Linux, 2010-07-23] | |
20:30:05 01.02.2015 | LOG: Working directory : /usr/sap/tmp |
20:30:05 01.02.2015 | LOG: Virtualization: Detected `VMWare' |
20:30:05 01.02.2015 WARNING: Error in VMware guest library.
20:30:05 01.02.2015 WARNING: VMware: Can't get host information.
20:30:05 01.02.2015 | LOG: VMware guest library is libvmGuestLib.so |
20:30:06 01.02.2015 | LOG: Shared Memory Size: 767258. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
20:30:06 01.02.2015 | LOG: Shared Memory was created by process:23471 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
20:30:06 01.02.2015 | LOG: ==== Collector submitted. This is the parent process after fork()===== | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
20:30:09 01.02.2015 | LOG: ==== Collector submitted. This is the child process after fork()===== | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
20:30:12 01.02.2015 | LOG: Connected stderr to log_file | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
20:30:12 01.02.2015 | LOG: Collector daemon started | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
20:30:12 01.02.2015 | LOG: can't open put-file /usr/sap/tmp/coll.put | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
20:30:12 01.02.2015 | LOG: Collector PID: 23489 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
20:31:12 01.02.2015 | LOG: Initialize Device Filtering | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
======================= LOG: WaitFree: could not set new shared memory status after 15 sec
======================= LOG: WaitFree: could not set new shared memory status after 15 sec
======================= LOG: WaitFree: could not set new shared memory status after 15 sec
#filesystems[new/old]: 41/39
======================= LOG: WaitFree: could not set new shared memory status after 15 sec
======================= LOG: WaitFree: could not set new shared memory status after 15 sec
======================= LOG: WaitFree: could not set new shared memory status after 15 sec
|
Hello,
Thanks for the log file !
First of all SAPOSCOL is too old : compiled at Aug 17 2010
SAPOSCOL: Clearing Shared Memory and Updating Saposcol
Installing SAPOSCOL on a UNIX Host
https://help.sap.com/saphelp_nw70/helpdata/en/75/a0c43a1291a74ce10000000a114084/content.htm
Please upgrade it to:
Jan 19 2015 ; patchno | 717 |
We also see: WARNING: VMware: Can't get host information. Please check SAP notes:
#994025 - Virtualized OS environments in the operating system
#1122387 - Linux: SAP Support in virtualized environments
#1606643 - Linux: VMware vSphere host monitoring interface
Please refer to KBA how to clean the SHM to solv the :LOG: No Write Access to Shared Memory: Skip this interval.
#1627564 - SAPOSCOL: Clearing Shared Memory and Updating Saposcol
The operating system collector SAPOsCol is a stand-alone program that runs in the operating system background. It runs independently of
SAPinstances exactly once per host.Saposcol is not Unicode-dependent, so it makes no difference to download it from Unicode or Non-unicode
directory on Service Market Place.The highest available saposcol version can always be used backwards.
SAPOSCOL should always be started with root permissions, to be able to collect all the OS statistics (notes #19227 and #726094).
Best regards,
Tamas Istenes SAP Support Engineer
AGS Primary Support, Global Support Center Hungary
Hello Prasad,
Yes
Please check link:
Downloading SAPOSCOL
and the KBA(!): 1627564 - SAPOSCOL: Clearing Shared Memory and Updating Saposcol
or
SAPOSCOL: Clearing Shared Memory and Updating Saposcol
It is in the latest SAPHOSTAGENT packet, please refer to KBA: #1627564
- Stop the old SAPOSCOL process
- If there are SAPCCMSR or SAPCCM4X agents running on the same server it is also better to stop these processes too.
- Check if the shared memory segment is correctly removed (On Windows systems you can try to start SAPOSCOL in dialog mode and execute the ‘leave’ command. If this does not remove the shared memory segment on an OS restart will help. On UNIX systems you can use the OS command ‘cleanipc 99 remove’)
- Delete the coll.put file which is stored in the SAPOSCOL working directory
- Install the new SAPOSCOL executable in the correct executable directory
- Start SAPOSCOL (and the CCMS agents) again.
- After this always check the dev_coll file to see if the new collector process also did recreate the shared memory segment again.
BR
Tamas
Kind regards,
Tamas Istenes SAP Support Engineer
AGS Primary Support, Global Support Center
please download latest patch using
https://websmp202.sap-ag.de/swdc
search for this file:
SAPHOSTAGENT203_203-20005731.SAR
ot
saphostagentrpm_203-20005731.rpm
this is the latest patch for sap host agent (that includes saposcol).
use this guide how to upgrade:
What is the platform?
in most of the cases, upgrade of SAPOSCOL to the latest version should solve the problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Prasad,
when saposcol stops running what do you see as the last entry in dev_coll? Is a core file created at that time in the working directory of saposcol in /usr/sap/tmp? What reports SAPHOSTAGENT in dev_saphostexec when saposcol stops?
Regards,
Alwina
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prasad,
Do you have host agent installed on your systems ?
Check with root user whtr hostagent is running or not.
SAPOSCOL is started with hostagent and can be find in it binaries.(if you are not using old kernel implementations of SAPOscol)
Generally, this should be in usr/sap/hostctrl.
Restart SAP hostagent(using root)
saphostexec -stop
saphostexec -restart -(this will start)
If you have diagnostic agents in your system, then stop diagnostic agent, check if hostagent is stopped and then restart diagnostic agents.
Refer below for more.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Miguel and Manu...
@ Miguel : How can i check if my SAP host agent is out dated and which is the latest one.
Regards,
Prasad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Prasad,
If you execute the command 'saphostexec -version' you will see which version you have installed. About the last version available, you can check it on the Download Area of the Support Portal:
SAP Technology Components / SAP HOST AGENT / SAP HOST AGENT 7.20
Regards.
Hello Prasad,
Is there any information on the saposcol's log file. You can find where it is supposed to be here:
SAPOSCOL Log Files - Operating System Monitor - SAP Library
Also I will recommend to update your SAP Host Agent on all your the servers of the PRD System.
Best regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prasad ,
Please read the following link
About SAPOSCOL - Netweaver Technology - SCN Wiki
Thanks ,
Manu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.