Jaromír Talíř escribió:
Hi,

as Umarzuki pointed out, the obvious reason for this error is that
servers are not running. Check output of 'ps -axu' if there are running
daemons fred-pyfred, fred-rifd, fred-adifd and fred-pifd.

Regards,
Jaromir

  
Another possibility (I experimented that) is the absence of the PLPGSQL language. If you guess that it's happening, check that postgresql-plperl-8.3 package is installed:

dpkg -l postgresql-plperl-8.3

root@mguerra:~# dpkg -l postgresql-plperl-8.3
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/T-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Nombre         Versión       Descripción
+++-==============-==============-============================================
ii  postgresql-plp 8.3.7-0ubuntu8 PL/Perl procedural language for PostgreSQL 8


If it is not, install it and then create the language for the "fred"  database.

Best regards

Mario