Ken Morley
Ken@jmtg.com
Wed, 25 Oct 2006 19:09:37 -0400
This is a multi-part message in MIME format.
------_=_NextPart_001_01C6F88A.A4737766
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
I am trying to install DCC on a CentOS 4.3 system, which is almost
identical to RHEL4 QU3. DCC will be running in conjunction with Amavisd
in a chrooted environment. The instructions that I'm working from are
for OpenBSD and so some of the file paths are a little different between
the two. The instructions show to configure and make without any
command-line switches, just using defaults. Afterwards, the files are
supposed to be manually copied from /var/dcc to /var/amavisd/var and
from /usr/local/bin/dccproc to /var/amavisd/usr/bin (/var/amavisd is the
chroot jail).
=20
When I start amavisd in debug mode I see the following in the log. The
problem is the sixth line down:
=20
[3141] dbg: dcc: dccproc is available: /usr/bin/dccproc
[3141] dbg: info: entering helper-app run mode
[3141] dbg: dcc: opening pipe: /usr/bin/dccproc -H -x 0 <
/var/amavisd/tmp/.spamassassin3141urmBDBtmp
[3142] dbg: util: setuid: ruid=3D3000 euid=3D3000
[3141] dbg: dcc: [3142] finished: exit=3D0x0100
[3141] dbg: dcc: got response: Can't exec "/usr/bin/dccproc": No such
file or directory at
/usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm line 1382.
[3141] dbg: info: leaving helper-app run mode
[3141] dbg: dcc: check failed: no X-DCC returned (did you create a map
file?): Can't exec "/usr/bin/dccproc": No such file or directory at
/usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm line 1382.
=20
I think that the problem is that dccproc is trying to open
/usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm and that's a
bad path (with the "site_perl" in the middle like that. How do I adjust
dccproc to reference the correct path?
=20
Thanks very much!
=20
=20
=20
=20
=20
------_=_NextPart_001_01C6F88A.A4737766
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=3DEN-US link=3Dblue vlink=3Dpurple>
<div class=3DSection1>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I am trying to install DCC on a CentOS 4.3 system, =
which is
almost identical to RHEL4 QU3. DCC will be running in conjunction =
with
Amavisd in a chrooted environment. The instructions that I’m
working from are for OpenBSD and so some of the file paths are a little
different between the two. The instructions show to configure and =
make
without any command-line switches, just using defaults. =
Afterwards, the
files are supposed to be manually copied from /var/dcc to =
/var/amavisd/var and
from /usr/local/bin/dccproc to /var/amavisd/usr/bin (/var/amavisd is the =
chroot
jail).<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>When I start amavisd in debug mode I see the =
following in
the log. The problem is the sixth line =
down:<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>[3141] dbg: dcc: dccproc is available: =
/usr/bin/dccproc<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>[3141] dbg: info: entering helper-app run =
mode<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>[3141] dbg: dcc: opening pipe: /usr/bin/dccproc -H -x =
0 <
/var/amavisd/tmp/.spamassassin3141urmBDBtmp<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>[3142] dbg: util: setuid: ruid=3D3000 =
euid=3D3000<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>[3141] dbg: dcc: [3142] finished: =
exit=3D0x0100<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>[3141] dbg: dcc: got response: Can't exec
"/usr/bin/dccproc": No such file or directory at
/usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm line =
1382.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>[3141] dbg: info: leaving helper-app run =
mode<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>[3141] dbg: dcc: check failed: no X-DCC returned (did =
you
create a map file?): Can't exec "/usr/bin/dccproc": No such =
file or
directory at /usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm =
line
1382.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I think that the problem is that dccproc is trying to =
open /usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
and that’s a bad path (with the “site_perl” in the =
middle
like that. How do I adjust dccproc to reference the correct =
path?<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Thanks very much!<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
</div>
</body>
</html>
------_=_NextPart_001_01C6F88A.A4737766--