Ubuntu 10.04 (Lucid) issues with Postgres and boot

So annoying! I had boot errors like

mount /dev/shm terminated with status 32

. I temporarily fixed it by creating the directory /dev/shm (mkdir /dev/shm) and rebooting, then logging into my normal ubuntu and editing /etc/fstab to remove a line where a device was trying to get mounted. The UUID of the device wasn’t anywhere in my list of UUIDS (obtained by “sudo blkid” or “ls -l /dev/disk/by-uuid”). So I deleted it, rebooted, and no more stupid boot issues…for a little while at least. The same problem happens now with /dev/shm not being there…I’m pissed. I’m asking a question on serverfault. Will update later…

But then Postgres screws up every time I reboot. Basically, postgres doesn’t start up like it should because the directory /var/run/postgresql doesn’t exist. So I have to manually create it (made sure the owner was postgres), then restart postgres, and it works fine. This time I changed the perms to 0771 hopefully it stays every time I reboot…

This entry was posted in Linux, Postgres. Bookmark the permalink.

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>