gerrit+postgresql, gerrit start fail

75 views
Skip to first unread message

Jelly

unread,
Jul 8, 2011, 4:27:19 AM7/8/11
to repo-d...@googlegroups.com
[2011-07-09 00:18:14,678] ERROR com.google.gerrit.pgm.Daemon : Unable to start daemon
java.lang.IllegalStateException: Cannot start HTTP daemon
        at com.google.gerrit.pgm.http.jetty.JettyServer$Lifecycle.start(JettyServer.java:85)
        at com.google.gerrit.lifecycle.LifecycleManager.start(LifecycleManager.java:61)
        at com.google.gerrit.pgm.Daemon.run(Daemon.java:140)
        at com.google.gerrit.pgm.util.AbstractProgram.main(AbstractProgram.java:76)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

any ideas? thanks!

Shawn Pearce

unread,
Jul 10, 2011, 10:53:45 PM7/10/11
to repo-d...@googlegroups.com

That's all of the stack trace? That exception is thrown with the root
cause attached, which should appear below the last line you quoted
from the file. I have no idea what is wrong, because you didn't
include the full log message.

Jelly

unread,
Jul 13, 2011, 9:15:08 PM7/13/11
to repo-d...@googlegroups.com
I found if i use port 80, it start fail!
But if i use port 8080, it's OK.

Ian Kumlien

unread,
Jul 13, 2011, 9:18:02 PM7/13/11
to repo-d...@googlegroups.com


On Jul 14, 2011 3:15 AM, "Jelly" <sino...@gmail.com> wrote:
>
> I found if i use port 80, it start fail!
> But if i use port 8080, it's OK.

All ports below 1024 or so is reserved for root. ;)

> --
> To unsubscribe, email repo-discuss...@googlegroups.com
> More info at http://groups.google.com/group/repo-discuss?hl=en

Reply all
Reply to author
Forward
0 new messages