ttyS0: tcgetattr: Input/output error


#1

Hi. I use VyOS 1.1.5 (virtual 64-bit) in Proxmox enviropment. Very often get syslog error:

13.07.2015 10:48:45 vpn-01.dc1.b2b-center.ru Error Security vpn-01 getty getty[20676]: ttyS0: tcgetattr: Input/output error 13.07.2015 10:48:35 vpn-01.dc1.b2b-center.ru Error Security vpn-01 getty getty[20675]: ttyS0: tcgetattr: Input/output error 13.07.2015 10:48:25 vpn-01.dc1.b2b-center.ru Error Security vpn-01 getty getty[20674]: ttyS0: tcgetattr: Input/output error 13.07.2015 10:48:15 vpn-01.dc1.b2b-center.ru Error Security vpn-01 getty getty[20673]: ttyS0: tcgetattr: Input/output error 13.07.2015 10:48:05 vpn-01.dc1.b2b-center.ru Error Security vpn-01 getty getty[20672]: ttyS0: tcgetattr: Input/output error

What is the possible cause of this error? How will i can resolve it?


#2

Looks like spurious serial port errors, probably because one is not available.


#3

VM don’t have serial port. What can i do for solve the problem?


#4

There is no problem per se, you just don’t have a serial port.

If you don’t want the messages logged, probably something in inittab needs to be commented out.


#5

[code]configure

delete system console ttyS0

commit

save
[/code]


#6

Well that’s way better.


#7

Don’t help me. Have syslog error after delete system console. Also when i commit delete system console, get the message:

[ system console device ttyS0 ]
Warning: Access to system console is unconfigured


#8

I had this same issue on a new install (1.1.7). I added the console, removed it again, and rebooted and the issue went away

set system console device ttyS0 delete system console commit save reboot