LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 02-16-2004, 05:32 PM   #1
zhgalaxy
LQ Newbie
 
Registered: Feb 2004
Location: winston-salem, NC
Distribution: I dont know
Posts: 5

Rep: Reputation: 0
Angry how to change the Red Hat ENV LANG?


I am trying to install and run MRTG in my Red Hat, after having installed it, I created a configuration file under /home/mrtg/cfg/mrtg.cfg

and by following the instruction, I type the command

mrtg /home/mrtg/cfg/mrtg.cfg

this command is supposed to query my router and also create my first mrtg traffic graphs and webpages. but I got an error message like this:

mrtg will most likely not working properly when the enviroment variable LANG is set to UTF-8. please run mrtg in an enviroment where this is not the case:
env LANG=C. /mrtg ...


so I figure: maybe I can the lang env into non UTF-8, then found I really dont know how and what effect will this lead to my system.

Thanks for any help
 
Old 02-16-2004, 08:37 PM   #2
pedro_nf
Member
 
Registered: Sep 2003
Location: France
Distribution: RedHat
Posts: 58

Rep: Reputation: 15
to change the LANG env setting for everyone as root goto /etc/sysconfig/i18n

or you can change it for the current user by creating a file .i18n in the user's root directory.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change to red hat sajjadc Linux - Software 2 06-19-2005 09:27 AM
Problem loggin in GNome Env. on Red Hat 9 jhazzy Linux - Newbie 4 09-25-2004 03:15 AM
Why cant I change my resolution in Red Hat 9? neozero62 Linux - Newbie 3 10-25-2003 12:39 PM
change resolution in red hat 7? TheWoodchuck Linux - General 2 01-02-2002 02:38 PM
How to change the screen resolution in Red Hat 7.1 KDE env/ vbp1 Linux - General 2 10-11-2001 07:04 AM


All times are GMT -5. The time now is 06:18 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration