Re: Server crashed, now cannot start postgres [FIXED]

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Server crashed, now cannot start postgres [FIXED]
Date: 2016-09-13 00:28:35
Message-ID: 25519.1473726515@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Rich Shepard <rshepard(at)appl-ecosys(dot)com> writes:
> Yes, it's a linux box. And /dev/shm/ does have incorrect permissions
> (755). Thanks to your response I remembered that chromium does not run until
> I follow its advice to chmod 1777 /dev/shm. Sure enough, chromium would not
> load.
> So, I changed the perms on /dev/shm/ and now both postgres and chromium
> work.

Hmm, AFAIK that's what it should be out of the box. Certainly on my RHEL6
machine I see

$ ls -ld /dev/shm
drwxrwxrwt. 2 root root 260 Sep 12 10:53 /dev/shm/

Googling suggests that some really old kernels (~2009) might've had issues
with setting this up wrong, but anything in current support ought to
get it right ...

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Rich Shepard 2016-09-13 00:34:13 Re: Server crashed, now cannot start postgres [FIXED]
Previous Message Rich Shepard 2016-09-13 00:07:02 Re: Server crashed, now cannot start postgres [FIXED]