Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

1 view
Skip to first unread message

qps...@jrd.org

unread,
Dec 16, 2018, 7:30:02 PM12/16/18
to qps...@perl.org
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.

Robin H. Johnson

unread,
Dec 17, 2018, 6:30:02 PM12/17/18
to qps...@jrd.org, qps...@perl.org
On Sun, Dec 16, 2018 at 07:11:41PM -0500, qps...@jrd.org 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.

$ perl -e 'print "$^V\n"' ; find /usr/lib*/perl* -path '*/Net/IP.pm'
v5.26.2
/usr/lib64/perl5/vendor_perl/5.26.2/Net/IP.pm
/usr/lib/perl5/vendor_perl/5.26.2/Net/IP.pm

If those don't all have same version on your system, then you need to
rebuild some perl modules after a major Perl upgrade. Look at the
'app-admin/gentoo-perl-helpers' package to help fix your system.

Beyond that, check that they are accessible to the user you are running
qpsmtpd as.

--
Robin Hugh Johnson
Gentoo Linux: Dev, Infra Lead, Foundation Treasurer
E-Mail : rob...@gentoo.org
GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136
signature.asc

Matt Simerson via qpsmtpd

unread,
Dec 17, 2018, 7:15:02 PM12/17/18
to qpsmtpd@perl.org ML, qps...@jrd.org
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:


Matt

qps...@jrd.org

unread,
Dec 17, 2018, 7:30:02 PM12/17/18
to Matt Simerson, qpsmtpd@perl.org ML, qps...@jrd.org
Thanks all, good stuff there for me to follow up on.

Net::IP is not listed as a dependency, it should be. I'll see if I
can get hold of the qpsmtpd ebuild developers and get a bug filed.
0 new messages