Zabbix server is not running: the information displayed may not be current

后端 未结 24 3744
名媛妹妹
名媛妹妹 2021-02-20 08:25

So all of a sudden, after a week of using it, I get an error message on my zabbix server gui (http://localhost/zabbix/.)

The error says: Zabbix serve

24条回答
  •  青春惊慌失措
    2021-02-20 09:13

    Install nmap (( # yum/apt-get install nmap ))tool and check to find out which port the zabbix is listenning to?(( # nmap -sT -p1-65535 localhost )) 10050 or 10051? The result should be somthing like this:

    Starting Nmap 6.40 ( http://nmap.org ) at 2016-11-01 22:54 IRST
    Nmap scan report for localhost (127.0.0.1)
    Host is up (0.00032s latency).
    Other addresses for localhost (not scanned): 127.0.0.1
    Not shown: 65530 closed ports
    PORT      STATE SERVICE
    22/tcp    open  ssh
    25/tcp    open  smtp
    80/tcp    open  http
    3306/tcp  open  mysql
    10050/tcp open  unknown    <--- In my case this is it
    

    Then open /etc/zabbix/web/zabbix.conf.php and check the line starting with: $ZBX_SERVER_PORT , it's value should be the same number you saw in the nmap scan result. Change it and restart zabbix-server and httpd and you are good to go!

提交回复
热议问题