Re: Install problems for postgresql-8.4.1

Поиск
Список
Период
Сортировка
От Don Fox
Тема Re: Install problems for postgresql-8.4.1
Дата
Msg-id 2F9CDA3F-D5BD-40D1-A0D7-065D59867950@mac.com
обсуждение исходный текст
Ответ на Install problems for postgresql-8.4.1  (Don Fox <donfox1@mac.com>)
Ответы Re: Install problems for postgresql-8.4.1  (Michael Wood <esiotrot@gmail.com>)
Список pgsql-novice
I think the hitch is something on my  machine( an old Intel Core Duo) MacBook Pro. When I do a :

 dscl . -list /Groups PrimaryGroupID | awk '{print $2 $1}' | sort -n

I get

-2nobody
-1nogroup
0wheel
UsersPostgreSQL    <------------- Looks strange to me! Should it be removed?   THis is after previous installation is removed and I've just done a new 'sudo make install'.
1daemon
2kmem
3sys
4tty
5operator
 

When I use the
sudo dseditgroup -o create -i 103 -r "PostgreSQL Users" postgres

I get

Create called on existing record - do you want to overwrite, y or n : 

In this case 103 should be avaliable as it's not in either Users Unique ID or in Groups Primary ID

No matter which avaliable number I choose I still get the same response and any createdb attempt results in a bus error!

Don


On Nov 1, 2009, at 8:48 PM, Mark H. Nichols wrote:

Don,

On Nov 1, 2009, at 7:19 PM, Don Fox wrote:

What kind of new Mac do you have? 

I just got a Unibody 15" MacBook Pro with the 2.66 GHz processors and a 320 GB hard drive. Also the matte (anti-glare) screen. Very nice replacement for my aging PowerBook G4.


I'm looking forward to an iMac with i7 cpu when they become  available!

No offense, but having spent my money I'm hoping that's a little later rather than sooner. :)


I'm going to give this another try now, Thanks for the nifty tool.

By the way, should sudo dscl . -create /Users/postgres  create another user under /Users ?

I see the Postgres user in the list of accounts in Accounts pane of System Preferences, but there is not a new entry in the /Users directory. By setting the home directory to /usr/local/pgsql (sudu dscl . -create /Users/postgres NFSHomeDirectory /usr/local/pgsql
) we didn't create a directory in /Users.

Mark


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

Предыдущее
От: Michael Wood
Дата:
Сообщение: Re: Apple switched to BSDtar from GNUtar with Leopard
Следующее
От: Michael Wood
Дата:
Сообщение: Re: Install problems for postgresql-8.4.1