Mailinglist Archive: opensuse (3434 mails)
| < Previous | Next > |
Re: [opensuse] amavisd warning failure?
- From: "Hylton Conacher (ZR1HPC)" <hylton@xxxxxxxxxxxxxx>
- Date: Mon, 18 Feb 2008 18:27:40 +0200
- Message-id: <47B9B1FC.6070607@xxxxxxxxxxxxxx>
Anders Johansson wrote:
Yes, but after copying and pasting the original script after I told the
list of the errors. Problem went away.
Tnx though
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
On Sunday 17 February 2008 16:34:34 Hylton Conacher (ZR1HPC) wrote:
Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE-----Doh!! Tnx Carlos for directing me. Having a look at the clamd.conf file
Hash: SHA1
The Sunday 2008-02-17 at 12:21 +0200, Hylton Conacher (ZR1HPC) wrote:
Did a 'rcclamd restart' and it failed :( Below is error message:Obvious! Open "/etc/clamd.conf", search for line number 30, and correct
Umalusi:~ # rcclamd restart
ERROR: Parse error at line 30: Option LogTime requires boolean argument.
ERROR: Parse error at line 30: Option LogTime requires boolean argument.
Shutting down Clam AntiVirus daemon done
ERROR: Parse error at line 30: Option LogTime requires boolean argument.
Starting Clam AntiVirus daemon ERROR: Parse error at line 30: Option
LogTime requires boolean argument.
ERROR: Can't open/parse the config file /etc/clamd.conf
startproc: exit status of parent of /usr/sbin/clamd: 1
failed
What now?
it.
I see that line 30 relates to the LogTime entry however on further
checking I see that the Tab creates a full stop in Kate if you press Tab
to advance a couple of spaces to put a comment in. Removed the '.' and
problems went away.
Next problem was the script to update the clamav signatures.
From Sandy:
--------------------
#!/bin/sh
# update of clam-av signatures
EMAIL=postmaster@xxxxxxxxxxx
tempfile=`mktemp`
freshclam > $tempfile
statusclam=$?
#echo "test clam" > $tempfile
#statusclam=0
case "$statusclam" in
0 ) echo "Clamav has gotten new signatures!"
;;
1 ) echo "Clamav is up-to-date'
Here's something wrong. The echo starts with " and ends with '
Did you keep this line?
Yes, but after copying and pasting the original script after I told the
list of the errors. Problem went away.
Tnx though
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |