Getting Error Installing MRTG On FC 4

Rick Stevens rstevens at vitalstream.com
Fri Mar 2 18:50:36 UTC 2007


On Fri, 2007-03-02 at 07:15 -0800, Fyodor Jr wrote:
> When i make a configuration file this command below
> 
> [root at secure bin]# ./cfgmaker --global "WorkDir: /var/www/mrtg"
> --global "Options[_]:bits,growright" --output /var/mrtg/cfg/mrtg.cfg
> public at 172.16.0.1
> 
> 
> I got an error like this 
> 
> --base: Walking ifSpeed
> --base: Writing /var/mrtg/cfg/mrtg.cfg
> ERROR: creating /var/mrtg/cfg/mrtg.cfg: No such file or directory
> [root at secure bin]#
> 
> Could anyone solve this problem ? 

cfgmaker can't create parent directories to its output file.  By
default, there is no /var/mrtg/cfg directory, so you must create it
first.  The command to do that is:

	# mkdir -p /var/mrtg/cfg

Then you can run cfgmaker.

----------------------------------------------------------------------
- Rick Stevens, Principal Engineer          rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-   You possess a mind not merely twisted, but actually sprained.    -
----------------------------------------------------------------------




More information about the fedora-list mailing list