Announcement

Collapse
No announcement yet.

User Profile

Collapse

Profile Sidebar

Collapse
Profile Picture
Nothing497
Junior Member
Last Activity: 12-11-2018, 17:30
Joined: 08-08-2013
Location:
  • 1
  • 0
  • Filter
  • Time
  • Show
  • Source
Clear All
new posts

  • Nothing497
    replied to SELinux and Zabbix ..
    Yep, I'm not sure of what I just allowed by running this, but it's working !
    Hopefully I'm done with the setup of SELinux. Cheers !
    See more | Go to post

    Leave a comment:


  • Nothing497
    replied to SELinux and Zabbix ..
    Apparently I solved this last problem by executing these commands :
    Code:
    [[email protected] ~]# grep httpd_t /var/log/audit/audit.log | audit2allow -M httpd_custom
    ******************** IMPORTANT ***********************
    To make this policy package active, execute:
    
    semodule -i httpd_custom.pp
    ...
    See more | Go to post

    Leave a comment:


  • Nothing497
    replied to SELinux and Zabbix ..
    Yes indeed !
    But no luck with these commands :
    Code:
    [[email protected] ~]# restorecon -v "/var/lib/php/session"
    [[email protected] ~]# semanage fcontext -a -t httpd_sys_rw_content_t /var/lib/php/session
    [[email protected] ~]# systemctl restart httpd
    [[email protected] ~]#
    See more | Go to post
    Last edited by Nothing497; 17-10-2018, 14:54.

    Leave a comment:


  • Nothing497
    replied to SELinux and Zabbix ..
    Woops sorry about that, here it is :

    Code:
    • session_start(): open(/var/lib/php/session/sess_npqd9riighne7qgba5ob40tpg4, O_RDWR) failed: Permission denied (13) [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->__construct() → CSession::start()
    ...
    See more | Go to post
    Last edited by Nothing497; 17-10-2018, 14:43.

    Leave a comment:


  • Nothing497
    replied to SELinux and Zabbix ..
    Hi Ingus,
    Thanks for your reply.
    I followed your instructions (I repeat the sequence 7 times),
    At first I couldn't start zabbix-server daemon, but now it seems that it's starting and running fine.
    But I feel like there are still things denied by SELinux :

    Code:
    type=SYSCALL
    ...
    See more | Go to post

    Leave a comment:


  • Nothing497
    started a topic SELinux and Zabbix ..

    SELinux and Zabbix ..

    Hello there,

    I'm trying to make a fresh install of Zabbix :
    - CentOS 7 / Zabbix-Server 4.0
    No problems so far, I use the "From packages" method.
    Now I'm facing the real issue : SELinux ...
    When I disable it and restart the machine, the agent of zabbix-server...
    See more | Go to post
No activity results to display
Show More
Working...
X