Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 13th March 2010, 04:08
unclecameron unclecameron is offline
Senior Member
 
Join Date: Apr 2006
Posts: 115
Thanks: 2
Thanked 8 Times in 7 Posts
Default VMWare server on Debian Squeeze working

Just got VMWare server 2.0.2 working on Debian Squeeze (based on the howto Falko made for Debian Lenny)
here's what I did:
Code:
apt-get install linux-headers-`uname -r` build-essential xinetd gcc-4.3
ln -sf /usr/bin/gcc-4.3 /usr/bin/gcc
cd /usr/src
scp ip.from.other.box:VMware* ./
tar xfvz VMware-server-2.0.2-203138.x86_64.tar.gz
cd vmware-server-distrib/
./vmware-install.pl
...
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.

What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.32-trunk-amd64/build/include]
but then it errors out with
Code:
Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config5/vmmon-only'
make -C /lib/modules/2.6.32-trunk-amd64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-trunk-amd64'
  CC [M]  /tmp/vmware-config5/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config5/vmmon-only/linux/driver.c:31:
/tmp/vmware-config5/vmmon-only/./include/compat_wait.h:78: error: conflicting types for ‘poll_initwait’
/usr/src/linux-headers-2.6.32-trunk-common/include/linux/poll.h:70: error: previous declaration of ‘poll_initwait’ was here
In file included from /tmp/vmware-config5/vmmon-only/./common/vmx86.h:32,
                 from /tmp/vmware-config5/vmmon-only/linux/driver.h:29,
                 from /tmp/vmware-config5/vmmon-only/linux/driver.c:101:
/tmp/vmware-config5/vmmon-only/./include/x86msr.h:164:1: warning: "MSR_THERM2_CTL" redefined
In file included from /usr/src/linux-headers-2.6.32-trunk-common/arch/x86/include/asm/msr.h:4,
                 from /usr/src/linux-headers-2.6.32-trunk-common/arch/x86/include/asm/processor.h:21,
                 from /usr/src/linux-headers-2.6.32-trunk-common/include/linux/prefetch.h:14,
                 from /usr/src/linux-headers-2.6.32-trunk-common/include/linux/list.h:6,
                 from /usr/src/linux-headers-2.6.32-trunk-common/include/linux/module.h:9,
                 from /tmp/vmware-config5/vmmon-only/./include/compat_module.h:27,
                 from /tmp/vmware-config5/vmmon-only/linux/driver.c:26:
/usr/src/linux-headers-2.6.32-trunk-common/arch/x86/include/asm/msr-index.h:225:1: warning: this is the location of the previous definition
/tmp/vmware-config5/vmmon-only/linux/driver.c: In function ‘LinuxDriverSyncCallOnEachCPU’:
/tmp/vmware-config5/vmmon-only/linux/driver.c:1423: error: too many arguments to function ‘smp_call_function’
/tmp/vmware-config5/vmmon-only/linux/driver.c: In function ‘LinuxDriver_Ioctl’:
/tmp/vmware-config5/vmmon-only/linux/driver.c:1987: error: ‘struct task_struct’ has no member named ‘euid’
/tmp/vmware-config5/vmmon-only/linux/driver.c:1987: error: ‘struct task_struct’ has no member named ‘uid’
/tmp/vmware-config5/vmmon-only/linux/driver.c:1988: error: ‘struct task_struct’ has no member named ‘fsuid’
/tmp/vmware-config5/vmmon-only/linux/driver.c:1988: error: ‘struct task_struct’ has no member named ‘uid’
/tmp/vmware-config5/vmmon-only/linux/driver.c:1989: error: ‘struct task_struct’ has no member named ‘egid’
/tmp/vmware-config5/vmmon-only/linux/driver.c:1989: error: ‘struct task_struct’ has no member named ‘gid’
/tmp/vmware-config5/vmmon-only/linux/driver.c:1990: error: ‘struct task_struct’ has no member named ‘fsgid’
/tmp/vmware-config5/vmmon-only/linux/driver.c:1990: error: ‘struct task_struct’ has no member named ‘gid’
/tmp/vmware-config5/vmmon-only/linux/driver.c:2007: error: too many arguments to function ‘smp_call_function’
make[4]: *** [/tmp/vmware-config5/vmmon-only/linux/driver.o] Error 1
make[3]: *** [_module_/tmp/vmware-config5/vmmon-only] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-trunk-amd64'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config5/vmmon-only'
Unable to build the vmmon module.

For more information on how to troubleshoot module-related problems, please 
visit our Web site at "http://www.vmware.com/go/unsup-linux-products" and 
"http://www.vmware.com/go/unsup-linux-tools".

Execution aborted.
Then I got the patch here and ran it like this:
Code:
/usr/src/vmware-server-2.0.x-kernel-2.6.3x-install.sh
and it prompted me through the rest of the install...now if I can get the console working...if I get it figured out I'll post back here Right now it just comes up with a 503 Service Unavailable...

Last edited by unclecameron; 13th March 2010 at 04:13.
Reply With Quote
The Following User Says Thank You to unclecameron For This Useful Post:
falko (13th March 2010)
Sponsored Links
  #2  
Old 15th March 2010, 15:05
heckmic heckmic is offline
Junior Member
 
Join Date: Mar 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello,

same Problem here! Any sollutions?
Reply With Quote
  #3  
Old 16th March 2010, 06:02
hacmieu hacmieu is offline
Junior Member
 
Join Date: Oct 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by unclecameron View Post
and it prompted me through the rest of the install...now if I can get the console working...if I get it figured out I'll post back here Right now it just comes up with a 503 Service Unavailable...
I had same problem with you
Can't connect to port 8308
Reply With Quote
  #4  
Old 17th March 2010, 10:18
heckmic heckmic is offline
Junior Member
 
Join Date: Mar 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

503 --> In some forums is loopack in hosts the sollution an sometimes the tomcat...

In my case nothing of this helps. Same Problem 503 Webservice dont work. Any Idea?
Reply With Quote
  #5  
Old 18th March 2010, 19:34
unclecameron unclecameron is offline
Senior Member
 
Join Date: Apr 2006
Posts: 115
Thanks: 2
Thanked 8 Times in 7 Posts
Default

read a couple forums, one says you should add
Code:
127.0.0.1 localhost
to /etc/hosts, but Squeeze already has it there. Another said vmware tomcat is conflicting with apache tomcat, but I'm not running tomcat. It appears that either

a. vmware is fighting for port 8333 with some other process, or
b. vmware tomcat is fighting with debian for tomcat service

I really need to figure this out, I can't revert to Lenny because of hardware driver issues...hopefully will figure it out today, will post back if I get it
Reply With Quote
  #6  
Old 19th March 2010, 01:23
unclecameron unclecameron is offline
Senior Member
 
Join Date: Apr 2006
Posts: 115
Thanks: 2
Thanked 8 Times in 7 Posts
Default

I edited /etc/services and added the entry
Code:
vmware-authd    902/tcp
because it didn't look like that port would be open, but after a reboot it still didn't fix it. It looks like the proxy port has a conflict, I got this from the log file:
Code:
[2010-03-18 12:22:37.816 'App' 139887774213872 info] Trying proxysvc
[2010-03-18 12:22:37.816 'Proxysvc' 139887774213872 info] Proxy config filepath is /etc/vmware/hostd/proxy.xml
[2010-03-18 12:22:37.816 'Proxysvc' 139887774213872 panic] Another process is listening on the proxy port.
[2010-03-18 12:22:37.816 'Proxysvc' 139887774213872 panic] Please make sure other instances of hostd are not running
so I have to hunt down what's conflicting with that port I think.
Reply With Quote
  #7  
Old 19th March 2010, 01:25
unclecameron unclecameron is offline
Senior Member
 
Join Date: Apr 2006
Posts: 115
Thanks: 2
Thanked 8 Times in 7 Posts
Default

It looks like it might be an error with vmware-hostd, when I try to restart it I get
Code:
vmware-hostd restart
[2010-03-18 17:20:41.038 'App' 140465290491632 info] Current working directory: /etc/vmware/hostd
[2010-03-18 17:20:41.038 'App' 140465290491632 panic] error: Could not find any plugins in config file
[2010-03-18 17:20:41.038 'App' 140465290491632 panic] backtrace:

[00] eip 0x9ef90dfb  
[01] eip 0x9ee8aa40  
[02] eip 0x9ee2e447  
[03] eip 0x9ee3bbdb  
[04] eip 0x9ee3c5f2  
[05] eip 0x9ee35623  
[06] eip 0xab6f6e  
[07] eip 0xac5821  
[08] eip 0xad55e1  
[09] eip 0x9dde9abd  
[10] eip 0x6a82fa
so I think somehow vmware-hostd doesn't play nice with Squeeze...now to figure out why
Reply With Quote
  #8  
Old 19th March 2010, 07:58
unclecameron unclecameron is offline
Senior Member
 
Join Date: Apr 2006
Posts: 115
Thanks: 2
Thanked 8 Times in 7 Posts
Default

GOT IT!

okay, the issue is ipv6, first find out if it's running by doing:
Code:
netstat -lnp | grep tcp6
or
Code:
ping6 -c1 localhost
if you get a response that tells you it's running, you have to disable it, which you normally disable elsewhere, but in Squeeze you create a file like this
Code:
vi /etc/sysctl.d/local.conf
and put this line in it:
Code:
net.ipv6.conf.eth0.disable_ipv6 = 1
and reboot
Reply With Quote
  #9  
Old 19th March 2010, 10:14
heckmic heckmic is offline
Junior Member
 
Join Date: Mar 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I had to deaktivate it like this:


vim /etc/default/grub ...
add
GRUB_CMDLINE_LINUX="ipv6.disable=1"


then "update-grub" and reboot.
Reply With Quote
  #10  
Old 16th May 2011, 21:17
darky83 darky83 is offline
Junior Member
 
Join Date: May 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Somehow I couldn't get it to work, but after searching for a while I found this page: http://www.troublenow.org/316/instal...ian-6-0-1-x64/

Followed those instructions and everything worked perfectly (didn't even had to disable ipv6?)

I guess he uses some other patch or something?
Might be helpful to others who can't get it to work.

d.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Centos5.4/ISPConfig 3--Virtual site not working MichaelCaditz Installation/Configuration 25 25th March 2011 11:37
Ubuntu Server, postfix, gmail relay sjau Server Operation 3 14th December 2010 18:20
Booting On PXE And On A Customized Debian System sebastienp HOWTO-Related Questions 7 30th July 2009 21:13
Can't start apache Musty Server Operation 12 9th March 2008 13:58
how to install vmware server 1.0.3 on debian SteaK Installation/Configuration 1 10th June 2007 14:35


All times are GMT +2. The time now is 10:44.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.