The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

perl segmentation fault

Discussion in 'General Discussion' started by markhard, Jul 24, 2012.

  1. markhard

    markhard Well-Known Member

    Joined:
    Apr 22, 2004
    Messages:
    250
    Likes Received:
    0
    Trophy Points:
    16
    i'm starting to get perl segmentation fault on dmesg:

    perl[6126]: segfault at 00007fffcd941fd0 rip 00002ba380943b0c rsp 00007fffcd941fd0 error 6
    perl[6135]: segfault at 00007ffff55c6ff8 rip 00002b18a5ef977a rsp 00007ffff55c7000 error 6
    perl[6153]: segfault at 00007fff6c1e6fb0 rip 00002b2f0c8d9b0c rsp 00007fff6c1e6fb0 error 6
    perl[8789]: segfault at 00007fff891defe0 rip 00002b316727db0c rsp 00007fff891defe0 error 6
    perl[8802]: segfault at 00007fffb4fdeff8 rip 00002ae490dbb777 rsp 00007fffb4fdf000 error 6

    the segfault occurred right away after the server is rebooted and then at some random time. other symptom is that chkservd start to restarting MySQL even though there is no load on the server.

    browsing on forums some suggesting to run: /scripts/checkperlmodules --full --force but i got this error messages:

    Code:
    Successfully reinstalled Lchown-1.01
    Source: fastest CPAN mirror ... Already tried Scalar-List-Utils-1.25. Skipping.
    Source: fastest CPAN mirror ... --> Working on MD5
    Fetching http://cpan.oss.eznetsols.org//authors/id/G/GA/GAAS/MD5-2.03.tar.gz ... Fetching http://cpan.oss.eznetsols.org/authors/id/G/GA/GAAS/MD5-2.03.tar.gz (connected:1).......(request attempt 1/12)...@111.90.255.252......connected......receiving...100%......request success......Done
    OK
    Unpacking MD5-2.03.tar.gz
    MD5-2.03/
    MD5-2.03/MANIFEST
    MD5-2.03/t/
    MD5-2.03/t/md5.t
    MD5-2.03/Changes
    MD5-2.03/README
    MD5-2.03/Makefile.PL
    MD5-2.03/MD5.pm
    Entering MD5-2.03
    META.yml not found or unparsable. Fetching META.yml from search.cpan.org
    Fetching http://search.cpan.org/meta/MD5-2.03/META.yml (connected:1).......(request attempt 1/12)...Using dns cache file /root/.HttpRequest/search.cpan.org......searching for mirrors (mirror search attempt 1/3)...Ping:18 (ticks) Testing connection speed to 199.15.176.161 using pureperl...test failed...Done
    Ping:34 (ticks) Testing connection speed to 194.106.223.155 using pureperl...test failed...Done
    ...0 usable mirrors located. (less then expected)......mirror search failed......(request attempt 2/12)...Resolving search.cpan.org...(resolve attempt 1/65)......searching for mirrors (mirror search attempt 2/3)...Ping:18 (ticks) Testing connection speed to 199.15.176.161 using pureperl...test failed...Done
    Ping:34 (ticks) Testing connection speed to 194.106.223.155 using pureperl...test failed...Done
    ...0 usable mirrors located. (less then expected)......mirror search failed......(request attempt 3/12)...Resolving search.cpan.org...(resolve attempt 1/65)......searching for mirrors (mirror search attempt 3/3)...Ping:18 (ticks) Testing connection speed to 199.15.176.161 using pureperl...test failed...Done
    Ping:34 (ticks) Testing connection speed to 194.106.223.155 using pureperl...test failed...Done
    ...0 usable mirrors located. (less then expected)......mirror search failed......(request attempt 4/12)...Resolving search.cpan.org...(resolve attempt 1/65)...search.cpan.org did not have any working mirrors.  Please check your internet connection or dns server. at /usr/local/cpanel/Cpanel/HttpRequest.pm line 596.
    Perl Expect failed with non-zero exit status: 6400
    
    All available perl module install methods have failed
    Using fast module check.....checked 160 modules in 5 second(s)
    Tested 160, 160 ok, 0 failed.
    Using fast module check.....checked 5 modules in 1 second(s)
    Cpanel::FastMath: [INSTALLED=1] [VERSION=0.3]
    Cpanel::POSIX::Tiny: [INSTALLED=1] [VERSION=1.1]
    Cpanel::Cleanup: [INSTALLED=1] [VERSION=0.4]
    Cpanel::Class: [INSTALLED=1] [VERSION=1.0.5]
    Cpanel::TaskQueue: [INSTALLED=1] [VERSION=0.307]
    my server can reach search.cpan.org by ping'ing but i'm a bit puzzled that the MD5 install failed. any clue on this?

    thank you
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Could you paste the contents of the /root/.HttpRequest/search.cpan.org file?
     
  3. markhard

    markhard Well-Known Member

    Joined:
    Apr 22, 2004
    Messages:
    250
    Likes Received:
    0
    Trophy Points:
    16
    it contains:

    194.106.223.155
    199.15.176.161
     
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Could you try moving that file to /root/.HttpRequest/search.cpan.org.bak and then re-run /scripts/checkperlmodules again?
     
  5. markhard

    markhard Well-Known Member

    Joined:
    Apr 22, 2004
    Messages:
    250
    Likes Received:
    0
    Trophy Points:
    16
    already rename the file and re-run checkperlmodules but still getting error:

    Code:
    Unpacking MD5-2.03.tar.gz
    MD5-2.03/
    MD5-2.03/MANIFEST
    MD5-2.03/t/
    MD5-2.03/t/md5.t
    MD5-2.03/Changes
    MD5-2.03/README
    MD5-2.03/Makefile.PL
    MD5-2.03/MD5.pm
    Entering MD5-2.03
    META.yml not found or unparsable. Fetching META.yml from search.cpan.org
    Fetching http://search.cpan.org/meta/MD5-2.03/META.yml (connected:1).......(request attempt 1/12)...Resolving search.cpan.org...(resolve attempt 1/65)......searching for mirrors (mirror search attempt 1/3)...Ping:18 (ticks) Testing connection speed to 199.15.176.161 using pureperl...test failed...Done
    Ping:34 (ticks) Testing connection speed to 194.106.223.155 using pureperl...test failed...Done
    ...0 usable mirrors located. (less then expected)......mirror search failed......(request attempt 2/12)...Resolving search.cpan.org...(resolve attempt 1/65)......searching for mirrors (mirror search attempt 2/3)...Ping:18 (ticks) Testing connection speed to 199.15.176.161 using pureperl...test failed...Done
    Ping:34 (ticks) Testing connection speed to 194.106.223.155 using pureperl...test failed...Done
    ...0 usable mirrors located. (less then expected)......mirror search failed......(request attempt 3/12)...Resolving search.cpan.org...(resolve attempt 1/65)......searching for mirrors (mirror search attempt 3/3)...Ping:18 (ticks) Testing connection speed to 199.15.176.161 using pureperl...test failed...Done
    Ping:34 (ticks) Testing connection speed to 194.106.223.155 using pureperl...test failed...Done
    ...0 usable mirrors located. (less then expected)......mirror search failed......(request attempt 4/12)...Resolving search.cpan.org...(resolve attempt 1/65)...search.cpan.org did not have any working mirrors.  Please check your internet connection or dns server. at /usr/local/cpanel/Cpanel/HttpRequest.pm line 596.
    Perl Expect failed with non-zero exit status: 6400
    
    All available perl module install methods have failed
    Using fast module check.....checked 160 modules in 3 second(s)
    Tested 160, 160 ok, 0 failed.
    Using fast module check.....checked 5 modules in 0 second(s)
    
    the command that i run is: /scripts/checkperlmodules --full --force

    but if i run it without --full --force, its result is OK
     
  6. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Please submit a ticket at this juncture. You can do so using WHM > Support Center > Contact cPanel or using the link in my signature. If you could post the ticket number here afterward for us to track the resolution. Thanks!
     
  7. markhard

    markhard Well-Known Member

    Joined:
    Apr 22, 2004
    Messages:
    250
    Likes Received:
    0
    Trophy Points:
    16
    Ticket ID: 2955938
     
  8. sahostking

    sahostking Well-Known Member

    Joined:
    May 15, 2012
    Messages:
    299
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Cape Town, South Africa
    cPanel Access Level:
    Root Administrator
    Was a solution to this found? Is it a simple one. I am suddenly getting the same issue.
     
  9. sahostking

    sahostking Well-Known Member

    Joined:
    May 15, 2012
    Messages:
    299
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Cape Town, South Africa
    cPanel Access Level:
    Root Administrator
    Got it working by editting the /etc/resolv.conf file and changing the dns servers to googles dns servers 4.2.2.2 and 4.2.2.3

    seems to work now.
     
  10. paneller

    paneller Member

    Joined:
    Feb 6, 2006
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Hi

    try to remove /var/cpanel/conserve_memory file and run /scripts/checkperlmodules

    it helps to resolve "META.yml not found or unparsable. Fetching META.yml from search.cpan.org" issue
     
Loading...

Share This Page