After installation vmware-server can't be configured. Reproducible: Always Steps to Reproduce: 1. emerge vmware-server 2. /opt/vmware/server/bin/vmware-config.pl Actual Results: server ~ # /opt/vmware/server/bin/vmware-config.pl Making sure services for VMware Server are stopped. * WARNING: vmware is already stopped Unable to stop services for VMware Server Execution aborted. server ~ # emerge --info Portage 2.1.7.1 (default/linux/x86/10.0/desktop, gcc-4.4.2, glibc-2.10.1-r0, 2.6 .31-gentoo-r4 i686) ================================================================= System uname: Linux-2.6.31-gentoo-r4-i686-AMD_Athlon-tm-_XP_3200+-with-gentoo-2. 0.1 Timestamp of tree: Thu, 29 Oct 2009 06:45:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.0_p35 dev-java/java-config: 2.1.9-r1 dev-lang/python: 2.6.3, 3.1.1-r1 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.5.2-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.20 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -funroll-all-loops -fpee l-loops -funswitch-loops -funit-at-a-time" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shu tdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/ fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active / /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuil d /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def .d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -funroll-all-loops -fp eel-loops -funswitch-loops -funit-at-a-time" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protec t-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.bg/ http://mirror.yandex.ru/gentoo-distf iles/ ftp://mirror.yandex.ru/gentoo-distfiles/ http://distfiles.gentoo.bg/ http: //ftp.gentoo.bg/ http://ftp.fi.muni.cz/pub/linux/gentoo/ ftp://ftp.fi.muni.cz/pu b/linux/gentoo/ http://gentoo.mirror.web4u.cz/ ftp://gentoo.mirror.web4u.cz/ htt p://ftp.linux.ee/pub/gentoo/distfiles/ ftp://ftp.linux.ee/pub/gentoo/distfiles/ http://mirror.ovh.net/gentoo-distfiles/ ftp://mirror.ovh.net/gentoo-distfiles/ f tp://gentoo.imj.fr/pub/gentoo/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ ftp://f tp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pu/ Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://li nux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/ gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster. de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.se c.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirror s/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.m esh-solutions.com/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ http://gentoo .mneisen.org/ http://de-mirror.org/distro/gentoo/ ftp://de-mirror.org/distro/gen too/" LANG="ru_RU.UTF-8" LC_ALL="" LDFLAGS="-Wl,-O1" LINGUAS="ru en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclu de=/local --exclude=/packages" PORTAGE_TMPDIR="/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow 3dnowext 7zip X X509 Xaw3d a52 aac accessibility acpi administrator a im alias alisp alsa amarok amarok2 amr amrnb analogtv aotuv apache2 aspnet aspne t2 async audit authfile auto-completion automount avahi bash-completion berkdb b ind-mysql boost branding bzip2 c++ cairo caps ccache cdaudio cdb cdda cddb cdio cdparanoia cdr cdrom cdsound cg cgi chroot clamav clamd compress consolekit cpio cracklib crypt cups curl cursors custom-optimization cxx cyrillic dbus demo dev ice-mapper dga dhcp directfb directv divx djvu dmi dnd dts dvbplayer dvd dvdarch ive dvdchapjump dvdr dynamic emboss encode examples exif extras fam fame fastbui ld fbdev ffmpeg filter firefox firefox3 flac floppy ftp gdb gdbm gif gimp glut g mp gpm gstreamer hal hash http icons iconv icq ieee1394 ivtv jadetex java java-e xternal java-internal javascript jpeg jpeg2k kde kde4 kipi lame libnotify livejo urnal logitech-mouse logrotate mad maps matroska mikmod mime mmx mng modules mon o moonlight mouse mozdom mozilla mozsha1 mp2 mp3 mp4 mp4live mpeg mpeg2 mpi-thre ads mplayer mpu401 mudflap music ncurses network nforce2 nls nocd nptl nvidia od k ogg ogg123 opengl openmp openssl opensslcrypt opera oscar pam pcre pdf perl ph p png posix ppds python python3 qt3 qt3support qt4 quicktime rar rdesktop readli ne reflection reiserfs rsync ruby samba scanner sdl server session sms sound sou ndex sounds spell spl srt sse ssl startup-notification suexec svg svga sysfs tcp d tga themes threads thunar tiff tivo tk toolbar tools translator truetype tv un icode usb vboxwebsrv vcd vga videos vmware vnc vorbis wav web win32codecs winbin d winpopup wma wmf wmp x264 x86 xcomposite xine xinerama xml xmlwriter xorg xscr eensaver xulrunner xv xvid xvmc zip zlib zoran" ALSA_CARDS="intel8x0" ALSA_PCM_P LUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route sha re shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile auth z_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir di sk_cache env expires ext_filter file_cache filter headers include info log_confi g logio mem_cache mime mime_magic negotiation rewrite setenvif speling status un ique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mou se evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" SANE_BACKENDS="mustek mustek_pp mus tek_usb mustek_usb2 gt68xx" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_CO MPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
I've got the same here on my ~amd64-machine and vmware-server-2.0.2.203138 Of course the script can't stop the vmware-server, it isn't yet configured or even running. Didn't yet dig further into it, gotta get away from PC now :/
Try /opt/vmware/server/bin/vmware-config.pl --skip-stop-start
Yes, that works. At least I was able to complete that setup script. Don't have the time for further testing right now, maybe sometime during the weekend.
I installed app-emulation/vmware-server-2.0.1.156745-r3, I found two big security concerns about remote access, and have solved them. If anyone shows interest, ask here and I will submit a patched .ebuild. ################################# Remote access 1 ####################### 1) after `/etc/init.d/vmware start`, `netstat -lp` have the following additional lines, showing that vmware-server and its eventual holes are accessible from remote: Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 *:902 *:* LISTEN 27933/vmware-authdl tcp 0 0 *:8333 *:* LISTEN 28048/vmware-hostd tcp 0 0 *:8307 *:* LISTEN 28048/vmware-hostd tcp 0 0 *:8222 *:* LISTEN 28048/vmware-hostd tcp 0 0 *:8005 *:* LISTEN 27924/webAccess tcp 0 0 *:8009 *:* LISTEN 27924/webAccess tcp 0 0 *:8308 *:* LISTEN 27924/webAccess FIXED: I made a wrapper to /opt/vmware/server/sbin/vmware-authdlauncher (listening 902) and /opt/vmware/server/lib/bin/vmware-hostd (listening 8222 and 8333) using dev-python/python-ptrace-0.6 for their startup, and I patched /opt/vmware/server/lib/webAccess/tomcat/apache-tomcat-6.0.16/conf/server.xml (ports 8308, 8307, 8009 and 8005) so that I now have the following lines in `netstat -lp`: Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 localhost.localdoma:902 *:* LISTEN 27933/vmware-authdl tcp 0 0 localhost.localdom:8333 *:* LISTEN 28048/vmware-hostd tcp 0 0 localhost.localdom:8307 *:* LISTEN 28048/vmware-hostd tcp 0 0 localhost.localdom:8222 *:* LISTEN 28048/vmware-hostd tcp 0 0 localhost.localdom:8005 *:* LISTEN 27924/webAccess tcp 0 0 localhost.localdom:8009 *:* LISTEN 27924/webAccess tcp 0 0 localhost.localdom:8308 *:* LISTEN 27924/webAccess Now vmware-server is only listening to 127.0.0.1. The users will access to vmware-server through ssh tunnel. ################################# Remote access 2 ####################### 2) The interface vmnet0 and all virtual machines will listen all packets on eth0 with default choices of "emerge vmware-server --config". FIXED: I emerged net-misc/bridge-utils-1.4, added "brctl addbr ethvmware0" in /etc/init.d/vmware and gave ethvmware0 to "emerge vmware-server --config".