Can't get Vmare-server working

Discussion for all VM - Installing, Software, Problems

Moderator: Moderators

Can't get Vmare-server working

Postby Callipyges » Fri Jan 08, 2010 15:16

Hi,

I what can be told Noob concerning Sabayon but I think I can think :mrgreen:

As I said I can't get Vmware-Server working. I install packages by entropy and I launch Vmware Remote Console (guess it was the graphic interface) but nothing happens after the icon stop bouncing.

So I tried the How-to setup VMware-Server for Sabayon but I just successed in broken my make.conf (now it's ok)

So by precaution I uninstalled all vmware on sulfur and did
Code: Select all
# emerge -Cavt vmware-server && emerge -Cavt vmware-modules
>>> These are the packages that would be unmerged:
--- Couldn't find 'null/vmware-server' to unmerge.
>>> No packages selected for removal by unmerge
>>> These are the packages that would be unmerged:
--- Couldn't find 'null/vmware-modules' to unmerge.
>>> No packages selected for removal by unmerge

# layman -a vmware
* Failed to add overlay "vmware".
* Error was: Overlay "vmware" already in the local list!

#/etc/portage/package.keywords: [+]
app-emulation/vmware-server ~x86
app-emulation/vmware-modules ~x86




# emerge -avt vmware-server                                         

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild  N F  ] app-emulation/vmware-server-2.0.2.203138  494,187 kB
[ebuild  N    ]  app-emulation/vmware-modules-1.0.0.24-r1  0 kB     

Total: 2 packages (2 new), Size of downloads: 494,187 kB
Fetch Restriction: 1 package (1 unsatisfied)           

!!! The following installed packages are masked:
- net-wireless/broadcom-sta-5.10.91.9-r6 (masked by: Broadcom license(s))
A copy of the 'Broadcom' license is located at '/usr/portage/licenses/Broadcom'.

- games-fps/quake3-data-1.32b (masked by: Q3AEULA license(s))
A copy of the 'Q3AEULA' license is located at '/usr/portage/licenses/Q3AEULA'.

- dev-java/sun-jdk-1.6.0.17 (masked by: dlj-1.1 license(s))
A copy of the 'dlj-1.1' license is located at '/usr/portage/licenses/dlj-1.1'.

- dev-java/sun-jre-bin-1.6.0.17 (masked by: dlj-1.1 license(s))
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.                         


Would you like to merge these packages? [Yes/No] Y

>>> Verifying ebuild manifests

>>> Starting parallel fetch

>>> Emerging (1 of 2) app-emulation/vmware-modules-1.0.0.24-r1
 * vmware-modules-1.0.0.24.x86.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                [ ok ]
 * checking ebuild checksums ;-) ...                                                                                  [ ok ]
 * checking auxfile checksums ;-) ...                                                                                 [ ok ]
 * checking miscfile checksums ;-) ...                                                                                [ ok ]
 * CPV:  app-emulation/vmware-modules-1.0.0.24-r1                                                                           
 * REPO: gentoo                                                                                                             
 * USE:  elibc_glibc kernel_linux userland_GNU x86                                                                         
 * Determining the location of the kernel source code                                                                       
 * Found kernel source directory:                                                                                           
 *     /usr/src/linux                                                                                                       
 * Could not find a Makefile in the kernel source directory.
 * Please ensure that /usr/src/linux points to a complete set of Linux sources
 * Unable to calculate Linux Kernel version for build, attempting to use running version
 * Could not find a usable .config in the kernel source directory.
 * Please ensure that /usr/src/linux points to a configured set of Linux sources.
 * If you are using KBUILD_OUTPUT, please set the environment var so that
 * it points to the necessary object directory so that it might find .config.
 * ERROR: app-emulation/vmware-modules-1.0.0.24-r1 failed:
 *   Kernel not configured; no .config found in
 *
 * Call stack:
 *                           ebuild.sh, line  48:  Called pkg_setup
 *   vmware-modules-1.0.0.24-r1.ebuild, line  32:  Called linux-mod_pkg_setup
 *                    linux-mod.eclass, line 580:  Called require_configured_kernel
 *                   linux-info.eclass, line 281:  Called die
 * The specific snippet of code:
 *              die "Kernel not configured; no .config found in ${KV_OUT_DIR}"
 *
 * If you need support, post the output of 'emerge --info =app-emulation/vmware-modules-1.0.0.24-r1',
 * the complete build log and the output of 'emerge -pqv =app-emulation/vmware-modules-1.0.0.24-r1'.
 * The complete build log is located at '/var/lib/entropy/logs/app-emulation:vmware-modules-1.0.0.24-r1:20100108-140402.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/vmware-modules-1.0.0.24-r1/temp/die.env'.
 * S: '/var/tmp/portage/app-emulation/vmware-modules-1.0.0.24-r1/work'

>>> Failed to emerge app-emulation/vmware-modules-1.0.0.24-r1, Log file:

>>>  '/var/lib/entropy/logs/app-emulation:vmware-modules-1.0.0.24-r1:20100108-140402.log'



So I this is the log and I have no idea what it says about my kernel :bom:

Code: Select all
 * CPV:  app-emulation/vmware-modules-1.0.0.24-r1
 * REPO: gentoo
 * USE:  elibc_glibc kernel_linux userland_GNU x86
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Could not find a Makefile in the kernel source directory.
 * Please ensure that /usr/src/linux points to a complete set of Linux sources
 * Unable to calculate Linux Kernel version for build, attempting to use running version
 * Could not find a usable .config in the kernel source directory.
 * Please ensure that /usr/src/linux points to a configured set of Linux sources.
 * If you are using KBUILD_OUTPUT, please set the environment var so that
 * it points to the necessary object directory so that it might find .config.
 * ERROR: app-emulation/vmware-modules-1.0.0.24-r1 failed:
 *   Kernel not configured; no .config found in
 *
 * Call stack:
 *                           ebuild.sh, line  48:  Called pkg_setup
 *   vmware-modules-1.0.0.24-r1.ebuild, line  32:  Called linux-mod_pkg_setup
 *                    linux-mod.eclass, line 580:  Called require_configured_kernel
 *                   linux-info.eclass, line 281:  Called die
 * The specific snippet of code:
 *         die "Kernel not configured; no .config found in ${KV_OUT_DIR}"
 *
 * If you need support, post the output of 'emerge --info =app-emulation/vmware-modules-1.0.0.24-r1',
 * the complete build log and the output of 'emerge -pqv =app-emulation/vmware-modules-1.0.0.24-r1'.
 * The complete build log is located at '/var/lib/entropy/logs/app-emulation:vmware-modules-1.0.0.24-r1:20100108-140402.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/vmware-modules-1.0.0.24-r1/temp/die.env'.
 * S: '/var/tmp/portage/app-emulation/vmware-modules-1.0.0.24-r1/work'


What goes wong :?:
No I'm not illiterate, just from somewhere else =)
Callipyges
Young Hen
 
Posts: 29
Joined: Wed Jan 06, 2010 13:29
Location: Top of the Eiffel Tower

Re: Can't get Vmare-server working

Postby wolfden » Fri Jan 08, 2010 17:43

you need to install the kernel sources like the error message is telling you

Code: Select all
Please ensure that /usr/src/linux points to a complete set of Linux sources
* Unable to calculate Linux Kernel version for build, attempting to use running version
* Could not find a usable .config in the kernel source directory.
* Please ensure that /usr/src/linux points to a configured set of Linux sources.


Code: Select all
equo install linux-sabayon-sources
User avatar
wolfden
Sharecropper
 
Posts: 8822
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: Can't get Vmare-server working

Postby Callipyges » Tue Jan 12, 2010 16:20

Thanks, it wordked.

But finally I have the same problem than with entropy :| , Vmware doesn't launch anything and I can't launch the script :

Code: Select all
 # /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.
No I'm not illiterate, just from somewhere else =)
Callipyges
Young Hen
 
Posts: 29
Joined: Wed Jan 06, 2010 13:29
Location: Top of the Eiffel Tower

Re: Can't get Vmare-server working

Postby Callipyges » Sun Jan 17, 2010 17:56

Ok I finally succed doing thin

> 1. Open /opt/vmware/server/bin/vmware-config.pl in a editor
> 2. Go to line 2487. You'll see the line "$gOption{'skip-stop-start'} =
> vmware_product() eq 'server';" there.
> 3. Replace the part after the = with the number 1.
> 4. Save the file
> 5. Rerun /opt/vmware/server/bin/vmware-config.pl, now it shouldn't try to stop
> and start vmware server.


[Fixed=Restrictive ports proxy] So I make the config, but now I don't really understand how it works, (I already used it in windows) there is no shortcut, I tried ALT+F2 "vmware" but it launch me firefox with a local adress with a 404... [/Fixed]

Ok it's a web interface, but I cannot access it if I'm behind a restrictive proxy... Does it exist a soft interface?
No I'm not illiterate, just from somewhere else =)
Callipyges
Young Hen
 
Posts: 29
Joined: Wed Jan 06, 2010 13:29
Location: Top of the Eiffel Tower


Return to Virtual Managers

Who is online

Users browsing this forum: No registered users and 0 guests