Koozali.org: home of the SME Server

Vmware-tools broke my 7.5 SME

Offline ramasule

  • *
  • 78
  • +0/-0
Vmware-tools broke my 7.5 SME
« on: November 12, 2010, 12:43:23 AM »
When Updating to the latest SME server from 7.4 several things break.
After updating and installing the Vmware tools /etc/fstab does not mount my
shares automatically.
They will mount after I actually start vmware tools
service vmware-tools start

However after starting vmware-tools I am unable to use my ethernet ETH0 and
ETH1
I had a feeling this has something to do with vmxnet so, I commented out vmxnet
from starting in vmware-tools but this did not solve the problem.  To fix I had
to reboot the server.

When I used my old 7.4 image with the new vmware workstation 7.1 and the new
vmware tools it worked.  It only stopped working when I updated sme.

Before I could just add what I needed mounted in fstab and it would work (7.4).

TL:DR
http://forums.contribs.org/index.php?topic=42598.0
I could do this before now I cant without manually starting vmware tools or
adding it into a script but then I loose networking

Offline chris burnat

  • ****
  • 1,135
  • +2/-0
    • http://www.burnat.com
Re: Vmware-tools broke my 7.5 SME
« Reply #1 on: November 14, 2010, 06:49:23 AM »
Off-topic for this forum. vmware-tools are not distributed on the SME server CDROM.
Moving to Contribs section
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Offline ramasule

  • *
  • 78
  • +0/-0
Re: Vmware-tools broke my 7.5 SME
« Reply #2 on: November 14, 2010, 07:36:49 AM »
Yeah I thought it might be a sme kernel problem is why I posted there.
Sorry

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Vmware-tools broke my 7.5 SME
« Reply #3 on: November 14, 2010, 08:46:20 AM »
When Updating to the latest SME server from 7.4 several things break.
After updating and installing the Vmware tools /etc/fstab does not mount my
shares automatically.
They will mount after I actually start vmware tools
service vmware-tools start

However after starting vmware-tools I am unable to use my ethernet ETH0 and
ETH1
I had a feeling this has something to do with vmxnet so, I commented out vmxnet
from starting in vmware-tools but this did not solve the problem.  To fix I had
to reboot the server.
Did you already look at the logfiles after manually starting vmware tools? There should be some clues in for instance /var/log/messages I guess. Please post them here, perhaps we can try and help you get it resorted.

Perhaps you can also tell us how you installed VMWare tools? RPM, tar, or perhaps even something else.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline ramasule

  • *
  • 78
  • +0/-0
Re: Vmware-tools broke my 7.5 SME
« Reply #4 on: November 14, 2010, 03:15:10 PM »
Thanks,
I will get this information when I get home in a couple of weeks.  I do not want to sh to do this as if I bust something I am **** for a couple of days / weeks. 
I installed from the tarball.  Before what I would do is install from the tarball and it would just work after configuring hgfs would mount and everything was fine.
After 7.5 this no longer happend, I would have to manually start / script the tools to start (I dont belive they were even starting in the first place on 7.4 which is bizare) and when I do the network card stops working.
Sorry I am unable to get the info now but it will hopefully be on my priority list when I get home.
(I only get 4 days home this month so I will try)

Thanks,

Derek L

Offline hanscees

  • *
  • 267
  • +0/-0
    • nl.linkedin.com/in/hanscees/
Re: Vmware-tools broke my 7.5 SME
« Reply #5 on: December 04, 2010, 03:57:57 PM »
Hi,

I tried to update my sme7.5 too with vmtools. It runs virtually under esxi 4.1.
Update went fine, but after the reboot sme7.5 hung after starting up the ethernet devices when starting up vmware-tools.

So I reverted to the image I made before upgrading in vmware.

I installed vmware tools like this:



SME Server 7.4 Guest on ESXi 4.0 Update 1

Download the required packages

wget http://packages.vmware.com/tools/esx/4.0u1/rhel4/i686/vmware-open-vm-tools-kmod-8.0.2-208167.el4.i686.rpm
wget http://packages.vmware.com/tools/esx/4.0u1/rhel4/i686/vmware-open-vm-tools-common-8.0.2-208167.el4.i686.rpm
wget http://packages.vmware.com/tools/esx/4.0u1/rhel4/i686/vmware-open-vm-tools-nox-8.0.2-208167.el4.i686.rpm

Install the packages and dependencies

/usr/bin/yum localinstall \
 vmware-open-vm-tools-kmod-8.0.2-208167.el4.i686.rpm \
 vmware-open-vm-tools-common-8.0.2-208167.el4.i686.rpm \
 vmware-open-vm-tools-nox-8.0.2-208167.el4.i686.rpm

Link the start script to run level 7

ln -fs /etc/rc.d/init.d/vmware-tools /etc/rc7.d/S90vmware-tools

Start the service

service vmware-tools start


Should I uninstall before updating?

Hans-Cees


nl.linkedin.com/in/hanscees/

Offline hanscees

  • *
  • 267
  • +0/-0
    • nl.linkedin.com/in/hanscees/
Re: Vmware-tools broke my 7.5 SME
« Reply #6 on: December 06, 2010, 11:21:19 PM »
ln -fs /etc/rc.d/init.d/vmware-tools /etc/rc7.d/S90vmware-tools
Start the service
service vmware-tools start
Should I uninstall before updating?
Hans-Cees

Well, removing the link solved my problem, sort of.
But now I have no vmware-tools:-(
nl.linkedin.com/in/hanscees/

Offline hanscees

  • *
  • 267
  • +0/-0
    • nl.linkedin.com/in/hanscees/
Re: Vmware-tools broke my 7.5 SME
« Reply #7 on: December 15, 2010, 10:13:29 PM »
It seems uninstalling and reinstalling after kernel change works fine.

Don't know why.

Hans-Cees
nl.linkedin.com/in/hanscees/

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Vmware-tools broke my 7.5 SME
« Reply #8 on: December 16, 2010, 11:51:40 AM »
It seems uninstalling and reinstalling after kernel change works fine.

Don't know why.
As it compiles specific drivers for the VMWare NICs against the kernel source of the version you are compiling against AFAIR. This is in the documentation as well IIRC.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)