Re: [Clamav-users] LocalSocket Error in CLAMAV .75

2004-08-11 Thread Bill Randle
On Wed, 2004-08-11 at 10:51, Damian Menscher wrote: > On Wed, 11 Aug 2004, Silly Billy wrote: > > > while executing this command to configure Clamav ... > > > > perl -pi -e "s/^LocalSocket /tmp/clamd/LocalSocket > > /var/run/clamav/clamd/g" /etc/clamav.conf > > > > an error appear as mentioned bel

RE: [Clamav-users] LocalSocket Error in CLAMAV .75

2004-08-11 Thread Matthew.van.Eerde
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Silly Billy wrote: > while executing this command to configure Clamav ... > > > perl -pi -e "s/^LocalSocket /tmp/clamd/LocalSocket > /var/run/clamav/clamd/g" /etc/clamav.conf > You're using slashes as your s/// delimeter and also as your directory

Re: [Clamav-users] LocalSocket Error in CLAMAV .75

2004-08-11 Thread Bill Randle
On Wed, 2004-08-11 at 10:06, Silly Billy wrote: > while executing this command to configure Clamav ... > > > perl -pi -e "s/^LocalSocket /tmp/clamd/LocalSocket > /var/run/clamav/clamd/g" /etc/clamav.conf Use a different expression separator. E.g.: perl -pi -e "s:^LocalSocket /tmp/clamd:LocalSo

Re: [Clamav-users] LocalSocket Error in CLAMAV .75

2004-08-11 Thread Damian Menscher
On Wed, 11 Aug 2004, Silly Billy wrote: > while executing this command to configure Clamav ... > > perl -pi -e "s/^LocalSocket /tmp/clamd/LocalSocket > /var/run/clamav/clamd/g" /etc/clamav.conf > > an error appear as mentioned below ... > > [EMAIL PROTECTED] test]# perl -pi -e "s/^LocalSocket > /t

Re: [Clamav-users] LocalSocket Error in CLAMAV .75

2004-08-11 Thread Todd Lyons
Silly Billy wanted us to know: >[EMAIL PROTECTED] test]# perl -pi -e "s/^LocalSocket /tmp/clamd/LocalSocket >/var/run/clamav/clamd/g" /etc/clamav.conf >Bareword found where operator expected at -e line 1, >near "s/^LocalSocket /tmp/c >lamd" >syntax error at -e line 1, near "s/^LocalSocket >/tmp/c