Trouble installing PostgreSQL
Behrang Saeedzadeh
behrangsa at gmail.com
Tue Dec 11 04:47:51 PST 2012
*(Forgot to reply-all)*
Hi Vincent,
Yes, it's a Persian name. :)
Regarding the error I was getting, I think the postgres user did not have
read access into my home directory (i.e. ~), as I was running the command
from there. After I CD'd into /opt/local/var/db/postgresql92/defaultdb/ for
which the postgres user had read/write access, the command completed
successfully.
Cheers,
Behrang Saeedzadeh
http://www.behrang.org
On Mon, Dec 10, 2012 at 8:19 PM, Vincent Habchi <vince at macports.org> wrote:
> Le 10 déc. 2012 à 08:46, Ryan Schmidt <ryandesign at macports.org> a écrit :
>
> >> sudo sysctl -w kern.sysv.shmmax=1073741824
> >> sudo sysctl -w kern.sysv.shmall=1073741824
> >
> > What does that do?
>
> This increases the contents of shared memory available to userland
> processes using System V semantics. The last line should *not* be a size in
> bytes, but a size in pages (= 4,096 bytes). I had to do that too, the
> default values happens to be slightly undersized, especially when you need
> to support more than a few clients.
>
> But the problem of Behrang (now, that’s a Persian name, isn’t it?) is not
> related to that. It is caused by using sudo from a nonexistent working
> directory (i.e. “.”), probably because it was deleted while installing
> postgresql92. Try doing “cd” first, then all the other commands.
>
> Vincent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20121211/12d0c24e/attachment.html>
More information about the macports-users
mailing list