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

learn more… | top users | synonyms

0
votes
0answers
17 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
1answer
124 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
0answers
17 views

Unconventional postgres database restore [closed]

How to restore postgresql database? I have the complete directory structure with base, data, global etc. However, the data folder is empty.
3
votes
2answers
1k views

Enable PostGIS extension on Ubuntu 14.04.2

I have troubles enabling PostGIS extension on Ubuntu 14.04.2 and PostgreSQL 9.3. I have installed the packages with this step by step procedure. PostgreSQL and pgAdminIII seem to be installed ...
7
votes
3answers
19k views

Install postgresql. Why is initdb unavailable?

I'm following these instructions, however I can only get to step 17.2. Despite installing postgresql successfully via the sudo apt-get install postgresql command, upon running initdb -D /usr/...
0
votes
0answers
58 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 ...
2
votes
2answers
90 views

Upgrading from 15.10 to 16.04 Configuring Postgresql-Common Issue

I am currently at a loss right now while upgrading from 15.10 to 16.04 in Ubuntu. I currently can't take screen shots because I am right in the middle of the upgrading the distribution and my ...
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/...
1
vote
1answer
55 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
2answers
2k views

apt-get -f install gives error

When I run apt-get -f install, it gives the following error: # apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done Correcting ...
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....
0
votes
1answer
143 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
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 ...
14
votes
3answers
24k views

pg_ctl: command not found, what package has this command?

I have installed pgadmin using the ubuntu software center and am trying to access a local database (recently downloaded from the internet). I have tried to run the pg_ctl command (running as postgres) ...
3
votes
1answer
43 views

Landscape - Postgresql database fill up storage

Is there a way to limit database size or to erase landscape events? If not, I suppose that I will have to extend the filesystem ? root@prod-lds-db:~# du -shc /var/lib/postgresql/9.1/main/* 12G /...
-1
votes
2answers
31 views

How to create superuser and importing sql?

i had problem to creating super user with this command sudo -u postgres createuser --superuser wahyu (wahyu is my user name) i've already using root access to do that but i found this [root@...
0
votes
1answer
697 views

How to install postgresql-9.4 on Ubuntu 16.04?

Tried sudo apt-get install postgresql-9.4 but it doesn't find it. How can I install this version?
1
vote
2answers
630 views

Had to upgrade Postgres on Ubuntu; now, how to access old, missing databases?

My local connection on my Ubuntu server (14.04) wasn't working to my Postgres (9.3) database, so I tried upgrading it to 9.4 to solve the connection issues. Luckily I can now connect to the database, ...
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 ...
9
votes
3answers
18k views

How install postgresql 9.4

After trying apt-get install postgresql-9.4, updating, trying again etc etc. It seems I can't install it: Couldn't find any package by regex 'postgresql-9.4' I know there is a similar question in ...
9
votes
4answers
13k views

install postgres 9.4 on ubuntu 14.04-2 [duplicate]

I need to install postgresql 9.4 server but I only can find version 9.3. wit apt. How can I install or upgrade it?
0
votes
0answers
165 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
1answer
64 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
24 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
118 views

How to configure setting of phppgadmin with xampp and postgresql 9.5?

I'm using Ubuntu 14.04, Xampp 5.6 and PostgreSQL-9.5 I have already uncommented these lines: extension=php_pdo_pgsql.dll extension=php_pdo_sqlite.dll extension=php_pgsql.dll but still I this ...
1
vote
1answer
188 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 ...
0
votes
0answers
11 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
2answers
79 views

Landscape for personal use

I am trying to install Landscape Dedicated Server for personal use on a clean Ubuntu 14.04 server from scratch. After adding the ppa-repository and updating apt, I install the thing with apt install ...
5
votes
2answers
4k views

How to make Postgres start automatically on boot

I am new to Ubuntu and I would like to know how to make postgresql start automatically on boot and how to configure my setup so that I can start the postgres server if need be. I am working on a ...
0
votes
0answers
172 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
49 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 ...
18
votes
2answers
32k views

How to fix PostgreSQL installation

I upgraded from Maverick to Natty recently and everything went fine except during the dist-upgrade something went wrong with PostgreSQL. I've since tried reinstalling, removing, and even purging it ...
0
votes
1answer
69 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
63 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 ...
9
votes
3answers
9k views

PostgreSQL 9.1 adminpack install

everywhere I see guides for postgre, it seems to be on version 8.4. In that case the instruction is: sudo -u postgres psql < /usr/share/postgresql/8.4/contrib/adminpack.sql that location doesn't ...
0
votes
1answer
96 views

Is port 5432 open for postgres?

Here is the output of the netstat command on ubuntu 14.04 server: admin@ibm-testbox:~$ netstat -tulnp | grep 5432 (No info could be read for "-p": geteuid()=1000 but you should be root.) tcp 0 ...
-1
votes
1answer
42 views

Installing mysql server with postgresql

I'm using backbox 4.4 which it was built-in with postgresql. Yesterday i think about "can i installing mysql database along side postgresql database ? ", i want to learn database connection but i so ...
2
votes
2answers
6k views

Problems installing postgresql-9.4: Unable to locate package

I'm using Ubuntu 14.04. I'm trying to download postgresql using this guide. But when I run the command sudo apt-get install postgresql-9.4 in my terminal, I get this error message: E: Unable to ...
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?...
7
votes
2answers
5k 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 ...
0
votes
0answers
67 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 ...
2
votes
2answers
5k views

How to make psql to default to localhost?

I have the following scenario: saji@geeklap:~$ psql -U postgres psql: FATAL: Ident authentication failed for user "postgres" saji@geeklap:~$ psql -h localhost -U postgres Password for user postgres:...
4
votes
0answers
240 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 -...
12
votes
2answers
30k views

Remotely access postgresql database

I need to access a postgresql database from a remote machine on a VPS at DigitalOcean running 12.10 and postgresql 9.1. How do I do this? I noticed port 5432 is closed, how do I open this?
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
1answer
81 views

Postgres pg_hba.conf Configuration

I'm trying to develop a python application using Postgres. Unfortunately everytime I do a db.session.commit() I get this as an error: OperationalError: (OperationalError) fe_sendauth: no password ...
0
votes
1answer
52 views

Reinstalling Broken PostgreSQL 9.1 on Ubuntu 14.04

After upgrading Ubuntu from Precise to Trusty, I was attempting to upgrade PostgreSQL from 9.1 to 9.3 and have hit a bit of a snag. When I ran pg_upgrade in "check" mode, it complained about being ...
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 ...