Ad Widget

Collapse

Cannot install zabbix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pietjuhklaas
    Junior Member
    • Apr 2011
    • 2

    #1

    Cannot install zabbix

    Hello
    I'm running ubuntu server 10.10 at this moment. I installd zabbix-agent on my server. But because of some errors i've decided to remove zabbix agent by apt-get remove zabbix-agent. To be sure the deamon stopped i rebooted the server. Now i would like te install the agent again by using the apt-get install zabbix-agent command. While installing i get the following errors:
    root@web001:/etc/zabbix# apt-get install zabbix-agent
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    zabbix-agent is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    1 not fully installed or removed.
    After this operation, 0B of additional disk space will be used.
    Do you want to continue [Y/n]? y
    Setting up zabbix-agent (1:1.8.2-1ubuntu1) ...
    Not replacing deleted config file /etc/zabbix/zabbix_agentd.conf
    Not replacing deleted config file /etc/zabbix/zabbix_agent.conf
    * Starting Zabbix agent zabbix_agentd invoke-rc.d: initscript zabbix-agent, action "start" faileand.
    dpkg: error processing zabbix-agent (--configure):
    subprocess installed post-installation script returned error exit status 1
    Errors were encountered while processing:
    zabbix-agent
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    i've tried to remove zabbix by using apt-get remove zabbix-agent, apt-get update, apt-get autoremove.

    Can someone please help me?

    Regards Maarten
  • kewan
    Member
    Zabbix Certified Specialist
    • Apr 2011
    • 33

    #2
    Have you tried to do:
    apt-get remove --purge zabbix-agent?

    --purge completely also removes a packet's configuration files, so if the problem is there, it should go away.

    cheers

    Comment

    • pietjuhklaas
      Junior Member
      • Apr 2011
      • 2

      #3
      Thank you, the installation is working fine now.

      Comment

      Working...