You are not logged in.

#1 2015-06-30 08:15:46

schickel
Member
Registered: 2015-06-30
Posts: 6

perl-5.22.0-1 upgrade issues with other services

Hi,

after upgrading perl to perl-5.22.0-1 many services are broken (httpd, amavisd).

Apache does not start with loadet perl module.

Here is the output from journalctl -xe:

-- Unit httpd.service has begun starting up.
Jun 30 09:49:03 server.example.com kernel: httpd[18075]: segfault at 7f980d6bcbc0 ip 00007f980d6e71de sp 00007ffc397a7778 error 7 in mod_perl.so[7f980d6c2000+3d000]
Jun 30 09:49:03 server.example.com apachectl[18073]: /usr/bin/apachectl: Zeile 79: 18075 Speicherzugriffsfehler  (Speicherabzug geschrieben) $HTTPD -k $ARGV
Jun 30 09:49:03 server.example.com systemd-coredump[18076]: Process 18075 (httpd) of user 0 dumped core.
-- Subject: Speicherabbild für Prozess 18075 (@COREDUMP_COMM) generiert
-- Defined-By: systemd
-- Support: [url]http://lists.freedesktop.org/mailman/listinfo/systemd-devel[/url]
-- Documentation: man:core(5)
--
-- Prozess 18075 (httpd) ist abgebrochen worden und
-- ein Speicherabbild wurde generiert.
--
-- Üblicherweise ist dies ein Hinweis auf einen Programmfehler und sollte
-- als Fehler dem jeweiligen Hersteller gemeldet werden.
Jun 30 09:49:03 server.example.com systemd[1]: httpd.service: Control process exited, code=exited status=139
Jun 30 09:49:03 server.example.com systemd[1]: Failed to start Apache Web Server.
-- Subject: Unit httpd.service has failed
-- Defined-By: systemd
-- Support: [url]http://lists.freedesktop.org/mailman/listinfo/systemd-devel[/url]
--
-- Unit httpd.service has failed.
--
-- The result is failed.
Jun 30 09:49:03 server.example.com systemd[1]: httpd.service: Unit entered failed state.
Jun 30 09:49:03 server.example.com systemd[1]: httpd.service: Failed with result 'exit-code'.

Output from dmesg:

[62527.000802] httpd[18075]: segfault at 7f980d6bcbc0 ip 00007f980d6e71de sp 00007ffc397a7778 error 7 in mod_perl.so[7f980d6c2000+3d000]

Also amavisd and other services regarding to perl does not come up with perl-5.22.0-1.

To get my server again up and running with the services, I downgraded following packages:

downgrade perl-berkeleydb perl-crypt-openssl-bignum perl-crypt-openssl-random perl-crypt-openssl-rsa perl-crypt-ssleay perl-digest-nilsimsa perl-digest-sha1 perl-fcgi perl-html-parser imagemagick perl-linux-pid perl-net-dns perl-net-libidn perl-net-ssleay perl-netaddr-ip perl-socket6 perl-term-readkey razor perl

I don't know how to get rid of this issues. For now all these packages are ignored in pacman.conf. But my searches are without any solutions and ideas what is going wrong are out. So, did you have any hints what's going wrong here?

Offline

#2 2015-06-30 09:22:07

mauritiusdadd
Member
From: Benevento, Italy
Registered: 2013-10-27
Posts: 776

Re: perl-5.22.0-1 upgrade issues with other services


About me - github

-- When you have eliminated the impossible, whatever remains, however improbable, must be the truth -- Spock | Sherlock Holmes

Offline

#3 2015-06-30 10:17:04

schickel
Member
Registered: 2015-06-30
Posts: 6

Re: perl-5.22.0-1 upgrade issues with other services

Ok.....

But what is with the other services like amavis?

amavisd:

Jun 30 12:04:43 schickel.beschraenkt.com amavisd[21505]: /usr/bin/perl: symbol lookup error: /usr/lib/perl5/vendor_perl/auto/Unix/Syslog/Syslog.so: undefined symbol: Perl_xs_apiversion_bootcheck

Downgrading again and it works.

It seems, that there is a major issue with compatibility with the new perl-version. Hope, that this could be solved, otherwise I must configure many things...

Offline

#4 2015-06-30 10:38:20

mauritiusdadd
Member
From: Benevento, Italy
Registered: 2013-10-27
Posts: 776

Re: perl-5.22.0-1 upgrade issues with other services

I wasn't able to find amavis in the official repositories, did you install it from AUR (amavisd-new)? If so, did you recompile the package against the new perl version?

Last edited by mauritiusdadd (2015-06-30 10:38:50)


About me - github

-- When you have eliminated the impossible, whatever remains, however improbable, must be the truth -- Spock | Sherlock Holmes

Offline

#5 2015-06-30 10:41:12

schickel
Member
Registered: 2015-06-30
Posts: 6

Re: perl-5.22.0-1 upgrade issues with other services

I install it from AUR normally. With recompile - did you mean reinstall it the normal way from AUR? I use yaourt to install packages from the AUR.

Offline

#6 2015-06-30 10:44:17

mauritiusdadd
Member
From: Benevento, Italy
Registered: 2013-10-27
Posts: 776

Re: perl-5.22.0-1 upgrade issues with other services

Yes. I don't use yaourt, so if it still fails after reinstallining it with yoaurt, try to use makepkg. Remember that you have to rebuild/reinstall evrery binary* wich depends on libperl.so: https://lists.archlinux.org/pipermail/a … 27236.html

--edit: *everyone which comes from AUR

Last edited by mauritiusdadd (2015-06-30 10:46:50)


About me - github

-- When you have eliminated the impossible, whatever remains, however improbable, must be the truth -- Spock | Sherlock Holmes

Offline

#7 2015-07-01 14:31:47

schickel
Member
Registered: 2015-06-30
Posts: 6

Re: perl-5.22.0-1 upgrade issues with other services

*** Deleted ***

Last edited by schickel (2015-07-01 15:08:44)

Offline

#8 2015-07-03 07:47:05

Thah
Member
Registered: 2014-09-15
Posts: 5

Re: perl-5.22.0-1 upgrade issues with other services

Two other affected programs seem to be:

- rxvt-unicode: urxvt: symbol lookup error: /usr/lib/perl5/vendor_perl/auto/List/Util/Util.so: undefined symbol: Perl_xs_apiversion_bootcheck

- inn: The controlchan process seems to be spawned ad infinitum.

Both packages where updated on the same day as perl.
I wonder if it would be useful to file Arch bug reports in case these are build issues rather than upstream bugs.

Offline

#9 2015-07-03 08:26:27

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: perl-5.22.0-1 upgrade issues with other services

Run pacman -Qo on Util.so and remove the offending package.

Rebuild inn (whatever that is)...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#10 2015-07-03 14:07:04

Thah
Member
Registered: 2014-09-15
Posts: 5

Re: perl-5.22.0-1 upgrade issues with other services

Worked for rxvt-unicode, thanks. InterNetNews (inn) rebuild will have to wait a bit.

Update:
After rebooting (thereby starting inn again) inn seems to run just fine, so removing
perl-scalar-list-utils probably solved this as well.

Last edited by Thah (2015-07-04 07:58:53)

Offline

Board footer

Powered by FluxBB