Moritz,
First, I move from 6 to 7 with v.build or v.build.all (depends on locations)
Here, connections are already gone…
I connect with :
db.connect driver=pg database=“host=192.168.1.200,dbname=administration”
db.connect -p :
driver: pg
database: host=192.168.1.200,dbname=administration
schema: public
group:
db.login --overwrite user=benoit
ATTENTION: DB connection <pg/host=192.168.1.200,dbname=administration>
already exists and will be overwritten
When I try a db.tables -p, I get :
DBMI-PostgreSQL erreur de pilote :
Connection failed.
n’a pas pu se connecter au serveur : Aucun fichier ou dossier de ce type
Le serveur est-il actif localement et accepte-t-il les connexions sur la
socket Unix « /var/run/postgresql/.s.PGSQL.5432 » ?
DBMI-PostgreSQL erreur de pilote :
Connection failed.
n’a pas pu se connecter au serveur : Aucun fichier ou dossier de ce type
Le serveur est-il actif localement et accepte-t-il les connexions sur la
socket Unix « /var/run/postgresql/.s.PGSQL.5432 » ?
ERREUR :Unable to open database <host=192.168.1.200,dbname=administration>
v.db.connect (dialog box) isn’t usable, because the field ‘Name of attribute table’ is empty…
Il I try : v.db.connect -o map=survey_bcg@benoit table=survey_bcg key=cat layer=1 (for facility, table name is the same as map name), result is
DBMI-PostgreSQL erreur de pilote :
Connection failed.
n’a pas pu se connecter au serveur : Aucun fichier ou dossier de ce type
Le serveur est-il actif localement et accepte-t-il les connexions sur la
socket Unix « /var/run/postgresql/.s.PGSQL.5432 » ?
DBMI-PostgreSQL erreur de pilote :
Connection failed.
n’a pas pu se connecter au serveur : Aucun fichier ou dossier de ce type
Le serveur est-il actif localement et accepte-t-il les connexions sur la
socket Unix « /var/run/postgresql/.s.PGSQL.5432 » ?
ATTENTION: Impossible d’ouvrir la base de données
<host=192.168.1.200,dbname=administration> avec le driver
ATTENTION: Impossible d’ouvrir la base de données
<host=192.168.1.200,dbname=administration> avec le driver
ERREUR :La table <survey_bcg7> n’existe pas dans la base de données
(attachments)





···
Le 02/09/16 12:04, Moritz Lennert a écrit :
On 02/09/16 11:38, Benoit ANDRE wrote:
Hi all,
Our GIS infrastructure is based on Grass 6.4.4, postrgresql 9.x and
Qgis. Those all together are perfectly working.
We want to update from 6.4.4 to 7.0.4. But we are confronted to a
problem with the database : connection to postgresql is no more possible
for all our maps (but still working with 6.4.4, and all the other soft
overlying on postgresql). The message is the ‘normal’ message wen the
connection is no possible (in french) :
/DBMI-PostgreSQL erreur de pilote ://
//Connection failed.//
//n’a pas pu se connecter au serveur : Aucun fichier ou dossier de ce type//
// Le serveur est-il actif localement et accepte-t-il les connexions
sur la//
// socket Unix « /var/run/postgresql/.s.PGSQL.5432 » ?/
I really don’t understand the problem.
Any idea ?
We need a bit more information to be able to help you. What command leads to this error ? What did you do to move from grass6 to grass7 ? How is the data connection defined (‘v.db.connect -p’ and ‘db.connect -p’) ?
Moritz
–
|
Benoit André
Directeur - Gérant
benoit.andre@bcgeol.be
Tel. | +32 475 61 84 94
skype | benoit_andre_bcg
![Voir le profil de Benoit André sur LinkedIn]()
BCG SPRL
Tél. | +32(0)81 58 26 11
Fax | +32(0)81 58 26 12
Chemin de la Foliette, 4 Bte 2
B-5000 - Namur
www.bcgeol.be - plan d’accès
|
![BCG LOGO]()
|
![]()
|
Suivez-nous sur ![Lien Linkedin]()
![Lien Facebook]()
Allons plus loin dans le respect de l’environnement : N’utilisons que des produits sans empreinte écologique![Logo Modere]()