Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Nov 04, 2009 3:47 pm 
Offline
Junior Member

Joined: Fri Jan 02, 2009 9:11 am
Posts: 36
I have upgraded to ubuntu 9.10 and everything went ok apart from when I log into lish I get the screen.

* Stopping NTP server ntpd
* Starting NTP server ntpd
* Stopping NTP server ntpd
* Starting NTP server ntpd

The screen hangs at this and I cant get into the console. I can still ssh normally into the machines and my web sites are up but I would like to be able to use the lish screen.

Any ideas?


Top
   
 Post subject:
PostPosted: Wed Nov 04, 2009 3:51 pm 
Offline
Senior Member

Joined: Wed Feb 13, 2008 2:40 pm
Posts: 126
http://www.linode.com/forums/viewtopic.php?t=4782

?


Top
   
 Post subject:
PostPosted: Wed Nov 04, 2009 3:58 pm 
Offline
Junior Member

Joined: Fri Jan 02, 2009 9:11 am
Posts: 36
Thanks I followed that and I can get in via SSH but I am still getting the error messages about NTP.

Any ideas about these? or are other people getting the same?


Top
   
 Post subject:
PostPosted: Wed Nov 04, 2009 9:35 pm 
Offline
Senior Member

Joined: Sun Aug 02, 2009 1:32 pm
Posts: 222
Website: https://www.barkerjr.net
Location: Connecticut, USA
It might help if you tell us what the errors are :)


Top
   
PostPosted: Fri Nov 06, 2009 12:01 pm 
Offline
Senior Member

Joined: Sat Mar 28, 2009 4:23 pm
Posts: 415
Website: http://jedsmith.org/
Location: Out of his depth and job-hopping without a clue about network security fundamentals
ollietrex wrote:
I have upgraded to ubuntu 9.10 and everything went ok apart from when I log into lish I get the screen.

* Stopping NTP server ntpd
* Starting NTP server ntpd
* Stopping NTP server ntpd
* Starting NTP server ntpd


This doesn't sound like a problem with ntpd at all, as for some reason under upstart ntpd restarts itself like it's going out of style. I've observed this on my own 9.10 install.

ntpd isn't hanging on your console, it's that you don't have anything listening on your Linode's virtual console. From SSH, try this:

Code:
mknod /dev/hvc0 c 229 0
vim /etc/init/hvc0.conf


Add this to hvc0.conf:

Code:
# hvc0 - getty for Linode console 

start on stopped rc RUNLEVEL=[2345]
stop on runlevel [!2345]

respawn
exec /sbin/getty -8 38400 hvc0


Back to shell:

Code:
:wq
service hvc0 restart


And check LISH again.

_________________
Disclaimer: I am no longer employed by Linode; opinions are my own alone.


Top
   
 Post subject:
PostPosted: Fri Nov 06, 2009 12:07 pm 
Offline
Junior Member

Joined: Fri Jan 02, 2009 9:11 am
Posts: 36
Thanks for the update, I managed to sort the lish SSH and I will just ignore what is going on with the ntpd service.


Top
   
 Post subject:
PostPosted: Mon Nov 09, 2009 4:38 pm 
Offline
Senior Member

Joined: Sat May 03, 2008 4:01 pm
Posts: 569
Website: http://www.mattnordhoff.com/
FWIW, I haven't confirmed this at all or anything, but I suspect the ntpd restarts are because of ntpdate:

  • Upstart starts ntpd
  • Upstart brings up some network interface
  • ntpdate ifup script stops ntpd, runs ntpdate, restarts ntpd


I have no proof, but it's the only plausible explanation I've thought of.

I eventually disabled the ifup script (/etc/network/if-up.d/ntpdate) when I was restarting my IPv6 tunnel interface while working on it, and the ntpd restarts were annoying me. The host runs ntpd, so unless something goes wrong, the clock will be accurate enough on boot, and ntpd can handle it from there. I'm not generally recommending it or anything, though.

Edit: Fix BBCode.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group