Re: [Fwd: Re: postgres not allowing new database?]

From: lee johnson <lee(at)imyourhandiman(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: [Fwd: Re: postgres not allowing new database?]
Date: 2000-09-10 16:28:10
Message-ID: 39BBB69A.74C76501@imyourhandiman.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> mkdir /usr/local/pgsql/data
> chown postgres /usr/local/pgsql/data
> su - postgres
> /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data

line 3 not working display weird stuff that doesn't seem to apply to
what I"m doing........see below......
-----------------
[handiman(at)localhost handiman]$ su - postgres
Password:
Cdrecord 1.8.1 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg
Schilling
cdrecord: Permission denied. Cannot open '/dev/sg0'. Cannot open SCSI
driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you
are root./dev/ttyS2: Permission denied
--------------------------
its reading my ./profile ????????? ..what does this have to do with
postgres?

am i having trouble because i was root when I installed the
rpm's......maybe i should start over?
and remove the rpm's and download the tar files and install them as su
instead of root???

semi confused here thanks for any help ( sorry....... maybe I should
have been addressing pg-novice all this time? )... :-)
lee

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Neil Conway 2000-09-10 18:36:39 triggers in SQL?
Previous Message Karl F. Larsen 2000-09-10 12:19:54 Re: FOREIGN KEY questions