LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   hello with my first thread : i got a MRTG problem on Fedora14 (https://www.linuxquestions.org/questions/linux-newbie-8/hello-with-my-first-thread-i-got-a-mrtg-problem-on-fedora14-924750/)

not123za 01-20-2012 03:16 AM

hello with my first thread : i got a MRTG problem on Fedora14
 
after i install mrtg-2.16.4-3.fc14.i686.rpm
then i create mrtg.cfg with vi command like this

>
#cfmaker --global 'WorkDir:/var/www/html/mrtg' --global
'options[_] :bits,growright' --output
/home/mrtg/cfg/mrtg.cfg public@xx.xx.xx.xx

then i run
>mrtg /home/mrtg/cfg/mrtg.cfg
>ERROR : mrtg will most ~~~~~~ Try the following command to start
env LANG=C /usr/bin/mrtg /home/mrtg/cfg/mrtg.cfg

then i run
>env LANG=C /usr/bin/mrtg /home/mrtg/cfg/mrtg.cfg
>ERROR: Line 2 ('options[_] :bits,growright' --output)in CFG file dose not make sense

im just start learning Linux 2 weeks ago
pls advice me
sry for my bad english

John VV 01-20-2012 11:43 PM

Quote:


im just start learning Linux 2 weeks ago
pls advice me
sry for my bad english
no problem bad English is no big deal .
but PLEASE DO NOT use "text speek "
"pls" is NOT the word "please"
"sry" is NOT the word "sorry"

but first the bad news
---------------------------
fedora 14 is past it's END OF LIFE
there is and there NEVER will be any more support for 14
no new programs
no bug fixes
no SECURITY fixes
-- no nothing , it is dead .--
-------------------------------

The current is fedora 16
if you are going to use fedora then you NEED to stay current and install the new version EVERY 6 months
-- yes reinstall the OS every 6 months. Preupgrade might work but DO NOT COUNT ON IT !!! ---


as to editing that file
is using "vi" a MUST DO / MUST USE VI ?
if not then " nano" is a better choice until you have memorized the vi key commands

fedora has nano installed by default
also you might want ( for terminal use ) install " mc " ( midnight commander)
it is a terminal file manager and editor
Code:

su -
yum install mc


from the mrtg documentation page
http://oss.oetiker.ch/mrtg/doc/mrtg-unix-guide.en.html

but fedora should have it in the repos
14 is not supported so the older 2.16 will NEVER be updated to the current 2.17
--- or ---
did you do the first part and build it from source
if you fallowed the instructions on the first half of the above page - you most likely relay messed up your system .
or did you use "yum" to make sure that
gcc,gd,libpng,zlib, were installed ( AND there -devel rpms )


All times are GMT -5. The time now is 01:04 AM.