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

mksysb 报错

原创 Linux操作系统 作者:longan_plot 时间:2013-07-25 15:09:48 0 删除 编辑
# mksysb -i /backup/system.bak

Creating information file (/ 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.



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.                                         


Not applicable. 


Stop SLP before creating the mksysb.

To stop SLP on AIX, kill the slpd daeamon: 

ps -ef | grep slp_srvreg 


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博客 ” ,链接:,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录


  • 博文量
  • 访问量