You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Environment: OS X, JDK 6
I found this a bit surprising when firing up gitblit for the first time. It tries to
run on port 443 by default, and this will only work for the root user.
I see this is mentioned in the FAQ. Still, it would be nice to either (a) use port
8443 on default (like tomcat does), or (b) warn the user with a friendlier error message,
that it has to either change configuration or run as root (security risk).
Here is the stacktrace from startup:
WARN FAILED org.eclipse.jetty.server.Server@2af6a882: java.net.SocketException: Permission
denied
java.net.SocketException: Permission denied
at sun.nio.ch.Net.bind(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:126)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:172)
at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:297)
at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:250)
at org.eclipse.jetty.server.ssl.SslSelectChannelConnector.doStart(SslSelectChannelConnector.java:643)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:58)
at org.eclipse.jetty.server.Server.doStart(Server.java:269)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:58)
at com.gitblit.GitBlitServer.start(Unknown Source)
at com.gitblit.GitBlitServer.main(Unknown Source)
at com.gitblit.Launcher.main(Unknown Source)
Reported by tfnico on 2011-07-20 12:58:28
The text was updated successfully, but these errors were encountered:
Yeah, those both seem like reasonable suggestions. I'm actually surprised how many
people are using gitblit on non-Windows machines with the large amount of *nix git
tooling available.
Originally reported on Google Code with ID 12
Reported by
tfnico
on 2011-07-20 12:58:28The text was updated successfully, but these errors were encountered: