ITPub博客

首页 > Linux操作系统 > Linux操作系统 > aix ipcs的bug

aix ipcs的bug

原创 Linux操作系统 作者:jcq0 时间:2010-01-08 12:19:48 0 删除 编辑


1.ipcs无法正常显示

# oslevel -r
5300-07

# ipcs 
IPC status from /dev/mem as of Thu Jan  1 08:00:16 BEIST 1970
T        ID     KEY        MODE       OWNER    GROUP
Message Queues:

Shared Memory:
ipcs: 0515-004 read error: There is a request to a device or address that does not exist.

2.经查询为os的bug

IZ01086: IPCS READ ERROR: DEVICE/ADDR DOESN'T EXIST APPLIES TO AIX 5300-07
APAR statusClosed as program error.
Error descriptionWhen named shmids are present in the system, ipcs -r gets
an error:

ipcs: 0515-004 read error: There is a request to a device
or address that does not exist.

The larger the number of named shmids created, the more
likely this error is encountered.

The problem applies to 5.2 also.

Local fix
Problem summaryipcs -r fails to display named realtime ipcs.

Problem conclusionCode has been modified to read realtime ipc name till '0'.

Temporary fix
Comments5300-07 - use AIX APAR IZ01086
5300-08 - use AIX APAR IZ05300

3.下载地址
http://www-01.ibm.com/support/docview.wss?rs=1207&context=SG11P&dc=DB550&dc=DB510&q1=IZ01086&uid=isg1IZ01086&loc=en_US&cs=UTF-8&lang=all

4.安装
# lslpp -aL|grep control
  bos.rte.control            5.3.7.0    C     F    System Control Commands

安装后依然无法显示
# ipcs
IPC status from /dev/mem as of Thu Jan  1 08:00:16 BEIST 1970
T        ID     KEY        MODE       OWNER    GROUP
Message Queues:

Shared Memory:
ipcs: 0515-004 read error: There is a request to a device or address that does not exist.

重启系统
# shutdown -Fr

SHUTDOWN PROGRAM
Fri Jan  8 12:09:09 BEIST 2010

Wait for 'Rebooting...' before stopping.

5.正常显示
# ipcs
IPC status from /dev/mem as of Fri Jan  8 12:15:24 BEIST 2010
T        ID     KEY        MODE       OWNER    GROUP
Message Queues:
q         0 0x4107001c -Rrw-rw----     root   printq

Shared Memory:
m   1048576 0x0d000ad3 --rw-rw----     root   system
m   1048577 0xffffffff --rw-rw----     root   system
m   1048578 0x78000009 --rw-rw-rw-     root   system
Semaphores:
s   3145728 0x010000ff --ra-------     root   system
s         1 0x620002a0 --ra-r--r--     root   system

 

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

请登录后发表评论 登录
全部评论

注册时间:2008-11-25

  • 博文量
    93
  • 访问量
    367944