Ad Widget

Collapse

uninstall

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • anishkmr0071
    Junior Member
    • Mar 2018
    • 10

    #1

    uninstall

    hello everyone,

    i want to remove zabbix-server completely and install back again. in my ubuntu machine. can anyone help me with steps and commands to remove zabbix,

    thank you,
  • aigars.kadikis
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Mar 2018
    • 208

    #2
    Hello, anishkmr0071!

    Please share what exactly is under the hood:
    lsb_release -a
    apt list --installed | grep zabbix

    Comment

    • anishkmr0071
      Junior Member
      • Mar 2018
      • 10

      #3
      hello aigars,

      i have attached the image.
      Attached Files

      Comment

      • aigars.kadikis
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • Mar 2018
        • 208

        #4
        Hello!

        Looks like a lot of zabbix packages has been removed already.

        If your goal is clean zabbix server I would suggest to take a look in existing databases before continue. Enter
        mysql -uroot -p
        show databases;

        if there is database 'zabbix' standing by then we can erase it:
        drop database zabbix;

        Create new database 'zabbix' and user 'zabbix' with password 'zabbix'
        create database zabbix character set utf8 collate utf8_bin;
        grant all privileges on zabbix.* to zabbix@localhost identified by 'zabbix';
        quit;

        Now you can follow:


        Comment

        • anishkmr0071
          Junior Member
          • Mar 2018
          • 10

          #5
          but i see these below files still. is it okay?

          root@Zabbix:~# find / -name zabbix*
          /run/zabbix
          /usr/share/doc/zabbix-release
          /etc/apt/trusted.gpg.d/zabbix-official-repo.gpg
          /etc/systemd/system/multi-user.target.wants/zabbix-server.service
          /home/cognate/zabbix-release_3.2-1+xenial_all.deb
          /sys/fs/cgroup/devices/system.slice/zabbix-server.service
          /sys/fs/cgroup/blkio/system.slice/zabbix-server.service
          /sys/fs/cgroup/cpu,cpuacct/system.slice/zabbix-server.service
          /sys/fs/cgroup/pids/system.slice/zabbix-server.service
          /sys/fs/cgroup/memory/system.slice/zabbix-server.service
          /bin/zabbix_syslog_lkp_host.pl
          /var/tmp/zabbix.conf.php.swp
          /var/tmp/zabbix.conf.php.swn
          /var/tmp/zabbix.conf.php.swm
          /var/tmp/zabbix.conf.php.swo
          /var/lib/lxcfs/cgroup/devices/system.slice/zabbix-server.service
          /var/lib/lxcfs/cgroup/blkio/system.slice/zabbix-server.service
          /var/lib/lxcfs/cgroup/cpu,cpuacct/system.slice/zabbix-server.service
          /var/lib/lxcfs/cgroup/pids/system.slice/zabbix-server.service
          /var/lib/lxcfs/cgroup/memory/system.slice/zabbix-server.service
          /var/lib/dpkg/info/zabbix-release.list
          /var/lib/dpkg/info/zabbix-release.conffiles
          /var/lib/dpkg/info/zabbix-release.md5sums
          /var/lib/dpkg/info/zabbix-frontend-php.postrm
          /var/lib/dpkg/info/zabbix-frontend-php.list
          /var/lib/apache2/conf/disabled_by_admin/zabbix

          Comment

          Working...