Re: I can't even get started..... HELP!!!

Поиск
Список
Период
Сортировка
От Louis Bertrand
Тема Re: I can't even get started..... HELP!!!
Дата
Msg-id Pine.BSO.4.20.0103042311070.30903-100000@grendel.bts
обсуждение исходный текст
Ответ на I can't even get started..... HELP!!!  (John Draper <crunch@shopip.com>)
Список pgsql-novice
Whoa! One thing at a time...

PREFIX is an internal variable used in the ports makefiles to set where
exactly something gets installed. Usually, replace that with "/usr/local".

So what do you get when you run the start script?
 /usr/local/etc/rc.d/pgsql.sh start

Just typing "postmaster" at the command prompt won't do you any good until
you set your shell's PATH variable to include the directory
/usr/local/pgsql/bin

Pay attention also to the command line options you may need with
postmaster.

If none of the above made sense, step back and learn the Unix command line
environment first before playing around as root. Patience is rewarded
because the stuff does work -- you just need to understand how.

Ciao
 --Louis  <louis@bertrandtech.on.ca>

Louis Bertrand       http://www.bertrandtech.on.ca/
Bertrand Technical Services, Bowmanville, ON, Canada
Tel: +1.905.623.1500  Fax: +1.905.623.3852

OpenBSD: Secure by default.  http://www.openbsd.org/

On Sun, 4 Mar 2001, John Draper wrote:

> Ok,   I went into the "ports" directory and dowloaded what I thought was
> PostGreSQL.
>
> 1.   Ok,   we downloaded and un-tared the postgresql on our new virgin
> FreeBSD system.
>
> 2.   Result of which,  put the following files in this directory.
>
>        /usr/local/pgsql
>
> 3.   An 'ls" of this directory yeilds:
>
> .profile                include                 post-install-notes
> bin                     lib
> data                    man
>
> 4.  The file "post-install-notes" says to run the script...
>
> $PREFIX/etc/rc.d/pgsql.sh start
>
> 5.  I've done that,  and get:
>
> PREFIX: Undefined variable.
>
> And I'm dead in the water....    HELP?
>
> So I read the docs on the site to figure out whats going on,   and is
> says that
> I have to run "postmaster"
>
> I'm running as root,   and so I go into....
>
> /usr/local/pgsql/bin
>
> And sure enough,   there it is....
>
> createdb        dropuser        pg_ctl          pg_passwd       psql
> createlang      ecpg            pg_dump         pg_upgrade      vacuumdb
>
> createuser      initdb          pg_dumpall      pg_version
> dropdb          initlocation    pg_encoding     postgres
> droplang        ipcclean        pg_id           postmaster
>
> I type:    postmaster
> But get:
>
> postmaster: Command not found.
>
> WTF!!!
>
> Ok,   so I read further that is says I have to create a superuser,   but
> it doesn't say in what order
> I'm to do these things...
>
> I was lead into this by reading (WHAT I BELIEVED) to be the very first
> document I should
> read.
>
> >From this point on,   NO MATTER WHAT I do,  to follow the docs,
> NOTHING AT ALL
> indicates Ive done ANYTHING RIGHT.
>
> It is clear I'm missing some vital steps here....
>
> So,   could someone please PAGE me on ICQ at 5310192..   I show up as
> OFF-LINE
> If you don't have ICQ,   mail me anyway,  and I'll mail you back the
> details on how to
> get on our private IRC server,  so someone can "hold me by the hand" to
> get me started.
>
> It is clear that I do NOT have the experience to do this by myself.
>
> I cannot access any of the "public" IRC servers because I'm banned
> because my irc clients
> doesn't so some stupid "identd",  so I'm deprived of even getting access
> to instant or on-line
> help.
>
> John
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>


В списке pgsql-novice по дате отправления:

Предыдущее
От: John Draper
Дата:
Сообщение: Re: I can't even get started..... HELP!!!
Следующее
От: John Draper
Дата:
Сообщение: Re: I can't even get started..... HELP!!!