ClamWin Free Antivirus Forum Index
ClamWin Free Antivirus
Support and Discussion Forums
Reply to topic
Missing arugment for option at line 1 (2)
Bunsenbrenner


Joined: 12 Feb 2012
Posts: 0
Location: Germany
Reply with quote
I have installed ClamWin 0.97.3 on my private XP computer and because I prefer to have configuration and log files in a directory underneath the ClamWin directory itself, I changed the location of ClamWin.conf and edited it as follows:

Code:
[ClamAV]
[...]
logfile = X:\avirus\ClamWin\Data\log\ClamScanLog.txt
freshclam = X:\avirus\ClamWin\bin\freshclam.exe
clamscan = X:\avirus\ClamWin\bin\clamscan.exe
quarantinedir = X:\avirus\ClamWin\Data\quarantine
database = X:\avirus\ClamWin\Data\db
[...]

[Updates]
[...]
dbupdatelogfile = X:\avirus\ClamWin\Data\log\ClamUpdateLog.txt
[...]

Now to my questions/problems:
1. Is it correct that ClamWin does not accept relative paths for e.g. "database" in ClamWin.conf ? - Why not ?
2. When I update ClamWin by the following command line
Code:
X:\avirus\ClamWin\bin\freshclam.exe --verbose --datadir="X:\avirus\ClamWin\Data\db" --config-file="X:\avirus\ClamWin\Data\FreshClam.conf"


at the end I always get the folowing error message:
[...]
bytecode.cld updated (version: 167, sigs: 40, f-level: 63, builder: edwin)
Database updated (1137863 signatures) from db.de.clamav.net (IP: 46.4.205.40)
ERROR: Missing argument for option at line 1
ERROR: SubmitDetectionStats: Can't find or parse configuration file X:\avirus\ClamWin\bin\ClamWin.conf

My FreshClam.conf file is located in X:\avirus\ClamWin\bin\FreshClam.conf .

Nevertheless it seems everything went fine. I can't find out where this error message derives from. Can someone give me a hint?

Thank you
Bunsenbrenner
View user's profileSend private message
alch
Site Admin

Joined: 27 Nov 2005
Posts: 0
Reply with quote
your X:\avirus\ClamWin\Data\FreshClam.conf is most likely incorrect as the error message says:
Can't find or parse configuration file X:\avirus\ClamWin\bin\ClamWin.conf
View user's profileSend private message
Missing arugment for option at line 1 (2)
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
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic