GPSFileDepot Forums

General Category => Map Making Support => Topic started by: Shnick on February 07, 2009, 08:32:23 AM

Title: Postgresql issues
Post by: Shnick on February 07, 2009, 08:32:23 AM
I am reinstalling postgresql-8.3.6-2 on my pc, and its saying it cant install the database onto a non-NTFS volume. 

Is there a workaround for this? i dont remember what i did last time...

Shnick
Title: Re: Postgresql issues
Post by: -Oz- on February 07, 2009, 12:33:54 PM
Did you try running initdb.exe?

I only have NTSF on my computers so I've never run into this error.  I just read the message and it seems like the workaround is initdb.exe
Title: Re: Postgresql issues
Post by: Shnick on February 07, 2009, 05:02:25 PM
Yeah i found the initdb.exe file and clicked it, but all it does it make a command prompt pop up for a split second and really doesnt appear to do anything productive...

Shnick
Title: Re: Postgresql issues
Post by: -Oz- on February 07, 2009, 05:52:06 PM
You are correct; they want you to run on ntfs because some things don't work it you don't.

The forums say:
QuoteSpecifically, FAT32 does not support Directory Junctions, which means
tablespaces don't work. That's the only filesystem specific function
that is used directly. (security and reliability are of course used
indirectly)

That said, you *can* run pg on FAT32, it's just not recommended. The
installer won't let you. But if you install just the files (you can do
this from the installer, just don't enable service or initdb) and run it
manually, it should work.

Beware that no testing is done on FAT. And don't expect your data to be
around if the machine crashes. Right now I think only tablespaces won't
work, but if other features don't work, don't expect anybody to put down
a lot of effort to make a workaround for FAT.

Also, did you know you can convert the drive (unless you want it for linux or something of the sort): http://www.microsoft.com/technet/prodtechnol/winxppro/maintain/convertfat.ms
Title: Re: Postgresql issues
Post by: Shnick on February 07, 2009, 11:51:45 PM
OK, that worked, sort of...

I converted an old hard drive and installed Postgres/Postgis on it.  I have it running, but i get:

could not connect to server: Connection refused (0x0000274D/10061)
         Is the server running on host "127.0.0.1" and accepting
         TCP/IP connections on port 5432?

After doing some searches on the 'net, i found similar issues...
Is the server even running? i can ping the 127.0.0.1 with no packet loss, but it bounces back when i specify port 5432...

Also had install issue with libiconv-2.dll, it failed to write when i tried to install Postgis using the Application Stack Builder.  i continued with the install and ignored that particular file. 

HELP!!!!

Shnick
Title: Re: Postgresql issues
Post by: -Oz- on February 08, 2009, 01:13:50 AM
Load pgadmin III and see if you can connect to the database that way?
Title: Re: Postgresql issues
Post by: Shnick on February 08, 2009, 01:34:34 AM
nope... it says the same thing...

Although I can "start service" with pgAdminIII, but it wont let me connect...

in the cmd prompt, i type: psql -d postgis -h localhost -U postgres -f nhd_area.sql

psql: could not connect to server: Cannot assign requested address (0x0000274D/10061)
Is the server running on "localhost" and accepting TCP/IP connections on port 5432?


i have it remember my password, so i left out the -p... if i leave it in, it says something different:

psql: warning: extra command-line argument "nhd_areas.sql" ignored
psql: could not connect to server: Cannot assign requested address (0x00002741/10049)
Is the server running on "localhost" and accepting TCP/IP connections on port -f?


Shnick

Title: Re: Postgresql issues
Post by: Shnick on February 08, 2009, 01:51:18 AM
This starts when installing postgis_1_3_5_pg83.exe, it says:

So it makes me think... is it a bad install???

Shnick
Title: Re: Postgresql issues
Post by: Shnick on February 13, 2009, 06:05:20 PM
O.K., i have officially given up on the water files...  after reinstalling, it now says port 5432 is already in use...

if someone wants to finish the water for me and send the files back, thats the only option i see as of now... i have all the other files processed except the water files, i can send them thru IM...

I use skype for instant messaging, if someone would like to process the water for me, email me your contact info and I'll add you to my list... hansenml at i-mnet dot net

I'll keep the files for a couple weeks, after which i'll burn them on disc...


Thanks...
Shnick
Title: Re: Postgresql issues
Post by: -Oz- on February 13, 2009, 08:48:56 PM
How large are the files?

How did you process the transportation and all that?  The port being in use means the service is still running.  When I had to reinstll I had to make a second user called postgre2 but I still got to use the same port.
Title: Re: Postgresql issues
Post by: Shnick on February 13, 2009, 09:03:41 PM
-Oz-:

i just used GM for the transportation, when loaded in GM, all the roads show their appropriate size/type etc.

the NHD files - zipped, 271 MB...
the transportation files - zipped, 163 MB

Shnick
Title: Re: Postgresql issues
Post by: -Oz- on February 15, 2009, 10:29:40 AM
If you load the water files to rapidshare (http://www.rapidshare.com) I will process them for you.  You'll have to split them because the max size there is 200mb.
Title: Re: Postgresql issues
Post by: Shnick on February 15, 2009, 11:38:24 PM
Thanks -Oz-, im uploading now...


Shnick
Title: Re: Postgresql issues
Post by: -Oz- on February 16, 2009, 08:47:14 PM
Processing...

Edit: Uploading... going to sleep now so in the morning I'll post a link to the file.
Title: Re: Postgresql issues
Post by: -Oz- on February 17, 2009, 08:13:05 AM
The nhd data is at http://www.gpsfiledepot.com/nhd-wi.zip

Once you download it let me know so I can remove it from the server.
Title: Re: Postgresql issues
Post by: Shnick on February 17, 2009, 09:11:37 AM
Wow... thanks Oz... how come it took you less time to process it and it took me 2 and a 1/2 days??? lol

Thanks again...

Edit: Im done downloading... I appreciate the help... 

Shnick
Title: Re: Postgresql issues
Post by: -Oz- on February 17, 2009, 10:00:14 PM
Glad to help; took longer to download than it did to process.  Granted I also have pre-loaded setups to do it and I had just done florida.