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@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@secure bin]#
Could anyone solve this problem ?
Regards
Taufik
--------------------------------- Finding fabulous fares is fun. Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains.
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@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@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@vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - You possess a mind not merely twisted, but actually sprained. - ----------------------------------------------------------------------