Koozali.org: home of the SME Server

VMWare on New SME 8 Server

Offline Bud

  • *
  • 487
  • +0/-0
VMWare on New SME 8 Server
« on: July 27, 2012, 03:08:41 PM »
Guys please help

Tryiong to Install VMware 1.0.10 contrib on New SME 8 Server

i can install the VMware Contrib including " yum install gcc "

when i do a " vmware-config.pl " i get the following error

========================

The correct version of one or more libraries needed to run VMware Server may be
missing.  This is the output of ldd /usr/bin/vmware:
        linux-gate.so.1 =>  (0xb7f98000)
        libm.so.6 => /lib/libm.so.6 (0xb7f67000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7f62000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb7f48000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x00a00000)
        libXtst.so.6 => not found
        libXext.so.6 => /usr/lib/libXext.so.6 (0x00bcb000)
        libXt.so.6 => /usr/lib/libXt.so.6 (0x0040e000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0x00d6b000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0x00c9f000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00d47000)
        libz.so.1 => /lib/libz.so.1 (0x00320000)
        libc.so.6 => /lib/libc.so.6 (0xb7ded000)
        /lib/ld-linux.so.2 (0xb7f99000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0x00b0d000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00b05000)

This program cannot tell for sure, but you may need to upgrade libc5 to glibc
before you can run VMware Server.

===============================

any ideas  :(

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: VMWare on New SME 8 Server
« Reply #1 on: July 27, 2012, 03:13:16 PM »
vmware 1.X is dead.. and I doubt it will ever work on SME8 (CentOS5.X)

you should move to other kind of virtualization sw

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: VMWare on New SME 8 Server
« Reply #2 on: July 27, 2012, 04:23:47 PM »
I agree with Stefano. Even vmware-server 2 is EOL, isn't it?

Offline Boris

  • *
  • 783
  • +0/-0
Re: VMWare on New SME 8 Server
« Reply #3 on: July 27, 2012, 11:01:18 PM »
I agree with Stefano. Even vmware-server 2 is EOL, isn't it?
It is, but it works fine on SME 8 and still available for download.
...

Offline vpurger

  • 20
  • +0/-0
Re: VMWare on New SME 8 Server
« Reply #4 on: July 28, 2012, 11:05:39 AM »
yum install libXtst   ;-)

Offline Bud

  • *
  • 487
  • +0/-0
Re: VMWare on New SME 8 Server
« Reply #5 on: July 30, 2012, 01:28:07 PM »
vpurger thanks for your input

well i still seem to be having problems with installing vmware 1

it worked great for me on SME 7.5

do you guys recommend VirtualBox as an alternative or another product(s) ?

any help greatly appreciated

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: VMWare on New SME 8 Server
« Reply #6 on: July 30, 2012, 01:52:02 PM »
Bud..

you should tell us more..
I mean.. if you need SME and windows and/or other virtual machines, I would change point of view: I would install something like vmware esxi5 or proxmox on the bare metal and the virtualize SME, windows, ecc..
I never used virtualbox on SME, I'm currently using it only on my laptop (ubuntu 10.04) and it simply works.

Offline nicolatiana

  • *
  • 721
  • +0/-0
Re: VMWare on New SME 8 Server
« Reply #7 on: July 31, 2012, 02:12:57 PM »
Hi Bud
 
I have a SME8 32 bit with Vmware 1.0.10 installed; as far as I can remeber I had to install kernel-headers & kernel-devel too to have Vmware correctly compiled.
Not sure this can be related to Your problem.

Take care of this http://kb.vmware.com/selfservice/search.do?cmd=displayKC&docType=kc&externalId=1009966 after configuration.
 
Bye
 
Nicola
« Last Edit: July 31, 2012, 02:30:46 PM by nicolatiana »
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia.

Offline Bud

  • *
  • 487
  • +0/-0
Re: VMWare on New SME 8 Server
« Reply #8 on: August 01, 2012, 04:42:01 AM »
vpurger, nicolatiana thank you very much for your assistance

Stefano thanks for your input, Proxmox - very interesting will have a look at that.

Just to inform you i have installed VMWare Version 2 and all seems fine.

thanks again team, much appreciated

Offline purvis

  • ****
  • 567
  • +0/-0
Re: VMWare on New SME 8 Server
« Reply #9 on: August 02, 2012, 12:49:09 PM »
I am running SME8 with the latest Proxmox and i am not having any issues.
I do miss having SME8 on metal with two drives in Raid 1 mode.
It is just going to force me to do a better job of backing up, but it will provide a great test situation for multiple oses on one piece of equipment.  But all production on main like duties is on metal raid 1.

From what i have read lately from many different internet sources. If you are going to be serious about running virtual machines on a Centos os. Then Centos 6 is the version for that compared to Centos 5, which SME8 is based on. What i understand is that there have been substantial advancements and if you want to make use of a SSD. Trim is suppose to be supported, but there are newer Intel SSD drives that are doing a better job to garbage collection, if you give the drive a small amount of idle time.
 




« Last Edit: August 02, 2012, 12:56:00 PM by purvis »

Offline Bud

  • *
  • 487
  • +0/-0
Re: VMWare on New SME 8 Server
« Reply #10 on: August 07, 2012, 12:15:50 PM »
tyring to install VMware 1 on a sme 8 server

vpurger i installed " yum install libXtst "
when i do a " vmware-config.pl " i still get the following error

======================
The correct version of one or more libraries needed to run VMware Server may be
missing.  This is the output of ldd /usr/bin/vmware:
        linux-gate.so.1 =>  (0xb7efb000)
        libm.so.6 => /lib/libm.so.6 (0xb7ecb000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7ec6000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb7eac000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb7da9000)
        libXtst.so.6 => /usr/lib/libXtst.so.6 (0xb7da2000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xb7d92000)
        libXt.so.6 => not found
        libICE.so.6 => not found
        libSM.so.6 => not found
        libXrender.so.1 => not found
        libz.so.1 => /lib/libz.so.1 (0xb7d7e000)
        libc.so.6 => /lib/libc.so.6 (0xb7c25000)
        /lib/ld-linux.so.2 (0xb7efc000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0xb7c22000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb7c1c000)

This program cannot tell for sure, but you may need to upgrade libc5 to glibc
before you can run VMware Server.

Hit enter to continue.
==========================

however i can continue with the installation up to a point when it asks me:

=====================
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)? [no]
=====================

when i say yes i get asked
===================
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
=====================

i cannot seem to get past this point.

any ideas, i really need to get this working  :(

any help greatly appreciated 

Offline vpurger

  • 20
  • +0/-0
Re: VMWare on New SME 8 Server
« Reply #11 on: August 07, 2012, 12:38:00 PM »
that is new instalation, yes ?

yum install libXt libICE libSM libXrender kernel-devel

Offline nicolatiana

  • *
  • 721
  • +0/-0
Re: VMWare on New SME 8 Server
« Reply #12 on: August 07, 2012, 10:19:34 PM »
Hi Bud

You should make in this way:

Quote
yum install gcc
yum install libX11* (not sure if necessary)
yum install libXt*
yum install xinetd

Quote
yum install kernel-headers
or
Quote
yum install kernel-pae-headers

depending on Your installed kernel  (uname -a); in my actual server(s) is always needed to compile kernel modules;

Then you can install Vmware and configure it:

Quote
yum localinstall  VMware-server-1.0.10-203137.i386.rpm

Quote
vmware-config.pl

Quote
ln -s ../init.d/vmware /etc/rc7.d/S19vmware

modify /etc/xinetd.d/vmware-authd to prevent console hang while trying to connect to server.

Quote
\# default: on
\# description: The VMware remote access authentification daemon

service vmware-authd
{
    disable         = no
    port            = 902
    socket_type     = stream
    flags           = NOLIBWRAP
    protocol        = tcp
    wait            = no
    user            = root
    server          = /usr/sbin/vmware-authd
    type            = unlisted
}

adding flags = NOLIBWRAP

This works but You'll note be able to configure Vmware server via db commands (the current contrib does not work with SME8); see wiki in the section http://wiki.contribs.org/SME8.0_Contribs_QA#smeserver-vmware

Bye

Nicola
« Last Edit: August 07, 2012, 10:24:25 PM by nicolatiana »
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia.

Offline Bud

  • *
  • 487
  • +0/-0
Re: VMWare on New SME 8 Server
« Reply #13 on: August 08, 2012, 09:20:17 AM »
vpburger thank you for your input much appreciated
yes it is a new sme 8 server

nicolatiana thanks so much, i have done what you recommended and VMWare 1 is installed however i now have another problem

i am trying to install the " Management UI for VMWare Server "

When I do a " ./vmware-install.pl " this is the output i get
==================
Do you accept? (yes/no) yes

Thank you.

Installing the content of the package.

VMware Server must be installed on this machine for the VMware Management
Interface to work

Execution aborted.
======================

When I do:
# /etc/init.d/vmware restart
Stopping VMware services:
   Virtual machine monitor                                 [  OK  ]
Starting VMware services:
   Virtual machine monitor                                 [  OK  ]

And run " # ./vmware-install.pl " again, i still get the same result

What Now  :P

Thanks for your help

Offline vpurger

  • 20
  • +0/-0
Re: VMWare on New SME 8 Server
« Reply #14 on: August 08, 2012, 10:48:19 AM »
I usually use the VMware Server Console client, but I believe it will help yum install libXi :-)


Offline nicolatiana

  • *
  • 721
  • +0/-0
Re: VMWare on New SME 8 Server
« Reply #15 on: August 09, 2012, 10:30:08 PM »
According to vpurger and quoting the wiki "you can also use VMware Console from a client computer" and this is what I usually did and do now.
You can also start and stop you machines via command line; some examples:
Quote
/usr/bin/vmware-cmd "/var/lib/vmware/Virtual Machines/Windows XP Professional/Windows XP Professional.vmx" getstate
/usr/bin/vmware-cmd "/var/lib/vmware/Virtual Machines/Windows XP Professional/Windows XP Professional.vmx" stop
/usr/bin/vmware-cmd "/var/lib/vmware/Virtual Machines/Windows XP Professional/Windows XP Professional.vmx" start
Take a look here too: http://communities.vmware.com/thread/345001
 
Nicola
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia.