[Users] About owner of postgres

Stephen Liu satimis at yahoo.com
Sat Nov 10 15:49:17 UTC 2012


Hi Juan and all,

I follow;
Building Engine Draft
http://wiki.ovirt.org/wiki/Building_Engine_Draft
to install oVirt from source on Fedora 17, 64bit


1)
Found following error;
$ unzip jboss-as-7.1.1.Final.tar.gz

It should read;
$ unzip jboss-as-7.1.1.Final.zip


2)
I was stuck here;

# su - postgres -c 'pg_ctl initdb'
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.

The database cluster will be initialized with locale en_US.UTF-8.
The default database encoding has accordingly been set to UTF8.
The default text search configuration will be set to "english".

initdb: directory "/var/lib/pgsql/data" exists but is not empty
If you want to create a new database system, either remove or empty
the directory "/var/lib/pgsql/data" or run initdb
with an argument other than "/var/lib/pgsql/data".
pg_ctl: database system initialization failed



I'm not the owner of postgres

What shall I do?

TIA

B.R.
Stephen L
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20121110/932015ed/attachment-0001.html>


More information about the Users mailing list