Ad Widget

Collapse

Zabbix url is not reachable after installation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yashu02t
    Junior Member
    • Nov 2021
    • 4

    #1

    Zabbix url is not reachable after installation

    Hi Folks,

    I installed zabbix on ubuntu 16.4 by following the instructions in here, https://www.alibabacloud.com/blog/ho...u-16-04_221230
    all the services are running but I'm not able access the zabbix dashboard. Please help me fix this issue.

    root@Clone-test:/usr/share/doc/zabbix-server-mysql# systemctl status apache2
    ● apache2.service - LSB: Apache2 web server
    Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)
    Drop-In: /lib/systemd/system/apache2.service.d
    └─apache2-systemd.conf
    Active: active (running) since Thu 2021-11-11 11:15:18 MST; 44min ago
    Docs: man:systemd-sysv-generator(8)
    CGroup: /system.slice/apache2.service
    ├─20779 /usr/sbin/apache2 -k start
    ├─20782 /usr/sbin/apache2 -k start
    ├─20783 /usr/sbin/apache2 -k start
    ├─20784 /usr/sbin/apache2 -k start
    ├─20785 /usr/sbin/apache2 -k start
    └─20786 /usr/sbin/apache2 -k start

    Nov 11 11:15:17 Clone-test systemd[1]: Starting LSB: Apache2 web server...
    Nov 11 11:15:17 Clone-test apache2[20761]: * Starting Apache httpd web server apache2
    Nov 11 11:15:18 Clone-test apache2[20761]: *
    Nov 11 11:15:18 Clone-test systemd[1]: Started LSB: Apache2 web server.
    root@Clone-test:/usr/share/doc/zabbix-server-mysql# systemctl enable zabbix-server
    Synchronizing state of zabbix-server.service with SysV init with /lib/systemd/systemd-sysv-install...
    Executing /lib/systemd/systemd-sysv-install enable zabbix-server


    root@Clone-test:/usr/share/doc/zabbix-server-mysql# systemctl status zabbix-
    zabbix-agent.service zabbix-server.service

    root@Clone-test:/usr/share/doc/zabbix-server-mysql# systemctl status zabbix-server.service
    ● zabbix-server.service - Zabbix Server
    Loaded: loaded (/lib/systemd/system/zabbix-server.service; enabled; vendor preset: enabled)
    Active: active (running) since Thu 2021-11-11 11:15:24 MST; 44min ago
    Main PID: 20795 (zabbix_server)
    CGroup: /system.slice/zabbix-server.service
    ├─20795 /usr/sbin/zabbix_server -c /etc/zabbix/zabbix_server.conf
    ├─20796 /usr/sbin/zabbix_server: configuration syncer [synced configuration in 0.000620 sec, idle 60 sec
    ├─20797 /usr/sbin/zabbix_server: db watchdog [synced alerts config in 0.000465 sec, idle 60 sec
    ├─20798 /usr/sbin/zabbix_server: poller #1 [got 0 values in 0.000005 sec, idle 5 sec
    ├─20799 /usr/sbin/zabbix_server: poller #2 [got 0 values in 0.000004 sec, idle 5 sec
    ├─20800 /usr/sbin/zabbix_server: poller #3 [got 0 values in 0.000004 sec, idle 5 sec
    ├─20801 /usr/sbin/zabbix_server: poller #4 [got 0 values in 0.000004 sec, idle 5 sec
    ├─20802 /usr/sbin/zabbix_server: poller #5 [got 0 values in 0.000004 sec, idle 5 sec
    ├─20803 /usr/sbin/zabbix_server: unreachable poller #1 [got 0 values in 0.000003 sec, idle 5 sec
    ├─20804 /usr/sbin/zabbix_server: trapper #1 [processed data in 0.000203 sec, waiting for connection
    ├─20805 /usr/sbin/zabbix_server: trapper #2 [processed data in 0.000226 sec, waiting for connection
    ├─20806 /usr/sbin/zabbix_server: trapper #3 [processed data in 0.000173 sec, waiting for connection
    ├─20807 /usr/sbin/zabbix_server: trapper #4 [processed data in 0.000197 sec, waiting for connection
    ├─20808 /usr/sbin/zabbix_server: trapper #5 [processed data in 0.000222 sec, waiting for connection
    ├─20809 /usr/sbin/zabbix_server: icmp pinger #1 [got 0 values in 0.000003 sec, idle 5 sec
    ├─20810 /usr/sbin/zabbix_server: alerter [sent alerts: 0 success, 0 fail in 0.000162 sec, idle 30 sec
    ├─20811 /usr/sbin/zabbix_server: housekeeper [deleted 0 hist/trends, 0 items, 0 events, 0 sessions, 0 alarms, 0 audit items in 0.003801 sec,
    ├─20812 /usr/sbin/zabbix_server: timer #1 [processed 0 triggers, 0 events in 0.000019 sec, 0 maintenances in 0.000000 sec, idle 30 sec
    ├─20813 /usr/sbin/zabbix_server: http poller #1 [got 0 values in 0.000401 sec, idle 5 sec
    ├─20814 /usr/sbin/zabbix_server: discoverer #1 [processed 0 rules in 0.000329 sec, idle 60 sec
    ├─20815 /usr/sbin/zabbix_server: history syncer #1 [synced 0 items in 0.000001 sec, idle 1 sec
    ├─20816 /usr/sbin/zabbix_server: history syncer #2 [synced 0 items in 0.000000 sec, idle 1 sec
    ├─20817 /usr/sbin/zabbix_server: history syncer #3 [synced 0 items in 0.000000 sec, idle 1 sec
    ├─20819 /usr/sbin/zabbix_server: history syncer #4 [synced 0 items in 0.000001 sec, idle 1 sec
    ├─20820 /usr/sbin/zabbix_server: escalator #1 [processed 0 escalations in 0.000124 sec, idle 3 sec
    ├─20821 /usr/sbin/zabbix_server: proxy poller #1 [exchanged data with 0 proxies in 0.000002 sec, idle 5 sec
    └─20822 /usr/sbin/zabbix_server: self-monitoring [processed data in 0.000005 sec, idle 1 sec

    Nov 11 11:15:23 Clone-test systemd[1]: Starting Zabbix Server...
    Nov 11 11:15:24 Clone-test systemd[1]: zabbix-server.service: Supervising process 20795 which is not our child. We'll most likely not notice when it ex
    Nov 11 11:15:24 Clone-test systemd[1]: Started Zabbix Server.



    root@Clone-test:/usr/share/doc/zabbix-server-mysql# systemctl status mysql
    ● mysql.service - LSB: Start and stop the mysql database server daemon
    Loaded: loaded (/etc/init.d/mysql; bad; vendor preset: enabled)
    Active: active (running) since Thu 2021-11-11 10:48:34 MST; 1h 24min ago
    Docs: man:systemd-sysv-generator(8)
    CGroup: /system.slice/mysql.service
    ├─17264 /bin/bash /usr/bin/mysqld_safe
    ├─17408 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/mysql/plugin --user=mysql --skip-log-error --pid-file
    └─17409 logger -t mysqld -p daemon error

    Nov 11 10:48:35 Clone-test /etc/mysql/debian-start[17460]: mysql
    Nov 11 10:48:35 Clone-test /etc/mysql/debian-start[17460]: performance_schema
    Nov 11 10:48:35 Clone-test /etc/mysql/debian-start[17460]: Phase 3/6: Running 'mysql_fix_privilege_tables'
    Nov 11 10:48:35 Clone-test /etc/mysql/debian-start[17460]: Phase 4/6: Fixing table and database names
    Nov 11 10:48:35 Clone-test /etc/mysql/debian-start[17460]: Processing databases
    Nov 11 10:48:35 Clone-test /etc/mysql/debian-start[17460]: information_schema
    Nov 11 10:48:35 Clone-test /etc/mysql/debian-start[17460]: mysql
    Nov 11 10:48:35 Clone-test /etc/mysql/debian-start[17512]: Checking for insecure root accounts.
    Nov 11 10:48:35 Clone-test /etc/mysql/debian-start[17516]: Triggering myisam-recover for all MyISAM tables and aria-recover for all Aria tables
    Nov 11 10:48:49 Clone-test systemd[1]: Started LSB: Start and stop the mysql database server daemon.
    lines 1-19/19 (END)



    root@Clone-test:/# tail -f /var/log/zabbix/zabbix_server.log
    20807:20211112:092345.507 cannot send list of active checks to "127.0.0.1": host [Zabbix server] not monitored
    20807:20211112:092545.519 cannot send list of active checks to "127.0.0.1": host [Zabbix server] not monitored
    20805:20211112:092745.531 cannot send list of active checks to "127.0.0.1": host [Zabbix server] not monitored
    20806:20211112:092945.543 cannot send list of active checks to "127.0.0.1": host [Zabbix server] not monitored
    20807:20211112:093145.556 cannot send list of active checks to "127.0.0.1": host [Zabbix server] not monitored
    20805:20211112:093345.570 cannot send list of active checks to "127.0.0.1": host [Zabbix server] not monitored
    20805:20211112:093545.582 cannot send list of active checks to "127.0.0.1": host [Zabbix server] not monitored
    20805:20211112:093745.594 cannot send list of active checks to "127.0.0.1": host [Zabbix server] not monitored
    20808:20211112:093945.606 cannot send list of active checks to "127.0.0.1": host [Zabbix server] not monitored
    20805:20211112:094145.618 cannot send list of active checks to "127.0.0.1": host [Zabbix server] not monitored
    ^C
    Last edited by yashu02t; 12-11-2021, 18:55.
  • niveastn
    Member
    • Oct 2021
    • 82

    #2
    Hi!

    You sent a lot of information. Thank you for that! But would be nice to have apache log (/var/log/apache2/*) and what error you are getting.

    Could you please send those informations?

    Comment

    • yashu02t
      Junior Member
      • Nov 2021
      • 4

      #3
      Hi Niveastn,

      below are the log you've asked for

      root@Clone-test:/usr/share/doc/zabbix-server-mysql# tail -f /var/log/apache2/error.log
      [Fri Nov 12 11:38:07.418128 2021] [core:notice] [pid 3339:tid 140625334810496] AH00094: Command line: '/usr/sbin/apache2'
      [Fri Nov 12 11:38:15.791165 2021] [mpm_event:notice] [pid 3339:tid 140625334810496] AH00491: caught SIGTERM, shutting down
      [Fri Nov 12 11:38:16.869963 2021] [mpm_prefork:notice] [pid 9300] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
      [Fri Nov 12 11:38:16.870040 2021] [core:notice] [pid 9300] AH00094: Command line: '/usr/sbin/apache2'
      [Fri Nov 12 11:38:18.193640 2021] [mpm_prefork:notice] [pid 9300] AH00169: caught SIGTERM, shutting down
      [Fri Nov 12 11:38:19.300754 2021] [mpm_prefork:notice] [pid 9417] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
      [Fri Nov 12 11:38:19.300799 2021] [core:notice] [pid 9417] AH00094: Command line: '/usr/sbin/apache2'
      [Fri Nov 12 11:48:12.703831 2021] [mpm_prefork:notice] [pid 9417] AH00169: caught SIGTERM, shutting down
      [Fri Nov 12 11:48:12.855651 2021] [mpm_prefork:notice] [pid 20842] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
      [Fri Nov 12 11:48:12.855691 2021] [core:notice] [pid 20842] AH00094: Command line: '/usr/sbin/apache2'

      Please let me know if you need more info.


      Thank you

      Comment

      Working...