LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   /dev/pts/#: device activation failed. (http://www.linuxquestions.org/questions/linux-general-1/dev-pts-device-activation-failed-4175474582/)

dirtyfishtank 08-24-2013 11:40 PM

/dev/pts/#: device activation failed.
 
Hey guys, I'm trying to install an app [gpsd] using this line
Code:

scons && scons testregress && sudo scons udev-install
As far as I can tell it sets up some tests scripts in the process but they seem to fail every time and give me this error.
Code:

Processing test/daemon/ch-4701.log...gpsd:ERROR: device open failed: Permission denied - retrying read-only
gpsd:ERROR: read-only device open failed: Permission denied
gpsd:ERROR: /dev/pts/2: device activation failed.
gpsd:ERROR: device open failed: Permission denied - retrying read-only
gpsd:ERROR: read-only device open failed: Permission denied
gpsd:ERROR: /dev/pts/2: device activation failed.

What does this mean? By default permission in this folder look like this
Code:

[root@localhost gpsd-3.9]# ll /dev/pts
total 0
crw--w----. 1 root tty  136, 0 Aug 25 14:34 0
crw--w----. 1 root tty  136, 1 Aug 25 14:36 1
c---------. 1 root root  5, 2 Aug 25 14:21 ptmx

I tried manually changing the permission using chmod 666 /dev/pts/* but this doesn't help. Any ideas?

teckk 08-25-2013 12:23 PM

I've never used this.

Look at:
man pts
man unlockpt
http://www.catb.org/gpsd/
http://packages.debian.org/unstable/misc/gpsd

Good luck, let us know what you find.


All times are GMT -5. The time now is 05:56 PM.