Précédent   Forum du club des développeurs et IT Pro > Bases de données > PostgreSQL > Outils
Outils Forum d'entraide sur les outils d'administration de PostgreSQL : PgAdmin, etc.
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse
 
Outils de la discussion
Publicité
'
Vieux 07/09/2010, 14h42   #1
levalp
Futur Membre du Club
 
Inscription : juin 2006
Messages : 141
Détails du profil
Informations forums :
Inscription : juin 2006
Messages : 141
Points : 19
Points : 19
Par défaut [pgAdmin3] Les instruments serveurs ne sont pas installés

Bonjour,
J'ai installé un serveur PostgreSQL 8.3 en local, et lorsque je me connecte dessus pgAdmin me sort l'erreur suivante :
Citation:
Les instruments serveurs ne sont pas installés
Server instrumentation
The server lacks instrumentation functions.
pgAdmin III uses some support functions that are not available by default in all PostgreSQL versions. These enable some tasks that make life easier when dealing with log files and configuration files.
When you install PostgreSQL 8.0 or up using the Windows installer, you just need to select the "admin" or "adminpack" module.c
When compiling from source, the necessary files can be found in the xtra subdirectory of the pgAdmin source tree. For PostgreSQL 8.0, copy the admin directory under the postgresql contrib source directory, make and make install from there. For PostgreSQL 8.1, use the admin81 directory for that.
PostgreSQL 8.2 and above include the instrumentation functions in the "adminpack" contrib module. After the module is installed, you need to create the instrumentation functions in your maintenance database using the admin.sql script (admin81.sql for PostgreSQL 8.1) which are usually located in the pgsql share directory (e.g. /usr/local/pgsql/share)
Extended server instrumentation is not supported for PostgreSQL 7.3 and 7.4.
Quelqu'un connaît-il la procédure d'installation, pour éviter cette erreur ?
Je suis sous Linux Debian.
Merci d'avance.
levalp est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 08/09/2010, 11h37   #2
estofilo
Modérateur
 
Inscription : octobre 2008
Messages : 1 702
Détails du profil
Informations personnelles :
Localisation : France, Paris (Île de France)

Informations forums :
Inscription : octobre 2008
Messages : 1 702
Points : 2 347
Points : 2 347
Il faut installer le package debian postgresql-contrib-8.3, et ensuite sous psql charger le fichier /usr/share/postgresql/8.3/contrib/adminpack.sql en superutilisateur.
estofilo est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 09/09/2010, 10h44   #3
levalp
Futur Membre du Club
 
Inscription : juin 2006
Messages : 141
Détails du profil
Informations forums :
Inscription : juin 2006
Messages : 141
Points : 19
Points : 19
J'ai donc installé le package postgresql-contrib-8.3, et ensuite j'ai exécuté la ligne suivante :
Code :
sudo su postgres -c psql < /usr/share/postgresql/8.3/contrib/adminpack.sql
et ça fonctionne !
merci estofilo.
levalp est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Cette discussion est résolue.
Outils de la discussion

Navigation rapide


Fuseau horaire GMT +2. Il est actuellement 17h57.


 
 
 
 
Partenaires

Hébergement Web