Quantcast
Channel: FedoraForum.org
Viewing all articles
Browse latest Browse all 36127

postgres logfile

$
0
0
I have installed postgres on f18 x86_64 with the following packages

rpm -qa | grep postgres
postgresql-libs-9.2.2-1.fc18.x86_64
postgresql-server-9.2.2-1.fc18.x86_64
postgresql-9.2.2-1.fc18.x86_64

These are the instructions I could find to setup and start postgres

su -
cd /usr/lib64/pgsql
su postgres


$ initdb -D /var/lib/pgsql/data
$ pg_ctl -D /var/lib/pgsql/data -l logfile start


the last command fails with the following message

bash-4.2$ pg_ctl -D /var/lib/pgsql/data -l logfile start
server starting
sh: logfile: Permission denied

Viewing all articles
Browse latest Browse all 36127

Trending Articles