Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-20778

Can't inizialize zabbix_web_service

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Duplicate
    • Icon: Trivial Trivial
    • None
    • 6.0.2
    • Installation (I)
    • None
    • Installed Zabbix on VM with Rocky Linux 8

      Hi all.

      I installed Zabbix from source and when I had to give the "fateful" command

      ./configure --enable-server --enable-agent --enable-agent2 --enable-webservice --with-mysql=/usr/bin/mysql_config --with-net-snmp --with-libcurl --with-libxml2 --with-openipmi

       

      I did not receive any errors during compilation. Then, following the official guide, I modified the Server .conf file (/usr/local/etc/zabbix_server.conf), only changing the following values:

      • LogFileSize=1                        --> to -->  LogFileSize=1024
      • DBName=                              --> to -->  DBNmae=zabbix (it is actually the name of my DB )
      • DBPassword=                         --> to --> DBPassword=myPassword
      • StartVMwareCollectors=0      --> to --> StartVMwareCollectors=1
      • WebServiceURL=                   --> to --> WebServiceURL=http://127.0.0.1:10053/report
      • StartReportWriters=0            --> to --> StartReportWriters=20

       

      Then, I modified the 2 Agent's parameters in .conf file (/usr/local/etc/zabbix_agentd.conf):

       

      • LogFileSize=1                --> to --> LogFileSize=100
      • HostMetadataItem=     --> to --> HostMetadataItem=system.uname

       

      Then I start correctly the 2 services

      • zabbix_server
      • zabbix_agentd

       

      Finally I edited the Web Service .conf file (/usr/local/etc/zabbix_web_service.conf) :

       

      • LogType=file
      • LogFile=/var/log/zabbix/zabbix_web_service.log
      • ListenPort=10053

       

      I have done all the intermediate steps in the official guide and, when I try to start the zabbix_web_service, I get the error: ERROR: cannot open configuration file: open : no such file or directory.

      The problem is that the conf file is in the same directory of the other 2 (zabbix_server and zabbix_agentd -->  /usr/local/etc/).

       

      Any idea?

      Thanks in advice

       

            zabbix.support Zabbix Support Team
            qdt Fabio Carniani
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: