| Author |
Message |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 25 Mar 2011 03:05:15
|
aselaneli
New member
Joined: 25 Mar 2011 02:53:49
Messages: 1
Offline
|
Hi All,
I'm trying to install PostgreSQL with the postgresql-9.0.3-2-windows on my 32bit Windows7 environment.
But unfortunately, I get the following error message. (pls see the attached image).
It says and the data folder is empty.
Any idea as to why this occur..??
Appreciate any assistance regarding this.
Thanks in advance.
Asela.
| Filename |
Error.png |
Download
|
| Description |
|
| Filesize |
49 Kbytes
|
| Downloaded: |
159 time(s) |
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 25 Mar 2011 03:46:56
|
raghavendra_rao
Senior member
![[Avatar]](/images/avatar/c5daf8f412cb6470ad672ceb57717192.jpg)
Joined: 2 Sep 2009 06:28:39
Messages: 128
Offline
|
Hi,
Looking to the snapshot , its clear that there is no cluster creation at the time of installation. Installation has failed to create the data directory (cluster). Please verify the installation logs.
Try creating the cluster with INITDB command from the bin directory and start the cluster.
or
Use the uninstall-postgresql from 'C:\Program Files\PostgreSQL\9.0' location and start the fresh installation.
|
Best Regards
Raghavendra
EnterpriseDB
Blog: http://raghavt.blogspot.com/ |
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 25 Mar 2011 13:02:45
|
spiderkga
Member
Joined: 20 Mar 2011 15:34:47
Messages: 16
Offline
|
I'm getting this same error on 64-bit Windows 7 with the 64-bit installer. To fix this, I did the following:
1. Create the database using:
2. Change the owner of the created data folder. You can right-click in Explorer, select Properties, go to the Security tab, click Advanced, then go to the Owner tab, and set postgres to be the owner. Make sure you check the box that says something about subcontainers and objects getting the owner.
3. Now start the service through the Services control panel.
4. Log in with pgAdmin. Make sure you edit the connection information to use user postgres, since the default user for this is your login name.
That's all I needed to do to make this work, but it took me quite a while to figure it out. It'd be nice if the installer did the right thing!
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 13 Dec 2011 08:02:00
|
silverppl
New member
Joined: 13 Dec 2011 07:58:00
Messages: 1
Offline
|
tnx man, your solution resolved my problem!
I followed the steps that you described above and everything worked correctly
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 1 Mar 2012 13:19:55
|
nerowolf
New member
Joined: 1 Mar 2012 13:13:35
Messages: 1
Offline
|
Hi at all.
I have the same problem but with one addition: the installation does not create the Postgres user and I did not create the databse but launch the command as above.
May you help me?
Thanks a lot
|
|
|
 |
|
|