Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

Segmentation fault Problem [SOLVED]

General questions about VestaCP
Post Reply
  • Print view
Advanced search
7 posts • Page 1 of 1
kandalf
Posts: 87
Joined: Tue May 13, 2014 11:53 pm

Segmentation fault Problem [SOLVED]
  • Quote

Post by kandalf » Tue Jun 18, 2019 10:02 am

I have a server with Centos 6 and tomorrow I find a problem many website don't open for example wordpress websites not open the admin area and in the log I allways get the following error:

Code: Select all

[notice] child pid 30585 exit signal Segmentation fault (11)
If I tried to do a yum update I also get the Segmentation fault.

Any tips how can I solve this?
Last edited by kandalf on Wed Jun 19, 2019 4:46 pm, edited 1 time in total.
Top

skamasle
Collaborator
Posts: 592
Joined: Mon Feb 29, 2016 6:36 pm

Re: Segmentation fault Problem
  • Quote

Post by skamasle » Tue Jun 18, 2019 12:21 pm

Hi

I asume this happen in one wordpress only and you can access to orther files like some info.php

This can be a plugin problem

In case you get this in all your sites and easy php script like info.php you maybe have a problem with some php or apache addon por exmple opcache in php or mod_pagespeed in apache

Difficult to say with a lite information you provide us.
Top

kandalf
Posts: 87
Joined: Tue May 13, 2014 11:53 pm

Re: Segmentation fault Problem
  • Quote

Post by kandalf » Tue Jun 18, 2019 2:58 pm

skamasle wrote: ↑
Tue Jun 18, 2019 12:21 pm
Hi

I asume this happen in one wordpress only and you can access to orther files like some info.php

This can be a plugin problem

In case you get this in all your sites and easy php script like info.php you maybe have a problem with some php or apache addon por exmple opcache in php or mod_pagespeed in apache

Difficult to say with a lite information you provide us.
No this happen in all wordpress website. Yes I can access other websites. But this problem is not only in wordpress websites, in my server if I ran "yum update" I also get the "Segmentation fault" error and cannot update anything.
Top

kandalf
Posts: 87
Joined: Tue May 13, 2014 11:53 pm

Re: Segmentation fault Problem
  • Quote

Post by kandalf » Wed Jun 19, 2019 3:34 pm

I have run a strace to "yum update" and this is some of the code returned

Code: Select all

mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb08e257000
read(7, "http://mirror.netweaver.uk/cento"..., 8192) = 560
read(7, "", 4096)                       = 0
close(7)                                = 0
munmap(0x7fb08e257000, 4096)            = 0
geteuid()                               = 0
stat("/var/cache/yum/x86_64/6/epel", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/var/cache/yum/x86_64/6/epel", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/var/cache/yum/x86_64/6/epel/packages", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/var/cache/yum/x86_64/6/epel/packages", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/var/lib/yum/repos/x86_64/6/epel", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/var/lib/yum/repos/x86_64/6/epel", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/var/cache/yum/x86_64/6/epel/metalink.xml", {st_mode=S_IFREG|0644, st_size=28339, ...}) = 0
stat("/var/cache/yum/x86_64/6/epel/cachecookie", 0x7ffebaca0610) = -1 ENOENT (No such file or directory)
open("/var/cache/yum/x86_64/6/epel/metalink.xml.tmp", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 7
fstat(7, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
open("/etc/hosts", O_RDONLY)            = 8
fstat(8, {st_mode=S_IFREG|0644, st_size=183, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb08e257000
read(8, "127.0.0.1   localhost localhost."..., 4096) = 183
read(8, "", 4096)                       = 0
close(8)                                = 0
munmap(0x7fb08e257000, 4096)            = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 8
fcntl(8, F_GETFL)                       = 0x2 (flags O_RDWR)
fcntl(8, F_SETFL, O_RDWR|O_NONBLOCK)    = 0
fcntl(8, F_SETFD, FD_CLOEXEC)           = 0
connect(8, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("212.71.252.5")}, 16) = 0
sendto(8, "\245\344\1\0\0\1\0\0\0\0\0\0\7mirrors\rfedoraproje"..., 43, MSG_NOSIGNAL, NULL, 0) = 43
open("/etc/hosts", O_RDONLY)            = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=183, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb08e257000
read(9, "127.0.0.1   localhost localhost."..., 4096) = 183
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x7fb08e257000, 4096)            = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 9
fcntl(9, F_GETFL)                       = 0x2 (flags O_RDWR)
fcntl(9, F_SETFL, O_RDWR|O_NONBLOCK)    = 0
fcntl(9, F_SETFD, FD_CLOEXEC)           = 0
connect(9, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("212.71.253.5")}, 16) = 0
sendto(9, "6\377\1\0\0\1\0\0\0\0\0\0\7mirrors\rfedoraproje"..., 43, MSG_NOSIGNAL, NULL, 0) = 43
poll([{fd=8, events=POLLIN|POLLRDNORM}, {fd=9, events=POLLIN|POLLRDNORM}], 2, 0) = 0 (Timeout)
poll([{fd=8, events=POLLIN}, {fd=9, events=POLLIN}], 2, 1000) = 1 ([{fd=8, revents=POLLIN}])
poll([{fd=8, events=POLLIN|POLLRDNORM}, {fd=9, events=POLLIN|POLLRDNORM}], 2, 0) = 1 ([{fd=8, revents=POLLIN|POLLRDNORM}])
recvfrom(8, "\245\344\201\200\0\1\0\v\0\0\0\0\7mirrors\rfedoraproje"..., 4097, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("212.71.252.5")}, [16]) = 226
recvfrom(8, 0x7ffebac9e390, 4097, 0, 0x7ffebac9f3a0, 0x7ffebac9e38c) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=8, events=POLLIN}, {fd=9, events=POLLIN}], 2, 1000) = 1 ([{fd=9, revents=POLLIN}])
poll([{fd=8, events=POLLIN|POLLRDNORM}, {fd=9, events=POLLIN|POLLRDNORM}], 2, 0) = 1 ([{fd=9, revents=POLLIN|POLLRDNORM}])
recvfrom(9, "6\377\201\200\0\1\0\4\0\0\0\0\7mirrors\rfedoraproje"..., 4097, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("212.71.253.5")}, [16]) = 150
close(8)                                = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x48} ---
+++ killed by SIGSEGV +++
Segmentation fault
Can anyone help?
Top

linuxman
Posts: 47
Joined: Tue Jun 04, 2019 12:56 pm

Os: Debian 8x
Web: apache + nginx
Re: Segmentation fault Problem
  • Quote

Post by linuxman » Wed Jun 19, 2019 3:49 pm

kandalf wrote: ↑
Wed Jun 19, 2019 3:34 pm
I have run a strace to "yum update" and this is some of the code returned

Code: Select all

mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb08e257000
read(7, "http://mirror.netweaver.uk/cento"..., 8192) = 560
read(7, "", 4096)                       = 0
close(7)                                = 0
munmap(0x7fb08e257000, 4096)            = 0
geteuid()                               = 0
stat("/var/cache/yum/x86_64/6/epel", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/var/cache/yum/x86_64/6/epel", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/var/cache/yum/x86_64/6/epel/packages", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/var/cache/yum/x86_64/6/epel/packages", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/var/lib/yum/repos/x86_64/6/epel", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/var/lib/yum/repos/x86_64/6/epel", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/var/cache/yum/x86_64/6/epel/metalink.xml", {st_mode=S_IFREG|0644, st_size=28339, ...}) = 0
stat("/var/cache/yum/x86_64/6/epel/cachecookie", 0x7ffebaca0610) = -1 ENOENT (No such file or directory)
open("/var/cache/yum/x86_64/6/epel/metalink.xml.tmp", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 7
fstat(7, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
open("/etc/hosts", O_RDONLY)            = 8
fstat(8, {st_mode=S_IFREG|0644, st_size=183, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb08e257000
read(8, "127.0.0.1   localhost localhost."..., 4096) = 183
read(8, "", 4096)                       = 0
close(8)                                = 0
munmap(0x7fb08e257000, 4096)            = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 8
fcntl(8, F_GETFL)                       = 0x2 (flags O_RDWR)
fcntl(8, F_SETFL, O_RDWR|O_NONBLOCK)    = 0
fcntl(8, F_SETFD, FD_CLOEXEC)           = 0
connect(8, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("212.71.252.5")}, 16) = 0
sendto(8, "\245\344\1\0\0\1\0\0\0\0\0\0\7mirrors\rfedoraproje"..., 43, MSG_NOSIGNAL, NULL, 0) = 43
open("/etc/hosts", O_RDONLY)            = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=183, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb08e257000
read(9, "127.0.0.1   localhost localhost."..., 4096) = 183
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x7fb08e257000, 4096)            = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 9
fcntl(9, F_GETFL)                       = 0x2 (flags O_RDWR)
fcntl(9, F_SETFL, O_RDWR|O_NONBLOCK)    = 0
fcntl(9, F_SETFD, FD_CLOEXEC)           = 0
connect(9, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("212.71.253.5")}, 16) = 0
sendto(9, "6\377\1\0\0\1\0\0\0\0\0\0\7mirrors\rfedoraproje"..., 43, MSG_NOSIGNAL, NULL, 0) = 43
poll([{fd=8, events=POLLIN|POLLRDNORM}, {fd=9, events=POLLIN|POLLRDNORM}], 2, 0) = 0 (Timeout)
poll([{fd=8, events=POLLIN}, {fd=9, events=POLLIN}], 2, 1000) = 1 ([{fd=8, revents=POLLIN}])
poll([{fd=8, events=POLLIN|POLLRDNORM}, {fd=9, events=POLLIN|POLLRDNORM}], 2, 0) = 1 ([{fd=8, revents=POLLIN|POLLRDNORM}])
recvfrom(8, "\245\344\201\200\0\1\0\v\0\0\0\0\7mirrors\rfedoraproje"..., 4097, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("212.71.252.5")}, [16]) = 226
recvfrom(8, 0x7ffebac9e390, 4097, 0, 0x7ffebac9f3a0, 0x7ffebac9e38c) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=8, events=POLLIN}, {fd=9, events=POLLIN}], 2, 1000) = 1 ([{fd=9, revents=POLLIN}])
poll([{fd=8, events=POLLIN|POLLRDNORM}, {fd=9, events=POLLIN|POLLRDNORM}], 2, 0) = 1 ([{fd=9, revents=POLLIN|POLLRDNORM}])
recvfrom(9, "6\377\201\200\0\1\0\4\0\0\0\0\7mirrors\rfedoraproje"..., 4097, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("212.71.253.5")}, [16]) = 150
close(8)                                = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x48} ---
+++ killed by SIGSEGV +++
Segmentation fault
Can anyone help?
Please paste output from command :
1) yum clean all
2) df -h

And try to reboot.
Top

kandalf
Posts: 87
Joined: Tue May 13, 2014 11:53 pm

Re: Segmentation fault Problem [SOLVED]
  • Quote

Post by kandalf » Wed Jun 19, 2019 4:45 pm

Problem solved, after multiple try I check the last libs updated by "Yum update" and about 5 days ago the libcurl was updated, I reinstall it directly via rpm and everything starts to work.

Probably a bad instalation create this problem but it's solved.
If in the future someone have the same problem can check "cat /var/log/yum.log" for the last lib installed and try to reinstall it.
Top

skamasle
Collaborator
Posts: 592
Joined: Mon Feb 29, 2016 6:36 pm

Re: Segmentation fault Problem [SOLVED]
  • Quote

Post by skamasle » Thu Jun 20, 2019 11:43 am

Ok thanks for share your solution
Top


Post Reply
  • Print view

7 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

cron

Login  •  Register

I forgot my password