Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-14-2007, 05:10 AM   #1
Registered: Jul 2007
Distribution: Slackware 12, Fedora 8, Gentoo. (NO MORE MANDRIVA, GO AWAY EVIL THING)
Posts: 37

Rep: Reputation: 15
postgresql running but no port open

i have a fresh install of debian, i chose to install postgresql and mysql during setup (but i later removed mysql anyway). now, postgres is running, 'ps' gives me 3 'postmaster' processess running, but it doesnt seem to open any port on which it would listen for connections. nmap localhost does NOT show the default postgres port open, i tried to set up amarok to use postgres but i got an error stating that the connection to localhost 5432 was refused.

edit: note that i can edit the tables localy, from my own box, via psql

any pointers? :S

Last edited by wet; 10-14-2007 at 05:15 AM.
Old 10-14-2007, 12:49 PM   #2
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927
Starting with the README.Debian file for the program you're
using is always a good idea; but I'll shortcut this for you.

Postgres in Debian by default only listens to Linux-sockets
and isn't network enabled. Find and modify your postgresql.conf
(hint: /etc/postgres) to listen to all relevant network
addresses. Also check pg_hba.conf to make sure that the application
can connect from localhost to the appropriate database.


P.S.: Congratulations on the removal of MySQL ;}


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
unknown open port 5190 ( no aol running ) nakkaya Slackware 6 03-18-2007 01:42 PM
How to check whether Postgresql is running? coolrock Slackware 6 10-03-2006 12:17 AM
strange service running ... open port Slackware 12 04-16-2004 05:42 PM
installing and running postgresql or MySql Whatshisface Linux - Software 3 02-22-2004 11:29 PM
nmap shows port 21 open, but no ftp service running ? epoo Linux - Networking 3 12-21-2003 08:16 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:39 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration