LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 04-19-2011, 02:47 PM   #1
lee_can
Member
 
Registered: Mar 2011
Posts: 118

Rep: Reputation: 1
unicornscan - (Is the server running on host "localhost" ?)


Hi all,
i am facing some problem while using the unicornscan in backtrack.
when i type in the console:
root@bt:~# unicornscan -epgsqldb 192.168.8.11
Main [Error pgsqldb.c:117] PostgreSQL connection fails: could not connect to server: Connection refused
Is the server running on host "localhost" and accepting
TCP/IP connections on port 5432?

Main [Error pgsqldb.c:426] PostgreSQL scan insert id returned a strange return code PGRES_FATAL_ERROR:
TCP open epmap[ 135] from 192.168.8.11 ttl 128

I appreciate if anyone can assist me and tell me which server must be running on the localhost? and how can i check if the server is accepting TCP/IP connection on port 5432.
sorry guys, it could be that stupid question but i am still newbie.

Anyway thanks for taking time reading my message.
Regards
 
Old 04-19-2011, 02:57 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
well as the error says, the postgresql database. you should be very aware of the status of postgresql with this installation, it is a prereq of unicornscan. Running "netstat -plnt" will show all tcp ports listening, although this isn't really a thing you should need to do.
 
Old 04-19-2011, 11:01 PM   #3
lee_can
Member
 
Registered: Mar 2011
Posts: 118

Original Poster
Rep: Reputation: 1
Thank you Chris for your reply,
So, i should start installing the postgresql first on my machine? but it is already installed cause when i type:
locate postgresql in the console, i fount a lot related to this word..

Or i must make some configuration maybe?
Thanks
 
Old 04-20-2011, 03:35 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
no should not start by installing postgresql, you should start by reading some documentation about what you're doing, and not just expecting things to work. How can you think you have gotten as far as you do without having paid any attention whatsoever to postgresql?
 
Old 04-20-2011, 04:26 AM   #5
lee_can
Member
 
Registered: Mar 2011
Posts: 118

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by acid_kewpie View Post
no should not start by installing postgresql, you should start by reading some documentation about what you're doing, and not just expecting things to work. How can you think you have gotten as far as you do without having paid any attention whatsoever to postgresql?
Yes, you are right, i must start first by googling and reading about postgresql, it was a quick reply by me
appreciate your immediate relpy.

Thanks again
 
Old 04-21-2011, 02:09 PM   #6
lee_can
Member
 
Registered: Mar 2011
Posts: 118

Original Poster
Rep: Reputation: 1
sorry guys,
my problem is solved as i must start first the postgresql.

thanks Chris
 
  


Reply


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
how to get the port number of the "ajp13" service running on host master? atirasatiras Linux - Server 1 04-01-2011 05:32 AM
avahi_entry_group_add_service_strlst("localhost") failed: Invalid host name Azul Rondo Linux - Server 1 03-03-2010 01:47 PM
How to fix "mysqladmin: connect to server at 'localhost' failed"? timiao Linux - Software 4 11-07-2009 11:16 PM
on url "http://localhost/" error ""The requested URL could not be retrieved " renuaseri Linux - Newbie 1 04-07-2009 01:23 AM
make "localhost" point to a subdirectory of Apache server oudent Linux - Networking 2 07-21-2005 08:37 PM


All times are GMT -5. The time now is 06:22 AM.

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