mksysb 报错

现象:
# mksysb -i /backup/system.bak

Creating information file (/image.data) for rootvg.

Creating list of files to back up.
.
Backing up 58252 files.backup: 0511-089 Cannot open ./var/tmp/slp_srvreg.lock: Cannot open or remove a file containing a running program.

IBM官方解释以及处理:

Description 

Restoring a mksysb of an AIX 5.3 TL10 system or higher, or AIX 6.1 TL03 or higher, the following message is displayed: 
backup: 0511-089 Cannot open ./var/tmp/slp_srvreg.lock: Cannot open                   
or remove a file containing a running program.                                         

Fix 

Not applicable. 

Work-around 

Stop SLP before creating the mksysb.

To stop SLP on AIX, kill the slpd daeamon: 

ps -ef | grep slp_srvreg 
kill  

Details 

Starting with AIX 5.3 TL10 and AIX 6.1.TL03, the IBM Systems Director 6.1.n.n Common Agent is installed and started per default with AIX (if the Systems Management bundle (AIX 6.1) or the Graphics bundle (AIX 5.3) is selected for installation).

Starting the agent will start SLP (look for slp_srvreg -D process). The SLP daemon opens a lock file /var/tmp/slp_srvreg.lock when it is started. This is to check if another slp_srvreg daemon is already running on the system. In that case, when SLP daemon is already running, any attempt to start another slp_srvreg daemon will fail.

When creating a mksysb while the slp_srvreg daemon is running, the backup cannot save the /var/tmp/slp_srvreg.lock. file.

This is the desired behavior. because if the /var/tmp/slp_srvreg.lock. file gets backed up and then restored, it would not be possible to start the slp_srvreg daemon on the new system unless the lock file is removed.

The problem is not specific to the Director agent. SLP could run without Director agent running and while creating a mksysb, and the same message will appear.

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

转载于:http://blog.itpub.net/27015256/viewspace-767097/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值