Technology Errors

PostgreSQL Not Starting: FATAL: could not write lock file “postmaster.pid”: No space left on device

I have a couple development servers I have been using for testing PostgreSQL configured with walmgr for log shipping. The secondary server stopped working the other day and I finally got a chance to look into it this morning and attempted to restart Postgres via a terminal but it failed. Below I describe how the error was noticed, what was done to troubleshoot PSQL not starting, and what was done to resolve the problem so PostgreSQL would start without issue.

Details
Technology Insights

Ubuntu CLI Mail Command: The program ‘mail’ can be found in the following packages

While working on a clients Ubuntu Linux computer I needed to send some of the logs to myself so I could analyze them at a later date but there was not an SMTP server installed on the computer. This can be resolved by installing the Exim MTA (Mail Transfer Agent) using the below apt-get command which is actually stated fairly clearly in the output of attempting to use the mail command from the Ubuntu CLI as shown below. The initial attempt at using the mail command as well as the output from apt-get is displayed in the below example output.

Details
Technology Errors

Ubuntu Exim Email Error: R=nonlocal: Mailing to remote domains not supported

While working on a clients computer yesterday I needed to send some of the logs from the computer to myself so I could analyze later on my computer. At first I had to install the Exim MTA which I will write an article on in the near future but once installed mail was still not being received. You won’t actually receive an error from the CLI when attempting to use the mail command from the CLI however after investigating the Exim logs located in /var/log/exim/ the below error was observed and resolving the issue was completed using the steps below.

Details