Saturday, December 31, 2005

E__R__R__O__R

I found this error whe i start my mrtg:

#####################################################################################
Starting MRTG: -----------------------------------------------------------------------
ERROR: Mrtg will most likely not work propperly when the environment
variable LANG is set to UTF-8. Please run mrtg in an environment
where this is not the case:

env LANG=C /usr/bin/mrtg ...
-----------------------------------------------------------------------
#####################################################################################


the simply solution is:

#####################################################################################
LANG="en_US.UTF-8"
SUPPORTED="en_US.UTF-8:en_US:en"
SYSFONT="latarcyrheb-sun16"

#####################################################################################
simply edit the /etc/sysconfig/i18n file and change LANG="en_US.UTF-8" to LANG="en_US". Now you should be able to run the command "mrtg" and receive this output:

or you can just type LANG="en_US" in shell and that fixes it too.


its so easy man, but im so long on my BT
M E R D E K A

No comments: