Skip navigation
VMware

This Question is Answered

1 "correct" answer available (10 pts) 1 "helpful" answer available (6 pts)
2,219 Views 19 Replies Last post: Nov 7, 2007 7:08 PM by TINSAMI1 RSS
1 2 Previous Next
aguayo_andrew… Novice 3 posts since
Mar 15, 2005
Currently Being Moderated

Jul 11, 2007 9:18 PM

Ubuntu Linux 7.04 Feisty host loses configuration on reboot

I have installed VMWare Workstation 6.0 on a Ubuntu Linux 7.04 host.  After rebooting, I must run vmware-config.pl to get vmware to run.

 

I have tried some of the fixes from earler posts, but no luck.

KevinG Guru 16,983 posts since
Jan 8, 2004
Currently Being Moderated
1. Jul 11, 2007 9:25 PM in response to: aguayo_andrew…
Re: Ubuntu Linux 7.04 Feisty host loses configuration on reboot

What steps have you done so far?  I have Ubuntu 7.04 as my host OS and use WS 6 with a XP VM on a daily bases and have no issues with having to run vmware-config.pl each time my host is rebooted.

 

With the VM's powered off try running the following from the command line

 

/etc/init.d/vmware stop

 

/etc/init.d/vmware start

 

any errors reported?

 

What is the output from uname -r from the host?

KevinG Guru 16,983 posts since
Jan 8, 2004
Currently Being Moderated
3. Jul 11, 2007 10:14 PM in response to: aguayo_andrew…
Re: Ubuntu Linux 7.04 Feisty host loses configuration on reboot

Strange, typically when the /etc/init.d/vmware script fails to start or stop the VMware services, it creates a /etc/vmware/not_configured file. If you delete this file you will most likely be able to start VMware again without running vmware-config.pl script. This is not the real fix and I am really interested in why yours is failing.

psyk Novice 9 posts since
May 23, 2006
Currently Being Moderated
4. Aug 13, 2007 3:28 AM in response to: KevinG
Re: Ubuntu Linux 7.04 Feisty host loses configuration on reboot

Hi Kevin,

I have the exact issue.

 

Same build as listed here Ubuntu 7.04 Feisty Vmware Workstation 6.0.

 

I need to re-run vmware-config.pl everytime after reboot.

 

I run /etc/init.d/vmware stop

 

I then run an vmware-config.pl and configure the settings.  (i used vmware-any-any-update113)

 

There's a few warnings during compile but it compiles successfully with the following:

Starting VMware services:

   Virtual machine monitor                                             done

   Blocking file system:                                               done

   Virtual ethernet                                                    done

   Bridged networking on /dev/vmnet0                                  failed

   Host network detection                                              done

   Host-only networking on /dev/vmnet1 (background)                    done

   DHCP server on /dev/vmnet1                                          done

   Host-only networking on /dev/vmnet8 (background)                    done

   DHCP server on /dev/vmnet8                                          done

   NAT service on /dev/vmnet8                                          done

 

The configuration of VMware Workstation 6.0.0 build-45731 for Linux for this

running kernel completed successfully.

 

You can now run VMware Workstation by invoking the following command:

"/usr/bin/vmware".

 

Enjoy,

 

--the VMware team

 

The Bridged networking shows as failed.

 

However if I delete the /etc/vmware/not_configured the system runs fine...

 

Any suggestions?

Steven Hirsch Novice 32 posts since
Apr 23, 2005
Currently Being Moderated
5. Sep 1, 2007 6:29 AM in response to: psyk
Re: Ubuntu Linux 7.04 Feisty host loses configuration on reboot

Same symptoms here.  I'm noticing a "stuck" vmnet-natd process that I believe is the root of the problem.  When the "requies reconfig.." warning comes up, I do:

 

$ /etc/init.d/vmware stop

$ killall -9 vmnet-natd

$ rm -f /etc/vmware/not_configured

 

then:

 

$ /etc/init.d/vmware start

 

and I'm fine to go.  I'm just tempted to put this sequence into a local init file and be done with it.

KevinG Guru 16,983 posts since
Jan 8, 2004
Currently Being Moderated
6. Sep 1, 2007 6:47 AM in response to: Steven Hirsch
Re: Ubuntu Linux 7.04 Feisty host loses configuration on reboot

Did you have any other VMware Products installed before?

 

Check /etc/init.d/* for multiple startup script for vmware

Steven Hirsch Novice 32 posts since
Apr 23, 2005
Currently Being Moderated
7. Sep 1, 2007 7:36 AM in response to: KevinG
Re: Ubuntu Linux 7.04 Feisty host loses configuration on reboot

Good thought!  But I've checked and this is not the case.  At least one of my co-workers is seeing the same problem on his system, also Ubuntu 7.04 + WS6.  FWIW, I ran VMware 5.5 on this box (and on Ubuntu 6.10 previously) and never observed the problem.

 

Here's a syslog extract that shows the sequence.  Sure does look like the dhcp server is being started 2x, but darned if I know why.

 

(cold start here)

 

Sep  1 09:18:43 duo kernel: \[  107.575433] /dev/vmnet: open called by PID 5632 (vmnet-bridge)

Sep  1 09:18:43 duo kernel: \[  107.575457] /dev/vmnet: hub 0 does not exist, allocating memory.

Sep  1 09:18:43 duo kernel: \[  107.575482] /dev/vmnet: port on hub 0 successfully opened

 

Sep  1 09:18:43 duo vmnet-dhcpd: Internet Software Consortium DHCP Server 2.0

Sep  1 09:18:43 duo vmnet-dhcpd: Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.

Sep  1 09:18:43 duo vmnet-dhcpd: All rights reserved.

Sep  1 09:18:43 duo vmnet-dhcpd:

Sep  1 09:18:43 duo vmnet-dhcpd: Please contribute if you find this software useful.

Sep  1 09:18:43 duo vmnet-dhcpd: For info, please visit http://www.isc.org/dhcp-contrib.html

Sep  1 09:18:43 duo vmnet-dhcpd:

Sep  1 09:18:43 duo vmnet-dhcpd: Configured subnet: 192.168.29.0

Sep  1 09:18:43 duo vmnet-dhcpd: Setting vmnet-dhcp IP address: 192.168.29.254

Sep  1 09:18:43 duo vmnet-dhcpd: Recving on     VNet/vmnet8/192.168.29.0

Sep  1 09:18:43 duo vmnet-dhcpd: Sending on     VNet/vmnet8/192.168.29.0

 

Sep  1 09:18:43 duo kernel: \[  107.845739] /dev/vmnet: open called by PID 5648 (vmnet-dhcpd)

Sep  1 09:18:43 duo kernel: \[  107.845746] /dev/vmnet: hub 8 does not exist, allocating memory.

Sep  1 09:18:43 duo kernel: \[  107.845755] /dev/vmnet: port on hub 8 successfully opened

Sep  1 09:18:43 duo kernel: \[  107.949071] /dev/vmnet: open called by PID 5653 (vmnet-natd)

Sep  1 09:18:43 duo kernel: \[  107.949079] /dev/vmnet: port on hub 8 successfully opened

 

Sep  1 09:18:43 duo vmnet-detect\[5638]: NetDetectDaemonInit: No host policy file found. Not initializing filter.

Sep  1 09:18:43 duo vmnet-detect\[5638]: Unable to initialize the daemon

 

Sep  1 09:18:48 duo kernel: \[  112.147645] /dev/vmnet: open called by PID 5799 (vmnet-bridge)

Sep  1 09:18:48 duo kernel: \[  112.147750] /dev/vmnet: port on hub 0 successfully opened

 

Sep  1 09:18:48 duo vmnet-detect\[5804]: NetDetectDaemonInit: No host policy file found. Not initializing filter.

Sep  1 09:18:48 duo vmnet-detect\[5804]: Unable to initialize the daemon

 

Sep  1 09:18:48 duo vmnet-dhcpd: Internet Software Consortium DHCP Server 2.0

Sep  1 09:18:48 duo vmnet-dhcpd: Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.

Sep  1 09:18:48 duo vmnet-dhcpd: All rights reserved.

Sep  1 09:18:48 duo vmnet-dhcpd:

Sep  1 09:18:48 duo vmnet-dhcpd: Please contribute if you find this software useful.

Sep  1 09:18:48 duo vmnet-dhcpd: For info, please visit http://www.isc.org/dhcp-contrib.html

Sep  1 09:18:48 duo vmnet-dhcpd:

Sep  1 09:18:48 duo vmnet-dhcpd: Configured subnet: 192.168.29.0

Sep  1 09:18:48 duo vmnet-dhcpd: Setting vmnet-dhcp IP address: 192.168.29.254

Sep  1 09:18:48 duo vmnet-dhcpd: Recving on     VNet/vmnet8/192.168.29.0

Sep  1 09:18:48 duo vmnet-dhcpd: Sending on     VNet/vmnet8/192.168.29.0

 

Sep  1 09:18:48 duo kernel: \[  112.249891] /dev/vmnet: open called by PID 5813 (vmnet-dhcpd)

Sep  1 09:18:48 duo kernel: \[  112.249902] /dev/vmnet: port on hub 8 successfully opened

 

Sep  1 09:18:48 duo vmnet-dhcpd: There's already a DHCP server running.

Sep  1 09:18:48 duo vmnet-dhcpd: exiting.

 

Sep  1 09:18:48 duo kernel: \[  112.252885] /dev/vmnet: open called by PID 5818 (vmnet-natd)

Sep  1 09:18:48 duo kernel: \[  112.252891] /dev/vmnet: port on hub 8 successfully opened

 

Sep  1 09:18:53 duo kernel: \[  117.664385] /dev/vmnet: open called by PID 5912 (vmnet-netifup)

Sep  1 09:18:53 duo kernel: \[  117.664396] /dev/vmnet: port on hub 8 successfully opened

 

Sep  1 09:18:54 duo VMware\[init]: Host-only networking disabled because 192.168.29.1

Sep  1 09:18:54 duo VMware\[init]: appears to be a real, physical, existing address.

Sep  1 09:18:54 duo VMware\[init]: Please run "/usr/bin/vmware-config.pl" to

Sep  1 09:18:54 duo VMware\[init]: modify your host-only network configuration.

 

(shutdown vmware daemons, kill -9 vmnet-natd, etc...)

 

(restart vmware daemons)

 

Sep  1 09:21:44 duo kernel: \[  288.704236] /dev/vmnet: open called by PID 6663 (vmnet-bridge)

Sep  1 09:21:44 duo kernel: \[  288.704244] /dev/vmnet: hub 0 does not exist, allocating memory.

Sep  1 09:21:44 duo kernel: \[  288.704252] /dev/vmnet: port on hub 0 successfully opened

 

Sep  1 09:21:44 duo vmnet-detect\[6669]: NetDetectDaemonInit: No host policy file found. Not initializing filter.

Sep  1 09:21:44 duo vmnet-detect\[6669]: Unable to initialize the daemon

 

Sep  1 09:21:44 duo vmnet-dhcpd: Internet Software Consortium DHCP Server 2.0

Sep  1 09:21:44 duo vmnet-dhcpd: Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.

Sep  1 09:21:44 duo vmnet-dhcpd: All rights reserved.

Sep  1 09:21:44 duo vmnet-dhcpd:

Sep  1 09:21:44 duo vmnet-dhcpd: Please contribute if you find this software useful.

Sep  1 09:21:44 duo vmnet-dhcpd: For info, please visit http://www.isc.org/dhcp-contrib.html

Sep  1 09:21:44 duo vmnet-dhcpd:

Sep  1 09:21:44 duo vmnet-dhcpd: Configured subnet: 192.168.29.0

Sep  1 09:21:44 duo vmnet-dhcpd: Setting vmnet-dhcp IP address: 192.168.29.254

Sep  1 09:21:44 duo vmnet-dhcpd: Recving on     VNet/vmnet8/192.168.29.0

Sep  1 09:21:44 duo vmnet-dhcpd: Sending on     VNet/vmnet8/192.168.29.0

 

Sep  1 09:21:44 duo kernel: \[  288.722948] /dev/vmnet: open called by PID 6678 (vmnet-dhcpd)

Sep  1 09:21:44 duo kernel: \[  288.722955] /dev/vmnet: hub 8 does not exist, allocating memory.

Sep  1 09:21:44 duo kernel: \[  288.722964] /dev/vmnet: port on hub 8 successfully opened

 

Sep  1 09:21:44 duo kernel: \[  288.725871] /dev/vmnet: open called by PID 6683 (vmnet-natd)

Sep  1 09:21:44 duo kernel: \[  288.725878] /dev/vmnet: port on hub 8 successfully opened

KevinG Guru 16,983 posts since
Jan 8, 2004
Currently Being Moderated
8. Sep 1, 2007 9:14 AM in response to: Steven Hirsch
Re: Ubuntu Linux 7.04 Feisty host loses configuration on reboot

Sep 1 09:18:54 duo VMware\[init]: Host-only networking disabled because 192.168.29.1

Sep 1 09:18:54 duo VMware\[init]: appears to be a real, physical, existing address.

Sep 1 09:18:54 duo VMware\[init]: Please run "/usr/bin/vmware-config.pl" to

Sep 1 09:18:54 duo VMware\[init]: modify your host-only network configuration.

 

This seem interesting, can you post the output from " ifconfig -a " from the host

Steven Hirsch Novice 32 posts since
Apr 23, 2005
Currently Being Moderated
9. Sep 1, 2007 9:26 AM in response to: KevinG
Re: Ubuntu Linux 7.04 Feisty host loses configuration on reboot

I am not running a dhcp server on this machine (besides vmnet-dhcp) and that address is not even on my local network.  As you can see, a second try succeeds:

 

eth0      Link encap:Ethernet  HWaddr 00:18:F3:4F:2D:12 

          inet addr:192.168.245.26  Bcast:192.168.245.255  Mask:255.255.255.0

          UP BROADCAST RUNNING MULTICAST  MTU:9000  Metric:1

          RX packets:23599 errors:0 dropped:0 overruns:0 frame:0

          TX packets:23754 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:18735608 (17.8 MiB)  TX bytes:14033854 (13.3 MiB)

          Interrupt:19

 

eth1      Link encap:Ethernet  HWaddr 00:18:F3:4F:63:D1 

          UP BROADCAST MULTICAST  MTU:1500  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

          Interrupt:17

 

lo        Link encap:Local Loopback 

          inet addr:127.0.0.1  Mask:255.0.0.0

          UP LOOPBACK RUNNING  MTU:16436  Metric:1

          RX packets:283 errors:0 dropped:0 overruns:0 frame:0

          TX packets:283 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0

          RX bytes:38767 (37.8 KiB)  TX bytes:38767 (37.8 KiB)

 

vmnet8    Link encap:Ethernet  HWaddr 00:50:56:C0:00:08 

          inet addr:192.168.29.1  Bcast:192.168.29.255  Mask:255.255.255.0

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:56 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

KevinG Guru 16,983 posts since
Jan 8, 2004
Currently Being Moderated
10. Sep 1, 2007 9:52 AM in response to: Steven Hirsch
Re: Ubuntu Linux 7.04 Feisty host loses configuration on reboot

Post the output from " cat /etc/vmware/locations | grep 192.168.29 "

Steven Hirsch Novice 32 posts since
Apr 23, 2005
Currently Being Moderated
11. Sep 1, 2007 11:16 AM in response to: KevinG
Re: Ubuntu Linux 7.04 Feisty host loses configuration on reboot

Sure, here 'tis:

 

answer VNET_8_HOSTONLY_HOSTADDR 192.168.29.1

answer VNET_8_HOSTONLY_SUBNET 192.168.29.0

answer VNET_8_HOSTONLY_HOSTADDR 192.168.29.1

answer VNET_8_HOSTONLY_SUBNET 192.168.29.0

answer VNET_8_HOSTONLY_HOSTADDR 192.168.29.1

answer VNET_8_HOSTONLY_SUBNET 192.168.29.0

answer VNET_8_HOSTONLY_HOSTADDR 192.168.29.1

answer VNET_8_HOSTONLY_SUBNET 192.168.29.0

answer VNET_8_HOSTONLY_HOSTADDR 192.168.29.1

answer VNET_8_HOSTONLY_SUBNET 192.168.29.0

answer VNET_8_HOSTONLY_HOSTADDR 192.168.29.1

answer VNET_8_HOSTONLY_SUBNET 192.168.29.0

answer VNET_8_HOSTONLY_HOSTADDR 192.168.29.1

answer VNET_8_HOSTONLY_SUBNET 192.168.29.0

answer VNET_8_HOSTONLY_HOSTADDR 192.168.29.1

answer VNET_8_HOSTONLY_SUBNET 192.168.29.0

answer VNET_8_HOSTONLY_HOSTADDR 192.168.29.1

answer VNET_8_HOSTONLY_SUBNET 192.168.29.0

answer VNET_8_HOSTONLY_HOSTADDR 192.168.29.1

answer VNET_8_HOSTONLY_SUBNET 192.168.29.0

KevinG Guru 16,983 posts since
Jan 8, 2004
Currently Being Moderated
12. Sep 1, 2007 9:34 PM in response to: Steven Hirsch
Re: Ubuntu Linux 7.04 Feisty host loses configuration on reboot

I believe that you may have a duplicate script that is starting the virtual networking a second time and it may be failing because it was started by a previous script and the second one fails creating the not_configured

 

You may want to uninstall VMware and remove /etc/vmware, remove any "vmware" scripts in /etc/init.d /etc/rc3.d /etc/rc5.d

 

Reinstall VMware and leave all the defaults when running vmware-config.pl, if you need to change anything it should only be what interface is bridged to vmnet0 (like eth0 or eth1..etc)

 

The uninstall will not delete any virtual machines.

Steven Hirsch Novice 32 posts since
Apr 23, 2005
Currently Being Moderated
13. Sep 2, 2007 6:16 AM in response to: KevinG
Re: Ubuntu Linux 7.04 Feisty host loses configuration on reboot

Ok, there were duplicate Re: Ubuntu Linux 7.04 Feisty host loses configuration on rebootsymlinks[/u] under three of the rc.* directories.  Scripts are stored in /etc/init.d and all references to them are symlinked as Snn* and Knn* from the various rcN.d directories.  Once I figured out what you were trying to say, the fix was easy.  Apparently, the upgrade from WS5.5 --> WS6 failed to properly clean up from the earlier version.

 

Might be worth adding this to your knowledge base, since I know at least one other user that's been bitten in the same manner. 

 

Thanks again!

KevinG Guru 16,983 posts since
Jan 8, 2004
Currently Being Moderated
14. Sep 2, 2007 7:05 AM in response to: Steven Hirsch
Re: Ubuntu Linux 7.04 Feisty host loses configuration on reboot

Hi Steven,

 

Thanks for the update

 

If you can remember any of the complete details of what duplicate symlinks where left behind would be helpful for the KB that I will create as per your suggestion

Bookmarked By (0)

Share This Page

Communities