ITPub博客

首页 > Linux操作系统 > Linux操作系统 > mksysb 报错

mksysb 报错

原创 Linux操作系统 作者:longan_plot 时间:2013-07-25 15:09:48 0 删除 编辑
现象:
# 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/,如需转载,请注明出处,否则将追究法律责任。

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

注册时间:2013-07-24

  • 博文量
    22
  • 访问量
    224479