Re: Socket bind failed: [22] Invalid argument - Fedora 11

2009-07-16 Thread Mark Thomas
Ole Ersoy wrote: Mark, I looked at the startup log a little closer and there's this line: Jul 15, 2009 2:24:09 PM org.apache.catalina.core.AprLifecycleListener init INFO: Loaded APR based Apache Tomcat Native library 1.1.14. I noticed below that you said I should be using 1.1.6. So

Re: Socket bind failed: [22] Invalid argument - Fedora 11

2009-07-16 Thread Ole Ersoy
Mark, (And everyone) Thanks a gazillion for helping to clarify this. I was building the APR connector with the wrong version number (1.1.14). I must have had old apr connector files laying around from when I was building earlier tomcat versions. The log is clean now. Thanks again, - Ole

Socket bind failed: [22] Invalid argument - Fedora 11

2009-07-15 Thread Ole Ersoy
Hi, I'm trying to get Tomcat 6.0.20 with APR and JSVC to run on Fedora 11. During startup I get this: SEVERE: Error initializing endpoint java.lang.Exception: Socket bind failed: [22] Invalid argument at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:623) at

Re: Socket bind failed: [22] Invalid argument - Fedora 11

2009-07-15 Thread David Smith
Or it could be the connector in server.xml is misconfigured. Could you post the one appears to be trying to bind to the sshd port 22? --David Ole Ersoy wrote: Hi, I'm trying to get Tomcat 6.0.20 with APR and JSVC to run on Fedora 11. During startup I get this: SEVERE: Error initializing

Re: Socket bind failed: [22] Invalid argument - Fedora 11

2009-07-15 Thread Mark Thomas
With the latest APR/native (1.1.16) and 6.0.20 ipv6 should work. At least it does for me on Ubuntu. Mark --- Original Message --- From: Ole Ersoy ole.er...@gmail.com To: Tomcat Users List users@tomcat.apache.org Sent: 15/07/09, 18:45:06 Subject: Socket bind failed: [22] Invalid

Re: Socket bind failed: [22] Invalid argument - Fedora 11

2009-07-15 Thread Mladen Turk
On 15/07/09 19:52, David Smith wrote: Or it could be the connector in server.xml is misconfigured. Could you post the one appears to be trying to bind to the sshd port 22? No, 22 represents the EINVAL from errno.h - To

Re: Socket bind failed: [22] Invalid argument - Fedora 11

2009-07-15 Thread Mladen Turk
On 15/07/09 19:45, Ole Ersoy wrote: Hi, I'm trying to get Tomcat 6.0.20 with APR and JSVC to run on Fedora 11. During startup I get this: SEVERE: Error initializing endpoint java.lang.Exception: Socket bind failed: [22] Invalid argument at

Re: Socket bind failed: [22] Invalid argument - Fedora 11

2009-07-15 Thread Ole Ersoy
Mark, Thanks - yeah - I read up on the ubuntu ticket, and decided to give 6.0.20 a try. I built the rpm package using the following dependencies: Requires: apr-devel = 1.3.5 Requires: apr = 1.3.5 Requires: apr-util = 1.3.7 I'm going to try just doing a manual install next to make sure it

Re: Socket bind failed: [22] Invalid argument - Fedora 11

2009-07-15 Thread Ole Ersoy
Hi Mladen, I tried adding the address attribute like this: Connector port=80 protocol=HTTP/1.1 connectionTimeout=2 redirectPort=443 address=192.168.1.4 / I also tried: Connector port=80

Re: Socket bind failed: [22] Invalid argument - Fedora 11

2009-07-15 Thread Ole Ersoy
Hi, I just tried a manual install and start using only the startup.sh script and it works fine. [r...@ole bin]# chmod u+x *.sh [r...@ole bin]# ./startup.sh Using CATALINA_BASE: /home/ole/apache-tomcat-6.0.20 Using CATALINA_HOME: /home/ole/apache-tomcat-6.0.20 Using CATALINA_TMPDIR:

Re: Socket bind failed: [22] Invalid argument - Fedora 11

2009-07-15 Thread Ole Ersoy
Listusers@tomcat.apache.org Sent: 15/07/09, 18:45:06 Subject: Socket bind failed: [22] Invalid argument - Fedora 11 Hi, I'm trying to get Tomcat 6.0.20 with APR and JSVC to run on Fedora 11. During startup I get this: SEVERE: Error initializing endpoint java.lang.Exception: Socket bind failed: [22