View previous topic :: View next topic |
Author |
Message |
frode.meling n00b
Joined: 03 Nov 2003 Posts: 11
|
Posted: Tue Feb 07, 2006 1:55 pm Post subject: Will someone make a VMWare Server ebuild? |
|
|
Hello
As you probably know (or atleast you know now), VMware has released a Free (as in free beer) version of their virtualization software.
They have called it VMWare Server and from what I have read it should be similar to VMWare GSX server.
- It would be nice if someone could create a ebuild of this.
Here is link to the product on VMware: http://www.vmware.com/products/server/ |
|
Back to top |
|
|
luisfelipe Guru
Joined: 09 Apr 2005 Posts: 377
|
|
Back to top |
|
|
frode.meling n00b
Joined: 03 Nov 2003 Posts: 11
|
Posted: Tue Feb 07, 2006 2:10 pm Post subject: |
|
|
oh. nice.
Thankz |
|
Back to top |
|
|
ikshaar Veteran
Joined: 23 Jul 2002 Posts: 1339 Location: Baltimore, MD
|
Posted: Tue Feb 07, 2006 8:24 pm Post subject: |
|
|
so far there is only a "console" ebuild so I have to admit I don't know : what is the console part ? _________________ "May God stands between you and harm in all the empty places where you must walk" - Babylon 5 |
|
Back to top |
|
|
Uwe Tux's lil' helper
Joined: 13 Sep 2004 Posts: 137 Location: Germany
|
|
Back to top |
|
|
machinelou Apprentice
Joined: 05 Apr 2003 Posts: 267
|
Posted: Tue Feb 28, 2006 12:29 am Post subject: |
|
|
I pretty much a complete noob with ebuilds.. Could someone please interpret this error for me?
Quote: | skinner vmware-server # ebuild vmware-server-1.0.0.20925.ebuild unpack
>>> md5 files vmware-server-1.0.0.20925.ebuild
>>> md5 files files/90vmware-server
>>> md5 files files/vmware-server-1.0.0.20925-vmwaregroup
>>> md5 files files/digest-vmware-server-1.0.0.20925
>>> md5 files files/vmware.rc
>>> md5 files files/vmware-server-1.0.0.20925-vmware-authd-amd64
>>> md5 files files/vmware-server-1.0.0.20925-config2.patch
>>> md5 files files/vmware-server-1.0.0.20925-config3.patch
>>> md5 files files/vmware-server-1.0.0.20925-config4.patch
>>> md5 files files/vmware-server-1.0.0.20925-config.patch
>>> md5 files files/vmware-server-1.0.0.20925-services.patch
>>> md5 files files/vmware-server-1.0.0.20925-vmware-authd-x86
>>> md5 files files/vmware.xml
>>> md5 src_uri VMware-server-e.x.p-20925.tar.gz
>>> Checking VMware-server-e.x.p-20925.tar.gz's mtime...
>>> Not marked as unpacked; recreating WORKDIR...
>>> Unpacking source...
>>> Unpacking VMware-server-e.x.p-20925.tar.gz to /var/tmp/portage/vmware-server-1.0.0.20925/work
gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
!!! ERROR: app-emulation/vmware-server-1.0.0.20925 failed.
!!! Function unpack, Line 381, Exitcode 2
!!! failure unpacking VMware-server-e.x.p-20925.tar.gz
!!! If you need support, post the topmost build error, NOT this status message.
|
|
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Tue Feb 28, 2006 12:35 am Post subject: |
|
|
machinelou wrote: | !!! failure unpacking VMware-server-e.x.p-20925.tar.gz |
Delete that file from /usr/portage/distfiles/, and try again. |
|
Back to top |
|
|
machinelou Apprentice
Joined: 05 Apr 2003 Posts: 267
|
Posted: Tue Feb 28, 2006 12:41 am Post subject: |
|
|
So that's where all those files go.... Thank you! |
|
Back to top |
|
|
machinelou Apprentice
Joined: 05 Apr 2003 Posts: 267
|
Posted: Tue Feb 28, 2006 2:39 am Post subject: |
|
|
After qmerge, vmware-config fails mysteriously... Here's the error:
Quote: | --- /usr/share/mime/packages/
>>> /usr/share/mime/packages/vmware.xml
***
* Updating MIME database in /usr/share/mime...
***
* Updating /etc/vmware/locations
*
* You need to run /opt/vmware/server/bin/vmware-config.pl to complete the install.
*
* For VMware Add-Ons just visit
* http://www.vmware.com/download/downloadaddons.html
*
* Remember by default xinetd only allows connections from localhost
* To allow external users access to vmware-server you must edit
* /etc/xinetd.d/vmware-authd
* and specify a new 'only_from' line
*
* Also note that when you reboot you should run:
* /etc/init.d/vmware start
* before trying to run vmware. Or you could just add
* it to the default run level:
* rc-update add vmware default
* Remember, in order to connect to vmware-server, you have to
* be in the 'vmware' group.
* VMWare allows for the potential of overwriting files as root. Only
* give VMWare access to trusted individuals.
>>> Regenerating /etc/ld.so.cache...
>>> app-emulation/vmware-server-1.0.0.20925 merged.
skinner vmware-server # vmware-config.pl
Making sure services for VMware Server are stopped.
/etc/vmware/init.d/vmware: line 726: [: -: integer expression expected
/etc/vmware/init.d/vmware: line 667: [: -: integer expression expected
/etc/vmware/init.d/vmware: line 684: [: -: integer expression expected
Stopping VMware services:
Virtual machine monitor failed
Unable to stop services for VMware Server
Execution aborted.
skinner vmware-server # |
When I try to just do a straight-up emerge vmware-server, here's what I get:
Quote: | skinner vmware-server # emerge vmware-server
Calculating dependencies ...done!
>>> emerge (1 of 7) app-emulation/vmware-server-modules-1.0.0.20925 to /
!!! No package manifest found: /usr/local/portage/app-emulation/vmware-server-modules/Manifest
skinner vmware-server #
|
I've done the digest and it appears to work successfully. So, I'm not sure why the regular emerge fails but, either way, after doing the manual emerge (digest, unpack, compile, install, qmerge) vmware-config.pl fails. |
|
Back to top |
|
|
machinelou Apprentice
Joined: 05 Apr 2003 Posts: 267
|
Posted: Tue Feb 28, 2006 4:31 pm Post subject: |
|
|
Okay.. I've got vmware console working and I can create virtual machines but I can't actually power them on. Here's the error I get:
Quote: | * VMware Server is installed, but it has not been (correctly) configured
* for the running kernel. To (re-)configure it, invoke the
* following command: /opt/vmware/server/bin/vmware-config.pl.
|
When I run vmware-config.pl, I get the following:
Quote: | Making sure services for VMware Server are stopped.
/etc/vmware/init.d/vmware: line 726: [: -: integer expression expected
/etc/vmware/init.d/vmware: line 667: [: -: integer expression expected
/etc/vmware/init.d/vmware: line 684: [: -: integer expression expected
Stopping VMware services:
Virtual machine monitor failed
Bridged networking on /dev/vmnet0 done
DHCP server on /dev/vmnet1 done
Host-only networking on /dev/vmnet1 done
DHCP server on /dev/vmnet8 done
NAT service on /dev/vmnet8 done
Host-only networking on /dev/vmnet8 done
Virtual ethernet failed
Unable to stop services for VMware Server
Execution aborted.
|
When I run vmware-config.pl -skipstopstart, I get a little further:
Quote: | skinner vision # vmware-config.pl -skipstopstart
Configuring fallback GTK+ 2.4 libraries.
File /usr/share/mime/packages/vmware.xml is backed up to
/usr/share/mime/packages/vmware.xml.old.0.
In which directory do you want to install the mime type icons?
[/usr/share/icons]
What directory contains your desktop menu entry files? These files have a
.desktop file extension. [/usr/share/applications]
In which directory do you want to install the application's icon?
[/usr/share/pixmaps]
Trying to find a suitable vmmon module for your running kernel.
None of the pre-built vmmon modules for VMware Server is suitable for your
running kernel. Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? [yes]
Using compiler "/usr/bin/gcc". Use environment variable CC to override.
Your kernel was built with "gcc" version "3.3.5", while you are trying to use
"/usr/bin/gcc" version "3.3.6". This configuration is not recommended and VMware
Server may crash if you'll continue. Please try to use exactly same compiler as
one used for building your kernel. Do you want to go with compiler
"/usr/bin/gcc" version "3.3.6" anyway? [no] yes
What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.10-gentoo-r6/build/include]
Extracting the sources of the vmmon module.
Building the vmmon module.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config2/vmmon-only'
make -C /lib/modules/2.6.10-gentoo-r6/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.10-gentoo-r6'
CC [M] /tmp/vmware-config2/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config2/vmmon-only/linux/hostif.o
CC [M] /tmp/vmware-config2/vmmon-only/common/cpuid.o
CC [M] /tmp/vmware-config2/vmmon-only/common/hash.o
CC [M] /tmp/vmware-config2/vmmon-only/common/memtrack.o
CC [M] /tmp/vmware-config2/vmmon-only/common/phystrack.o
CC [M] /tmp/vmware-config2/vmmon-only/common/task.o
CC [M] /tmp/vmware-config2/vmmon-only/common/vmx86.o
CC [M] /tmp/vmware-config2/vmmon-only/vmcore/moduleloop.o
LD [M] /tmp/vmware-config2/vmmon-only/vmmon.o
Building modules, stage 2.
MODPOST
CC /tmp/vmware-config2/vmmon-only/vmmon.mod.o
LD [M] /tmp/vmware-config2/vmmon-only/vmmon.ko
make[1]: Leaving directory `/usr/src/linux-2.6.10-gentoo-r6'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/vmware-config2/vmmon-only'
Unable to make a vmmon module that can be loaded in the running kernel:
insmod: error inserting '/tmp/vmware-config2/vmmon.o': -1 File exists
There is probably a slight difference in the kernel configuration between the
set of C header files you specified and your running kernel. You may want to
rebuild a kernel based on that directory, or specify another directory.
For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".
Execution aborted.
skinner vision #
|
|
|
Back to top |
|
|
onkelfusspilz Tux's lil' helper
Joined: 26 Aug 2002 Posts: 130 Location: Germany
|
Posted: Tue Feb 28, 2006 9:35 pm Post subject: |
|
|
Hi,
the ebuilds provided at https://bugs.gentoo.org/show_bug.cgi?id=122500 worked for my, but I needed to copy the /etc/init.d/vmware over from /etc/vmware/init.d/vmware and rerun the config.pl to make it work. And I needed to do a "mknod -m 0600 /dev/vmmon c 10 165" since the /dev/vmmon wasn't created automatically, but the "vmmon" module loads correctly! (Maybe a udev-problem?)
But i get stucking at a different point: The Network doesn't work. I used the new Gentoo 2006 LiveCD and the module pcnet loads (or I loaded it on myself, don't remember) but I can bring up the device, but I'm unable to ping a single machine in my network. DHCP doesn't work but "ethtool eth0" reports one link up. I've configured bridged networking and vmnet loads fine and /dev/vmnet is in place.
Anyone with this problem? Or better a hint? |
|
Back to top |
|
|
machinelou Apprentice
Joined: 05 Apr 2003 Posts: 267
|
Posted: Tue Feb 28, 2006 10:26 pm Post subject: |
|
|
Onkel,
The version of vmware in /etc/init.d and /etc/vmware/init.d are indeed different, however, /dev/vmmon does exist on my system without me having to do anything. I've figured out that vmware-config.pl is failing party because it can't find a program called vmmonUseCount. Do you know where this program comes from? I've installed and reinstalled the ebuilds several times now so it's unusual that I don't have this program.
With respect to you problem, as far as I know, my network seems to work fine (although I'm not exactly using it, I just don't have any errors with respect to that). Thanks for your help, sorry I can't so more |
|
Back to top |
|
|
jonnevers Veteran
Joined: 02 Jan 2003 Posts: 1594 Location: Gentoo64 land
|
Posted: Wed Mar 01, 2006 4:41 pm Post subject: |
|
|
Using the files on bgo I had no issues emerging vmware-server and vmware-server-modules. Well one issue but that was because my /usr/src/linux pointed to 1) the not currently running kernel and 2) a kernel src that hasn't even been compiled.
Other then that, it loaded up my previously defined virtual machine without any errors and works as well as vmware-workstation worked.
- Jon |
|
Back to top |
|
|
onkelfusspilz Tux's lil' helper
Joined: 26 Aug 2002 Posts: 130 Location: Germany
|
Posted: Wed Mar 01, 2006 7:49 pm Post subject: |
|
|
Hi machinelou,
on my installation which went without any errors reported by the ebuilds, no /etc/init.d/vmware rc-script was created, so I searched for one, located it at /etc/vmware/etc/init.d and used it because I had no alternative. But the init-script works great for me (it doesn't output the eye-candy [ok] symbols gentoos /sbin/functions based scripts normally do, but it's doing its job).
As you said you use a different init-script, did you allready tried to use the one from "/etc/vmware/etc/init.d/vmware"? Maybe this solves your problem.
I looked for a "vmmonUseCount" on my system, there isn't a file called like that but there wasn't any errors in my installation process reporting that this file is missing.
I've solved my network problem and it was a really dump failure: I've changed my network devices order lately and didn't remember that, so I bridget to a wrong network card.
Everything works nice now. I started an installation with the new Gentoo Installer from the LiveCD in my VM to play around with it and it looks promising!
Thank you,
onkelfusspilz |
|
Back to top |
|
|
stunney n00b
Joined: 06 Mar 2006 Posts: 1
|
Posted: Mon Mar 06, 2006 8:25 pm Post subject: Getting a Versionator error |
|
|
Hello All, Just installed 2006.0 from the LiveCD, and tried using the ebuild provided in the BugZilla link and following the steps in the howto, and I'm getting the following error (am I missing an env-var or something?):
stephen@vmafix /usr/portage/app-emulation/vmware-server $ sudo ebuild vmware-server-1.0.0.20925.ebuild digest
: command not foundulation/vmware-server/vmware-server-1.0.0.20925.ebuild: line 4:
: command not foundulation/vmware-server/vmware-server-1.0.0.20925.ebuild: line 8:
.eclass: No such file or directoryne 1524: /usr/portage/eclass/versionator
!!! ERROR: app-emulation/vmware-server-1.0.0.20925 failed.
!!! Function inherit, Line 1525, Exitcode 1
.eclass in inherit()sr/portage/eclass/versionator
!!! If you need support, post the topmost build error, NOT this status message.
aux_get(): (0) Error in app-emulation/vmware-server-1.0.0.20925 ebuild. (1)
Check for syntax error or corruption in the ebuild. (--debug)
: command not foundulation/vmware-server/vmware-server-1.0.0.20925.ebuild: line 4:
: command not foundulation/vmware-server/vmware-server-1.0.0.20925.ebuild: line 8:
.eclass: No such file or directoryne 1524: /usr/portage/eclass/versionator
!!! ERROR: app-emulation/vmware-server-1.0.0.20925 failed.
!!! Function inherit, Line 1525, Exitcode 1
.eclass in inherit()sr/portage/eclass/versionator
!!! If you need support, post the topmost build error, NOT this status message.
aux_get(): (0) Error in app-emulation/vmware-server-1.0.0.20925 ebuild. (1)
Check for syntax error or corruption in the ebuild. (--debug)
Traceback (most recent call last):
File "/usr/bin/ebuild", line 71, in ?
a = portage.doebuild(ebuild, arg, portage.root, tmpsettings, debug=debug, cleanup=("noauto" not in portage.features), tree=mytree)
File "/usr/lib/portage/pym/portage.py", line 2435, in doebuild
eapi = db[root][tree].dbapi.aux_get(mycpv, ["EAPI"])[0]
File "/usr/lib/portage/pym/portage.py", line 5407, in aux_get
raise KeyError
KeyError _________________ Blah! |
|
Back to top |
|
|
ikshaar Veteran
Joined: 23 Jul 2002 Posts: 1339 Location: Baltimore, MD
|
Posted: Tue Mar 07, 2006 6:24 pm Post subject: |
|
|
stunney: i would recommend you double check your installation first before to go on testing package not even in portage. Your installation of testing package in the portage tree is NOT the recommend way to use these packages. Please refer to Gentoo docs to setup an overlay tree correctly. Double check also sudo users, portage group permissions, etc... All the message looks like your portage is not correctly setup.
Installation of vmware-server and modules went fine here. btw, for amd64 users, warning messages are scary ... but do not block installation. _________________ "May God stands between you and harm in all the empty places where you must walk" - Babylon 5 |
|
Back to top |
|
|
Uwe Tux's lil' helper
Joined: 13 Sep 2004 Posts: 137 Location: Germany
|
Posted: Tue Mar 07, 2006 8:09 pm Post subject: |
|
|
ikshaar wrote: | not even in portage |
by the way: does anybody know when to expect it getting into portage? |
|
Back to top |
|
|
jonnevers Veteran
Joined: 02 Jan 2003 Posts: 1594 Location: Gentoo64 land
|
Posted: Tue Mar 07, 2006 10:38 pm Post subject: |
|
|
Uwe wrote: | ikshaar wrote: | not even in portage |
by the way: does anybody know when to expect it getting into portage? |
I'd imagine it will be commited into portage via the unstable arches (~ARCH) when all issues with the ebuild are worked out.
https://bugs.gentoo.org/show_bug.cgi?id=122500 - looks like it is still being worked on as of today.
I've found it to work quite nicely on my amd64 system.
- Jon |
|
Back to top |
|
|
ikshaar Veteran
Joined: 23 Jul 2002 Posts: 1339 Location: Baltimore, MD
|
Posted: Wed Mar 08, 2006 3:44 pm Post subject: |
|
|
Anyone got the console working remotely ?
Server part works perfectly fine, and connection on localhost is good. But I cannot get to connect with console from a remote computer. xinet is activated (wmware-serverd starts fine), but console always freezes when trying to connect... (tested console under Linux and Windows).
I supposed I forgot to configure something to allow users to connect to the VM, but I have no clue what ...
the VM is not set private...
i don't have a firewall
[EDIT]: found it. /etc/xinetd.conf had the localhost only line. commmented it out, it works. A middle ground would probably be a local network mask... if it's possible to set it up that way. _________________ "May God stands between you and harm in all the empty places where you must walk" - Babylon 5 |
|
Back to top |
|
|
tsunam Retired Dev
Joined: 23 Feb 2004 Posts: 343
|
Posted: Wed Mar 08, 2006 9:57 pm Post subject: |
|
|
does Xnested vmware count _________________ I'm not afraid of happy endings, just afraid my life wont work that way. |
|
Back to top |
|
|
|