Randy Schmidt on 3 Aug 2006 14:36:22 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] determining what programs are using what ports


Yeah, I'm doing this as root. I think I know it is apache listening on
it because that is the only webserver I have installed (very early in
the setup process I am) and my computer works as a webserver...but
only static files. When I start another process listening to port 81,
everything works how it should...I just can't get the process on 80 to
stop.

Thanks,
Randy

On 8/3/06, Douglas Muth <doug.muth@gmail.com> wrote:
On 8/3/06, Randy Schmidt <x@altorg.com> wrote:
> What's funny is, I think the apache install is messed up. Last night
> at the meeting someone said they were having issues with ubuntu and
> apache...but I thought nothing of it until this morning when I got
> here and apache wasn't working.
>
> It appears I have a rogue apache on my hands...
>
> The one listening on port 80 doesn't have php installed, so it works
> but it asks me to download the files
>
> When I start another process on 81, php works (looks like this is the
> one I configured)
>
> I can't get the one on port 80 to stop! I used /etc/init.d/apache2
> stop; killall, and removing with rc-update.d and rebooting...but it's
> still there!

First, you're doing this as root, right?  Sorry, but I have to ask. :-)

Have you tried using lsof to see what is listening on that port?  For exmaple:

sudo lsof -n |grep LISTEN


-- Doug ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug



--
Randy Schmidt
x@altorg.com
267.334.6833
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug