Wondering if anyone might any insight into the following problem... I've been trying to setup Resin Pro 3.1.0 to run the web server as non-root and run into an error when I attempt to bind to port 443 with the "user-name" and "group-name" set.
In all cases I run "bin/httpd.sh start" directly as root with the following resin.conf's... user-name: root port: 80 ok user-name: root port: 443 ok user-name: web port: 80 ok user-name: web port: 443 error ============================================================= Here is a SUCCESSFUL startup for informational purposes... Resin Professional 3.1.0 (built Fri, 22 Dec 2006 07:11:14 PST) Copyright(c) 1998-2006 Caucho Technology. All rights reserved. 1006350.license -- 2 Resin servers Pampered Chef Starting Resin on Mon, 12 Feb 2007 12:55:00 -0600 (CST) [12:55:05.411] Server[id=,cluster=app-tier] starting [12:55:05.412] [12:55:05.413] SunOS 5.8 sparc [12:55:05.413] Java 1.5.0_06-b05, 32, mixed mode, ISO646-US, en, Sun Microsystems Inc. [12:55:05.414] user.name: root [12:55:05.414] resin.home = /webapp/resin-pro-3.1.0/ [12:55:05.415] root.directory = /webapp/resin-pro-3.1.0/ [12:55:05.415] resin.conf = /webapp/resin-pro-3.1.0/conf/resin.conf [12:55:05.416] [12:55:05.442] Loaded Socket JNI library. [12:55:05.445] hmux listening to localhost:6800 [12:55:05.447] http listening to sundweb02:80 [12:55:07.231] https listening to sundweb02:443 [12:55:08.412] Host[] starting [12:55:09.279] WebApp[http://192.168.10.35:80] starting [12:55:10.725] WebApp[http://192.168.10.35:80/resin-doc] starting [12:55:11.142] WebApp[http://192.168.10.35:80/resin-admin] starting ============================================================= Here is my FAILED startup... Resin Professional 3.1.0 (built Fri, 22 Dec 2006 07:11:14 PST) Copyright(c) 1998-2006 Caucho Technology. All rights reserved. 1006350.license -- 2 Resin servers Pampered Chef Starting Resin on Mon, 12 Feb 2007 12:47:01 -0600 (CST) java.lang.UnsupportedOperationException at com.caucho.server.port.Port.bind(Port.java:794) at com.caucho.server.cluster.ClusterServer.bind(ClusterServer.java:338) at com.caucho.server.resin.Resin.initMain(Resin.java:1067) at com.caucho.server.resin.Resin.main(Resin.java:1259) Resin Professional 3.1.0 (built Fri, 22 Dec 2006 07:11:14 PST) Copyright(c) 1998-2006 Caucho Technology. All rights reserved. ============================================================= Lastly, if I enable SSL for user-name "web", I get the following runtime error (in case it provides some insight). [12:41:48.473] Server[id=,cluster=app-tier] starting [12:41:48.474] [12:41:48.474] SunOS 5.8 sparc [12:41:48.475] Java 1.5.0_06-b05, 32, mixed mode, ISO646-US, en, Sun Microsystems Inc. [12:41:48.475] user.name: web [12:41:48.475] resin.home = /webapp/resin-pro-3.1.0/ [12:41:48.476] root.directory = /webapp/resin-pro-3.1.0/ [12:41:48.476] resin.conf = /webapp/resin-pro-3.1.0/conf/resin.conf [12:41:48.477] [12:41:48.481] hmux listening to localhost:6800 [12:41:48.740] java.net.BindException: Permission denied [12:41:48.740] at java.net.PlainSocketImpl.socketBind(Native Method) [12:41:48.740] at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359) [12:41:48.740] at java.net.ServerSocket.bind(ServerSocket.java:319) [12:41:48.740] at java.net.ServerSocket.<init>(ServerSocket.java:185) [12:41:48.740] at javax.net.ssl.SSLServerSocket.<init>(SSLServerSocket.java:106) [12:41:48.740] at com.sun.net.ssl.internal.ssl.SSLServerSocketImpl.<init>(SSLServerSocketI mpl.java:106) [12:41:48.740] at com.sun.net.ssl.internal.ssl.SSLServerSocketFactoryImpl.createServerSock et(SSLServerSocketFactoryImpl.java:71) [12:41:48.740] at com.caucho.vfs.JsseSSLFactory.create(JsseSSLFactory.java:227) [12:41:48.740] at com.caucho.server.port.Port.bind(Port.java:733) [12:41:48.740] at com.caucho.server.cluster.Server.bindPorts(Server.java:1091) [12:41:48.740] at com.caucho.server.cluster.Server.start(Server.java:1041) [12:41:48.740] at com.caucho.server.cluster.Cluster.startServer(Cluster.java:667) [12:41:48.740] at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:4 32) [12:41:48.740] at com.caucho.server.resin.Resin.start(Resin.java:622) [12:41:48.740] at com.caucho.server.resin.Resin.initMain(Resin.java:1072) [12:41:48.740] at com.caucho.server.resin.Resin.main(Resin.java:1259) Hopefully, someone out there has seen this before? Thanks, tim _______________________________________________ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest