VMware ESX Server 3.5 出现 pegasus 什么什么的错误

刚装好的服务器,启动的时候出现这个错误:

Processing /var/pegasus/vmware/install_queue/1 [FAILED]
ERROR:log –/var/pegasus/vmware/install_queus/1.log
Processing /var/pegasus/vmware/install_queue/1 [FAILED]
ERROR:log –/var/pegasus/vmware/install_queus/1.log

到网上搜一搜,搜到了这个文章:

http://communities.vmware.com/message/914939#914939

Edit the roleauth-schema compiler directive to include the VMware_Identity class definition using

nano /var/pegasus/vmware/install_queue/3_files/mofs/root/PG_Interop/roleauth-schema.mof

Add the bolded line above the pre-existing member directive.

#pragma include (“VMware_Identity.mof”)
#pragma include (“VMware_IdentityMemberOfCollection.mof”)

It also needs to be added in the standard cimv2 path.

nano /var/pegasus/vmware/install_queue/3_files/mofs/root/cimv2/roleauth-schema.mof

#pragma include (“VMware_Identity.mof”)
#pragma include (“VMware_IdentityMemberOfCollection.mof”)

Copy the missing file from the stardard cimv2 path to the shared path.

cp /var/pegasus/vmware/install_queue/3_files/mofs/root/cimv2/VMware_Identity.mof /var/pegasus/vmware/install_queue/3_files/mofs/root/PG_Interop/

Stop and start the service with these commands.

/etc/init.d/pegasus stop
/etc/init.d/pegasus start

Once the scripts completes the install_queues will be empty and the service will start much more quickly.

按上面说明修改,其中的 3_files 要用 1_files 代替,之后,不出错了。