Results 1 to 5 of 5

Thread: [solved] Thruk : Permission denied on Shinken config files

  1. #1
    hugo
    Guest

    [solved] Thruk : Permission denied on Shinken config files

    hello,

    I just installed Shinken and Thruk UI.

    Il have an error when i try to admin hosts via Thruk menu "Config Tool > Site Configuration > Object settings" showed on Thruk web page ([tt]http://mysite/thruk/#cgi-bin/conf.cgi?sub=objects[/tt]) :
    Code:
    cannot read /usr/local/shinken/etc/nagios.cfg: Permission denied Errors detected
    chmod 777 on [tt]/usr/local/shinken/etc/nagios.cfg[/tt] do not resolve the problem ! :'(

    regards,
    Hugo

  2. #2
    Shinken project leader
    Join Date
    May 2011
    Location
    Bordeaux (France)
    Posts
    2,131

    Re: Thruk : Permission denied on Shinken config files

    Try to change the directory rights too.
    No direct support by personal message. Please open a thread so everyone can see the solution

  3. #3
    hugo
    Guest

    Re: Thruk : Permission denied on Shinken config files

    hello !

    sorry, but it does not solve my problem

    i done [tt]chmod 777[/tt] on /usr/local/shinken/etc directory and on /usr/local/shinken/etc/nagios.cfg file

    in apache conf for thruk :
    Code:
     <Directory /usr/local/shinken/etc>
      Options FollowSymLinks
      allow from all
     </Directory>
    but i have this error message :
    Code:
    cannot read /usr/local/shinken/etc/nagios.cfg: Permission denied Errors detected
    and i can not modifie the admin conf

    someone have an idea ?


    regards,
    Hugo

  4. #4
    Senior Member
    Join Date
    Aug 2011
    Posts
    201

    Re: Thruk : Permission denied on Shinken config files

    Hi

    I've all shinken etc with "-rw-rw-r-- shinken shinken " where shinken user is running shinken process and shiken and apache users are into shinken group. all working ok, thruk access with no problem to shinken files.

    is there any security process like selinux?

    bye!

  5. #5
    hugo
    Guest

    Re: Thruk : Permission denied on Shinken config files

    the issue was a bad mask (paranoid) on my system

    i solved my problem by changing mask and reinstalling all

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •