Postgresql not listening on docker interface after reboot

/etc/postgresql/12/main/postgresql.conf is where you define the interfaces for postgresql to listen on. It’s done with the line “listen_interfaces =”So, to get postgresql to listen on a docker interface, you have to add the IP address to the configuration: This will make postgresql listen after connections from my docker container. Unfortunately when i rebooted the machine,…

Continue Reading

Ping not permitted in WSL

Using Windows subsystem for Linux (WSL) is so nice, when you are forced to work from an inferior OS, sometimes also referred to as “a gaming console”Especially combined with the Windows Terminal, which I wrote about here: https://www.nordal-lund.dk/?p=592 I’m sure that most Linux/Unix administrators will feel right at home. Despite all the goodness, there are…

Continue Reading

LGSM CS:GO not starting

I’m running a small CS:GO server for the local E-Gaming club. It’s based on https://linuxgsm.com/, which makes managing game servers easy. Today I got a call from the trainer, telling that the server was not running. I have some tasks running every night to check for updates, and my first thought was that something had…

Continue Reading

Playing with LXD containers

Lately I have been playing around with LXD containers, and its actually pretty cool. Lets create a new container: lxc-create -t download -n TestCont This will download the default Ubuntu image from the official repository and create a container named TestCont. Fire it up with “lxc-start -n TestCont”, connect to it with “lxc-attach -n TestCont”….

Continue Reading

Using the find utility

Almost everytime I have to use the find utility, I have to google how to use it. Today i found a site with 35 practical examples on how to find different stuff. Instead of riping it of, heres a link: https://www.tecmint.com/35-practical-examples-of-linux-find-command/ Now theres an even bigger chance that you might also find it 🙂

Continue Reading