Re: [chrony-users] gpsd:ERROR... Permission denied

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]


During reboot, I see [OK] Started NTP client/server.
Is it okay for the NTP client/server to be running next to chronyd?



> Sent: Monday, February 05, 2018 at 3:28 PM
> From: "Bill Unruh" <unruh@xxxxxxxxxxxxxx>
> To: chrony-users@xxxxxxxxxxxxxxxxxxxx
> Subject: Re: [chrony-users] gpsd:ERROR... Permission denied
>
> This has nothing to do with chrony. It is a problem in gpsd. You need to tell gpsd what it should be reading. Also the error is permission denied, which suggests that pps0 has wrong permissions for gpsd. ls -l /dev/pps0 will show you its permission. ps auxww |grep gpsd should show what user/group gpsd is running under. William G. Unruh __| Canadian Institute for|____ Tel: +1(604)822-3273 Physics&Astronomy _|___ Advanced Research _|____ Fax: +1(604)822-5324 UBC, Vancouver,BC _|_ Program in Cosmology |____ unruh@xxxxxxxxxxxxxx Canada V6T 1Z1 ____|____ and Gravity ______|_ www.theory.physics.ubc.ca/ On Mon, 5 Feb 2018, Charles Muggen wrote: > I'm trying to setup chronyd with gpsd on a Raspberry Pi Model 2 running Raspbian Jessie. > > I'm getting a continuous stream of errors in my var/log/syslog: > > Feb 5 19:32:51 raspberrypi gpsd[610]: gpsd:ERROR: device open failed: Permission denied - retrying read-only > Feb 5 19:32:51 raspberrypi gpsd[610]: gpsd:ERROR: read-only device open failed: Permission denied > Feb 5 19:32:51 raspberrypi gpsd[610]: gpsd:ERROR: /dev/pps0: device activation failed. > > What could be causing the error? > > ##### contents of /etc/chrony/chrony.conf file > driftfile /var/lib/chrony/chrony.drift > > log tracking measurements statistics > logdir /var/log/chrony > > # Stop bad estimates upsetting machine clock. > maxupdateskew 100.0 > > dumponexit > dumpdir /var/lib/chrony > > local stratum 8 > manual > smoothtime 400 0.01 > makestep .1 -1 > > allow > logchange 0.5 > rtcsync > > # set larger delay to allow the NMEA source to overlap with > # the other sources and avoid the falseticker status > refclock SHM 0 refid GPS precision 1e-1 offset 0.9999 delay 0.2 > refclock PPS /dev/pps0 lock NMEA > > > ##### contents of /etc/default/gpsd > # Default settings for the gpsd init script and the hotplug wrapper. > > # Start the gpsd daemon automatically at boot time > START_DAEMON="true" > > # Use USB hotplugging to add new USB devices automatically to the daemon > USBAUTO="false" > > # Devices gpsd should collect to at boot time. > # They need to be read/writeable, either by user gpsd or the group dialout. > DEVICES="" > > # Other options you want to pass to gpsd > GPSD_OPTIONS="-n /dev/ttyAMA0 /dev/pps0" > > > -- > To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx > with "unsubscribe" in the subject. > For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx > with "help" in the subject. > Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx. > -- To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject. For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject. Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.

--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/