SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
config (verbose + error -bug?
Author Message
Post config (verbose + error -bug? 
On Fri, Apr 06, 2007 at 09:53:45PM +0100, john plumridge wrote:

Is this a bug? I have re-tried several times.

with the config test i encounter and error:

rsnapshot encountered an error! The program was invoked with these
options:

/usr/local/bin/rsnapshot configtest

----------------------------------------------------------------------
------

ERROR: /etc/rsnapshot.conf on line 106:

ERROR: verbose 3 - verbose must be a value between 1 and 5

After a number of tries, I found a way to re-produce this error,
by putting
verbose 3
that is:
verbose <tab> <space> 3
into the config file.

So John its a bug in your config file. You probably just need to
remove any spaces between the <tab> and the number to fix the problem.

I am thinking it might be a good idea for rsnapshot to strip white
space from the start of $value (the second word of lines in the
config file) to avoid this config error biting others in future.
Or at least print a clear warning that helps identify the problem.

ERROR: /etc/rsnapshot.conf on line 111:

ERROR: loglevel 3 - loglevel must be a value between 1 and 5

All tabs are properly set, as viewed and re-entered in textmate (perl
rendering). when i comment out the option the config test passes.

OS X 10.4.9

rsnapshot 1.3.0

sincerely,
John Plumridge

___________________________________________________________________________
David Keegel <djk < at > cybersource.com.au> http://www.cyber.com.au/users/djk/
Cybersource P/L: Linux/Unix Systems Administration Consulting/Contracting

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Post config (verbose + error -bug? 
On Sat, Apr 07, 2007 at 04:19:16PM +1000, David Keegel wrote:

So John its a bug in your config file. You probably just need to
remove any spaces between the <tab> and the number to fix the problem.

Yay! I had a little bet with myself that that was the problem :-)

I am thinking it might be a good idea for rsnapshot to strip white
space from the start of $value (the second word of lines in the
config file) to avoid this config error biting others in future.
Or at least print a clear warning that helps identify the problem.

Warn, I think. I don't like software that tries to be too clever and
correct my mistakes.

--
David Cantrell | A machine for turning tea into grumpiness

Deck of Cards: $1.29.
"101 Solitaire Variations" book: $6.59.
Cheap replacement for the one thing Windows is good at: priceless
-- Shane Lazarus

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB