ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 有關saposcol問題

有關saposcol問題

Linux操作系统 作者:shmilyhmp 时间:2013-12-18 14:14:55 0 删除 编辑
系统为SAP46C+DB2+AIX,今天我用KILL  -9  17156命令中止了SAPOSCOL进程(SAPOSCOL进程的进程号是17156。我不是用SAPOSCOL -K命令中止的),然后我执行SAPOSCOL -L,提示“THE  OS COLLECTOR IS ALREADY RUNNING”,但是当我执行PS -EF |GREP SAPOSCOL,却没有发现SAPOSCOL进程的存在。然后我执行SAPOSCOL -S,提示如下:
adm 4> saposcol -s
**************************************************************
Collector Versions :
  running : COLL 20.79 03/08/22 46D - AIX Spmi v3.62 32bit 02022
  dialog  : COLL 20.79 03/08/22 46D - AIX Spmi v3.62 32bit 020221
Shared Memory       : attached
Number of records   : 1375
Active Flag         : active (01)
Operating System    : AIX 4.3 dwf80 000F1B9D4C00
Collector PID       : 17156 (00004304)
Collector           : running
Start time coll.    : Sun Nov 28 08:08:54 2004

Current Time        : Mon Nov 29 15:54:22 2004
Last write access   : Mon Nov 29 14:06:38 2004
Last Read  Access   : Thu Jan  1 08:00:00 1970

Collection Interval :    10 sec (next delay).
Collection Interval :    60 sec (last ).
Status              :    free
Collect Details  ? :    required
Refresh            :    required
Header extention structure :
number of x-header      records : 1
number of communication records : 60
number of free com.     records : 60
resulting offset to 1.data rec. : 61

Trace level                     : 2

Collector in IDLE - mode ? : YES
  become idle after 300 sec without read access.
  length of idle interval  : 60 sec
  length of norm.interval  : 10 sec
**************************************************************

之后执行SAPOSCOL -K,提示如下:
adm 3> saposcol -k
Setting Stop Flag :
15:47:15 29.11.2004   LOG: ==== Stop Flag was set by saposcol (kill_collector())
.
15:47:15 29.11.2004   LOG: ====  The collection process will stop as soon as pos

sible
********************
can't kill process 17156.
kill: No such process
ERROR:No reaction from collecting process 17156 !
      Please kill collecting process.
请问这是怎么回事?

sap notes 548699 FAQ: os collector SAPOSCOL
下面这段比较符合情况
6. Question: How do I stop saposcol if standard commands (points 2
and 3) do not work (Unix)?
Answer: Sometimes it may be impossible to stop saposcol either by “saposcol -d” --> kill or by “saposcol -k”. The system produces messages similar to:
can't kill process 34570.
kill: No such process
ERROR:No reaction from collecting process 34570!
       Please kill collecting process.
Although no process with PID 34570 exists, the output of command “saposcol -s” shows that saposcol is running and shared memory is attached. In this case, you can execute command: "cleanipc 99 remove".
If this does not work either, it is possible to stop the collector running by removing the shared memory key of saposcol.

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/28539110/viewspace-1063574/ ,如需转载,请注明出处,否则将追究法律责任。

下一篇: 没有了~
请登录后发表评论 登录
全部评论

注册时间:2013-12-17

  • 博文量
    3
  • 访问量
    8261