Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8300713
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T16:39:36+00:00 2026-06-08T16:39:36+00:00

I have syslog-ng installed on CentOS 5.7 system with SELinux enforcing. i cannot startup

  • 0

I have syslog-ng installed on CentOS 5.7 system with SELinux enforcing.

i cannot startup syslog-ng service by “service syslog-ng start”, because of the error:

[root@localhost ~]# service syslog-ng start
Starting syslog-ng: 
GThread-ERROR **: file gthread-posix.c: line 135 (): error 'Operation not permitted' during 'pthread_getschedparam (pthread_self(), &policy, &sched)'
aborting...
                                                           [FAILED]

i checked by google and get as below:

This is probably related to your SELinux policy, which does not allow syslog-ng  get the scheduler parameters. 

and i can see SELinux type by

[root@localhost ~]# ls -lZ /sbin/syslog*
-rwxr-xr-x  root root system_u:object_r:syslogd_exec_t /sbin/syslogd
-rwxr-xr-x  root root system_u:object_r:syslogd_exec_t /sbin/syslog-ng

but with the same SELinux type “syslogd_exec_t”, syslogd can be startup by “service syslog start”, why SELinux cannot allow syslog-ng startup? i think they all need to get “scheduler parameter”.

and how could i make syslog-ng works with SELinux type “syslogd_exec_t”, because natually they all works for syslog mechanism.

thanks,
EM

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T16:39:37+00:00Added an answer on June 8, 2026 at 4:39 pm

    Look at /var/log/audit/audit.log to see what actions (if any) have been denied by SE Linux.

    If SE Linux has denied access then the command “audit2allow” can be used to generate policy to allow those actions. Don’t blindly allow all operations, just allow the ones that seem relevant.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Once the system is shutdown there will be message in syslog file. I have
I have a syslog target, with rate limit 1000 events/second, for error priority. I
I have been trying to log a script output with syslog-ng , however, if
This is my situation. I have successfully implemented logging to remote syslog using log4net.
I have an application running on Linux, catching signals and reporting them to syslog.
I have a machine that does not have the syslog in the usual place.
I have Linux/Unix syslog file and I want to separate the date and the
I have several loggers defined and a root section with several appenders, something like:
I would like to use syslog for logging from a remote application. I have
I have a python script start.py that executes well from the command line. There

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.