This is a discussion on sa-compile failes from cron job - SpamAssassin ; This is a multi-part message in MIME format. ------_=_NextPart_001_01C7D0F4.32AE217E Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello guys, =20 I have SA 3.2.1 and FreeBSD 6.2. I'm trying to run sa-compile by using a weekly cron job but I have this error: ...
This is a multi-part message in MIME format.=3D"urn:schemas-microsoft-com
------_=_NextPart_001_01C7D0F4.32AE217E
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hello guys,
=20
I have SA 3.2.1 and FreeBSD 6.2.
I'm trying to run sa-compile by using a weekly cron job but I have this
error:
=20
cd /tmp/.spamassassin90746Zl0Orztmp
cd Mail-SpamAssassin-CompiledRegexps-body_0
re2c -i -b -o scanner1.c scanner1.re
Can't exec "re2c": No such file or directory at
/usr/local/bin/sa-compile line 278, <$fh> line 2944.
command failed! at /usr/local/bin/sa-compile line 279, <$fh> line 2944.
=20
If I run same script from CLI is working fine.
These are permissions on re2c file:
=20
[root@mail xxx]# ls /usr/local/bin/re2c
-r-xr-xr-x 1 root wheel 131348 Jul 3 06:42 /usr/local/bin/re2c
=20
=20
=20
=20
Catalin
------_=_NextPart_001_01C7D0F4.32AE217E
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
ffice
ffice" =
ffice:word" =
style=3D'font-size:10.0pt;
font-family:Arial'>Hello guys,
style=3D'font-size:10.0pt;
font-family:Arial'>
style=3D'font-size:10.0pt;
font-family:Arial'>I have SA 3.2.1 and FreeBSD =
6.2.
style=3D'font-size:10.0pt;
font-family:Arial'>I’m trying to run sa-compile by using a weekly =
cron
job but I have this error:
style=3D'font-size:10.0pt;
font-family:Arial'>
face=3D"Courier New">
style=3D'font-size:10.0pt;font-family:"Courier New"'>cd
/tmp/.spamassassin90746Zl0Orztmp
face=3D"Courier New">
style=3D'font-size:10.0pt;font-family:"Courier New"'>cd
Mail-SpamAssassin-CompiledRegexps-body_0
face=3D"Courier New">
style=3D'font-size:10.0pt;font-family:"Courier New"'>re2c -i -b -o =
scanner1.c
scanner1.re
face=3D"Courier New">
style=3D'font-size:10.0pt;font-family:"Courier New"'>Can't exec =
"re2c":
No such file or directory at /usr/local/bin/sa-compile line 278, =
<$fh>
line 2944.
face=3D"Courier New">
style=3D'font-size:10.0pt;font-family:"Courier New"'>command failed! at
/usr/local/bin/sa-compile line 279, <$fh> line =
2944.
style=3D'font-size:10.0pt;
font-family:Arial'>
style=3D'font-size:10.0pt;
font-family:Arial'>If I run same script from CLI is working =
fine.
style=3D'font-size:10.0pt;
font-family:Arial'>These are permissions on re2c =
file:
style=3D'font-size:10.0pt;
font-family:Arial'>
style=3D'font-size:10.0pt;
font-family:Arial'>[root@mail xxx]# ls =
/usr/local/bin/re2c
style=3D'font-size:10.0pt;
font-family:Arial'>-r-xr-xr-x 1 root wheel 131348 =
Jul 3
06:42 /usr/local/bin/re2c
style=3D'font-size:10.0pt;
font-family:Arial'>
style=3D'font-size:10.0pt;
font-family:Arial'>
style=3D'font-size:10.0pt;
font-family:Arial'>
style=3D'font-size:10.0pt;
font-family:Arial'>
style=3D'font-size:10.0pt;
font-family:Arial'>Catalin