Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 13 of 13
  1. #1
    Member
    Join Date
    Jul 2004
    Posts
    95

    Default Strange Message in /var/log/message

    Hi, i have a RH 4 with Kernel 2.6.9-22.0.1.ELsmp and i am receiving this message on logs:

    Code:
    Jan  9 19:08:41 ss32 kernel: audit(1136840944.333:58): avc:  denied  { read } for  pid=23095 comm="rndc" name="self" dev=proc ino=2 scontext=root:system_r:ndc_t tcontext=system_u:object_r:proc_t tclass=lnk_file
    Jan  9 19:08:41 ss32 kernel: audit(1136840944.333:59): avc:  denied  { read } for  pid=23095 comm="rndc" name="exe" dev=proc ino=1513553928 scontext=root:system_r:ndc_t tcontext=root:system_r:ndc_t tclass=lnk_file
    Someone know how fix it?

    Thaks 4all!

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    IIRC, I believe that's SELINUX. If so, make sure it's disabled.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  3. #3
    Member
    Join Date
    Jul 2004
    Posts
    95

    Default

    Quote Originally Posted by chirpy
    IIRC, I believe that's SELINUX. If so, make sure it's disabled.
    I dont think is it

    Code:
    root@ss32 [/etc/selinux]# cat config 
    # This file controls the state of SELinux on the system.
    # SELINUX= can take one of these three values:
    #       enforcing - SELinux security policy is enforced.
    #       permissive - SELinux prints warnings instead of enforcing.
    #       disabled - SELinux is fully disabled.
    SELINUX=disable
    # SELINUXTYPE= type of policy in use. Possible values are:
    #       targeted - Only targeted network daemons are protected.
    #       strict - Full SELinux protection.
    SELINUXTYPE=targeted
    root@ss32 [/etc/selinux]#

  4. #4
    Member
    Join Date
    Feb 2004
    Posts
    469

    Default

    Should that not be:
    SELINUX=disabled

    Not:
    SELINUX=disable


  5. #5
    Member
    Join Date
    Jul 2004
    Posts
    95

    Talking

    Quote Originally Posted by Izzee
    Should that not be:
    SELINUX=disabled

    Not:
    SELINUX=disable

    WOWWWW

    I cant belive i forgot to put a simple "d"

    Thank you

  6. #6
    Member
    Join Date
    Oct 2002
    Posts
    67

    Default

    Quote Originally Posted by chirpy View Post
    IIRC, I believe that's SELINUX. If so, make sure it's disabled.
    Why should selinux be disabled?

    RIck
    Rick Sutcliffe
    http://www.webnamehost.net
    a.k.a. The Northern Spy http://www.thenorthernspy.com

  7. #7
    Member
    Join Date
    Jun 2005
    Posts
    124

    Default

    SELinux can cause some incompatabilities with cPanel

  8. #8
    Member Manuel_accu's Avatar
    Join Date
    Jun 2005
    Posts
    191

    Default

    Generally I have to restart my server after disabling it from config file. Is there any way without restarting I can disabled the SELinux feature?

    Thanks,
    Linux Web Administrator Guide
    Optimize, secure and performance tunning for Apache || MySQL5.1 Cluster How To
    The visionary conceives the impossible, The missionary makes it possible. ...Gita.

  9. #9
    Member Un Area's Avatar
    Join Date
    Nov 2006
    Posts
    53

    Default yeah

    Editing /etc/selinux/config file will disable SELinux on boot, however it will remain enabled until you restart the server.
    To disable it without having to reboot type this command at the prompt

    setenforce 0

    And there you go! Selinux fully disabled without restarting

    Regards
    Last edited by Un Area; 01-24-2007 at 12:52 PM.
    Un Area Webhosting® : Your space on the net
    http://www.unarea.com

  10. #10
    NT
    NT is offline
    Member
    Join Date
    May 2004
    Location
    England, UK
    Posts
    137

    Default

    I believe you run "setenforce 0" (without the quotes) in shell, but I might be mistaken.
    Nick

  11. #11
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  12. #12
    Member Un Area's Avatar
    Join Date
    Nov 2006
    Posts
    53

    Default

    You are right, I just edited my post SElinux is still a prototype for enhanced security, anyways you can secure your server in different ways.
    Last edited by Un Area; 01-24-2007 at 03:01 PM.
    Un Area Webhosting® : Your space on the net
    http://www.unarea.com

  13. #13
    Member Manuel_accu's Avatar
    Join Date
    Jun 2005
    Posts
    191

    Default

    Neat!!!


    very good information and URL of RedHat
    Linux Web Administrator Guide
    Optimize, secure and performance tunning for Apache || MySQL5.1 Cluster How To
    The visionary conceives the impossible, The missionary makes it possible. ...Gita.

Similar Threads & Tags
Similar threads

  1. /var partion is getting full message even after I clear out files.
    By noimad1 in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 05-24-2011, 06:17 PM
  2. Strange EXIM message
    By Alexandre Duran in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 09-23-2005, 12:01 PM
  3. Strange message!
    By mickalo in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 01-06-2004, 11:06 PM
  4. strange message
    By totalufo in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-24-2002, 04:34 AM
  5. Strange Perl Error Message...
    By nitromax in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 03-08-2002, 05:47 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube