P
P
Pavel K2016-04-08 12:04:59
PHP
Pavel K, 2016-04-08 12:04:59

php-fpm falls off with segfault libresolv-2.19.so, how to fix it?

Greetings!
php-fpm began to fall off with segfault

php5-fpm[9304]: segfault at 0 ip 0000003c1a20bd66 sp 00007ffc6d80d7e0 error 6 in libresolv-2.19.so[

Most likely after the package update, which was at night.
Falls off randomly, no more errors.
Can you please tell me how to fix it?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
P
Pavel K, 2016-04-15
@PavelK

I solved the problem by forcibly updating libnss_dns

A
Alexander, 2016-04-08
@AlexListen

Specify the FQDN name for the resolve, it should help

X
xbox, 2016-04-15
@xbox

Also faced the same problem.
Errors began to appear on the site in places where there were none before.
The browser gives "Nginx - 502 Bad Gateway".
Since I first noticed it on a page that accessed an external script to determine Whois-IP, I thought that the problem was on a third-party site.
But then I began to notice that in other places the errors began to appear similar and over time the error does not go away.
The site pool PHP logs are empty.
In the global PHP log
I began to sin that this is a PHP problem after one of the recent package upgrades on debian. I rolled back from PHP 5.6.19 to one of the ancient ones - 5.6.3. It did not help. Began to search further. And accidentally looked into messages.log
And there is the same error as you.
Added later:
Php configured using chroot Environment.
Files that are updated in the root of the system, in case of a change, must be copied manually to the choot environment.
It was only necessary to replace the file in the chroot environment with the updated file from the root of the system.
In my case on Debian it was necessary to replace the old file:
to a file that was updated along with updating the packages.
/etc/x86_64-linux-gnu/libnss_dns.so.2

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question