Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: podge on January 01, 2007, 06:14:20 PM
-
I have just updated one of my VM SME servers to 7.1 using yum.
And was left without any network connectivity.
I found that rerunning the;
/usr/bin/vmware-config-tools.pl
Restored access.
Also double check that you are still using your chosen kernel at boot, it reconfigured mine to "smp".
Chilly
-
/usr/bin/vmware-config.pl
-
In My experience the VMWare Tools install script breaks the network about 50% of the time.
After faffing about with it and half a dozen reboots I finally got it going a few months ago, but teh recent upgrade to 7.1 broke VMWare Tools as Podge mentioned.
Anyway,
I have a workaround that doesn't require the install of VMWare-Tools, and (should) survive future Kernel upgrades.
Switch OFF Network Time in the server-manager panel.
Now create a custom template fragment
mkdir -p /etc/e-smith/templates-custom/etc/crontab
touch /etc/e-smith/templates-custom/etc/crontab/66_ntpdate
Open the above new file in your favourite editor (vi / pico) and add the following (Make sure you put in a line feed below the last line)
Replace 10.10.10.10 with a local NTP server if you have one, or with your local pool.ntp.org (e.g. uk.pool.ntp.org)
#Update Clock every 2 minutes
*/2 * * * * root ntpdate 10.10.10.10 > null
The /2 is the number of minutes between each update, if your clock is not running incredibly slow or fast, you could reduce this to every 10 minutes or every 30 minutes.
The > null is to stop you getting an email every X minutes telling you it has run.
You might also consider running an NTP server on the VMWare Host, and syncing up off that.
once you have made your adjustments:
expand-template /etc/crontab
/etc/rc.d/init.d/crond restart
Hope this Helps,
Hopefully this annoying issue will be fixed by RedHat / VMWare soon and it will filter down to SME.
-
Nick,
I followed your directions to hopefully fix this issue, but I am now getting emails with the following in them
10 Apr 12:00:04 ntpdate[6620]: the NTP socket is in use, exiting
I am really hoping that if I can get this fixed it will fix my problem of losing network connectivity on the SME VMWare server that I am running on my XP box.
Peter
-
Hi webCato,
You haven't done this:Switch OFF Network Time in the server-manager panel.
-
Thanks for the reply Nick,
On the page "Date and Time" under Configuration I do have the option for "Set Date and Time" selected and "Enable Network Time Server" is not selected.
Is there anywhere else that I need to turn it off?
Peter
-
Hmm, Strange.
Try switching to Network Time, Apply, then disable and apply again.
Make sure when you switch to manual time that the time is correct, as ntpdate won't update the clock if it is too far out.
You can check the status of the ntpd daemon by doing a/etc/rc.d/init.d/ntpd status
e.g. if it is properly disabled you will get:[root@sleuth2 ~]# /etc/rc.d/init.d/ntpd status
ntpd is stopped
[root@sleuth2 ~]#
You'll probably want to raise a bug in BugTracker whether this works or not, because if the Server-Manager states that network time is off, the ntpd daemon should not be running.
-
I checked the status of the ntp daemon and it is still running after I disable the network time server.
I will go and try to raise a bug in bug tracker.
How can I kill it now manually?
Thanks
Peter
-
config setprop ntpd status disabled
/etc/rc7.d/S80ntpd stop