zabbix_web_service starts even if it can'T read the config

XMLWordPrintable

    • Type: Problem report
    • Resolution: Incomplete
    • Priority: Trivial
    • None
    • Affects Version/s: 6.0.33
    • Component/s: Server (S)
    • Environment:
      server, frontend, db, zabbix_web_service on same server. Red Hat 7

      Installed based on this guide:

      https://www.youtube.com/watch?v=ZH80IJ3_B-Q

      https://assets.zabbix.com/files/workshops/Creating_scheduled_reports_with_Zabbix.pdf

       

      When tried to run a test scheduled reports every time got 'Cannot connect to web service: couldn't connect to server' even if config was right and could see requests in tcpdump

       

      After lot of debugging found out this:

      ps -ef | grep zabbix_web_service
      zabbix   2320615       1  0 23:04 ?        00:00:00 /usr/sbin/zabbix_web_service -c /etc/zabbix/zabbix_web_service.conf
      root     2322048 2309912  0 23:12 pts/9    00:00:00 grep --color=auto zabbix_web_service
      zabbix_web_service
      zabbix_web_service [2322072]: ERROR: cannot open configuration file: open : no such file or directory

       

      So SELinux has been disabled, server rebooted and after that it started to work. Based on Telegram community, web_service shouldn't even start if it can't read the config file. More detauails and logs are available in official Telegram account starting from 16.09.2024 22:09 CET

      https://t.me/ZabbixTech/111550

       

       

            Assignee:
            Tomasz Grzechulski
            Reporter:
            Dario
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 4h
                4h
                Remaining:
                Remaining Estimate - 4h
                4h
                Logged:
                Time Spent - Not Specified
                Not Specified