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