Re: Solaris Install Question
Solaris will not allow an unprivileged user (i.e., not the root user) to open a server on a port number below 1024. You must run as root or use a higher port number. Jeff - Original Message - From: Scott Purcell [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 21, 2002 10:44 AM Subject: Solaris Install Question I am trying to install Tomcat 4.0.3 on Solaris and I am having some issues getting the product to start. I downloaded the jakarta-tomcat.4.0.3.tar.gz from the site and extracted the files. I am a new employee here and I am installing it as myself in my own home-directory. I edited the /config/server.xml file and changed the 8080 to 63 (per our administrator here, as other sites run on 8080 and 80). I went into the /bin directory and tried to run: 'catalina.sh run' and it starts, but bombs with the following error: $ catalina.sh run Using CATALINA_BASE: /export/home/spurcell/jakarta-tomcat-4.0.3 Using CATALINA_HOME: /export/home/spurcell/jakarta-tomcat-4.0.3 Using CATALINA_TMPDIR: /export/home/spurcell/jakarta-tomcat-4.0.3/temp Using JAVA_HOME: /usr/java Catalina.start: LifecycleException: null.open: java.net.BindException: Permission denied:36 LifecycleException: null.open: java.net.BindException: Permission denied:36 at org.apache.catalina.connector.http.HttpConnector.initialize(HttpConnector.java:1130) at org.apache.catalina.core.StandardService.initialize(StandardService.java:454) at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:553) at org.apache.catalina.startup.Catalina.start(Catalina.java:780) at org.apache.catalina.startup.Catalina.execute(Catalina.java:681) at org.apache.catalina.startup.Catalina.process(Catalina.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) - Root Cause - java.net.BindException: Permission denied:36 at org.apache.catalina.connector.http.HttpConnector.open(HttpConnector.java:950) at org.apache.catalina.connector.http.HttpConnector.initialize(HttpConnector.java:1128) at org.apache.catalina.core.StandardService.initialize(StandardService.java:454) at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:553) at org.apache.catalina.startup.Catalina.start(Catalina.java:780) at org.apache.catalina.startup.Catalina.execute(Catalina.java:681) at org.apache.catalina.startup.Catalina.process(Catalina.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) StandardServer.await: create[8005]: java.net.BindException: Address already in use java.net.BindException: Address already in use at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:321) at java.net.ServerSocket.bind(ServerSocket.java:308) at java.net.ServerSocket.bind(ServerSocket.java:266) at java.net.ServerSocket.init(ServerSocket.java:182) at org.apache.catalina.core.StandardServer.await(StandardServer.java:277) at org.apache.catalina.startup.Catalina.start(Catalina.java:794) at org.apache.catalina.startup.Catalina.execute(Catalina.java:681) at org.apache.catalina.startup.Catalina.process(Catalina.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) spurcell@devweb2:~/jakarta-tomcat-4.0.3/bin/. $ Does anyone know what I could try to do to get this running? Thanks, Scott -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Solaris Install Question
It also looks like it is trying to open port 8005 and that it is already in use. Check the server.xml and see what is trying to use that--you may not need it if it is the AJP connector or something like that. -Joel Joel Sather email: [EMAIL PROTECTED] phone: 651-917-4719 [EMAIL PROTECTED] 03/21/02 11:07AM Solaris will not allow an unprivileged user (i.e., not the root user) to open a server on a port number below 1024. You must run as root or use a higher port number. Jeff - Original Message - From: Scott Purcell [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 21, 2002 10:44 AM Subject: Solaris Install Question I am trying to install Tomcat 4.0.3 on Solaris and I am having some issues getting the product to start. I downloaded the jakarta-tomcat.4.0.3.tar.gz from the site and extracted the files. I am a new employee here and I am installing it as myself in my own home-directory. I edited the /config/server.xml file and changed the 8080 to 63 (per our administrator here, as other sites run on 8080 and 80). I went into the /bin directory and tried to run: 'catalina.sh run' and it starts, but bombs with the following error: $ catalina.sh run Using CATALINA_BASE: /export/home/spurcell/jakarta-tomcat-4.0.3 Using CATALINA_HOME: /export/home/spurcell/jakarta-tomcat-4.0.3 Using CATALINA_TMPDIR: /export/home/spurcell/jakarta-tomcat-4.0.3/temp Using JAVA_HOME: /usr/java Catalina.start: LifecycleException: null.open: java.net.BindException: Permission denied:36 LifecycleException: null.open: java.net.BindException: Permission denied:36 at org.apache.catalina.connector.http.HttpConnector.initialize(HttpConnector.java:1130) at org.apache.catalina.core.StandardService.initialize(StandardService.java:454) at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:553) at org.apache.catalina.startup.Catalina.start(Catalina.java:780) at org.apache.catalina.startup.Catalina.execute(Catalina.java:681) at org.apache.catalina.startup.Catalina.process(Catalina.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) - Root Cause - java.net.BindException: Permission denied:36 at org.apache.catalina.connector.http.HttpConnector.open(HttpConnector.java:950) at org.apache.catalina.connector.http.HttpConnector.initialize(HttpConnector.java:1128) at org.apache.catalina.core.StandardService.initialize(StandardService.java:454) at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:553) at org.apache.catalina.startup.Catalina.start(Catalina.java:780) at org.apache.catalina.startup.Catalina.execute(Catalina.java:681) at org.apache.catalina.startup.Catalina.process(Catalina.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) StandardServer.await: create[8005]: java.net.BindException: Address already in use java.net.BindException: Address already in use at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:321) at java.net.ServerSocket.bind(ServerSocket.java:308) at java.net.ServerSocket.bind(ServerSocket.java:266) at java.net.ServerSocket.init(ServerSocket.java:182) at org.apache.catalina.core.StandardServer.await(StandardServer.java:277) at org.apache.catalina.startup.Catalina.start(Catalina.java:794) at org.apache.catalina.startup.Catalina.execute(Catalina.java:681) at org.apache.catalina.startup.Catalina.process(Catalina.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) spurcell@devweb2:~/jakarta-tomcat-4.0.3/bin/. $ Does anyone know what I could try to do to get this running? Thanks, Scott -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL
RE: Solaris Install Question
Scott, I think processes have to run as root to open sockets below 1024? Try it on a higher port number such as 8180 Andy -Original Message- From: Scott Purcell [mailto:[EMAIL PROTECTED]] Sent: 21 March 2002 16:45 To: [EMAIL PROTECTED] Subject: Solaris Install Question I am trying to install Tomcat 4.0.3 on Solaris and I am having some issues getting the product to start. I downloaded the jakarta-tomcat.4.0.3.tar.gz from the site and extracted the files. I am a new employee here and I am installing it as myself in my own home-directory. I edited the /config/server.xml file and changed the 8080 to 63 (per our administrator here, as other sites run on 8080 and 80). I went into the /bin directory and tried to run: 'catalina.sh run' and it starts, but bombs with the following error: $ catalina.sh run Using CATALINA_BASE: /export/home/spurcell/jakarta-tomcat-4.0.3 Using CATALINA_HOME: /export/home/spurcell/jakarta-tomcat-4.0.3 Using CATALINA_TMPDIR: /export/home/spurcell/jakarta-tomcat-4.0.3/temp Using JAVA_HOME: /usr/java Catalina.start: LifecycleException: null.open: java.net.BindException: Permission denied:36 LifecycleException: null.open: java.net.BindException: Permission denied:36 at org.apache.catalina.connector.http.HttpConnector.initialize(HttpCo nnector.java:1130) at org.apache.catalina.core.StandardService.initialize(StandardServic e.java:454) at org.apache.catalina.core.StandardServer.initialize(StandardServer. java:553) at org.apache.catalina.startup.Catalina.start(Catalina.java:780) at org.apache.catalina.startup.Catalina.execute(Catalina.java:681) at org.apache.catalina.startup.Catalina.process(Catalina.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorIm pl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc cessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) - Root Cause - java.net.BindException: Permission denied:36 at org.apache.catalina.connector.http.HttpConnector.open(HttpConnecto r.java:950) at org.apache.catalina.connector.http.HttpConnector.initialize(HttpCo nnector.java:1128) at org.apache.catalina.core.StandardService.initialize(StandardServic e.java:454) at org.apache.catalina.core.StandardServer.initialize(StandardServer. java:553) at org.apache.catalina.startup.Catalina.start(Catalina.java:780) at org.apache.catalina.startup.Catalina.execute(Catalina.java:681) at org.apache.catalina.startup.Catalina.process(Catalina.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorIm pl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc cessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) StandardServer.await: create[8005]: java.net.BindException: Address already in use java.net.BindException: Address already in use at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:321) at java.net.ServerSocket.bind(ServerSocket.java:308) at java.net.ServerSocket.bind(ServerSocket.java:266) at java.net.ServerSocket.init(ServerSocket.java:182) at org.apache.catalina.core.StandardServer.await(StandardServer.java:277) at org.apache.catalina.startup.Catalina.start(Catalina.java:794) at org.apache.catalina.startup.Catalina.execute(Catalina.java:681) at org.apache.catalina.startup.Catalina.process(Catalina.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorIm pl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc cessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) spurcell@devweb2:~/jakarta-tomcat-4.0.3/bin/. $ Does anyone know what I could try to do to get this running? Thanks, Scott -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Solaris Install Question
Scott Purcell a Ýcrit : I am trying to install Tomcat 4.0.3 on Solaris and I am having some issues getting the product to start. I downloaded the jakarta-tomcat.4.0.3.tar.gz from the site and extracted the files. I am a new employee here and I am installing it as myself in my own home-directory. I edited the /config/server.xml file and changed the 8080 to 63 (per our administrator here, as other sites run on 8080 and 80). I went into the /bin directory and tried to run: 'catalina.sh run' and it starts, but bombs with the following error: $ catalina.sh run Using CATALINA_BASE: /export/home/spurcell/jakarta-tomcat-4.0.3 Using CATALINA_HOME: /export/home/spurcell/jakarta-tomcat-4.0.3 Using CATALINA_TMPDIR: /export/home/spurcell/jakarta-tomcat-4.0.3/temp Using JAVA_HOME: /usr/java Catalina.start: LifecycleException: null.open: java.net.BindException: Permission denied:36 LifecycleException: null.open: java.net.BindException: Permission denied:36 at org.apache.catalina.connector.http.HttpConnector.initialize(HttpConnector.java:1130) at org.apache.catalina.core.StandardService.initialize(StandardService.java:454) at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:553) at org.apache.catalina.startup.Catalina.start(Catalina.java:780) at org.apache.catalina.startup.Catalina.execute(Catalina.java:681) at org.apache.catalina.startup.Catalina.process(Catalina.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) - Root Cause - java.net.BindException: Permission denied:36 at org.apache.catalina.connector.http.HttpConnector.open(HttpConnector.java:950) at org.apache.catalina.connector.http.HttpConnector.initialize(HttpConnector.java:1128) at org.apache.catalina.core.StandardService.initialize(StandardService.java:454) at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:553) at org.apache.catalina.startup.Catalina.start(Catalina.java:780) at org.apache.catalina.startup.Catalina.execute(Catalina.java:681) at org.apache.catalina.startup.Catalina.process(Catalina.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) StandardServer.await: create[8005]: java.net.BindException: Address already in use java.net.BindException: Address already in use at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:321) at java.net.ServerSocket.bind(ServerSocket.java:308) at java.net.ServerSocket.bind(ServerSocket.java:266) at java.net.ServerSocket.init(ServerSocket.java:182) at org.apache.catalina.core.StandardServer.await(StandardServer.java:277) at org.apache.catalina.startup.Catalina.start(Catalina.java:794) at org.apache.catalina.startup.Catalina.execute(Catalina.java:681) at org.apache.catalina.startup.Catalina.process(Catalina.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) spurcell@devweb2:~/jakarta-tomcat-4.0.3/bin/. $ Does anyone know what I could try to do to get this running? Thanks, Scott -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] Well, Just explain why yu want to run Tomcat on a port 1024... Is it really necessary ? Just keep in mind that all stuff trying to open a port 1024 must have to be root.. It means that yur Tomcat gonna run as root ! What do yu think of the servlets and jsp runnin on such a Server ? Something tell me they will be able to do a lot of 'GREAT' things ! I think the best way is to create a user like webuser, for instance and keep yur Tomcat running on port 8085, for example. If yu intend to make it run with Apache via Warp Connector, just keep the Tomcat-Apache Service and make smth like:
RE: Solaris Install Question
Hi Scott, Looks like your error is a result of port 8005 already being used by another process. You need to edit server.xml and change the 8005 line to another port. You better ask your sysadmin for an open port. StandardServer.await: create[8005]: java.net.BindException: Address already in use. Hope this helps, Tim -Original Message- From: Scott Purcell [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 21, 2002 11:45 AM To: [EMAIL PROTECTED] Subject: Solaris Install Question I am trying to install Tomcat 4.0.3 on Solaris and I am having some issues getting the product to start. I downloaded the jakarta-tomcat.4.0.3.tar.gz from the site and extracted the files. I am a new employee here and I am installing it as myself in my own home-directory. I edited the /config/server.xml file and changed the 8080 to 63 (per our administrator here, as other sites run on 8080 and 80). I went into the /bin directory and tried to run: 'catalina.sh run' and it starts, but bombs with the following error: $ catalina.sh run Using CATALINA_BASE: /export/home/spurcell/jakarta-tomcat-4.0.3 Using CATALINA_HOME: /export/home/spurcell/jakarta-tomcat-4.0.3 Using CATALINA_TMPDIR: /export/home/spurcell/jakarta-tomcat-4.0.3/temp Using JAVA_HOME: /usr/java Catalina.start: LifecycleException: null.open: java.net.BindException: Permission denied:36 LifecycleException: null.open: java.net.BindException: Permission denied:36 at org.apache.catalina.connector.http.HttpConnector.initialize(HttpConnector.ja va:1130) at org.apache.catalina.core.StandardService.initialize(StandardService.java:454 ) at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:553) at org.apache.catalina.startup.Catalina.start(Catalina.java:780) at org.apache.catalina.startup.Catalina.execute(Catalina.java:681) at org.apache.catalina.startup.Catalina.process(Catalina.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) - Root Cause - java.net.BindException: Permission denied:36 at org.apache.catalina.connector.http.HttpConnector.open(HttpConnector.java:950 ) at org.apache.catalina.connector.http.HttpConnector.initialize(HttpConnector.ja va:1128) at org.apache.catalina.core.StandardService.initialize(StandardService.java:454 ) at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:553) at org.apache.catalina.startup.Catalina.start(Catalina.java:780) at org.apache.catalina.startup.Catalina.execute(Catalina.java:681) at org.apache.catalina.startup.Catalina.process(Catalina.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) StandardServer.await: create[8005]: java.net.BindException: Address already in use java.net.BindException: Address already in use at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:321) at java.net.ServerSocket.bind(ServerSocket.java:308) at java.net.ServerSocket.bind(ServerSocket.java:266) at java.net.ServerSocket.init(ServerSocket.java:182) at org.apache.catalina.core.StandardServer.await(StandardServer.java:277) at org.apache.catalina.startup.Catalina.start(Catalina.java:794) at org.apache.catalina.startup.Catalina.execute(Catalina.java:681) at org.apache.catalina.startup.Catalina.process(Catalina.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) spurcell@devweb2:~/jakarta-tomcat-4.0.3/bin/. $ Does anyone know what I could try to do to get this running? Thanks, Scott -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]