LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-23-2002, 11:13 AM   #1
jaycee999
Member
 
Registered: Mar 2002
Location: From: Nashville,Tn Currently: Massachusetts
Distribution: Slackware 9.0
Posts: 39

Rep: Reputation: 15
NTP problem




Hello everyone. I've got a problem with my ntp service. I've got it configured to start up at boot time and it does this okay. The problem is that it's not connecting to the timeserver I listed in the ntp.conf file. Here are the relavant lines that I have in that file.

## 192.43.244.18 = time.nist.gov
server 192.43.244.18 mode 5 prefer
.
.
driftfile /etc/ntp.drift # path for drift file
.
.
logfile /var/log/ntp # alternate log file

In /var/log/ntp I can see that the program is trying to run but it's getting hung up. I can't figure out what the error messages mean. They say:

xntpd[815]: ntpd exiting on signal 15
xntpd[564]: configure:keyword "^M" unknown, line ignored
xntpd[564]: configure:keyword "^M" unknown, line ignored

I've looked at the ntp.conf file with end of line and tab characters shown and I can't find "^M" anywhere. I've also noticed that the time difference between the first error message and the last two is always a few minutes apart. The version of ntp is 4.0.99 and I'm running SuSE Linux 7.2.

If anyone knows what might be wrong your help will greatly be appreciated. Thanks.
 
Old 07-25-2002, 10:48 PM   #2
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,266

Rep: Reputation: 3922Reputation: 3922Reputation: 3922Reputation: 3922Reputation: 3922Reputation: 3922Reputation: 3922Reputation: 3922Reputation: 3922Reputation: 3922Reputation: 3922
Sounds like you have windows return characters in there. Was the file created in windows?

--jeremy
 
Old 07-30-2002, 03:42 PM   #3
jaycee999
Member
 
Registered: Mar 2002
Location: From: Nashville,Tn Currently: Massachusetts
Distribution: Slackware 9.0
Posts: 39

Original Poster
Rep: Reputation: 15
Sorry it's taken me so long. I've been busy. Anyway, as far as I know it was created on a linux box. What can I do to check and correct if it was created with a Windows editor.
 
Old 07-31-2002, 11:14 PM   #4
siddiqu
Member
 
Registered: Mar 2001
Location: India
Posts: 332

Rep: Reputation: 30
Hi..

Just try

server <ipaddress>

with out mode..

Siddiqu.T
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NTP cannot work with timeserver, NTP-d can jerryvapps Linux - Networking 0 08-04-2004 03:04 PM
ntp problem, uninstall how? neozero62 Linux - Newbie 3 07-23-2004 02:32 AM
ntp problem,,, Anmar Linux - Software 0 03-26-2004 11:35 AM
NTP (xntpd) problem saavik Linux - Networking 2 11-03-2003 04:39 AM
ntp problem ? virtaava Linux - Newbie 0 10-09-2001 06:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration