PDA

View Full Version : PostgresSQL


AlBe87
29-04-2009, 20:05
ciao ragazzi...
ho scaricato il file di installazione di postgresSQL, solo che mi dice la seguente cosa:
"Your sistem seems to be confugured with less than 32MB of shared memory, which is required for this application. Please see the installer README file for more information on how to configure shared memory settings"

nel file README invece:
Shared Memory
-------------

PostgreSQL uses shared memory extensively for caching and inter-process
communication. Unfortunately, the default configuration of Mac OS X does
not allow suitable amounts of shared memory to be created to run the
database server.

Before running the installation, please ensure that your system is
configured to allow the use of larger amounts of shared memory. Note that
this does not 'reserve' any memory so it is safe to configure much higher
values than you might initially need. You can do this by editting the
file /etc/sysctl.conf - e.g.

% sudo vi /etc/sysctl.conf

On a MacBook Pro with 2GB of RAM, the author's sysctl.conf contains:

kern.sysv.shmmax=1610612736
kern.sysv.shmall=393216
kern.sysv.shmmin=1
kern.sysv.shmmni=32
kern.sysv.shmseg=8
kern.maxprocperuid=512
kern.maxproc=2048

Note that (kern.sysv.shmall * 4096) should be greater than or equal to
kern.sysv.shmmax. kern.sysv.shmmax must also be a multiple of 4096.

Once you have edited (or created) the file, reboot before continuing with
the installation. If you wish to check the settings currently being used by
the kernel, you can use the sysctl utility:

% sysctl -a

The database server can now be installed.


Non ce sto a capì molto....qualcuno mi da un aiuto!?!?
grazie!!;)

AlBe87
30-04-2009, 20:42
ragàààà!!!! nessuno sa aiutarmi!?!?
almeno provate a spiegarmi come fare a modificare la "shered memory"!!!! pleaseeeeee!!!:cry:

MacNeo
30-04-2009, 22:11
c'è scritto esattamente come fare nel readme che hai postato :mbe:

AlBe87
01-05-2009, 11:03
eh ho provato a fare come nel readme...ma nada...mi dice sempre la stessa cosa al momento dell'installazione...
da quello che ho letto è proprio una carenza del mac quella della gestione dei database in SQL...:muro:
dovrò utilizzare un pc con windows a sto punto...:mbe:

khelidan1980
02-05-2009, 12:30
eh ho provato a fare come nel readme...ma nada...mi dice sempre la stessa cosa al momento dell'installazione...
da quello che ho letto è proprio una carenza del mac quella della gestione dei database in SQL...:muro:
dovrò utilizzare un pc con windows a sto punto...:mbe:

io ho utilizzato postgres tranquillamente su mac,inoltre che non funzioni postgres non vuol dire che il mac abbia "una carenza nella gestione di database sql"

AlBe87
02-05-2009, 14:01
io ho utilizzato postgres tranquillamente su mac,inoltre che non funzioni postgres non vuol dire che il mac abbia "una carenza nella gestione di database sql"

ma guarda è una cosa che ho trovato scritto in un sito mentre cercavo di trovare qlcs che mi risolvesse il problema...non è una mia sparata:p
cmq a te nn ha dato nessun problema?!?!? che versione avevi installato ti ricordi x caso!?!?

khelidan1980
02-05-2009, 16:43
ma guarda è una cosa che ho trovato scritto in un sito mentre cercavo di trovare qlcs che mi risolvesse il problema...non è una mia sparata:p
cmq a te nn ha dato nessun problema?!?!? che versione avevi installato ti ricordi x caso!?!?

non ricordo sinceramente,c'è da dire che lo usavo con tiger o con panther addirittura,quindi probabile sia cambiato qualcosa

AlBe87
02-05-2009, 19:16
non ricordo sinceramente,c'è da dire che lo usavo con tiger o con panther addirittura,quindi probabile sia cambiato qualcosa

ah ok! grazie lo stesso!;)