Cannot get terminal settings: Inappropriate ioctl for device (25)

Post Reply
gr1wa
Posts: 2
Joined: Fri Jun 25, 2021 6:42 pm

Hello!

I suppose it's not exactly according to the address, but please give a hint. Cron constantly sends errors.

"Cannot get terminal settings: Inappropriate ioctl for device (25)
Unknown terminal: unknown
Check the TERM environment variable.
Also make sure that the terminal is defined in the terminfo database.
Alternatively, set the TERMCAP environment variable to the desired
termcap entry."

How to fix it? Google suggests that the matter may be in the installed mc, but what exactly and how to fix it did not understand.
User avatar
myVesta
Site Admin
Posts: 928
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 8 times
Been thanked: 6 times

Never seen this, and I'm sure this this is not related to myVesta.
Maybe you are trying to run (via cron) program that is expecting user input (from keyboard).
gr1wa
Posts: 2
Joined: Fri Jun 25, 2021 6:42 pm

I created a new vps on digitalocean, brought up openvpn there, installed mc, installed myvista. I did nothing more, did not create cron tasks.
Post Reply