Unable to install PostgreSQL

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Unable to install PostgreSQL

Postby mark9117 » Jul 1st, '13, 02:15

I am trying to install postgresql on MGA3. It's not going well.

Installing the package appears to work just fine. I've tried it with all 4 flavors of postgresql in the repos:

Code: Select all
rpm -qa | grep postgresql
postgresql-jdbc-9.2.1002-3.mga3
postgresql8.4-8.4.17-1.mga3
postgresql8.4-devel-8.4.17-1.mga3


Trouble is, none of those will start, nor can I access help or man pages. Searching for them results in nothing.

updatedb then,

Code: Select all
 which postgresql
which: no postgresql in (/usr/local/sbin:/usr/sbin:/usr/local/bin:/usr/bin:/home/madams/bin:/usr/lib/qt4/bin:/home/madams/bin)


I've also looked into starting it as a service, but it doesn't show up.

Any idea what I'm doing wrong here?

Thanks.

Mark
Let's just reboot everything all the time.
User avatar
mark9117
 
Posts: 395
Joined: Sep 12th, '11, 20:32
Location: Eastern New Mexico -- Not Hell, but you can see it from here.

Re: Unable to install PostgreSQL

Postby djennings » Jul 1st, '13, 12:22

The binary for postgres is /usr/bin/psql

To run it as a service you will need to install postgresql8.4-server
User avatar
djennings
 
Posts: 613
Joined: Jun 2nd, '11, 23:51
Location: Wokingham, UK

Re: Unable to install PostgreSQL

Postby mark9117 » Jul 1st, '13, 21:42

Okay, I'm not exactly in front of the machine in question, so it has taken me almost 2 full days to stumble into that. The network connection on that machine sucks. (Thank you Centurylink!)

I appreciate djennings.


Mark
Let's just reboot everything all the time.
User avatar
mark9117
 
Posts: 395
Joined: Sep 12th, '11, 20:32
Location: Eastern New Mexico -- Not Hell, but you can see it from here.


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest