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

[email protected] (Matt Simerson via qpsmtpd) Mon, 17 Dec 2018 16:09:16 -0800
Newsgroups perl.qpsmtpd
Message-ID <[email protected]>
--Apple-Mail=_EB9081AD-FA7D-4636-A324-05CC6C89C234
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Considering that 0.84 is quite a lot older than current, I'd do a search =
for Net::IP within the qpsmtpd repo and see what turns up:

https://github.com/smtpd/qpsmtpd/search?q=3Dnet%3A%3Aip&type=3DCommits =
<https://github.com/smtpd/qpsmtpd/search?q=3Dnet::ip&type=3DCommits>

Matt

> On Dec 16, 2018, at 4:11 PM, [email protected] wrote:
>=20
> Hi all.  I'm putting together a new server, using qpsmtp.
>=20
> I'm running up to date gentoo, using the gentoo ebuild for
> qpsmtpd-0.84-r2.
>=20
> 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
>=20
> 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.
>=20
> 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.=20
>=20
> Does this ring any bells?  I expect it's some sort of stupid
> configuration problem.
>=20
> Thanks in advance for any hints.


--Apple-Mail=_EB9081AD-FA7D-4636-A324-05CC6C89C234
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" =
class=3D"">Considering that 0.84 is quite a lot older than current, I'd =
do a search for Net::IP within the qpsmtpd repo and see what turns =
up:<div class=3D""><br class=3D""></div><div class=3D""><a =
href=3D"https://github.com/smtpd/qpsmtpd/search?q=3Dnet::ip&amp;type=3DCom=
mits" =
class=3D"">https://github.com/smtpd/qpsmtpd/search?q=3Dnet%3A%3Aip&amp;typ=
e=3DCommits</a></div><div class=3D""><br class=3D""></div><div =
class=3D"">Matt<br class=3D""><div><br class=3D""><blockquote =
type=3D"cite" class=3D""><div class=3D"">On Dec 16, 2018, at 4:11 PM, <a =
href=3D"mailto:[email protected]" class=3D"">[email protected]</a> =
wrote:</div><br class=3D"Apple-interchange-newline"><div class=3D""><div =
class=3D"">Hi all. &nbsp;I'm putting together a new server, using =
qpsmtp.<br class=3D""><br class=3D"">I'm running up to date gentoo, =
using the gentoo ebuild for<br class=3D"">qpsmtpd-0.84-r2.<br =
class=3D""><br class=3D"">When I go to start the service, it fails. =
&nbsp;Debugging a little, strace<br class=3D"">reveals that as the =
server starts up, it's trying to stat<br class=3D"">lib/Net/IP.pmc and =
lib/Net/IP.pm. &nbsp;Those fail. &nbsp;It then says<br class=3D""><br =
class=3D"">eval Can't locate Net/IP.pm: &nbsp;&nbsp;lib/Net/IP.pm: =
Permission denied at /usr/share/qpsmtpd/plugins/check_relay line 5.<br =
class=3D"">BEGIN failed--compilation aborted at =
/usr/share/qpsmtpd/plugins/check_relay line 5.<br class=3D""><br =
class=3D"">Looking back in the strace history, there are other modules =
which it<br class=3D"">successfully finds, for instance Net/DNS.pm. =
&nbsp;For those, after<br class=3D"">stat'ing lib/Net/DNS.pm, it goes on =
to search for others in the<br class=3D"">usual places until it finds =
it. &nbsp;It's almost as if something were<br class=3D"">bashing the =
value of @INC partway through, but that's hard to<br class=3D"">swallow. =
<br class=3D""><br class=3D"">Does this ring any bells? &nbsp;I expect =
it's some sort of stupid<br class=3D"">configuration problem.<br =
class=3D""><br class=3D"">Thanks in advance for any hints.<br =
class=3D""></div></div></blockquote></div><br =
class=3D""></div></body></html>=

--Apple-Mail=_EB9081AD-FA7D-4636-A324-05CC6C89C234--