httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@beeb.net
Subject Re: [users@httpd] help needed : unable to start httpd
Date Wed, 14 Jan 2004 21:03:10 GMT
On Wednesday 14 Jan 2004 7:44 pm, Patrick Boutilier wrote:
> > Found it! You were right first time - there was still a process running
> > using that port - I'd been using:
> >
> >         ps aux | fgrep httpd
> >
> > to check for servers, but the new version of apachectl includes the
> > path, which means the httpd gets lost of the end. I started a test
> > version directly, rather than via apachectl and that was still lurking
> > around. Got rid of those and apachctl now starts and stops it OK. Just
> > changed the httpd.conf file to include .php files and my vhosts and it
> > seems to be working correctly. I wrote a quick 20-line server
> > and tried that and it got the same error, so I went back to 'netstat -a'
> > and spotted the .http port this time around. Must have missed it earlier!
> >
> > Sorry for wasting your time! Many thanks for the advice.
> >
> > Bill
>
> I find the best way to what process is using port 80 is to use the
> following command:
>
> netstat -nap --inet|grep -w 80|grep LISTEN
>
Neat! I learn something new every day! 
Only trouble is remembering it.....

Many thanks!
Bill
-- 
+-----------------------------------------------------------------+
| Bill Purvis, thrice-retired software engineer      bil@beeb.net |
| WWW:        http://bil.members.beeb.net                         |
+-----------------------------------------------------------------+

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message