GL_MONITOR Error setting TIOCEXCL

Hello,

I understand that gl_monitor will make sure the WAN port is connected. I have a GLX750V2 and I keep getting this message in the log:

daemon.err gl_monitor[9794]: Error setting TIOCEXCL on /dev/ttyUSB2 - Not a tty(25).

I dont understand what does it actually mean, I have many X750 routers and none of them shows this message so I would like to find out it there is something wrong with this particular device.

Thank you

Can you share the contents of the following command?

ls /dev

Hi, here’s the output of the command

bus                 hwrng               mtd1ro              mtd5                mtdblock3           null                sda1                ttyS12              ttyS5               ttyUSB2
cdc-wdm0            kmsg                mtd2                mtd5ro              mtdblock4           port                shm                 ttyS13              ttyS6               ttyUSB3
console             log                 mtd2ro              mtd6                mtdblock5           ppp                 tty                 ttyS14              ttyS7               ubi_ctrl
cpu_dma_latency     memory_bandwidth    mtd3                mtd6ro              mtdblock6           ptmx                ttyS0               ttyS15              ttyS8               urandom
full                mtd0                mtd3ro              mtdblock0           net                 pts                 ttyS1               ttyS2               ttyS9               watchdog
fuse                mtd0ro              mtd4                mtdblock1           network_latency     random              ttyS10              ttyS3               ttyUSB0             zero
gpiochip0           mtd1                mtd4ro              mtdblock2           network_throughput  sda                 ttyS11              ttyS4               ttyUSB1

Quoute does not show it but I actually I noticed /dev/ttyUSB2 is different from other USB ports

So this I also check its permissions, these are from the affected x750

crw-rw----    1 root     dialout   188,   0 Feb 19 16:41 /dev/ttyUSB0
crw-rw----    1 root     dialout   188,   1 Feb 19 16:41 /dev/ttyUSB1
-rw-r--r--    1 root     dialout       2468 Mar  1 10:16 /dev/ttyUSB2
crw-rw----    1 root     dialout   188,   3 Feb 19 16:41 /dev/ttyUSB3

And these are from an x750 working properly

crw-rw----    1 root     dialout   188,   0 Mar  1 08:22 /dev/ttyUSB0
crw-rw----    1 root     dialout   188,   1 Feb  7 11:15 /dev/ttyUSB1
crw-rw----    1 root     dialout   188,   2 Feb  7 11:15 /dev/ttyUSB2
crw-rw----    1 root     dialout   188,   3 Mar  1 11:00 /dev/ttyUSB3
crw-rw----    1 root     dialout   188,   4 Feb  7 11:15 /dev/ttyUSB4

It looks like ttyUSB2 is just a normal file, not a device file, you can try to delete it and restart the device.