Ad Widget

Collapse

Zabbix-agentd I cannot install again after deinstallation from Zabbix-server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tomeksup
    Junior Member
    • Apr 2021
    • 14

    #1

    Zabbix-agentd I cannot install again after deinstallation from Zabbix-server

    Hi
    I am despered now

    I uninstalled Zabbix Agent from main server of Zabbix. When i install again there is result:



    Job for zabbix-agent.service failed because the control process exited with error code.

    See "systemctl status zabbix-agent.service" and "journalctl -xe" for details.

    invoke-rc.d: initscript zabbix-agent, action "start" failed.

    ● zabbix-agent.service - Zabbix Agent

    Loaded: loaded (/lib/systemd/system/zabbix-agent.service; enabled; vendor preset: enabled)

    Active: activating (auto-restart) (Result: exit-code) since Fri 2021-04-23 13:33:48 CEST; 6ms ago

    Process: 37173 ExecStart=/usr/sbin/zabbix_agentd -c $CONFFILE (code=exited, status=1/FAILURE)

    dpkg: błąd przetwarzania pakietu zabbix-agent (--configure):

    podproces zainstalowany pakiet zabbix-agent skrypt post-installation zwrócił kod błędu 1

    Wystąpiły błędy podczas przetwarzania:

    zabbix-agent

    localepurge: Disk space freed: 0 KiB in /usr/share/locale

    localepurge: Disk space freed: 0 KiB in /usr/share/man

    localepurge: Disk space freed: 0 KiB in /usr/share/gnome/help

    localepurge: Disk space freed: 0 KiB in /usr/share/cups/templates

    localepurge: Disk space freed: 0 KiB in /usr/share/cups/locale

    localepurge: Disk space freed: 0 KiB in /usr/share/cups/doc-root

    localepurge: Disk space freed: 0 KiB in /usr/share/calendar

    localepurge: Disk space freed: 0 KiB in /usr/share/cups/templates

    localepurge: Disk space freed: 0 KiB in /usr/share/cups/locale

    localepurge: Disk space freed: 0 KiB in /usr/share/cups/doc-root

    localepurge: Disk space freed: 0 KiB in /usr/share/help


    What I have to do to repair it ? In addition I can say that server of Zabbix woks correctly. In var\run there is no agent pid file.
  • tomeksup
    Junior Member
    • Apr 2021
    • 14

    #2
    That was so.... easy

    I created .my.conf in Zabbix_agend.d with bad lines. I didn't see this file using ls. I have to delete this file. Service started.

    Topić closed.

    Comment

    Working...