Ad Widget

Collapse

Add ZABBIX-SERVER and ZABBIX-AGENT at start (Ubuntu) > Source Code

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gairhald
    Junior Member
    • Jan 2019
    • 8

    #1

    Add ZABBIX-SERVER and ZABBIX-AGENT at start (Ubuntu) > Source Code

    Hi, I install Zabbix 4.0.4 from source code in Ubuntu 18.04 with MySQL 8.015 and works perfect all enviroment.
    Now, I try to add Zabbix-Server and Zabbix-Agent to start in ubuntu, but doesn't work, I try this:

    HTML Code:
    root@csavzabbix:/opt# cp /usr/src/zabbix-3.0.4/misc/init.d/debian/zabbix-* /etc/init.d/
    
    root@csavzabbix:/opt# update-rc.d zabbix-agent defaults 99
    root@csavzabbix:/opt# update-rc.d zabbix-server start 99 2 3 4 5 . stop 5 0 1 6 .
    But when i put enable this service sais that

    HTML Code:
    root@csavzabbix:~# systemctl enable zabbix-server
    zabbix-server.service is not a native service, redirecting to systemd-sysv-install.
    Executing: /lib/systemd/systemd-sysv-install enable zabbix-server
    update-rc.d: error: zabbix-server Default-Start contains no runlevels, aborting.

    any idea?? thanks a lot
Working...