Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-admin by date

Next:From: Jan MuhammadDate: 2009-05-07 15:19:48
Subject: Re: How to run PostgreSQL?
Previous:From: Ray StellDate: 2009-05-07 13:01:57
Subject: Re: How to run PostgreSQL?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group