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.

grsec Segmentation fault

Discussion in 'General Discussion' started by menntarra_34, Jun 13, 2017.

  1. menntarra_34

    menntarra_34 Active Member

    Joined:
    Sep 6, 2011
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    56
    cPanel Access Level:
    Root Administrator
    Hello!

    If i use DSO as php handler my messages.log is flooded with error messages like this:

    kernel: [] grsec: From Segmentation fault occurred at ... in /usr/sbin/httpd ...

    if i change to CGI as php handler for example, error messages are gone. Hope somebody can help.
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    15,620
    Likes Received:
    296
    Trophy Points:
    433
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Have you checked for answers on the grsec forums?
    forums.grsecurity.net/viewforum.php?f=3
     
  3. menntarra_34

    menntarra_34 Active Member

    Joined:
    Sep 6, 2011
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    56
    cPanel Access Level:
    Root Administrator
    Yes, i checked and read through a lot of similar topics, but found no answer to my problem... Did also core-dump to debug the problem, but can't make anything out of the log
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,086
    Likes Received:
    1,288
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    The grsec kernel is not officially supported so we generally ask that you try temporarily running a stock kernel to see if you can reproduce the issue. Feel free to open a support ticket using the link in my signature if you'd like us to take a closer look.

    Thank you.
     
  5. menntarra_34

    menntarra_34 Active Member

    Joined:
    Sep 6, 2011
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    56
    cPanel Access Level:
    Root Administrator
    Thank you for the help!
    Just for your information: i have another server with grsec and that has no problem with cpanel(php handler: suphp)

    Anyway now i changed kernel to stock kernel and problem is gone, guess i have to stay with it, so to anyone in the future:
    Currently cpanel(php handler: DSO) does not work well with grsecurity linux kernel, so change to stock. I'm glad the error is gone at least :)
     
Loading...

Share This Page