Find the answer to your Linux question:
Results 1 to 4 of 4
Hi I need to get my postgres instillation up and running ASAP. To do this I need to remove the postmaster.pid. I'm logged in as root but cant touch it.... ...
  1. #1
    Just Joined!
    Join Date
    Jul 2007
    Posts
    4

    rm: cannot remove `postmaster.pid': Read-only file system

    Hi I need to get my postgres instillation up and running ASAP. To do this I need to remove the postmaster.pid. I'm logged in as root but cant touch it....

    -rw------- 1 postgresuser postgresuser 47 Oct 3 14:34 postmaster.pid

    I keep getting...
    "rm: cannot remove `postmaster.pid': Read-only file system"

    Please help

    Cheers

  2. #2
    Linux Enthusiast likwid's Avatar
    Join Date
    Dec 2006
    Location
    MA
    Posts
    649
    I'm only guessing, but I'd say your filesystem is mounted read-only. Where is this file located?

  3. #3
    Just Joined!
    Join Date
    Jul 2007
    Posts
    4
    Hi There,

    I'm pretty novice at this so please excuse stupid questions...

    the postmaster.pid file is located in the /usr/local/pgsql/data directory.

    This also belongs to postgres

    Cheers

  4. #4
    Linux Enthusiast likwid's Avatar
    Join Date
    Dec 2006
    Location
    MA
    Posts
    649
    Type "mount" at a command line and paste the output. Also, double check that you are root.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...