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

learn more… | top users | synonyms

2
votes
1answer
2k views

Armitage won't start: parse error

I installed Armitage along with Metasploit and Postgresql but Armitage is not connecting. Starting Postgresql works fine sudo service postgresql start * Starting PostgreSQL 9.3 database server ...
2
votes
1answer
2k 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 ...
2
votes
1answer
339 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: 8....
1
vote
1answer
59 views

Unable to connect to PostgreSQL

I had PostgreSQL 9.3 working fine but when I tried to upgrade to 9.5 I began encountering errors. So I purged Postgres from my system following the first answer of this question. Then I installed ...
1
vote
1answer
190 views

Pgadmin3 not working on ubuntu 15.10

I installed postgres than pgadmin3 on ubuntu 15.10. install was successful but when I type pgadmin3 in terminal and hit enter I get this following error : Fatal Error: Mismatch between the program ...
1
vote
1answer
449 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 ...
1
vote
1answer
850 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 ...
1
vote
1answer
157 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 ...
0
votes
1answer
152 views

How to install pgAdmin 4 on Ubuntu 16.04

How to install pgAdmin 4 on Ubuntu 16.04 ? Lack of information on homepage. https://www.pgadmin.org/ https://www.postgresql.org/ftp/pgadmin3/pgadmin4/
0
votes
1answer
30 views

Unable to import PostgreSQL database in Ubuntu

I need one help i need to import my database file to ubuntu using PostgreSQL.When i am checking my database its looking like below. When i am trying to import my database file using the following ...
0
votes
1answer
148 views

After upgrade to 16.04, Postgresql 9.4 is broken

After upgrading, postgresql 9.4 is broken. Any help would be greatly appreciated. The command: # /etc/init.d/postgresql start (04-29 14:52:01) [ ok ] Starting postgresql (via ...
0
votes
1answer
66 views

Postgis installation on Ubuntu 15.10 server gives dependencies error

I am trying to install Postgis on Ubuntu server 15.10 using the following command: sudo apt-get install postgresql-9.5-postgis-2.2 but I am getting following error: The following packages have ...
0
votes
1answer
25 views

Failed to fetch postgresql problem on Ubuntu 14.04

I am having a problem fetching data from postgresql repository. I have already uninstalled this one. But it keeps showing when I issued a "sudo apt-get update" command.
0
votes
1answer
70 views

Database not starting in init.d

I am attempting to setup a small postgresql database on a beaglebone black. The application is slow so I am storing the database on a 64GB microsd card. I formatted the drive, mounted it all ...
0
votes
1answer
65 views

postgresql install on lubuntu 14.04 -i386

Got a version of Ubuntu (lubuntu-14.04.4-desktop-i386) to install and behave on this HP Pavilion dv5 and was able to install Libre Office via Lubuntu Software Center. Progress. My next task is to ...
4
votes
0answers
246 views

How to uninstall specific versions of Postgres?

On Ubuntu 14.04 I have done this to get the latest postgres: sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' wget -...
3
votes
0answers
1k 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 ...
2
votes
0answers
2k 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
597 views

ERROR: could not access file “$libdir/plpython2”: No such file or directory

I am running postgresql 9.4 ("PostgreSQL 9.4.4 on x86_64-unknown-linux-gnu, compiled by gcc (GCC) 4.1.2 20070626 (Red Hat 4.1.2-14), 64-bit" ) when I am trying to create language in postgres SQL : ...
1
vote
0answers
26 views

How do I build a deb that is fully compatible with an offical deb?

I've downloaded the source of postgresql-9.3 by doing: apt-get source postgresql-9.3 Then I've done my alteration to the configuration step and I've successfully built and tested the binaries. Now, ...
1
vote
0answers
115 views

package remove fail. postgresql-contrib-9.1: subprocess installed pre-removal script returned error exit status 127

Do you want to continue? [Y/n] y (Reading database ... 404522 files and directories currently installed.) Removing postgresql-contrib-9.1 (9.1.15-0ubuntu0.12.04) ... /var/lib/dpkg/info/postgresql-...
1
vote
0answers
59 views

Postgres server start fails - WANTED: netstat -ant|grep 5432 output explanation

INFO: I'm working on a Ruby on Rails app. Hosting on Heroku with postgres. Tried running "heroku run rake db:migrate" as usual, but getting error "cannot connect,... check if something else is already ...
1
vote
0answers
55 views

Import OpenStreetMaps data fails

I work in project of geocoding. So i want to import the OpenStreetMaps Data. I created a database and name it nominatim and i tried this command: sudo ./utils/setup.php --osm-file morocco-latest.osm....
1
vote
0answers
2k views

PostgreSQL won't set up correctly

I just got a new VPS running Ubuntu 14.04 which I want to use as PostgreSQL server. I followed this guide but for some reason it won't work as described: https://www.digitalocean.com/community/...
1
vote
0answers
480 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
396 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
99 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
152 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
551 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', ...
0
votes
0answers
18 views

Pgadmin3 not working on my ubuntu 15.10

I try to install pgadmin but I get this error when i try to start it: Fatal Error: Mismatch between the program and library build versions detected. The library used 2.8 (no debug,Unicode,compiler ...
0
votes
0answers
12 views

apt-get installing postgresql binaries with root ownership

When I was reading an article about installing postgresql from source, it mentions not only to make sure that the data directory is owned by the postgres user, but also the binaries. In fact, it says ...
0
votes
0answers
15 views

Error on Starting PostgreSQL 9.3 database server on UBUNTU 14.04

When I do this command to start PostgreSQL 9.3 Server : sudo service postgresql start I got this error : * Starting PostgreSQL 9.3 database server * Error: Could not create log file /var/log/...
0
votes
0answers
10 views

I have installed Quasar and can't get it to open

After downloading Quasar, and installing PostSql (I have both 8.4 and 9.5 installed...), I can't get Quasar to open. There is a icon in the main menu for Quasar Admin and Quasar Accounting, but when ...
0
votes
0answers
171 views

msfconsole not running Ignoring bcrypt-3.1.11

I have problems when running metasploit on Ubuntu LTS 14:04. I've created a database msfconsole and run postgresql but still does not work. root@evan:/home/evan# msfconsole Ignoring bcrypt-3.1.11 ...
0
votes
0answers
12 views

When upgrading PostgreSQL servers, do I have to upgrade the client software on the client machines?

So I have an architecture that looks familiar to anyone who has used AWS before: RDS(PostgreSQL 9.4) PHP clients(laravel 4.2) Nods.js clients The question I have is when I upgrade the RDS do I ...
0
votes
0answers
60 views

UBUNTU trusty/14.04 - postgres/postgis installation problem

I installed postgresql and postgis using the following command: sudo apt-get install postgresql-9.3-postgis-2.1 but now when I try to create a postgis extension, I get this error: CREATE EXTENSION ...
0
votes
0answers
175 views

sudo apt-get update fails on postgresql

I am trying to install nodejs but it keeps on failing. So I have uninstalled nodejs and found out that sudo apt-get update still fails. It's been so long that I have used postgresql. but here is my ...
0
votes
0answers
50 views

Unable to load pgAdmin3

I am receiving the following error reporting some type of a conflict when I try to load pgAdmin3. What steps do I need to take to resolve this update conflict? rpiggott@rpiggott-HP-G61-Notebook-PC:~$...
0
votes
0answers
51 views

permission issue with commands start with sudo

whenever i run command with sudo it shows following error. how can i fix this ? like i want to clear cache by writing command sudo php bin/console cache:clear it first prompt sudo: /var/lib/sudo ...
0
votes
0answers
16 views

Is there some method to request newest postgresql postgis package rather than specific version?

There is postgresql-9.3-postgis-2.1 and there is postgresql-9.4-postgis-2.1. Unfortunately 9.3 is available only on trusty and 9.4 is not available on trusty (see http://packages.ubuntu.com/search?...
0
votes
0answers
68 views

Cannot connect remotely to either MySQL or Postgres

I am trying to connect remotely to the MySQL database on my cloud server which is configured with Ubuntu 14.04.03. However I cannot do so (details below). I can neither connect from a Windows client ...
0
votes
0answers
78 views

Sudo service <argument> stop not working

While looking through the output of service --status-all to find some programs to kill and increase my battery life I ran into a problem. I run sudo service postgresql stop and I get the stopping ...
0
votes
0answers
106 views

two postgres have been installed, remove both

I have previously installed postgres 9.1 by How To Use PostgreSQL with Your Ruby on Rails Application on Ubuntu 14.04 It was installed correctly and my app was working fine, but today its not working ...
0
votes
0answers
43 views

How to use PgAdmin?

I have installed PgAdmin III in my Ubuntu Gnome OS. How can I start using it in order to create a database? What should I give as service while connecting to a server?
0
votes
0answers
56 views

Why is Postgres running even after uninstall? How do I stop it?

I have uninstalled postgres using sudo apt-get --purge remove postgresql a few days back. I have restarted my computer quite a few times since then. But the postgres server seems to be running even ...
0
votes
0answers
212 views

Installing Foreman Fails

For some reason I can't setup Foreman, after being so simple it keeps failing. It happens after I run the $ foreman-installer Everything looks great and then these two errors show up: Execution ...
0
votes
0answers
243 views

PostgreSQL move data directory to home folder

i have a problem with the moving of my data directory of postgresql. I found many different ways, but none worked. The most sensible way for me was: stop postgresql copy data from old folder to new ...
0
votes
0answers
78 views

How to access PostgresSQL by Windows ODBC

I just installed odoo by standart GIT (incl. postgresSQL).It's only command-line OS. Now I need to connect with MS-Access by ODBC to the database. How do I need to configure Ubuntu 14.04 and ...
0
votes
0answers
456 views

Locale warning from Perl stops Postgres configuring

So I want to set up Postgres on a Microsoft Azure-server running Ubuntu 14.04. I need to make a cluster: user@mysystem:~$ pg_createcluster perl: warning: Setting locale failed. perl: warning: Please ...
0
votes
0answers
1k views

PostgreSQL functions undefined

Update: Have edited my question now after doing some more testing. I am trying to connect to a PostgreSQL server with PHP, but get the following error message: Fatal error: Call to undefined ...