Ad Widget

Collapse

New user having some trouble with installing the Zabbix Server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Blastjosh
    Junior Member
    • Jul 2023
    • 3

    #1

    New user having some trouble with installing the Zabbix Server

    Hello, I recently tried to install Zabbix following the steps listed out in this webpage https://www.zabbix.com/download?zabb..._version=22.04

    Everything seemed to go fine, however when I opened the web page for Zabbix I noticed that it was letting me know the server wasn't running. When I did some research people suggested that you check to see if the passwords matched in etc/zabbix/zabbix_server.conf and the web folder as well. However, when I navigated to the Zabbix web folder, it was empty. Which I haven't seen anything about.

    Hopefully there's a fast solution, if you need more information please just comment! I'll provide you with what you need.
  • tim.mooney
    Senior Member
    • Dec 2012
    • 1427

    #2
    The web interface (Zabbix "frontend") is designed so that it could be run on a separate system from the Zabbix server and (also separate from) the Zabbix database. Many sites run all 3 on one server, but to scale in the larger environments or for security reasons, some environments may choose to put each component on a separate server.

    You didn't say, but can we safely assume you installed all the components on one server?

    In the instructions from the page you linked, after you've created the database and set up a user and grants (step 2c) and edited the Zabbix server configuration file to have the connection info & password for the database (step 2d), the next step is to start the Zabbix server, the Zabbix agent (or agent2, depending upon which one you want to run on your Zabbix server) and Apache httpd (step 2e). Did you successfully start the zabbix-server in that step? Is it running (systemctl status -l zabbix-server.service)?

    if the zabbix-server process is NOT running, are there any errors in /var/log/zabbix/zabbix_serverd.log ?

    Note that step 2e does not mention starting php-fpm because some distros still are not using it for processing PHP web applications, but your distro is probably new enough that is prefers using php-fpm rather than the older module-based method of PHP processing with Apache httpd. I don't run my system in an Ubuntu environment so I don't know if the service files are set up such that starting 'apache2' in step2 also started php-fpm, but if it didn't, you may also need to start and enable php-fpm in that step. If you're getting a valid web page (even a page that says there's a problem with Zabbix server), you're probably fine and don't need to worry about php-fpm, but it's worth knowing that it is often involved in processing the Zabbix web frontend.

    Comment

    Working...