Monday Postgres derp

Reloading a test Postgres server:

# /etc/init.d/postgresql reload
==>* Reloading PostgreSQL 9.3 database server
==>* pg_ctl: PID file "/var/lib/postgresql/9.3/main/postmaster.pid" \
==> does not exist  [fail]

The problem? Yes, I attempted to reload a service I hadn’t started.

# /etc/init.d/postgresql start
==> * Starting PostgreSQL 9.3 database server    [ OK ] 

This is why people regard me as a professional.


Imprint

This is one of about 5000 posts on Rubénerd. View the home page for the latest, or related posts also tagged with:

If you liked this post, feel free to buy me a coffee, leave me a comment on Twitter, or email me at weblog2017@rubenschade.com. Thanks :).