У меня в общем-то такая проблема. Вчера инсталил Апач 22 на тестовую машинку с Фрёй 7.3... ничего в общем-то сложного, всё как обычно, инсталлировалось, завелось. Удовлетворённый (морально... не подумайте ), всё отключил и ушёл. Сегодня с утра запускаю машинку, захожу по SSH, логинюсь, и вот тут начинаются проблемы. Получаю сообщение:
Код: Выделить всё
login as: User
Using keyboard-interactive authentication.
Password:***
. . .
No 'freebsd-tips' found in /usr/share/games/fortune.
Cannot read termcap database;
using dumb terminal settings.
Код: Выделить всё
$ su
Password:***
_su: Cannot open /etc/termcap.
_su: using dumb terminal settings.
Код: Выделить всё
# ee
Error opening terminal: xterm.
# vi
vi: No terminal database found
# mc
Unknown terminal: xterm
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.
Если заходить не по SSH, то после логина лутом выдаёт впринципе то же самое:
Код: Выделить всё
csh: Cannot open /etc/termcap.
csh: using dumb terminal settings.
Код: Выделить всё
# ee
Error opening terminal: cons25.
# vi
vi: No terminal database found
# mc
Unknown terminal: cons25
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.