Re: qpsmtpd won't start, can't access Net/IP.pm

[email protected] (Kevin’s Phair) Mon, 17 Dec 2018 09:50:29 -0500
Newsgroups perl.qpsmtpd
Message-ID <CAGBfrTC_xxpPvdY0rr6-LE6hV+A=9rvVwDCRSV1YALbB8z_LEA@mail.gmail.com>
--000000000000825731057d38e7d6
Content-Type: text/plain; charset="UTF-8"

Are you sure that Net::IP was installed against the same perl you are using
for qpsmtpd? I'm not that familiar with gentoo, but
https://gitweb.gentoo.org/repo/gentoo.git/tree/mail-mta/qpsmtpd/qpsmtpd-0.84-r2.ebuild
suggests that it wasn't listed as a depdency. It also looks like Net::IP
isn't a dependency of qpsmtpd itself, but of the plugin listed in your
error message.

On Sun, Dec 16, 2018 at 7:19 PM <[email protected]> wrote:

> Hi all.  I'm putting together a new server, using qpsmtp.
>
> I'm running up to date gentoo, using the gentoo ebuild for
> qpsmtpd-0.84-r2.
>
> When I go to start the service, it fails.  Debugging a little, strace
> reveals that as the server starts up, it's trying to stat
> lib/Net/IP.pmc and lib/Net/IP.pm.  Those fail.  It then says
>
> eval Can't locate Net/IP.pm:   lib/Net/IP.pm: Permission denied at
> /usr/share/qpsmtpd/plugins/check_relay line 5.
> BEGIN failed--compilation aborted at
> /usr/share/qpsmtpd/plugins/check_relay line 5.
>
> Looking back in the strace history, there are other modules which it
> successfully finds, for instance Net/DNS.pm.  For those, after
> stat'ing lib/Net/DNS.pm, it goes on to search for others in the
> usual places until it finds it.  It's almost as if something were
> bashing the value of @INC partway through, but that's hard to
> swallow.
>
> Does this ring any bells?  I expect it's some sort of stupid
> configuration problem.
>
> Thanks in advance for any hints.
>

--000000000000825731057d38e7d6
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr">Are you sure that Net::IP was installed a=
gainst the same perl you are using for qpsmtpd? I&#39;m not that familiar w=
ith gentoo, but=C2=A0<a href=3D"https://gitweb.gentoo.org/repo/gentoo.git/t=
ree/mail-mta/qpsmtpd/qpsmtpd-0.84-r2.ebuild">https://gitweb.gentoo.org/repo=
/gentoo.git/tree/mail-mta/qpsmtpd/qpsmtpd-0.84-r2.ebuild</a> suggests that =
it wasn&#39;t listed as a depdency. It also looks like Net::IP isn&#39;t a =
dependency of qpsmtpd itself, but of the plugin listed in your error messag=
e.</div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr">On Sun, Dec 1=
6, 2018 at 7:19 PM &lt;<a href=3D"mailto:[email protected]">[email protected]</=
a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0p=
x 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi=
 all.=C2=A0 I&#39;m putting together a new server, using qpsmtp.<br>
<br>
I&#39;m running up to date gentoo, using the gentoo ebuild for<br>
qpsmtpd-0.84-r2.<br>
<br>
When I go to start the service, it fails.=C2=A0 Debugging a little, strace<=
br>
reveals that as the server starts up, it&#39;s trying to stat<br>
lib/Net/IP.pmc and lib/Net/IP.pm.=C2=A0 Those fail.=C2=A0 It then says<br>
<br>
eval Can&#39;t locate Net/IP.pm:=C2=A0 =C2=A0lib/Net/IP.pm: Permission deni=
ed at /usr/share/qpsmtpd/plugins/check_relay line 5.<br>
BEGIN failed--compilation aborted at /usr/share/qpsmtpd/plugins/check_relay=
 line 5.<br>
<br>
Looking back in the strace history, there are other modules which it<br>
successfully finds, for instance Net/DNS.pm.=C2=A0 For those, after<br>
stat&#39;ing lib/Net/DNS.pm, it goes on to search for others in the<br>
usual places until it finds it.=C2=A0 It&#39;s almost as if something were<=
br>
bashing the value of @INC partway through, but that&#39;s hard to<br>
swallow. <br>
<br>
Does this ring any bells?=C2=A0 I expect it&#39;s some sort of stupid<br>
configuration problem.<br>
<br>
Thanks in advance for any hints.<br>
</blockquote></div>

--000000000000825731057d38e7d6--