Koozali.org: home of the SME Server

VMWare Server on SME Server 7

Offline TrevorB

  • *
  • 259
  • +0/-0
    • http://www.batley.id.au
Re: VMserver install Stuck
« Reply #45 on: August 30, 2006, 02:25:41 PM »
Quote from: "Chrisco781"
Got stuck here:

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include] /usr/include

Why did you change the default?

I would follow duncan's advice and use the inbuilt yum updater to get the correct versions of anything you need rather than downloading things that might not align with your smeserver.

I assume that you have done a yum update recently (or used the software installer to keep up to date).

I would suggest removing the glibc & kernel-devel stuff and try again
rpm -e glibc-kernheaders
rpm -e glibc-headers
rpm -e glibc-devel
rpm -e kernel-smp-devel

I don't think you need any of this (I certainly didn't). Just try vmware-config.pl again

But, if you must load the glibc stuff try:
yum --enablerepo=base --enablerepo=updates install glibc-kernelheaders glibc-headers glibc-devel
and you will at least get the current versions....

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
VMWare Server on SME Server 7
« Reply #46 on: August 30, 2006, 04:22:11 PM »
Yes, I would go with TrevorB and start from scratch.

If you followed the howto I would clean out a little of what you may of done already..

Code: [Select]
yum remove gcc cpp glibc-kernheaders

and then restart the How-to.

If it still asks you for header files

Code: [Select]
yum --enablerepo=base --enablerepo=updates install kernel-devel

which for me places them here..

Code: [Select]
/usr/src/kernels/2.6.9-42.0.2.EL-i686/include
Regards,
William

IF I give advise.. It's only if it was me....

Chrisco781

VMWare Server on SME Server 7
« Reply #47 on: August 30, 2006, 06:48:37 PM »
Don't know, but I do know that there is only one physical processor in that box.

Chrisco781

VMWare Server on SME Server 7
« Reply #48 on: August 30, 2006, 08:18:07 PM »
OK, I have tried all of that now and I am getting this now.

The directory of kernel headers (version 2.6.9-42.0.2.EL) does not match your
running kernel (version 2.6.9-34.ELsmp).  Even if the module were to compile
successfully, it would not load into the running kernel.

I am still having problem with headers and kernel matching up. Looks like we are getting closer to matching them up though.

Offline TrevorB

  • *
  • 259
  • +0/-0
    • http://www.batley.id.au
VMWare Server on SME Server 7
« Reply #49 on: August 31, 2006, 12:43:52 AM »
Quote from: "Chrisco781"
OK, I have tried all of that now and I am getting this now.

The directory of kernel headers (version 2.6.9-42.0.2.EL) does not match your
running kernel (version 2.6.9-34.ELsmp).  Even if the module were to compile
successfully, it would not load into the running kernel.

I am still having problem with headers and kernel matching up. Looks like we are getting closer to matching them up though.

I still have a problem with WHY you have a copy of the kernel-headers loaded at all (let alone the wrong ones).

I just reran vmware-config.pl & vmware-config-mui.pl (vmware-server-1.0.1-29996) on my up-to-date smesrever without kernel-headers
Code: [Select]
[root@e-smith ~]# rpm -qa | grep kernel
kernel-smp-2.6.9-34.EL
kernel-2.6.9-34.0.2.EL
kernel-module-appletalk-1.0-1_2.6.9_34.0.2.EL
kernel-smp-module-appletalk-1.0-1_2.6.9_34.0.2.EL
kernel-2.6.9-34.EL
kernel-utils-2.4-13.1.80
kernel-smp-2.6.9-34.0.2.EL
kernel-module-slip-1.0-1_2.6.9_34.0.2.EL
kernel-module-ppp-1.0.2-2_2.6.9_34.0.2.EL
kernel-smp-module-ppp-1.0.2-2_2.6.9_34.0.2.EL
kernel-smp-module-slip-1.0-1_2.6.9_34.0.2.EL
[root@e-smith ~]#

and it all worked fine........

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
VMWare Server on SME Server 7
« Reply #50 on: August 31, 2006, 02:32:21 AM »
I don't have a need for the kernel-devel stuff either.

However, if I install them with yum I appear to get a different version than my running kernel.

Whats the history of your box Chrisco781? How did you arrive at SME7 final?

Did you swap out/in any hardware after installing ?


Edit: Possibly a new kernel on its way.. https://rhn.redhat.com/errata/RHSA-2006-0617.html
Edit: Did kernel upgrade.
Code: [Select]
[root@tiger ~]# uname -a
Linux tiger 2.6.9-42.0.2.ELsmp #1 SMP Wed Aug 23 00:17:26 CDT 2006 i686 i686 i386 GNU/Linux
[root@tiger ~]#


Code: [Select]
Trying to find a suitable vmmon module for your running kernel.

The module bld-2.6.9-5.EL-i686smp-RHEL4 loads perfectly in the running kernel.



No kernel-devel installed.
Code: [Select]
[root@tiger ~]# rpm -qa | grep kernel
kernel-smp-2.6.9-34.EL
kernel-utils-2.4-13.1.80
kernel-smp-module-slip-1.0-1_2.6.9_34.0.2.EL
kernel-smp-2.6.9-42.0.2.EL
kernel-2.6.9-34.EL
kernel-module-slip-1.0-1_2.6.9_34.0.2.EL
kernel-module-ppp-1.0.2-2_2.6.9_34.0.2.EL
kernel-smp-module-ppp-1.0.2-2_2.6.9_34.0.2.EL
kernel-smp-2.6.9-34.0.2.EL
kernel-2.6.9-34.0.2.EL
kernel-module-appletalk-1.0-1_2.6.9_34.0.2.EL
kernel-smp-module-appletalk-1.0-1_2.6.9_34.0.2.EL
kernel-2.6.9-42.0.2.EL
[root@tiger ~]#
Regards,
William

IF I give advise.. It's only if it was me....

Chrisco781

VMWare Server on SME Server 7
« Reply #51 on: August 31, 2006, 05:09:09 AM »
Well, it is true this box does have a little history or the drives I should say. I have this setup as a RAID 1. At first the two drives were in total different box with a VIA 650 MHz processor. This server also started off running SME 7 pre4. Motherboard died in the old box. Swollen and leaking capacitors, you know the story. I had upgraded one of my other computers there recently so I had this box to put it into with the Celeron 1.7. Of course that has been a while back and have gone through many updates since then.
  But enough with the history. VMware server is now running on the SME server! Giddy Up!!!
 Decided I would try the same thing again that Will had already told me to do except with a different RPM. So this is how I got it to work.

wget ftp://ftp.nluug.nl/pub/os/Linux/distr/CentOS/4.3/os/i386/CentOS/RPMS/kernel-smp-devel-2.6.9-34.EL.i586.rpm

rpm -Uvh kernel-smp-devel-2.6.9-34.EL.i586.rpm

Chose /usr/src/kernels/2.6.9-34.EL-smp-i586/include  for C header files that match my running kernel

Then I finished following the how to guide that Will also linked earlier
http://no.longer.valid/phpwiki/index.php/How-To%20install%20VMware%20free%20server%20on%20a%20SME%207.0%20Host

And Whala!  Appreciate all your help Will.

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
VMWare Server on SME Server 7
« Reply #52 on: August 31, 2006, 05:54:55 AM »
Glad you got it working.

I saw that i586 version there but research from google and irc made me believe that it wasn't relevent to celerons.

Just for clarification...

* Drives in VIA Cpu system with SME7 pre4

* Drives moved to Celeron CPU system.

Question, did you do a fresh install of SME7 after the drives were moved ?
Regards,
William

IF I give advise.. It's only if it was me....

Chrisco781

VMWare Server on SME Server 7
« Reply #53 on: August 31, 2006, 03:12:56 PM »
No, just reconfigured.

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
VMWare Server on SME Server 7
« Reply #54 on: September 01, 2006, 06:19:31 AM »
Quote from: "Chrisco781"
No, just reconfigured.


I'm not a Linux guru but I think what you did is not normal practice and may of added to your problems installing VMware-server.

You were able to 'recover' this time.

Maybe start a new thread to ask about the implications of what you did.
Regards,
William

IF I give advise.. It's only if it was me....

johndknm

VMWare Server on SME Server 7
« Reply #55 on: September 10, 2006, 04:52:17 AM »
YAY
Thanks for the howto.  I struggled and struggled with the management server console timing out with an auth error only to discover my own inability to cut and paste was the problem.  I left out the step with the authd rpm kindly made by Duncan and this was the problem.

I am pursuing this solution to see if I can make a p2v "copy" of a win2k3 active directory server and application/database server that I can use in a disaster recovery type scenario.

Thanks heaps for the howto. Ive used sme a bit over the last few years and its just so reliable!

Offline markehle

  • ***
  • 125
  • +0/-0
VMWare Server on SME Server 7
« Reply #56 on: October 02, 2006, 06:11:48 PM »
Hello -

I tried to follow the vmware server howto outlined in this thread. Everything seems to install correctly, and the vmware daemons are running, but when I try to start a virtual server that runs fine on a computer running windows XP and vmware, it errors out at the command line with this:

Error: Command failed: A file was not found

...and vmware-serverd.log says this:

Oct 02 12:10:07: app| New connection on socket server-vmdb from host localhost (ip address: local) , user: root
Oct 02 12:10:07: app| SP: New user session for user: root, pos: 0
Oct 02 12:10:07: app| The vm-list file has changed! Reloading the list of registered vms
Oct 02 12:10:08: app| vmdbPipe_Streams Couldn't read: OVL_STATUS_EOF
Oct 02 12:10:08: app| SP: Deleting user session: 0 username: root

Does anybody know what I missed or why this is happening?

Thanks!

Mark

Offline markehle

  • ***
  • 125
  • +0/-0
VMWare Server on SME Server 7
« Reply #57 on: October 02, 2006, 08:35:26 PM »
Oops - problem solved. I didn't register the virtual machine first:
vmware-cmd -s register "/var/lib/vmware/VirtualMachines/(path to config)"

zzrpat

vmware-config.pl succeeds but VM's don't start
« Reply #58 on: November 03, 2006, 01:04:18 AM »
Hi,

Thanks for the howto. I hope this tip helps someone:

I had to run vmware-config.pl to configure the server as well. Every time I tried to start a server, vmware would ask me to re-run vmware-config.pl. Removing the file /etc/vmware/not_configured allowed me to start my VMs.

Cheers!

Darren

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
VMWare Server on SME Server 7
« Reply #59 on: November 22, 2006, 11:44:51 AM »
Looks like installing VMware-server just got a little easier.

Code: [Select]
cd /tmp
Code: [Select]
wget http://download3.vmware.com/software/vmserver/VMware-server-1.0.1-29996.i386.rpm
Code: [Select]
wget http://mirror.contribs.org/smeserver//releases/7/builds/rpms/RPMS/noarch/smeserver-vmware-server-0.0.1-03.noarch.rpm
Code: [Select]
yum --enablerepo=base --enablerepo=updates localinstall smeserver-vmware-server-0.0.1-03.noarch.rpm VMware-server-1.0.1-29996.i386.rpm
Code: [Select]
vmware-config.pl


Each code box is one line.

Thanks to Gordon and Shad.
Code: [Select]
[root@c3 tmp]# rpm -qp smeserver-vmware-server-0.0.1-03.noarch.rpm -i
Name        : smeserver-vmware-server      Relocations: (not relocatable)
Version     : 0.0.1                             Vendor: (none)
Release     : 03                            Build Date: Fri 17 Nov 2006 07:57:35 AM EST
Install Date: (not installed)               Build Host: smebuild.lordsfam.net
Group       : SMEServer/addon               Source RPM: smeserver-vmware-server-0.0.1-03.src.rpm
Size        : 418                              License: GPL
Signature   : DSA/SHA1, Fri 17 Nov 2006 01:19:20 PM EST, Key ID 3d7205081e9c9308
Packager    : Gordon Rowell <gordonr@gormand.com.au>
Summary     : VMware server integration package for SME Server
Description :
VMware server integration package for SME Server
[root@c3 tmp]#
Regards,
William

IF I give advise.. It's only if it was me....