Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 174262 - vmware-server-1.0.2.39867 problem with vmware-server-console
Summary: vmware-server-1.0.2.39867 problem with vmware-server-console
Status: RESOLVED REMIND
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo VMWare Bug Squashers [disabled]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-12 11:00 UTC by Arthur I.
Modified: 2007-04-17 08:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arthur I. 2007-04-12 11:00:26 UTC
after update to vmware-server-1.0.2.39867 .. i can't power on my vm.

i get "Unable to connect to the MKS: You need execute access in order to connect with the VMware Server Console.  Access denied for config file: /home/ftp/spool/vm/rhel4.4-server/Red Hat Enterprise Linux 4.vmx."

i try to set permisson on this file, on this folder, on full tree.. nothing help ;(
even, start vmware-server-console under 'root'..
i try to unemerge vmware-server, vmware-server-console, vmware-modules
rm /etc/vmware*
rm /opt/vmware*
and emerge again .. but same problem... 
i get _blank_ screen in console when i power on VM .. and same message  ;( 

Reproducible: Always




emerge info
*** Deprecated use of action 'info', use '--info' instead
Portage 2.1.2.3 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.5-r1, 2.6.20-gentoo i686)
=================================================================
System uname: 2.6.20-gentoo i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System release 1.12.10
Timestamp of tree: Tue, 10 Apr 2007 11:00:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.3.6, 2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -ggdb -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -ggdb -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer mmx prelink sandbox sfperms splitdebug strict"
GENTOO_MIRRORS="http://fido.online.kz/gentoo ftp://fido.online.kz/gentoo/pub "
LANG="ru_RU.utf8"
LC_ALL=""
LINGUAS="ru en en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/voip /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X a52 aac aalib acpi aiglx alsa ao apache2 artworkextra asf asterisk avahi background bash-completion beagle berkdb bitmap-fonts bluetooth boundschecking branding browserplugin bzip2 cairo caps cdparanoia cdr chm clamav cli clvm cman cpudetection cracklib crypt css cups curl cursors dbus device-mapper dga divx4linux djvu dlloader dri dvd dvdr dvdread dynagraph eds emerald encode examples exif expat extensions extras fame ffmpeg firefox flac fortran gd gdbm gdm ggi gif gimp glade glitz glut gnome gnutls gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml gulm hal howl icons iconv idea idn imagemagick imap imlib inherit-graph isdnlog ithreads java javascript jbig jpeg jpeg2k jpg kdm kerberos krb4 ladspa largeterminal lcms ldap libcaca libclamav libg++ libnotify logitech-mouse logrotate mad mailwrapper matrox mbox mbrola midi mmx mmx2 mng mono mozbranding mp3 mpeg mplayer mpm-prefork mppe-mppc musepack musicbrainz mysql nautilus ncurses networking nls nntp noamazon nojoystick nptl nptlonly nsplugin offensive ogg openal opengl overlays pam pango pcre pdf perl php pic plugin png ppds pppd profile python qt3 qt4 quicktime rar rdesktop readline real reflection regex ruby samba sasl sdl sendfile session silc slang sound sourceview spell spl sql sqlite sse sse2 ssl startup-notification stats subversion svg syslog tcpd tga theora threads thunderbird tiff timidity tools truetype truetype-fonts type1-fonts ucs2 unicode usb v4l valgrind vidix vim-with-x visualization vorbis webdav widescreen win32codecs wma wma123 wmf wxgtk1 x86 xanim xattr xcomposite xforms xine xinerama xml xml2 xorg xprint xv xvid zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en en_US" USERLAND="GNU" VIDEO_CARDS="nvidia v4l"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Mike Auty (RETIRED) gentoo-dev 2007-04-12 21:00:05 UTC
Arthur, please verify that the server is all running properly, that you choose a user in the "vmware" group that can log into the console, and that your vmware virtual machine files are all owned and read/write/executable by that user...
Comment 2 Arthur I. 2007-04-13 14:02:15 UTC
ai@ai ~ $ id ai
uid=1002(ai) gid=100(users) groups=100(users),0(root),4(adm),6(disk),10(wheel),11(floppy),16(cron),18(audio),19(cdrom),20(dialout),21(ftp),26(tape),35(games),80(cdrw),250(portage),445(vmware),446(plugdev)

ai@ai ~ $ ls -lsa /home/ftp/spool/vm/ | grep rhel4
      4 drwxrwxrwx  2 ai   users       4096 Апр 12 12:19 rhel4.4-client
      4 drwxrwxrwx  2 ai   users       4096 Апр 13 11:16 rhel4.4-server

ai@ai ~ $ ls -lsa /home/ftp/spool/vm/rhel4.4-server/
total 8396960
      4 drwxrwxrwx 2 ai   users       4096 Apr 13 11:16 .
      4 drwxrwxrwt 4 root root        4096 Apr 12 13:50 ..
2098948 -rwxrwxrwx 1 ai   users 2147221504 Nov  4 16:59 Red Hat Enterprise Linux 4-f001.vmdk
2098948 -rwxrwxrwx 1 ai   users 2147221504 Nov  4 16:59 Red Hat Enterprise Linux 4-f002.vmdk
2098948 -rwxrwxrwx 1 ai   users 2147221504 Nov  4 16:59 Red Hat Enterprise Linux 4-f003.vmdk
2098948 -rwxrwxrwx 1 ai   users 2147221504 Nov  4 16:59 Red Hat Enterprise Linux 4-f004.vmdk
   1028 -rwxrwxrwx 1 ai   users    1048576 Nov  3 13:31 Red Hat Enterprise Linux 4-f005.vmdk
      4 -rwxrwxrwx 1 ai   users        598 Nov  4 16:40 Red Hat Enterprise Linux 4.vmdk
      0 -rwxrwxrwx 1 ai   users          0 Apr 12 11:38 Red Hat Enterprise Linux 4.vmsd
      4 -rwxrwxrwx 1 ai   users        914 Apr 12 14:56 Red Hat Enterprise Linux 4.vmx
     12 -rwxrwxrwx 1 ai   users       8664 Apr 12 14:56 nvram
     28 -rw-r--r-- 1 ai   users      24680 Apr 12 14:53 vmware-0.log
     28 -rw-r--r-- 1 ai   users      25767 Apr 12 14:53 vmware-1.log
     28 -rw-r--r-- 1 ai   users      25765 Apr 12 14:08 vmware-2.log
     28 -rw-r--r-- 1 ai   users      24678 Apr 12 14:56 vmware.log


btw
as you can read before .. i try run vm under root but get same message
Comment 3 Arthur I. 2007-04-13 15:10:01 UTC
additionally, this message appear only when i click "PLAY" on vm.
i successful connect by vmware-server-console to vmware-server and i can change vm properties. and i think vm started:
ai@ai ~ $ ps -ef | grep vmx
ai       23365     1 65 19:08 ?        00:00:17 /opt/vmware/server/lib/bin/vmware-vmx -C /home/ftp/spool/vm/rhel4.4-server/Red Hat Enterprise Linux 4.vmx -@ ""
ai       23409 23386  0 19:08 pts/0    00:00:00 grep --colour=auto vmx

but message appear and i get _blank_ screen ;(
Comment 4 Mike Auty (RETIRED) gentoo-dev 2007-04-14 01:40:28 UTC
Arthur, I realize these may seem like obvious steps, but it's simply to eliminate the obvious problems quickly at the outset.  Please could you verify that both vmware-server and the vmware-server-console are the same version (there have been known problems connecting to vmware-server-1.0.2 using vmware-server-console-1.0.1) and also please ensure that the permissions on the files in /etc/vmware are as follows:

-rw-rw-r--   1 root vmware     662 Mar  2 23:57 config
-rw-r--r--   1 root vmware     279 Jul 17  2006 vm-list
-rw-r--r--   1 root vmware     190 Aug 31  2006 vm-list-private
Comment 5 Arthur I. 2007-04-17 06:12:05 UTC
my version is :
vmware-server-console-1.0.2.39867
vmware-modules-1.0.0.15-r1
vmware-server-1.0.2.39867

ai vmware # LANG=C ls -lsa /etc/vmware*
/etc/vmware:
total 156
 4 drwxrwx---   5 root vmware  4096 Apr 13 11:16 .
 8 drwxr-xr-x 121 root root    8192 Apr 16 13:25 ..
 4 -rw-rw-r--   1 root vmware   553 Apr 12 13:50 config
 4 drwxr-xr-x   9 root vmware  4096 Apr 12 12:57 init.d
20 -rwxr-xr-x   1 root vmware 16606 Apr 12 12:56 installer.sh
 4 -rw-r--r--   1 root root     375 Apr 12 13:00 license.vs.1.0-00
84 -rw-r--r--   1 root vmware 78369 Apr 12 13:50 locations
 4 -rw-rw-r--   1 root root      86 Apr 12 13:49 netmap.conf
 4 drwxr-xr-x   2 root vmware  4096 Apr 12 12:57 pam.d
 4 -rw-r--r--   1 root vmware   182 Apr 12 12:56 signing-key.pub
 4 drwxr-xr-x   2 root root    4096 Apr 12 12:59 ssl
 4 -rw-rw-r--   1 root vmware   161 Apr 12 13:50 vm-list
 4 -rw-rw-r--   1 root vmware    87 Apr 12 13:50 vm-list-private
 4 -rw-r--r--   1 root vmware     7 Apr 12 12:56 vmwaregroup

/etc/vmware-server-console:
total 72
 4 drwxrwx---   2 root vmware  4096 Apr 12 13:48 .
 8 drwxr-xr-x 121 root root    8192 Apr 16 13:25 ..
 4 -rw-r--r--   1 root vmware    42 Apr 12 13:46 config
20 -rwxr-xr-x   1 root vmware 16606 Apr 12 13:46 installer.sh
36 -rw-r--r--   1 root vmware 35285 Apr 12 13:48 locations
Comment 6 Mike Auty (RETIRED) gentoo-dev 2007-04-17 08:07:39 UTC
Hiya Arthur, thanks for the extra information, that all looks as it should.  I've been looking around and almost everyone who reports the problem suggests that changing the permissions works, and there's only been one case I could find where changing the permissions didn't work (http://www.vmware.com/community/thread.jspa?threadID=80494).

Since you seemed to think that this was caused during the upgrade of vmware-server, I'd like to ask you to downgrade to vmware-server-1.0.1 (and vmware-server-console-1.0.1) to see if that starts working again, or if it's still an issue.  Also, please let me know if you're using any unusual filesystems under /home/ftp, vmware-server is known not to work well with JFS and I'm not certain it would run smoothly on NFS either.  Thanks...
Comment 7 Arthur I. 2007-04-17 08:15:14 UTC
ok i will try downgrade right now..

/dev/hdb1 on /home/ftp/spool type ext3 (rw,noexec,noatime)

ai ~ # stat /home/ftp/spool/
  File: `/home/ftp/spool/'
  Size: 4096            Blocks: 8          IO Block: 4096   Каталог
Device: 341h/833d       Inode: 2           Links: 16
Access: (0777/drwxrwxrwx)  Uid: (   21/     ftp)   Gid: (   21/     ftp)
Access: 2005-05-02 04:02:03.000000000 +0400
Modify: 2007-04-12 13:50:03.000000000 +0400
Change: 2007-04-12 13:50:03.000000000 +0400

ai ~ # stat /home/ftp/spool/vm/
  File: `/home/ftp/spool/vm/'
  Size: 4096            Blocks: 8          IO Block: 4096   Каталог
Device: 341h/833d       Inode: 1523713     Links: 4
Access: (0777/drwxrwxrwx)  Uid: (    0/    root)   Gid: (  445/  vmware)
Access: 2007-04-10 19:02:49.000000000 +0400
Modify: 2007-04-12 13:50:04.000000000 +0400
Change: 2007-04-17 12:12:56.000000000 +0400
Comment 8 Arthur I. 2007-04-17 08:17:06 UTC
hey! i found problem ..
problem is mount option "noexec" 
Comment 9 Arthur I. 2007-04-17 08:18:00 UTC
mount /dev/hdb1 -o exec,remount

solve this problem
Comment 10 Arthur I. 2007-04-17 08:19:49 UTC
huh... previous version was not affected by this option .. 
Comment 11 Mike Auty (RETIRED) gentoo-dev 2007-04-17 08:23:41 UTC
Arthur I just spotted the same issue and was trying to write to you about it, but you beat me to it...  5;)

Unfortunately there isn't much I can do to help, other than add another ewarn line at the end of the ebuild (which already has a fair number of warnings to read through).  If you think it's worth it, please let me know and I'll make sure it's in the next release, if not then I'll just leave it, but reset the bug to FIXED.  Thanks for your patience in getting this bug solved...  5:)