[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Configuring postgresql



On Sat, Jul 24, 1999 at 01:36:52AM +0100, Oliver Elphick was heard to say:
> Daniel Burrows wrote:
> ...
>   >  This is interesting, because I have yet a third problem with postgresql:
> ...
>   >Setting up postgresql (6.5-3) ...
>   >Updating /var/postgres/.profile ...
>             ^^^^^^^^^^^^^^^^^^^^^^
>   >Now installing the PostgreSQL database files in /var/postgres/data
>   >su postgres -c cd /var/postgres; . .profile; initdb -l /usr/lib/postgresql/l
>                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>       >ib -r /var/postgres/data -u postgres
>   >.: .profile: not found
> 
> ??  Is it there, or isn't it?  Please let me know.

bluegreen:~> ls -l /var/postgres/ -a
total 4
drwxr-xr-x   3 postgres postgres     1024 Jul 23 16:08 ./
drwxr-xr-x  20 root     root         1024 Jul 23 16:07 ../
-rw-r--r--   1 postgres postgres      171 Jul 23 16:08 .profile
drwx------   2 postgres postgres     1024 Jul 23 16:08 data/

  I should've thought to check that earlier :)

> Ah... does your system need me to use . ./.profile?

  I bet that's the problem..

  Daniel

-- 
  Wisdom is one of the few things that looks bigger the farther away it is.

  -- Terry Pratchett


Reply to: