Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 98172 invoked from network); 15 Oct 2009 06:43:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Oct 2009 06:43:14 -0000 Received: (qmail 75754 invoked by uid 500); 15 Oct 2009 06:43:10 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 75673 invoked by uid 500); 15 Oct 2009 06:43:10 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 75662 invoked by uid 99); 15 Oct 2009 06:43:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Oct 2009 06:43:10 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [81.2.195.204] (HELO psi5.forpsi.com) (81.2.195.204) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 15 Oct 2009 06:43:00 +0000 Received: (qmail 20733 invoked by uid 89); 15 Oct 2009 06:42:36 -0000 Received: from unknown (HELO ?100.168.1.20?) (webmaster@pernica.org@212.96.177.68) by psi5 with ESMTPA; 15 Oct 2009 06:42:36 -0000 Message-ID: <4AD6C464.7060600@pernica.org> Date: Thu, 15 Oct 2009 08:42:44 +0200 From: Jan Pernica Organization: Pernica IT Solutions s.r.o. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.4pre) Gecko/20090929 Shredder/3.0b4 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Tomcat + APR non-root on linux: Socket bind failed: [98] Address already in use References: <4AD6BEC3.1020806@kensystem.com> In-Reply-To: <4AD6BEC3.1020806@kensystem.com> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org You cannot use port < 1024 as non-root. Use apache and AJP to connect=20 tomcat running on eg. 8080. Regards Jan On 15.10.2009 8:18, Ken Johanson wrote: > Hi everyone, > > Trying to run Tomcat Tomcat/6.0.18 + apr-1.3.8.tar.gz, I get a: > > Oct 15, 2009 12:11:20 AM org.apache.coyote.http11.Http11AprProtocol sta= rt > SEVERE: Error starting endpoint > java.lang.Exception: Socket bind failed: [98] Address already in use > at=20 > org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:612) > .. > (no listener is actually running on 98; this is just generic Sun msg=20 > when not allowed to bind to prv'd port) > > I am also running Tomcat as a non-root user, e.g: > daemon --user www "$CATALINA_HOME/bin/startup.sh" > and also tried jsvc... > > same problem. > > Is there a configuration to change the port that APR uses from 98 to a = > non-privileged (>1024) one? > > TIA, > Ken > > PS - Connector.xml excerpts: > protocol=3D"org.apache.coyote.http11.Http11AprProtocol" > port=3D"8443" > enableLookups=3D"false" > SSLEnabled=3D"true" > scheme=3D"https" > secure=3D"true" > SSLCertificateFile=3D"${catalina.base}/conf/cert.crt" > SSLCertificateKeyFile=3D"${catalina.base}/conf/cert.key"= > disableUploadTimeout=3D"true" > /> > SSLEngine=3D"on" /> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > > --=20 D=ECkuji a s pozdravem Jan Pernica =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Pernica IT Solutions Masarykovo n=E1m=ECst=ED 8 664 51 =A9lapanice Czech Republic tel,fax: +420 544 245 068 mobile: +420 777 634 665 mailto:jan.pernica@pernica.org http://www.pernica.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org