Re: How to run PostgreSQL?

From: lst_hoe02(at)kwsoft(dot)de
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: How to run PostgreSQL?
Date: 2009-05-07 13:58:13
Message-ID: 20090507155813.97083835nfswbq4g@webmail.kwsoft.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Zitat von Jan Muhammad <janmuhd(at)yahoo(dot)com>:

> Hi,
>
> I have just downloaded, installed/configured postgresql version
> 8.2.11 on Fedora Core 6. While reading through the installation
> manual have setup most of its parts; now while trying to run
> datebase server with the command:  
> $ postmaster -D /usr/local/pgsql/data
>
> I get the following error:
>
> "FATAL:  data directory "/usr/local/pgsql/data" has group or world access
> DETAIL:  Permissions should be u=rwx (0700)."

Simply fix this by do a chmod -R 700 /usr/local/pgsql/data

> Although I'm running this command from user 'postgres'; who has the
> ownership of /pgsql/data directories as well.
>
> Secondly, when I try to check that postgresql service is running or
> not; with the command: # service postgrsql status
> postgrsql: unrecognized service

Typo? Maybe should be "service postgresql status"

Regards

Andreas

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Jan Muhammad 2009-05-07 15:19:48 Re: How to run PostgreSQL?
Previous Message Ray Stell 2009-05-07 13:01:57 Re: How to run PostgreSQL?