Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Upgrading VMWare tools killed Xserver RHEL4

Posted on 2009-04-17
3
Medium Priority
?
1,364 Views
Last Modified: 2013-12-06
I have a VMWare server that's just been upgraded from v1.x to v2.x and this has upgraded the virtual hardware on the machines themselves. After booting a RHEL 4 VM and upgrading the VMWare tools to version 0:7397-156745.i386 from a RPM the vmware-tools service didn't start on reboot.

So I went to Applications> System Settings> Server Settings> Services go to Actions> Add Service.
Entered vmware-tools. Exited and rebooted.

This causes xserver not to start on boot because of a mouse problem that the mouse configuration wizard cannot seem to fix.

After being booted to a command prompt I tried:

mv /etc/X11/xorg.conf.backup /etc/X11/xorg.conf
startx

(EE) Failed to load module "vmware" (module does not exist, 0)
(EE) No drivers available

Fatal server error:
no screens found

rpm -e VMwareTools
error: package VMwareTools is not installed

rpm -e vmware-tools
error: package vmware-tools is not installed

I think because VMWare tools has modified my xorg.conf and I do not have a copy of it pre-vmware I either need to install the old version of the tools (which I don't have a RPM for) or remove them compeltely and hope that it fixes Xserver. I have a backup of the VM but I'd rather not have to go back to that, can anyone suggest anything?
0
Comment
Question by:mark_667
  • 2
3 Comments
 
LVL 23

Accepted Solution

by:
bhanukir7 earned 375 total points
ID: 24181416
hi,

firs of all remove vmware tools forcefully then reboot. Install vmware tools and configure the same running the pl file. Try to select a regular screen size i.e. 800x600 or 1024x768 and then verify.

bhanu
0
 
LVL 1

Author Comment

by:mark_667
ID: 24184486
How do I remove the vmware-tools? There is no uninstall perl script. The RPM command does not see that it is installed (see first posting).

ls /usr/bin | grep vmware
vmware-config-tools.pl
vmware-hgfsclient
vmware-toolbox
vmware-user
vmware-user-wrapper
vmware-xferlogs

do you need to run configure perl script after installing from rpm? Running the config-tools script as root gives:

File /usr/lib/vmware-tools/lib is backed up to /usr/lib/vmware-tools/lib.old.0


The file /usr/lib/vmware-tools/lib that this program was about to install already exists. Overwrite? [yes] y


Stopping VMWare Tools services in the virtual machine:
      Guest operatin system daemon:      [ OK ]
      Unmounting HGFS shares:                  [ OK ]
      Guest filesystem driver:            [ OK ]
The bld-2.6.9-5.EL-i686smp-RHEL4 - vmmemctl module loads perfectly into the running kernel.

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

Unable to open the file "/etc/modproble.conf.BeforeVMWareToolsInstall".

Execution aborted.

ls /etc/ | grep vmware doesn't return anything
0
 
LVL 1

Author Comment

by:mark_667
ID: 24192577
Looks like someone's had a similar problem here: http://forums.virtualbox.org/viewtopic.php?p=33221&sid=ee594090f13703fd2fec648557b0ba22

I've tried reconfiguring x-server manually and got the following:

#system-config-display
Trying with card: VMWare
Couldn't start X server on card 0
Couldn't start X server with old config, trying with a fresh configuration
Trying with card: VMWare
Couldn't start X server on card 0
Error, failed to start X server


#cd ~ &&
>mv /etc/X11/xorg.{conf,conf-old} &&
>Xorg -configure

<snip>

(EE) Failed to load module "vmware" (module does not exist, 0)
(++) Using config file: "/root/xorg.conf.new"



Xorg is not able to detect your mouse.
Edit the file and correct the Device.

Your xorg.conf file is /root/xorg.conf.new

To test the server, run 'X -config /root/xorg.conf.new'


Anyone have any further suggestions before I go back to the backup?
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
Ransomware is a malware that is again in the list of security  concerns. Not only for companies, but also for Government security and  even at personal use. IT departments should be aware and have the right  knowledge to how to fight it.
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…
Suggested Courses

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question