LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   unicornscan - (Is the server running on host "localhost" ?) (https://www.linuxquestions.org/questions/linux-newbie-8/unicornscan-is-the-server-running-on-host-localhost-875948/)

lee_can 04-19-2011 01:47 PM

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

acid_kewpie 04-19-2011 01:57 PM

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.

lee_can 04-19-2011 10:01 PM

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

acid_kewpie 04-20-2011 02:35 AM

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?

lee_can 04-20-2011 03:26 AM

Quote:

Originally Posted by acid_kewpie (Post 4330230)
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

lee_can 04-21-2011 01:09 PM

sorry guys,
my problem is solved as i must start first the postgresql.

thanks Chris


All times are GMT -5. The time now is 01:46 AM.