Mailinglist Archive: opensuse (3434 mails)

< Previous Next >
Re: [opensuse] amavisd warning failure?
  • From: Anders Johansson <ajh@xxxxxxxxxx>
  • Date: Sun, 17 Feb 2008 20:36:32 +0100
  • Message-id: <200802172036.32970.ajh@xxxxxxxxxx>
On Sunday 17 February 2008 16:34:34 Hylton Conacher (ZR1HPC) wrote:
Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE-----
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:

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?

Obvious! Open "/etc/clamd.conf", search for line number 30, and correct
it.

Doh!! Tnx Carlos for directing me. Having a look at the clamd.conf file
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?

Anders

--
Madness takes its toll
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >