title: Postgres Error invalid magic number 0000
body: <p>This is the error message that I'm getting when running my postgres
      server. I've scoured the interwebs trying to  find a solution, I've
      also reinstalled <code>postgres</code> So I'm out of options but to ask it
      here.</p>
  
  <pre><code>11:51:05 postgres.1 | LOG:  database system was shut down at 2015-04-06 09:03:12 EDT
  11:51:05 postgres.1 | LOG:  invalid magic number 0000 in log segment 000000010000000000000040, offset 0
  11:51:05 postgres.1 | LOG:  invalid primary checkpoint record
  11:51:05 postgres.1 | LOG:  invalid magic number 0000 in log segment 000000010000000000000040, offset 0
  11:51:05 postgres.1 | LOG:  invalid secondary checkpoint record
  11:51:05 postgres.1 | PANIC:  could not locate a valid checkpoint record
  11:51:05 postgres.1 | LOG:  startup process (PID 898) was terminated by signal 6: Abort trap
  11:51:05 postgres.1 | LOG:  aborting startup due to startup process failure
  11:51:05 postgres.1 | exited with code 1
  </code></pre>