Ad Widget

Collapse

agent does not start if deb package removed and compiled from source

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • martinsbalodis
    Junior Member
    • Apr 2013
    • 2

    #1

    agent does not start if deb package removed and compiled from source

    I am running ubuntu 12.04. I had installed zabbix agent 1.8.11 from ubuntu package repository. I wanted to try zabbix agent 2.0.5 which I compiled from source. Unfortionatelly the agent does not start. If I try to compile it on a host where a previous version was not installed then it works as expected.

    Here are the commands how I did this:
    sudo apt-get install zabbix-agent
    sudo apt-get --purge remove zabbix-agent
    # zabbix user, group already exists
    wget http://../zabbix-2.0.5.tar.gz
    tar -zxf zabbix-2.0.5.tar.gz
    cd zabbix-2.0.5/
    sudo ./configure --enable-agent
    sudo make install
    sudo zabbix_agent
    ps aux | grep zabbix
Working...