Re: How to run PostgreSQL? - Mailing list pgsql-admin

From lst_hoe02@kwsoft.de
Subject Re: How to run PostgreSQL?
Date
Msg-id 20090507155813.97083835nfswbq4g@webmail.kwsoft.de
Whole thread Raw
In response to How to run PostgreSQL?  (Jan Muhammad <janmuhd@yahoo.com>)
List pgsql-admin
Zitat von Jan Muhammad <janmuhd@yahoo.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


pgsql-admin by date:

Previous
From: Ray Stell
Date:
Subject: Re: How to run PostgreSQL?
Next
From: Jan Muhammad
Date:
Subject: Re: How to run PostgreSQL?