Re: Getting Error Installing MRTG On FC 4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2007-03-02 at 07:15 -0800, Fyodor Jr wrote:
> When i make a configuration file this command below
> 
> [root@secure bin]# ./cfgmaker --global "WorkDir: /var/www/mrtg"
> --global "Options[_]:bits,growright" --output /var/mrtg/cfg/mrtg.cfg
> public@xxxxxxxxxx
> 
> 
> 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@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@xxxxxxxxxxxxxxx -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-   You possess a mind not merely twisted, but actually sprained.    -
----------------------------------------------------------------------


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux