[Mapserver-users] createlang troubles

Vincent Schut schut@sarvision.com
Fri, 4 Apr 2003 12:06:01 +0200


Alessandro,

the postgis-users mailing list is definitely more apropriate for your 
question. You might want to ask it there (and you might want to include the 
exact psql command you used when getting your error): 
postgis-users@postgis.refractions.net

( for subscribtion info, see the postgis pages on internet)

some short hints towards an answer:
- is your postgres *really* running (ps -A|grep postmaster)? You might want to 
try to restart it.
- can you connect to postgres using the psql command?
- can you connect to the database you want to create the pgsql language on, 
using the right username/password?
- did you use the same username/password when adding the pgsql language?
- if your postgres server is on a different computer than you are working on, 
has it been started with the -i switch to enable connections from other 
computers? (if you can connect using psql from your computer, this should be 
ok).

Hope this helps you a bit further,

Regards,
Vincent Schut.

On Wednesday 02 April 2003 10:23, Alessandro Ceccotti wrote:
> Hi !
> I've another problem:
> when I call the createlang function to create plpgsql lang in my db it
> doesn't work and I've in result such a message:
>
>
> psql: could not connect to server: Connection refused
>         Is the server running locally and accepting
>         connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
> createlang: external error
>
> I can't figure what's wrong...
> Any ideas?
> Thanks a lot!
>
>
> Ing.Alessandro Ceccotti, netXcalibur s.r.l.
> Via Alamanni, 25
> I-50123 Firenze
> T: +39.055.285859 - F: +39.055.285760

-- 
______________________________________
Vincent Schut (schut@sarvision.com)
Sarvision B.V.
Wageningen, The Netherlands
www.sarvision.com
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users