Page 1 of 1

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

Posted: Sat Jun 26, 2021 1:11 pm
by gr1wa
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.

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

Posted: Sat Jun 26, 2021 1:16 pm
by myVesta
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).

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

Posted: Sat Jun 26, 2021 4:03 pm
by gr1wa
I created a new vps on digitalocean, brought up openvpn there, installed mc, installed myvista. I did nothing more, did not create cron tasks.