Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't (re)start vmware virtual machine
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
curmudgeon
Veteran
Veteran


Joined: 08 Aug 2003
Posts: 1741

PostPosted: Tue Oct 18, 2005 5:35 am    Post subject: Can't (re)start vmware virtual machine Reply with quote

Ran into the usual problems, and (thought) I fixed them all.
Code:
$ ls -al /opt/vmware/lib/bin
total 11952
drwxr-xr-x   2 root root      4096 2005-09-17 18:15:34 ./
drwxr-xr-x  17 root root      4096 2005-09-17 18:15:44 ../
-r-xr-xr-x   1 root root   2101236 2005-09-17 18:15:34 vmrun*
-rwxr-xr-x   1 root root   6469884 2005-09-17 18:15:34 vmware*
-rwsr-x---   1 root vmware 3636940 2005-09-17 18:15:34 vmware-vmx*

$ grep vmware /etc/group
vmware:x:407:user

$ id
uid=1000(user) gid=100(users) groups=0(root),10(wheel),11(floppy),16(cron),18(audio),19(cdrom),27(video), 35(games),80(cdrw),85(usb),100(users),250(portage),407(vmware)


Earlier today, the virtual machine started fine,
and I installed a guest OS. Now, I can't get the
virtual machine restarted. I get the same "Unable
to change virtual machine power state: Failed to
connect to peer process" message that people
get before fixing the permissions.

The only other information I have:
Code:
$ dog /tmp/vmware-user/ui-16845.log
Oct 18 05:17:14: vmui| Log for VMware Workstation pid=16845 version=5.0.0 build=build-13124 option=Release
Oct 18 05:17:14: vmui| Using log file /tmp/vmware-user/ui-16845.log
Oct 18 05:17:14: vmui| SMBIOS: can't open /dev/mem
Oct 18 05:17:14: vmui| VmhsHostInfoPopulateSystem:  Could not get information from smbios to populate VMDB.
Oct 18 05:17:15: vmui| Using system libcrypto, version 90705F
Oct 18 05:17:15: vmui| VMNetCtlConstruct: no Network Names to list
Oct 18 05:17:15: vmui| VMUIGtkVmdb_LoadDevice: unhandled device class scsiCtlr
Oct 18 05:17:15: vmui| VMNetCtlConstruct: no Network Names to list
Oct 18 05:17:15: vmui| VMUIGtkVmdb_LoadDevice: unhandled device class scsiCtlr
Oct 18 05:17:15: vmui| Dlg::GetButtonInfo(): Duplicate GTK icon/label pair: _Stop and _Stop
Oct 18 05:17:15: vmui| Dlg::GetButtonInfo(): Duplicate GTK icon/label pair: _Forward and _Forward

(above gets logged when starting the program -
the lines below get logged when trying to start
the virtual machine)

Oct 18 05:18:20: vmui| VMHSVMCbPower: Setting state of VM /vm/#946036b068804275/ to powerOn with option default
Oct 18 05:18:20: vmui| VMHS: Exec()'ing /opt/vmware/lib/bin/vmware-vmx
Oct 18 05:18:20: vmui| waitpid failed errno = No child processes
Oct 18 05:18:20: vmui| VMHSLaunchVM failed: Failed to connect to peer process


Thank you for any help fixing this.
Back to top
View user's profile Send private message
Gotterdammerung
l33t
l33t


Joined: 11 Feb 2004
Posts: 627
Location: Rio de Janeiro, Brazil

PostPosted: Tue Oct 18, 2005 10:20 am    Post subject: Reply with quote

Same problem here. How to solve it?

Code:
Oct 18 00:50:24: vmui| Log for VMware Workstation pid=28270 version=5.0.0 build=build-13124 option=Release
Oct 18 00:50:27: vmui| Using log file /tmp/vmware-claudio/ui-28270.log
Oct 18 00:50:28: vmui| SMBIOS: can't open /dev/mem
Oct 18 00:50:28: vmui| VmhsHostInfoPopulateSystem:  Could not get information from smbios to populate VMDB.
Oct 18 00:50:29: vmui| Using system libcrypto, version 90705F
Oct 18 00:50:30: vmui| VMNetCtlConstruct: no Network Names to list
Oct 18 00:50:30: vmui| VMUIGtkVmdb_LoadDevice: unhandled device class scsiCtlr
Oct 18 00:50:35: vmui| VMHSVMCbPower: Setting state of VM /vm/#ee1aa530adce71b0/ to powerOn with option default
Oct 18 00:50:35: vmui| VMHS: Exec()'ing /opt/vmware/lib/bin/vmware-vmx
Oct 18 00:50:35: vmui| waitpid failed errno = No child processes
Oct 18 00:50:35: vmui| VMHSLaunchVM failed: Failed to connect to peer process
Oct 18 00:50:35: vmui| Dlg::GetButtonInfo(): Duplicate GTK icon/label pair: _Stop and _Stop
Oct 18 00:50:35: vmui| Dlg::GetButtonInfo(): Duplicate GTK icon/label pair: _Forward and _Forward
Oct 18 00:55:14: vmui| AIOMGR-S : stat o=8 r=10 w=3 i=0 br=5060 bw=1536

_________________
A mind that is stretched by a new experience can never go back to its old dimensions. - Oliver Wendell Holmes
Back to top
View user's profile Send private message
Gotterdammerung
l33t
l33t


Joined: 11 Feb 2004
Posts: 627
Location: Rio de Janeiro, Brazil

PostPosted: Tue Oct 18, 2005 10:45 am    Post subject: Reply with quote

I've done a few things to reach another kind of error:

Code:
> modprobe -r vmmon vmnet
> kill -9 `ps -elf | awk '/vm/ && /root/ && !/awk/ { print $4 }'`
> rm /etc/vmware/not_configured
> /etc/init.d/vmware start


and then I faced the following error while trying to start vmware from normal user:

Code:
/opt/vmware/lib/bin/vmware: error while loading shared libraries: libsigc-2.0.so.0: cannot open shared object file: No such file or directory
/opt/vmware/lib/bin/vmware: error while loading shared libraries: libsigc-2.0.so.0: cannot open shared object file: No such file or directory


These threads helped:


https://forums.gentoo.org/viewtopic-t-381798-highlight-vmware.html
https://forums.gentoo.org/viewtopic-t-338655-highlight-vmware+dev+mem.html
https://forums.gentoo.org/viewtopic-t-383782-highlight-vmware+dev+mem.html

[edit]

This worked just fine for superuser.
_________________
A mind that is stretched by a new experience can never go back to its old dimensions. - Oliver Wendell Holmes
Back to top
View user's profile Send private message
Gotterdammerung
l33t
l33t


Joined: 11 Feb 2004
Posts: 627
Location: Rio de Janeiro, Brazil

PostPosted: Wed Oct 19, 2005 1:27 am    Post subject: Reply with quote

I have tried to redefine LD_LIBRARY_PATH before running vmware, but new errors appeared:

Code:
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/opt/vmware/lib/lib/


Code:
/opt/vmware/lib/bin/vmware: error while loading shared libraries: /opt/vmware/lib/lib/libexpat.so.0: cannot read file data: Error 21
/opt/vmware/lib/bin/vmware: error while loading shared libraries: libsigc-2.0.so.0: cannot open shared object file: No such file or directory

_________________
A mind that is stretched by a new experience can never go back to its old dimensions. - Oliver Wendell Holmes
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum