Skip to main content

segfault at 0 ip errors

Comments

18 comments

  • cPRex Jurassic Moderator
    Hey there! This is a hunch, but I'm wondering if the firewall is actually related to the issue. Can you run this command and see if there is any output? iptables -nL --line-numbers | grep "127.0.0"
    If localhost loopback connections are blocked, this can cause an issue with the Apache service.
    0
  • migandroid
    Hey there! This is a hunch, but I'm wondering if the firewall is actually related to the issue. Can you run this command and see if there is any output? iptables -nL --line-numbers | grep "127.0.0"
    If localhost loopback connections are blocked, this can cause an issue with the Apache service.

    Thanks for your support but returns nothing. Regards
    0
  • migandroid
    The first time that error started to appear. /usr/local/cpanel/logs/error_log: [2022-02-10 03:18:17 +0000]: "/usr/local/cpanel/scripts/restartsrv_httpd " called by (27503 - /usr/local/cpanel/3rdparty/bin/perl /etc/yum/universal-hooks/multi_pkgs/posttrans/ea-__WILDCARD__/500-restartsrv_httpd --pkg_list=/root/tmp/tmpwSuAua) [2022-02-10 03:18:17 +0000]: "/usr/local/cpanel/scripts/restartsrv_apache_php_fpm --graceful" called by (27504 - /usr/local/cpanel/scripts/restartsrv_httpd) [2022-02-10 03:18:17 +0000]: "/usr/local/cpanel/scripts/restartsrv_apache_php_fpm --graceful" called by (27504 - /usr/local/cpanel/scripts/restartsrv_httpd) There are no changes to the Security Advisor state that require notification. /var/log/lfd.log: Feb 10 03:00:17 server lfd[26614]: *User Processing* PID:502 Kill:0 User:rpc Time:1617926 EXE:/usr/sbin/rpcbind CMD:/sbin/rpcbind -w /var/log/messages: Feb 10 03:18:03 systemd: Time has been changed Feb 10 03:18:14 yum[27439]: Updated: ea-apache24-config-1.0-184.188.1.cpanel.noarch Feb 10 03:18:14 yum[27439]: Updated: ea-apache24-config-runtime-1.0-184.188.1.cpanel.noarch Feb 10 03:18:14 yum[27439]: Updated: ea-cpanel-tools-1.0-53.55.1.cpanel.x86_64 Feb 10 03:21:19 chronyd[538]: Source xxxxxx replaced with xxxxx Feb 10 03:31:30 chronyd[538]: Selected source xxxxxxx Feb 10 03:39:02 systemd: Started ImunifyAV. Feb 10 03:39:03 imunify-service: Starting migrations Feb 10 03:39:03 imunify-service: There is nothing to migrate Feb 10 03:39:41 kernel: splitlogs[27525]: segfault at 0 ip 0000xxxxxxxxx sp 00007ffd395cb670 error 4 in libc-2.17.so[2afafc1f3000+1c4000]
    0
  • migandroid
    Started after this 3 updates, i dont know if is related. Feb 10 03:18:14 yum[27439]: Updated: ea-apache24-config-1.0-184.188.1.cpanel.noarch Feb 10 03:18:14 yum[27439]: Updated: ea-apache24-config-runtime-1.0-184.188.1.cpanel.noarch Feb 10 03:18:14 yum[27439]: Updated: ea-cpanel-tools-1.0-53.55.1.cpanel.x86_64
    0
  • cPRex Jurassic Moderator
    Are things working well after the updates? If not, it would be best to put in a ticket at this point so we can see the issue directly on the machine.
    0
  • migandroid
    Everything works ok, just this persisted error in logs after that update.
    0
  • cPRex Jurassic Moderator
    Do you have piped logging enabled on the system? If so, that can help reduce the number of graceful restarts you experience.
    0
  • migandroid
    After check cpanel / raw /index.html domain.com-ssl_log-Feb-2022 dont have any data after 2022-02-10 03:18:12 so its a confirmation that is related with the last 3 updates [2022-02-10 03:18:17 +0000]: "/usr/local/cpanel/scripts/restartsrv_httpd " called by (27503 - /usr/local/cpanel/3rdparty/bin/perl /etc/yum/universal-hooks/multi_pkgs/posttrans/ea-__WILDCARD__/500-restartsrv_httpd --pkg_list=/root/tmp/tmpwSuAua) [2022-02-10 03:18:17 +0000]: "/usr/local/cpanel/scripts/restartsrv_apache_php_fpm --graceful" called by (27504 - /usr/local/cpanel/scripts/restartsrv_httpd) [2022-02-10 03:18:17 +0000]: "/usr/local/cpanel/scripts/restartsrv_apache_php_fpm --graceful" called by (27504 - /usr/local/cpanel/scripts/restartsrv_httpd)
    I never used before piped login.
    0
  • migandroid
    And the file in /var/log/apache2/domlogs/domain/domain.com-ssl_log have 0kb.
    0
  • cPRex Jurassic Moderator
    Could you submit a ticket to our team so we can check that directly on the system?
    0
  • migandroid

    Ok the team cpanel fixef this. 

    /etc/apache2/conf.d/includes/pre_virtualhost_global.conf

     LogFormat "%a %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined


    /etc/apache2/conf.d/includes/pre_main_global.conf 

    <IfModule remoteip_module>
    RemoteIPHeader X-Forwarded-For
    </IfModule>
    <IfModule log_config_module>
    LogFormat "%{Referer}i -> %U" referer
    LogFormat "%{User-agent}i" agent
    LogFormat "%a %l %u %t \"%r\" %>s %b" common
    LogFormat "%a %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
    CustomLog logs/access_log combined
    </IfModule> 
    0
  • bloatedstoat

    I see that this is an ancient thread, however I've just picked up this error in our log files and not entirely sure how long it has been going on for, it appears in every hourly report.

    Apr 23 22:00:04 servername systemd[1]: session-85162.scope: Succeeded.
    Apr 23 22:00:10 servername kernel: splitlogs[3716715]: segfault at 0 ip 0000152d1b514868 sp 00007ffc9bd579d0 error 4 in libc-2.28.so[152d1b48f000+1cd000]
    Apr 23 22:00:10 servername kernel: Code: 23 85 c0 75 d4 e9 2f ff ff ff 0f 1f 84 00 00 00 00 00 e8 5b a7 00 00 e9 fd fe ff ff e8 81 95 0c 00 90 f3 0f 1e fa 41 54 55 53 <8b> 07 48 89 fb f6 c4 20 0f 85 9a 00 00 00 89 c2 81 e2 00 80 00 00
    Apr 23 22:00:11 servername kernel: splitlogs[3731614]: segfault at 0 ip 000014c455d8b868 sp 00007fff96d2c8b0 error 4 in libc-2.28.so[14c455d06000+1cd000]
    Apr 23 22:00:11 servername kernel: Code: 23 85 c0 75 d4 e9 2f ff ff ff 0f 1f 84 00 00 00 00 00 e8 5b a7 00 00 e9 fd fe ff ff e8 81 95 0c 00 90 f3 0f 1e fa 41 54 55 53 <8b> 07 48 89 fb f6 c4 20 0f 85 9a 00 00 00 89 c2 81 e2 00 80 00 00
    Apr 23 22:00:11 servername systemd[1]: session-85161.scope: Succeeded.
    Apr 23 22:00:14 servername systemd[1]: Stopping User Manager for UID 0...

    CloudLinux v8.10.0 STANDARD standard
    cPanel Version 126.0.14
     
    The fix in the last post is not clear enough for me to implement a fix.
     
    Can I get some advice please?
     
    Thank you!
     
    1
  • Allen Daniels

    Also seeing the same error on all four servers I manage. The error started directly after the updates cron was run at 5am this morning.

    Apr 24 10:28:43 servername kernel: splitlogs[3049819]: segfault at 0 ip 0000149738aa6868 sp 00007ffcdd6edf90 error 4 in libc-2.28.so[149738a21000+1cd000]

    1
  • cPRex Jurassic Moderator

    bloatedstoat and Allen Daniels - I've updated that earlier post's formatting so you can see what the changes were originally made by the cPanel team. 

    0
  • bloatedstoat

    cPRex thanks for this, appreciated.

    Before I go ahead and modify /etc/apache2/conf.d/includes/pre_virtualhost_global.conf I'd like to confirm all I am doing is adding the IfModule block yes?

    There is no content at all within the .conf file presently, in fact all of the files within that directory have 0 bytes.

    So I am adding the block, saving and restarting Apache to complete?

    Thanks as always.

    Cheers.

    0
  • Guillaume Pilotte-Patry

    We have the same issue on our side; 

    What should we change exactly in order to fix it?

    Are we talking about this : 

    /etc/apache2/conf.d/includes/pre_virtualhost_global.conf

     LogFormat "%a %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined

    Thanks again!

    0
  • Allen Daniels

    Why is a configuration change necessary? What changed after the update of yesterday? 

    The fact that this has occurred on all four servers I manage, after the exact same update, does imply an issue with the update itself and not with the server configuration.

    1
  • cPRex Jurassic Moderator

    Can you check the details in the thread at https://support.cpanel.net/hc/en-us/community/posts/31634624163735 to see if that solves your issue?

    0

Please sign in to leave a comment.