start apache on alternate port
Tim Dunphy
bluethundr at gmail.com
Wed Aug 31 00:11:55 UTC 2011
Hey folks,
I noticed a slight type-o in that last post.. here's what I should have said...
root at li289-212:~# lsof -i :10000
thanks!
tim
On Tue, Aug 30, 2011 at 8:03 PM, Tim Dunphy <bluethundr at gmail.com> wrote:
> hello,
>
> I'm trying to setup a statusnet server on an existing ubuntu based
> zimbra server. Zimbra uses it's own brand of apache and I installed a
> separate apache2 to manage the status net install.
>
> root at li289-212:/var/www# cat /etc/issue
> Ubuntu 10.04 LTS \n \l
>
> root at li289-212:/var/www# uname -a
> Linux li289-212 2.6.39.1-x86_64-linode19 #1 SMP Tue Jun 21 10:04:20
> EDT 2011 x86_64 GNU/Linux
>
>
> root at li289-212:/var/www# dpkg -l | grep apache
> ii apache2 2.2.14-5ubuntu8.4 Apache
> HTTP Server metapackage
> ii apache2-mpm-worker 2.2.14-5ubuntu8.4 Apache
> HTTP Server - high speed threaded mod
> ii apache2-utils 2.2.14-5ubuntu8.4
> utility programs for webservers
> ii apache2.2-bin 2.2.14-5ubuntu8.4 Apache
> HTTP Server common binary files
> ii apache2.2-common 2.2.14-5ubuntu8.4 Apache
> HTTP Server common files
> ii zimbra-apache 7.1.0_GA_3140.UBUNTU10_64 Best
> email money can buy
>
>
>
> However when I try to start apache on the alternate port it claims
> that the port is already in use although I'm stumped as to why using
> the standard tools.
>
> root at li289-212:/var/www# grep -ri listen /etc/apache2/
> /etc/apache2/ports.conf:Listen 10000
> /etc/apache2/ports.conf: Listen 443
> /etc/apache2/ports.conf: Listen 443
> /etc/apache2/apache2.conf:Listen 10000
>
> root at li289-212:/var/www# /etc/init.d/apache2 start
> * Starting web server apache2
> (98)Address already in use: make_sock: could not bind to
> address 0.0.0.0:10000
> no listening sockets available, shutting down
> Unable to open logs
> [fail]
>
>
> root at li289-212:/var/www# netstat -tulpn | grep 10000
> root at li289-212:/var/www# netstat -tapn | grep 10000
> root at li289-212:/var/www# lsof -i :1000
>
>
> Can anyone provide a hint as to how best to troubleshoot this scenario?
>
> Thanks!
> Tim
>
>
>
>
> --
> GPG me!!
>
> gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
>
--
GPG me!!
gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
More information about the ubuntu-users
mailing list