aix ipcs的bug


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博客 ” ,链接:http://blog.itpub.net/14130873/viewspace-624646/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/14130873/viewspace-624646/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值