PostgreSQL is a powerful, open source object-relational database system.

learn more… | top users | synonyms

1
vote
1answer
1k views

Does postgresql (server) setup a main cluster after installation? (14.04)

I'm surprised that installing postgresql on ubuntu doesn't give me a working postgres server setup immediately: it requires additional steps: Setting up postgresql-common (154) ... * No PostgreSQL ...
1
vote
1answer
160 views

Attempt start postgres server fails and gives no response?

When I do on my local machine. sudo service postgresql start I usually get the following or some error. * Starting PostgreSQL 9.1 database server [ OK ] But when I ...
0
votes
1answer
16 views

High CPU usage in the processes related to postgres in ubuntu 12.04

My Ubuntu server 12.04 hangs quite oftenly (say once in a day), after hard reboot it starts running normally. The server is Intel Xeon having 2 CPUs with 8GB RAM.There is high CPU usage in the ...
0
votes
1answer
23 views

Postgres createdb is not working in Ubuntu 14.04

I have been trying for hours to create a database in a specific directory in Ubuntu 14.04. First I tried createdb mydb and I got createdb: could not connect to database template1: FATAL: ...
0
votes
1answer
24 views

PSQL - password authentication failed for user “postgres”

I have freshly installed postgresql 9.4 on my ubuntu 14.10 box and I have run \password as the postgres user and given it the password postgres: $> sudo -u postgres psql =# \password Enter new ...
0
votes
1answer
15 views

PostgresSQL - How to connect to local machine

I installed Postgres to try it and I would like to use my laptop as server. I clicked on 'Add a connection to a server' and the form 'New Server Registration' opens but I don't know how to fill it ...
0
votes
1answer
116 views

PgAdmin 3 @ Ubuntu 14.10: low responsiveness when typing

I've been using PostgreSQL and PgAdmin 3 for years without problems so far. Recently I installed Ubuntu 14.10 at new notebook with PgAdmin. The problem is that I have to type very slowly to get the ...
0
votes
1answer
80 views

Help Connecting Ubuntu Server 14.04 VM/postgres to postgreSQL workbench on localhost?

I'm new to SQL and am trying to configure and Ubuntu Server 14.04 VM to connect to SQL Workbench x64 on the localhost. Below are my settings for the Virtual machine's port forwarding and the error I ...
0
votes
1answer
42 views

Wine ODBC connection to local PostgreSQL database

I'm running PostgreSQL server which I want to access from program under wine. I installed necessary wine software to be able to make ODBC connection. But is it possible to access local PostgreSQL ...
0
votes
1answer
57 views

12.04LTS -> 14.04LTS; Dist-upgrade failed; postrgesql; removal blacklist

I'm trying to upgrade a server from 12.04LTS to 14.04LTS, but it consistently fails with: The package ... is in the removal blacklist. This can be caused by: * Upgrading to a pre-release version ...
0
votes
1answer
96 views

Cannot connect to Port 5432

My company has a Linux Database server. I only have one user that needs access to this server. He is using PostgreSQL to access this server. It has been working fine for over a year. Today when he ...
0
votes
1answer
36 views

how to hiding Ubuntu and postgreSQL versions?

I'm seeking to closing some vulnerabilities of my postgreSQL server that is running over ubuntu 12.04 server, some of these vulnerabilities is an ability of scanners to checking versions of my OS and ...
0
votes
1answer
865 views

install and load uuid-ossp on PostgreSQL

How can I install uuid-ossp extension on PostgreSQL 9.3? Is it using apt-get install? I did select * from pg_available_extensions; but I found no extensions that relates to uuid-ossp.
0
votes
1answer
291 views

Removing old postgresql after upgrading?

I upgraded my postgresql to 9.3 following the instruction found here When I run sudo service postgresql start it shows * Starting PostgreSQL 9.1 database server ...done. * Starting ...
0
votes
1answer
431 views

Postgres uninstall: “server.key has group or world access” error

I'm trying to uninstall postgresql, but its really complaining. I suspect something is broken. I'm on 12.04, installed via apt-get. sudo apt-get remove postgresql returns: Reading package ...
2
votes
0answers
249 views

Postgresql 8.2 service will not stop and uninstall

My system config is as follows: System (running on Amazon EC2) Ubuntu 10.04 Postgresql-8.2 installed and it is working. ubuntu@ip:~$ sudo /etc/init.d/postgresql-8.2 status: Running clusters: ...
1
vote
0answers
265 views

Error while upgrading postgres

Ubuntu 14.04. Package manager reported that postgresql was broken. When I tried to upgrade it produced the following error: (synaptic:30668): GLib-CRITICAL **: g_child_watch_add_full: assertion 'pid ...
1
vote
0answers
98 views

PostgreSQL Backup With Barman

I'm trying to backup my server which i created on PostgreSQL (9.1). While on my normal user i type "su barman", it asks me barman's password, i enter the password. On barman's shell i type "barman ...
1
vote
0answers
1k views

Postgis + could not access file “$libdir/postgis-2.1”: No such file or directory

I am running postgresql9.3 and postgis2.1 , it works fine. When i installed QGIS by using the following commands: sudo apt-get update sudo apt-get install qgis After installing QGIS the postGis is ...
1
vote
0answers
52 views

Connecting sublime_text3 editor with postgresql

I am new in sublime_text3. I want to connect my sublime_text editor with my system PostgreSQL in ubuntu12.10. I have tried few plugins but its not working. Any one have any idea how to do that?
1
vote
0answers
106 views

Symbolic link error to Java / LIBJVM

All, When trying to install postgresql, I get the following error: /sbin/ldconfig.real: usr/lib/jvm/java-1.7.0-openjdk-amd64/jre/lib/amd64/jamvm/libjvm.so is not a symbolic link I think this is ...
1
vote
0answers
102 views

Ubuntu login black screen after postgis install

I just built a new computer running an ASUS P8Z77-V LK motherboard with no graphics card. Can boot into Ubuntu, run a bunch of the usual programs (Chrome, etc) no problem. However, when I install ...
1
vote
0answers
357 views

Installation of postgis 2, postgresql 9.1 dependency errors

A couple of months ago I installed Postgesql 9.1 and Postgis 2.0 on my Ubuntu 12.04 server. Now I can't do any apt-get upgrades or installs because of this installation with broken libgdal1 ...
1
vote
0answers
1k views

Postgresql starting error

The postgresql 9.1 database server is not starting. Can anyone help in this. * Restarting PostgreSQL 9.1 database server * Removed stale pid file. The ...
1
vote
0answers
367 views

How to run Python- postgresql in ubuntu 12.04

I am trying to test pyhton-postgresql script in ubuntu 12.04. The script is this: import psycopg2 import sys con = None try: con = psycopg2.connect(database='mydb', ...
1
vote
0answers
387 views

ldap postgresql backend segmentation fault

I am running the latest version of LDAP on XUbuntu 12.4 LTS and it works pretty fine as long as I use hdb or bdb as the backend. Nevertheless when I change the backend to sql and try to restart the ...
0
votes
0answers
7 views

postgresql-9.4-postgis-2.1 keeps trying to install postgres-9.3

After installing a new box and wanting to test Postgres 9.4 I decided to try to install Postgis through the Ubuntu repositories, annoyingly I am hitting a problem in that it is trying to add other ...
0
votes
0answers
26 views

postgresql 9.3 broken after multiple reinstallations

I would like to remove postgresql 9.3 from my Kubuntu 14.04 system, so that I may do a clean reinstall. I think I installed the version that ships with Kubuntu, but I'm not sure because I installed, ...
0
votes
0answers
12 views

Administrator User Issues with Postgresql 9.3, Can't Uninstall

I've read every other related question available here. None of them are having the same problem or provide solutions. I need to uninstall Postgres. When I go to the var/lib directory to edit the ...
0
votes
0answers
26 views

Postgresql 9.3 service unable to start

I have Ubuntu 14.04 machine. I'm trying to turn my server on, but there is no success. It was running months ago, but then I've disabled it on startup. Now I need to run it again. I've tried purging ...
0
votes
0answers
47 views

psql: could not connect to server: Connection refused

I installed postgre 9.3 on my Ubuntu 14.04 and I get an error like this psql: could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting ...
0
votes
0answers
27 views

Why I get PG::ConnectionBad?

When I visit my local server http://lvh.me:3000/ I get this error: could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP ...
0
votes
0answers
36 views

file pg_archivecleanup doesn't exist in postgres

I am trying to get log shipping replication working with postgresql 9.3 on Ubuntu 13.04 (Raring Ringtail). I installed postgresql on master and slave by doing: apt-get install postgresql I believe ...
0
votes
0answers
48 views

Django Cannot Create Test Database Permission Denied

I'm running Ubuntu 14.04 with Postgres 9.3, Python 3.0 and Django 1.7. When I try to debug my application from PyDev, I receive the following: Creating test database for alias 'default'... Got an ...
0
votes
0answers
42 views

PostgreSQL start.conf not working

I've just upgraded to 14.10 from 14.04. I have both 9.3 and 9.4 versions of PostgreSQL installed but, for now and until i fully migrate to 9.4, i just want to start the 9.3 cluster. I edited the ...
0
votes
0answers
90 views

Password authentication failed for user bucardo

So basically when I tried to proceed with my Bucardo installation (using bucardo_ctl install) with these settings: Current connection settings: 1. Host: localhost 2. Port: 5432 ...
0
votes
0answers
86 views

Unable to proceed with Bucardo installation

I'm recently installing Bucardo to work with PostgreSQL. I had trouble installing Bucardo and the relevant libraries from packages, so I installed them through apt-get instead. My problem is that ...
0
votes
0answers
242 views

PGAdmin 3 - server closed the connection unexpectedly

I have installed PostgreSQL and PGAdmin3 for the first time as specified here. When I try to connect to database using PGAdmin it throws Error connecting to the server: server closed the connection ...
0
votes
0answers
53 views

Postgresql Slony error storenode

I had installed Ubuntu 14.04 with PostgreSQL 9.3 server and Slony for database replication and pgadmin3 as gui, all installed from ubuntu ppa. When I try to add "test" slony-i cluster I have following ...
0
votes
0answers
480 views

Ubuntu 14.01 Server + PostgreSQL Install + Configuration

This might be a simple or complicated question, but I recently installed Open-xchange using the guide here ...
0
votes
0answers
34 views

weird behaviour

I am using the Ubuntu 12.04 Precise Pangolin, from past few days I am observing a strange behaviour with my ubuntu server. Let me give you a brief introduction to my server. Installed Softwares and ...
0
votes
0answers
83 views

How can I install pg_test_fsync on Ubuntu Server 14.04?

I attempted to install pg_test_fsync on Ubuntu 14.04 LTS and it appears it cannot be installed without removing postgresql. How can I install pg_test_fsync and keep postgresql? $ pg_test_fsync The ...
0
votes
0answers
102 views

Depending on postgresql-plpython for every installed version of postgresql

I'm working on a project which gets installed as an Ubuntu package. This is part of the code for generating the database (modified): CREATE EXTENSION plpythonu; CREATE FUNCTION foo (str text) ...
0
votes
0answers
48 views

packet-o-matic on Trusty 14.04

I'm trying to install pom on Trusty and have installed the pre-reqs listed at http://wiki.packet-o-matic.org/pom/installation but pom ./configure fails to recognize postgresql root# ./configure . ...
0
votes
0answers
160 views

installing plperl in postgresql

I am trying to use the perl language in postgresql, thus I need to install plperl. I am running all of my queries in pgadmin III. When I first tried create extension plperl; I get the following ...
0
votes
0answers
29 views

Postgresql ubuntu 12.04 not starting

I installed PostgreSQL on ubuntu 12.04, using apt-get install postgresql Everything worked fine. I made database, inserted data etc. Then I rebooted my computer, and postgres did not start. There is ...
0
votes
0answers
1k views

Problems in installation of Postgresql

I got following error while installing postgresql client The following packages have unmet dependencies: postgresql-9.3 : Depends: postgresql-client-9.3 but it is not going to be installed Depends: ...
0
votes
0answers
123 views

Problem installing postgresql on ubuntu 12.04 LTS error "cannot find proc/version

I'm trying to install PostgreSQL on my VPS running Ubuntu 12.04. A month ago I success installed Postgresql 9.3 but I forgot the Postgis extension, after I installed the Postgis there come a problem ...
0
votes
0answers
265 views

Failure to install postgresql-plperl-8.4 on Ubuntu 14.04

I have recently had a problem installing postgresql-plperl-8.4 on the new Ubuntu 14.04 distribution. The reason why I am installing older version of plperl is that the server getting upgraded needs to ...
0
votes
0answers
52 views

Automate backups of multiple Postgresql _CLUSTERS_

I'm looking for a way to automate backing up multiple PostgreSQL clusters. Any thoughts/hints before I do the following? I've already found the autopostgresqlbackup package. Which is a functional ...