Ad Widget

Collapse

/etc/zabbix/zabbix_server.conf Missing on new install

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gcirtwell
    Junior Member
    • Apr 2022
    • 5

    #1

    /etc/zabbix/zabbix_server.conf Missing on new install

    So I figured out the issue with my other post (Zabbix 6.0 LTS does not work on CentOS 7 it seems. I went back to Zabbix 5.0 LTS and the install is complete). New issue though:

    I have following through the installation steps successfully up to the point 2e on https://www.zabbix.com/download?zabb...ysql&ws=apache (Zabbix 5.0 LTS / CentOS / MySQL / Apache). 2e states "Edit file /etc/zabbix/zabbix_server.conf", it wants DB Password to be updated. However, when I did vi /etc/zabbix/zabbix_server.conf, it was a blank file. I ended up restarting the entire installation over again and ran the ls command against /etc/zabbix and there is no zabbix_server.conf. There is a zabbix_agentd.conf and two directories (web and zabbix_agent.d neither of which have the zabbix_server.conf).

    Am I supposed to move the zabbix_server.conf file to the /etc/zabbix folder manually? If so, where is it? The instructions don't state that it's something that needs to be moved or created, just edited so the assumption is the file should exist when the zabbix installation completes.
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    If you follow the procedure and there are no errors, the directory will be created automatically and the configuration file will be placed. Check if there were any errors when installing the package.
    Also, please tell me the execution result of the following command to check if all zabbix related packages are installed.

    Code:
    # rpm -qa | grep zabbix

    Comment

    • gcirtwell
      Junior Member
      • Apr 2022
      • 5

      #3
      Hi Atsushi - I followed the instructions step by step listed (was copying and pasting the commands in the order on the site) and as I said, the directory was created, there are two subdirectories (web and zabbix_agent.d) and only one file "zabbix_agentd.conf" in it though. No errors during installation, just this one file is missing.

      Result from the command rpm -qa | grep zabbix

      [root@zabbix ~]# rpm -qa | grep zabbix
      zabbix-release-5.0-1.el7.noarch
      zabbix-agent-5.0.22-1.el7.x86_64
      zabbix-web-5.0.22-1.el7.noarch
      zabbix-web-mysql-scl-5.0.22-1.el7.noarch
      zabbix-apache-conf-scl-5.0.22-1.el7.noarch
      zabbix-web-deps-scl-5.0.22-1.el7.noarch

      Comment

      • gcirtwell
        Junior Member
        • Apr 2022
        • 5

        #4
        So I'm not sure what happened the first time. I literally ended up creating a new VM, completely started from scratch and the server conf file is there now and everything is working as it should. so weird.

        Comment

        Working...