Announcement

Collapse
No announcement yet.

vm machine failed to power on

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • vm machine failed to power on

    hi,
    I have vmware server beta 2 installed in centOS 5.2 and has xp, windows2003 and CentOS running as vm machine.
    couple days ago, I tried to power on and power off my windows 2003 server couple times, and found all my 3 vm machines can't power on properly. they all stop at 95%, and in event show :
    Failed to power on: A general system error occured.
    and following is logs from the /var/log/vmware:

    .................................................. ...................................
    [2008-11-26 16:48:01.102 'Libs' 3080563600 info] readlink /var/run/vmware/%2fopt%2fvmware%2fVMs%2fXP%2fXP%2evmx: No such file or directory
    [2008-11-26 16:48:01.604 'Libs' 3080563600 info] readlink /var/run/vmware/8ecabeb6ba921262d6d722ae9aaffc7d: No such file or directory
    [2008-11-26 16:48:01.604 'Libs' 3080563600 info] readlink /var/run/vmware/%2fopt%2fvmware%2fVMs%2fXP%2fXP%2evmx: No such file or directory
    [2008-11-26 16:48:02.106 'Libs' 3080563600 info] readlink /var/run/vmware/8ecabeb6ba921262d6d722ae9aaffc7d: No such file or directory
    [2008-11-26 16:48:02.106 'Libs' 3080563600 info] readlink /var/run/vmware/%2fopt%2fvmware%2fVMs%2fXP%2fXP%2evmx: No such file or directory
    [2008-11-26 16:48:02.608 'Libs' 3080563600 info] readlink /var/run/vmware/8ecabeb6ba921262d6d722ae9aaffc7d: No such file or directory
    [2008-11-26 16:48:02.608 'Libs' 3080563600 info] readlink /var/run/vmware/%2fopt%2fvmware%2fVMs%2fXP%2fXP%2evmx: No such file or directory
    [2008-11-26 16:48:03.110 'Libs' 3080563600 info] readlink /var/run/vmware/8ecabeb6ba921262d6d722ae9aaffc7d: No such file or directory
    [2008-11-26 16:48:03.110 'Libs' 3080563600 info] readlink /var/run/vmware/%2fopt%2fvmware%2fVMs%2fXP%2fXP%2evmx: No such file or directory
    [2008-11-26 16:48:03.612 'Libs' 3080563600 info] readlink /var/run/vmware/8ecabeb6ba921262d6d722ae9aaffc7d: No such file or directory
    [2008-11-26 16:48:03.612 'Libs' 3080563600 info] readlink /var/run/vmware/%2fopt%2fvmware%2fVMs%2fXP%2fXP%2evmx: No such file or directory
    [2008-11-26 16:48:03.612 'Vmsvc' 3081624464 info] Failed to do Power Op: Error: (300 Cannot connect to the virtual machine
    [2008-11-26 16:48:03.613 'vm:/opt/vmware/VMs/XP/XP.vmx' 3081624464 warning] Failed operation
    [2008-11-26 16:48:03.614 'ha-eventmgr' 3081624464 info] Event 8 : Failed to power on XP on host.us.kyriba.com in ha-datacenter: A general system error occurred:
    [2008-11-26 16:48:03.614 'PropertyProvider' 3081624464 verbose] RecordOp ADD: latestPage[8], session[528907fa-9859-6ad6-705e-7d9919971dc0]520a8a33-4d82-4540-7da0-323c86742c6e
    [2008-11-26 16:48:03.614 'PropertyProvider' 3081624464 verbose] RecordOp ASSIGN: latestEvent, ha-eventmgr
    [2008-11-26 16:48:03.614 'vm:/opt/vmware/VMs/XP/XP.vmx' 3081624464 info] State Transition (VM_STATE_POWERING_ON -> VM_STATE_OFF)
    [2008-11-26 16:48:03.614 'PropertyProvider' 3081624464 verbose] RecordOp ASSIGN: disabledMethod, 64
    [2008-11-26 16:48:03.614 'TaskManager' 3081624464 info] Task Completed : haTask-64-vim.VirtualMachine.powerOn-52437292
    .................................................. ................................................
    anyone has an idea?
    thanks in advance!
    jimmy

  • #2
    Re: vm machine failed to power on

    see if there are .lck files in VMs folders.
    Delete them.
    "When you hit a wrong note it's the next note that makes it good or bad". Miles Davis

    Comment


    • #3
      Re: vm machine failed to power on

      I deleted the .lck file, but still can't power on the VM, the power on green sign keep blinking and no response , and no new .lck file generated.
      any ideas?

      Comment


      • #4
        Re: vm machine failed to power on

        Hi there.
        I have the same problem and I found several links that might interest you...
        http://communities.vmware.com/message/1131110
        http://ubuntuforums.org/archive/index.php/t-288018.html

        In short, there is a file /etc/vmware/not_configured after reboot which is created somewhere in vmware script (though I don't know why exactly). I haven't tried the suggested solutions yet, but I think it is worth reading it. For me, removing the not_configured file is enough, so I could probably use some script to remove it. However, it doesn't seem the right solution.

        Martin

        Comment


        • #5
          Re: vm machine failed to power on

          Well, I just wanted to report here that for me helped to modify the /etc/init.d/vmware script. I've added several lines before the line reading "start)":
          ## code to fix creating file /etc/vmware/not_configured after system reboot
          ## start of fix
          for i in 0 1 2 8 11 12 13; do
          mknod /dev/vmnet$i c 119 $i > /dev/null 2>&1
          done
          mknod /dev/vmmon c 10 165 > /dev/null 2>&1
          ## end of fix

          (not my solution, found it on http://www.braincells.com/debian/2004/05/)

          Hope that helps.

          Martin

          Comment

          Working...
          X