pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Probllem with initdb on Windows XP
3+ messages / 2 participants
[nested] [flat]

* Probllem with initdb on Windows XP
@ 2005-03-23 13:18 Olivier Martineau <olmartineau@free.fr>
  0 siblings, 0 replies; 3+ messages in thread

From: Olivier Martineau @ 2005-03-23 13:18 UTC (permalink / raw)
  To: pgsql-admin

Hello,

I have just installed PostgreSQL (postgresql-8.0.1.zip) on a Windows XP 
(SP1) platform.

After the installation I runned the following command :

/initdb -D D:\Bureautique\PostgreSQL\8.0\bin\Data

/but an error occured at the end of the execution. Here is the message :

/Les fichiers appartenant Ó ce systÞme de bases de donnÚes doivent 
appartenir Ó l
'utilisateur ½Administrateur+.
Cet utilisateur doit aussi possÚder le processus serveur.
Le groupe de bases de donnÚes sera initialisÚ avec la locale 
French_France.1252.
crÚation du rÚpertoire D:/Bureautique/PostgreSQL/8.0/bin/Data ... ok
crÚation du rÚpertoire D:/Bureautique/PostgreSQL/8.0/bin/Data/global... ok
crÚation du rÚpertoire D:/Bureautique/PostgreSQL/8.0/bin/Data/pg_xlog... ok
crÚation du rÚpertoire 
D:/Bureautique/PostgreSQL/8.0/bin/Data/pg_xlog/archive_st
atus... ok
crÚation du rÚpertoire D:/Bureautique/PostgreSQL/8.0/bin/Data/pg_clog... ok
crÚation du rÚpertoire 
D:/Bureautique/PostgreSQL/8.0/bin/Data/pg_subtrans... ok
crÚation du rÚpertoire D:/Bureautique/PostgreSQL/8.0/bin/Data/base... ok
crÚation du rÚpertoire D:/Bureautique/PostgreSQL/8.0/bin/Data/base/1... ok
crÚation du rÚpertoire 
D:/Bureautique/PostgreSQL/8.0/bin/Data/pg_tblspc... ok
sÚlection de la valeur par dÚfaut de max_connections... 10
sÚlection de la valeur par dÚfaut de shared_buffers... 50
crÚation des fichiers de configuration... ok
crÚation de la base de donnÚes template1 dans 
D:/Bureautique/PostgreSQL/8.0/bin/
Data/base/1... L'exÚcution du serveur PostgreSQL par un l'utilisateur 
dotÚ de dr
oits d'administrateur n'est pas permise.
Le serveur doit Ûtre lancÚ avec un utilisateur non privilÚgiÚ pour empÛcher
tout problÞme de sÚcuritÚ sur le serveur. Voir la documentation pour
plus d'informations sur le lancement propre du serveur.
le processus fils a ÚtÚ terminÚ avec le signal 1
initdb : suppression du rÚpertoire des donnÚes 
½D:/Bureautique/PostgreSQL/8.0/bi
n/Data+

/Is there anymone that can tell me what's going wrong ?
Thanks,

Olivier.

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Probllem with initdb on Windows XP
@ 2005-03-23 13:31 thomas.revell@powerconv.alstom.com
  0 siblings, 0 replies; 3+ messages in thread

From: thomas.revell@powerconv.alstom.com @ 2005-03-23 13:31 UTC (permalink / raw)
  To: pgsql-admin

Well, my French isn't as good as I'd like :) but it looks as though you're 
trying to set up the database as an administrator. As this creates various 
security risks, it's not allowed. You probably created a user account 
during PostgreSQL installation. If you run initdb as that user, you should 
be OK.

One handy tip, you can get a command prompt as another user without 
logging out of your main account, using the 'runas' command. Type runas /? 
for more information.







Hello,

I have just installed PostgreSQL (postgresql-8.0.1.zip) on a Windows XP 
(SP1) platform.

After the installation I runned the following command :

initdb -D D:\Bureautique\PostgreSQL\8.0\bin\Data

but an error occured at the end of the execution. Here is the message :

Les fichiers appartenant Ó ce systÞme de bases de donnÚes doivent 
appartenir Ó l
'utilisateur ½Administrateur+.
Cet utilisateur doit aussi possÚder le processus serveur.
Le groupe de bases de donnÚes sera initialisÚ avec la locale 
French_France.1252.
crÚation du rÚpertoire D:/Bureautique/PostgreSQL/8.0/bin/Data ... ok
crÚation du rÚpertoire D:/Bureautique/PostgreSQL/8.0/bin/Data/global... ok
crÚation du rÚpertoire D:/Bureautique/PostgreSQL/8.0/bin/Data/pg_xlog... 
ok
crÚation du rÚpertoire 
D:/Bureautique/PostgreSQL/8.0/bin/Data/pg_xlog/archive_st
atus... ok
crÚation du rÚpertoire D:/Bureautique/PostgreSQL/8.0/bin/Data/pg_clog... 
ok
crÚation du rÚpertoire 
D:/Bureautique/PostgreSQL/8.0/bin/Data/pg_subtrans... ok
crÚation du rÚpertoire D:/Bureautique/PostgreSQL/8.0/bin/Data/base... ok
crÚation du rÚpertoire D:/Bureautique/PostgreSQL/8.0/bin/Data/base/1... ok
crÚation du rÚpertoire D:/Bureautique/PostgreSQL/8.0/bin/Data/pg_tblspc... 
ok
sÚlection de la valeur par dÚfaut de max_connections... 10
sÚlection de la valeur par dÚfaut de shared_buffers... 50
crÚation des fichiers de configuration... ok
crÚation de la base de donnÚes template1 dans 
D:/Bureautique/PostgreSQL/8.0/bin/
Data/base/1... L'exÚcution du serveur PostgreSQL par un l'utilisateur dotÚ 
de dr
oits d'administrateur n'est pas permise.
Le serveur doit Ûtre lancÚ avec un utilisateur non privilÚgiÚ pour 
empÛcher
tout problÞme de sÚcuritÚ sur le serveur. Voir la documentation pour
plus d'informations sur le lancement propre du serveur.
le processus fils a ÚtÚ terminÚ avec le signal 1
initdb : suppression du rÚpertoire des donnÚes 
½D:/Bureautique/PostgreSQL/8.0/bi
n/Data+

Is there anymone that can tell me what's going wrong ?
Thanks,

Olivier. 



:._______________
CONFIDENTIALITY : This  e-mail  and  any attachments are confidential and 
may be privileged. If  you are not a named recipient, please notify the 
sender immediately and do not disclose the contents to another person, use 
it for any purpose or store or copy the information in any medium.




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Probllem with initdb on Windows XP
@ 2005-03-23 14:45 Olivier Martineau <olmartineau@free.fr>
  0 siblings, 0 replies; 3+ messages in thread

From: Olivier Martineau @ 2005-03-23 14:45 UTC (permalink / raw)
  To: pgsql-admin


In fact, I was not using an administrative user but a user with special 
rights. I tried  with a simple  user and the initdb runned correctly.

Thanks a lot !

---------------------------------


Well, my French isn't as good as I'd like :) but it looks as though you're 
trying to set up the database as an administrator. As this creates various 
security risks, it's not allowed. You probably created a user account 
during PostgreSQL installation. If you run initdb as that user, you should 
be OK.

One handy tip, you can get a command prompt as another user without 
logging out of your main account, using the 'runas' command. Type runas /? 
for more information.







Hello,

I have just installed PostgreSQL (postgresql-8.0.1.zip) on a Windows XP 
(SP1) platform.

After the installation I runned the following command :

initdb -D D:\Bureautique\PostgreSQL\8.0\bin\Data

but an error occured at the end of the execution. Here is the message :

Les fichiers appartenant Ó ce systÞme de bases de donnÚes doivent 
appartenir Ó l
'utilisateur ½Administrateur+.
Cet utilisateur doit aussi possÚder le processus serveur.
Le groupe de bases de donnÚes sera initialisÚ avec la locale 
French_France.1252.
crÚation du rÚpertoire D:/Bureautique/PostgreSQL/8.0/bin/Data ... ok
crÚation du rÚpertoire D:/Bureautique/PostgreSQL/8.0/bin/Data/global... ok
crÚation du rÚpertoire D:/Bureautique/PostgreSQL/8.0/bin/Data/pg_xlog... 
ok
crÚation du rÚpertoire 
D:/Bureautique/PostgreSQL/8.0/bin/Data/pg_xlog/archive_st
atus... ok
crÚation du rÚpertoire D:/Bureautique/PostgreSQL/8.0/bin/Data/pg_clog... 
ok
crÚation du rÚpertoire 
D:/Bureautique/PostgreSQL/8.0/bin/Data/pg_subtrans... ok
crÚation du rÚpertoire D:/Bureautique/PostgreSQL/8.0/bin/Data/base... ok
crÚation du rÚpertoire D:/Bureautique/PostgreSQL/8.0/bin/Data/base/1... ok
crÚation du rÚpertoire D:/Bureautique/PostgreSQL/8.0/bin/Data/pg_tblspc... 
ok
sÚlection de la valeur par dÚfaut de max_connections... 10
sÚlection de la valeur par dÚfaut de shared_buffers... 50
crÚation des fichiers de configuration... ok
crÚation de la base de donnÚes template1 dans 
D:/Bureautique/PostgreSQL/8.0/bin/
Data/base/1... L'exÚcution du serveur PostgreSQL par un l'utilisateur dotÚ 
de dr
oits d'administrateur n'est pas permise.
Le serveur doit Ûtre lancÚ avec un utilisateur non privilÚgiÚ pour 
empÛcher
tout problÞme de sÚcuritÚ sur le serveur. Voir la documentation pour
plus d'informations sur le lancement propre du serveur.
le processus fils a ÚtÚ terminÚ avec le signal 1
initdb : suppression du rÚpertoire des donnÚes 
½D:/Bureautique/PostgreSQL/8.0/bi
n/Data+

Is there anymone that can tell me what's going wrong ?
Thanks,

Olivier. 

^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2005-03-23 14:45 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-03-23 13:18 Probllem with initdb on Windows XP Olivier Martineau <olmartineau@free.fr>
2005-03-23 13:31 Re: Probllem with initdb on Windows XP thomas.revell@powerconv.alstom.com
2005-03-23 14:45 Re: Probllem with initdb on Windows XP Olivier Martineau <olmartineau@free.fr>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox