Alex, great! I figured it out myself too, that's what I did:<br><br>hai@zodiac:~$ dpkg -l | grep postgre*<br>rc postgresql-8.3 8.3.7-0ubuntu8.10.1 object-relational SQL database, version 8.3 server<br>
rc postgresql-common 90 PostgreSQL database-cluster manager<br><br>and I use "dpkg -P " to purge them. BTW, what "rc" stand for in here?<br>
hai<br><br><div class="gmail_quote">On Tue, Aug 18, 2009 at 10:59 AM, Alex Mandel <span dir="ltr"><<a href="mailto:tech_dev@wildintellect.com">tech_dev@wildintellect.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Tomcat would show up as a Java process most likely.<br>
As for postgres the package does contain the version number since you<br>
can install and run multiple versions at the same time. Not sure why<br>
dpkg didn't catch it.<br>
Just try<br>
sudo dpkg -l | grep postgre<br>
to list them out for you.<br>
<font color="#888888"><br>
Alex<br>
</font><div><div></div><div class="h5"><br>
Hai Yi wrote:<br>
> hey, peter:<br>
><br>
> thanks! I checked using dpkg, it didn't return anything, so all point to the<br>
> direction that postgresql is not there; but why nmap insists that postgresql<br>
> is open? Also, i start tomcat but it's not reported by nmap. I'll send the<br>
> question to nmap's forum and see what they say.<br>
><br>
> thx again!<br>
> Hai<br>
><br>
><br>
><br>
> On Tue, Aug 18, 2009 at 12:12 AM, Peter Jay Salzman <<a href="mailto:p@dirac.org">p@dirac.org</a>> wrote:<br>
><br>
>> On Tue 18 Aug 09, 12:07 AM, Hai Yi <<a href="mailto:yihai2004@gmail.com">yihai2004@gmail.com</a>> said:<br>
>>> hello all:<br>
>>><br>
>>> I noitced that postgresql has been installed on my ubuntu box, i no<br>
>> longer<br>
>>> use it, but there are few entries of postgresql in the application<br>
>> menu<br>
>>> and becomes a eyesore.<br>
>>><br>
>>> I tried to remove it by launching:<br>
>>><br>
>>> sudo apt-get -f remove postgresql<br>
>>><br>
>>> the message shows:<br>
>>><br>
>>> Reading package lists... Done<br>
>>> Building dependency tree<br>
>>> Reading state information... Done<br>
>>> Package postgresql is not installed, so not removed<br>
>>> 0 upgraded, 0 newly installed, 0 to remove and 97 not upgraded.<br>
>>><br>
>>> However, if I use nmap to test the running apps, it shows:<br>
>>><br>
>>> PORT STATE SERVICE<br>
>>> 22/tcp open ssh<br>
>>> 631/tcp open ipp<br>
>>> 5432/tcp open postgresql<br>
>>> 8009/tcp open ajp13<br>
>>><br>
>>> I am confused, anyone has any idea?<br>
>>><br>
>>> Thanks,<br>
>>> Hai<br>
>> Hai, to get the exact name of the postgresql package try this:<br>
>><br>
>> dpkg -l "*postgre*" | grep ii<br>
>><br>
>> It'll search for all installed packages (grep ii) with the string<br>
>> "postgre" somewhere in the package name (dpkg -l "*postgre*").<br>
>><br>
>> Pete<br>
_______________________________________________<br>
vox-tech mailing list<br>
<a href="mailto:vox-tech@lists.lugod.org">vox-tech@lists.lugod.org</a><br>
<a href="http://lists.lugod.org/mailman/listinfo/vox-tech" target="_blank">http://lists.lugod.org/mailman/listinfo/vox-tech</a><br>
</div></div></blockquote></div><br>