Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am periodically seeing the following text show up in my apache2 error logs:

No entry for terminal type "unknown";
using dumb terminal settings.

There is no reference to what is causing this error to be thrown. I would appreciate help figuring out 1) How can I track down the source of this error and 2) what might an appropriate solution be?

share|improve this question

The error means:

  • you have a library or apache module that is using ncurses or similar library that can render text in a terminal
  • the TERM environment variable is set to "unknown"

You can check the environment of a process with ps e $PID or with cat /proc/$PID/environ |sed 's/[\x0]/\n/g' where PID is the process id.

To find which library is using curses, ncurses, slang, check the binaries with ldd.

share|improve this answer

What is the setting of your TERM Variable? You can set them normally at /usr/share/terminfo/ as I understood that should be by default vt100.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.