Ad Widget

Collapse

Service Zabbix-Server start Error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sasquacz1
    Junior Member
    • Apr 2017
    • 3

    #1

    Service Zabbix-Server start Error

    Hi,

    I installed Zabbix 3.0.8 on Ubuntu 16.
    When I want to run the service zabbix-server shows me this error:

    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman.../systemd-devel
    --
    -- Unit zabbix-server.service has finished shutting down.
    Apr 11 13:51:44 glpi systemd[1]: Starting Zabbix Server...
    -- Subject: Unit zabbix-server.service has begun start-up
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman.../systemd-devel
    --
    -- Unit zabbix-server.service has begun starting up.
    Apr 11 13:51:44 glpi zabbix_server[4300]: zabbix_server [4300]: /etc/zabbix/zabbix_server.conf.d/: base path is not a directory
    Apr 11 13:51:44 glpi systemd[1]: zabbix-server.service: Control process exited, code=exited status=1
    Apr 11 13:51:44 glpi systemd[1]: Failed to start Zabbix Server.
    -- Subject: Unit zabbix-server.service has failed
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman.../systemd-devel
    --
    -- Unit zabbix-server.service has failed.
    --
    -- The result is failed.
    Apr 11 13:51:44 glpi systemd[1]: zabbix-server.service: Unit entered failed state.
    Apr 11 13:51:44 glpi systemd[1]: zabbix-server.service: Failed with result 'exit-code'.
    Apr 11 13:51:44 glpi sudo[4270]: pam_unix(sudo:session): session closed for user root
    I do not know how to fix it. Please help me
  • batchenr
    Senior Member
    • Sep 2016
    • 440

    #2
    Originally posted by sasquacz1
    Hi,

    I installed Zabbix 3.0.8 on Ubuntu 16.
    When I want to run the service zabbix-server shows me this error:



    I do not know how to fix it. Please help me
    can you past this info :
    ll /etc/zabbix
    and show the error from /var/log/zabbix/zabbix_server.log

    Comment

    • sasquacz1
      Junior Member
      • Apr 2017
      • 3

      #3
      Originally posted by batchenr
      can you past this info :
      and show the error from /var/log/zabbix/zabbix_server.log
      Hi
      Thanks for replay


      glpi@glpi:~$ ll /etc/zabbix
      total 56
      drwxr-xr-x 4 root root 4096 Apr 11 13:51 ./
      drwxr-xr-x 112 root root 4096 Apr 6 11:37 ../
      -rw-r--r-- 1 root root 1587 Mar 1 07:14 apache.conf
      drwxr-xr-x 3 root root 4096 Apr 11 12:34 SMIECI/
      drwxr-xr-x 2 www-data root 4096 Apr 6 15:19 web/
      -rw-r--r-- 1 root root 424 Apr 5 13:46 zabbix.conf.php
      -rw-r--r-- 1 root root 13485 Apr 11 13:04 zabbix_server.conf
      -rw-r--r-- 1 root root 13487 Apr 11 13:51 zabbix_server.conf.d
      But I dont see a zabbix-server log, only zabbix_agentd log

      glpi@glpi:/var/log/zabbix$ ls
      zabbix_agentd.log zabbix_agentd.log.1
      I find a only old logs from Zabbix 2.4.7

      Comment

      • ovas
        Senior Member
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Apr 2017
        • 138

        #4
        Hello!

        Originally posted by sasquacz1
        Apr 11 13:51:44 glpi zabbix_server[4300]: zabbix_server [4300]: /etc/zabbix/zabbix_server.conf.d/: base path is not a directory)
        I'm being pretty obvious here, but is the /etc/zabbix/zabbix_server.conf.d a directory or a file? I don't know how it is done on Ubuntu, but in Centos with Zabbix installed from packages, /etc/zabbix/zabbix_server.conf.d is optional path for added configuration files. This taken in consideration, have a look if this path is somehow mentioned in zabbix_server.conf for "Include" directives.

        Comment

        • sasquacz1
          Junior Member
          • Apr 2017
          • 3

          #5
          Ehh.
          Thank you for your help !!. As I mentioned, I am an amateur in linux. I just turned off the line to zabbix_server.conf.d And it works !!

          Comment

          • netofficer
            Junior Member
            • Nov 2017
            • 15

            #6
            zabbix server is not running the info displayed may not be current

            I have installed zabbix oncent os seven useing mariadb and have the same problem zabbix server is not running the information displayed may not be current. upon typing command systemctl status zabbix-server I got following output
            systemctl status zabbix-server
            ● zabbix-server.service – Zabbix Server
            Loaded: loaded (/usr/lib/systemd/system/zabbix-server.service; enabled; vendor preset: disabled)
            Active: active (running) since Wed 2017-11-08 15:31:45 PKT; 26min ago
            Process: 79711 ExecStop=/bin/kill -SIGTERM $MAINPID (code=exited, status=0/SUCCESS)
            Process: 79718 ExecStart=/usr/sbin/zabbix_server -c $CONFFILE (code=exited, status=0/SUCCESS)
            Main PID: 79720 (zabbix_server)
            CGroup: /system.slice/zabbix-server.service
            └─79720 /usr/sbin/zabbix_server -c /etc/zabbix/zabbix_server.conf
            Nov 08 15:31:45 localhost.localdomain systemd[1]: zabbix-server.service: main process exited, code=exited, status=1/FAILURE
            Nov 08 15:31:45 localhost.localdomain systemd[1]: Unit zabbix-server.service entered failed state.
            Nov 08 15:31:45 localhost.localdomain systemd[1]: zabbix-server.service failed.
            Nov 08 15:31:45 localhost.localdomain systemd[1]: Starting Zabbix Server…
            Nov 08 15:31:45 localhost.localdomain systemd[1]: PID file /run/zabbix/zabbix_server.pid not readable (yet?) after start.
            Nov 08 15:31:45 localhost.localdomain systemd[1]: Started Zabbix Server.
            REPLY

            Comment

            Working...