How to uninstall collectd completely from ubuntu 16.04 server - ubuntu-16.04

I had collectd-5.5 installed on my ubuntu-16.04 server and I tried to install the newer version as described in collectd download page..
it seems that it didn't work, so now I'm trying to uninstall collectd from my server completely, to install a fresh version again.
To uninstall, I've run below commands:
sudo apt-get remove collectd
sudo apt-get remove --auto-remove collectd
sudo apt-get purge collectd
sudo apt-get purge --auto-remove collectd
now when I delete the /var/lib/collectd folder, it gets created immediately with the rrd folder in it.
collectd command and service do not exist anymore, but it seems that it's not removed from my server completely, or maybe I have another version of collectd running?
how can I check?
did I miss something in the uninstalling process?
Thanks.

as #Lutz mentioned in question comments, the collectd process was running after the uninstall, so I had to kill it manually, restarting the server would do the work though, but in my case, I was working on a production server, so I decided to kill it this way:
sudo killall collectd

Related

Trouble running MongoDB server on macOS Monterey 12.0.1

I've installed MongoDB through Homebrew and when I start the server using brew services start mongodb-community (or mongodb-community#5.0) command it immediately fails and turn the brew services list to error!
I already tried giving permission - using Rosetta to install and run - etc. but ended up with the same error.
The only thing I don't know how do (which might potentially work) is to change the directory of MongoDB, but I am not sure that could be a solution or not!
Unloading and loading launchctl solved the permission issue.
Try running below command after installation of mongodb:
sudo brew services restart mongodb/brew/mongodb-community
Then running sudo brew services list will show the mongodb-commuity service status to started.

pgadmin4 stuck in indefinet loading screen -- Ubuntu 18.04

I am running postgresql in Docker Container. I was connected to it using Pgadmin4 and it was all good until past hour or so and suddenly stopped working. its stuck in loading screen and its not working. I tried to uninstall postgres, pgadmin but nothing really worked.
I used the below commands
sudo apt autoremove pgadmin4
I have postgis installed if that helps
Indefinite loading screen
So I found a work around and thought it would be helpful to anyone who has similar issues.
Ubuntu 18.04
sudo apt remove pgadmin4
sudo rm -rf /home/${USER}/.config/pgadmin
sudo apt install pgadmin4
Hopefully that should work if anyone has a better answer please advice.

Reinstalling phpmyadmin as I did not select apache2 in server selection

I was installing phpmyadmin on my ubuntu 16.04. when I was asked to select a server selection, I had by mistake, not selected apache2, and the installer had already completed...
I have already tried uninstalling by apt-get remove phpmyadmin, and tried reinstalling but this time, I wasn't asked about the server selection...what do I do?
Ps:if its relevant, I have webmin installed.
sudo apt-get --purge remove phpmyadmin

sudo yum install gitlab-ce "Nothing to Do" when trying to Upgrade to latest version of gitlab

I am trying to update to the latest version of gitlab on my CentOS server. I am currently running Omnibus version 8.3.2, which has a security issue. I am using the instructions from the update page:
sudo yum install gitlab-ce
Whenever I run this command I get a "Nothing to Do" from the Yum command.
Loaded plugins: refresh-packagekit, security, ulninfo
Setting up Install Process
Nothing to do
I have also tried a manual update with a .rpm file and I get conflict errors because it isn't removing the older version. What am I missing in order to upgrade my version? I am new to this so I apologize if I am over complicating things. I really don't want to uninstall and re-install the latest version.
Thanks in advace

Mongorestore on AWS EC2 MEAN by Bitnami

I have and issue with mongodb that was preinstalled on MEAN server pre-configuration.
I want to use mongorestore tool to restore my database from local machine on AWS server. As i know so far this tools have an issue (https://jira.mongodb.org/browse/TOOLS-620) so i decided to downgrade version on mongo from 3.0 to 2.6. Unfortunately on Bitnami the instalation is pretty strange and i can't unistall mongo in standard way.
sudo apt-get purge mongodb mongodb-clients mongodb-server mongodb-dev
sudo apt-get purge mongodb-10gen
sudo apt-get autoremove
The same problem i have with trying to replace tools with older version:
sudo apt-get purge mongodb-org-tools
echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list
sudo apt-get update
sudo apt-get install -y mongodb-org-tools=2.6.0
System just doesn't recognize this names. Does anyone here have any experience with bitnami mean stack for AWS EC2, and can help me with replacing tools or (the best sollution for me) version of mongo to 2.6?
Thanks
Marcin
Bitnami developer here.
Bitnami stacks are self contained so you won't be able to use apt-get to downgrade one component.
If you are using a native installer the best you can do is asking for an old version of the mean stack that shipped mongo 2.6.