Skip to content

Instantly share code, notes, and snippets.

@bbinet
Created April 7, 2014 12:28
Show Gist options
  • Save bbinet/10019376 to your computer and use it in GitHub Desktop.
Save bbinet/10019376 to your computer and use it in GitHub Desktop.
[04/07/14 13:23:02] [INFO] Redirectoring logging to /opt/influxdb/shared/log.txt
[04/07/14 13:23:02] [INFO] Starting Influx Server bound to 0.0.0.0 ...
[04/07/14 13:23:02] [INFO]
+---------------------------------------------+
| _____ __ _ _____ ____ |
| |_ _| / _| | | __ \| _ \ |
| | | _ __ | |_| |_ ___ _| | | | |_) | |
| | | | '_ \| _| | | | \ \/ / | | | _ < |
| _| |_| | | | | | | |_| |> <| |__| | |_) | |
| |_____|_| |_|_| |_|\__,_/_/\_\_____/|____/ |
+---------------------------------------------+
[04/07/14 13:23:02] [INFO] Opening database at /opt/influxdb/shared/data/db
[04/07/14 13:23:02] [INFO] Opening wal in /opt/influxdb/shared/data/wal
[04/07/14 13:23:02] [INFO] Ssl will be disabled since the ssl port or certificate path weren't set
[04/07/14 13:23:02] [INFO] Initializing Raft HTTP server
[04/07/14 13:23:02] [INFO] ProtobufServer listening on 0.0.0.0:8099
[04/07/14 13:23:02] [INFO] Raft Server Listening at http://influxdb:8090
[04/07/14 13:23:02] [INFO] Initializing Raft Server: /opt/influxdb/shared/data/raft 8090
[04/07/14 13:23:02] [INFO] Recovered from log
[04/07/14 13:23:02] [INFO] Waiting for local server to be added
[04/07/14 13:23:03] [INFO] (raft:9c42a4b) Selected as leader. Starting leader loop.
[04/07/14 13:23:03] [INFO] Added server to cluster config: 1, http://a4df64ba4be2:8090, a4df64ba4be2:8099
[04/07/14 13:23:03] [INFO] Checking whether this is the local server new: influxdb:8099, local: a4df64ba4be2:8099
[04/07/14 13:23:03] [INFO] Added the local server
[04/07/14 13:23:03] [INFO] Setting server id to 1 and recovering
[04/07/14 13:23:08] [INFO] Recovering from log...
[04/07/14 13:23:08] [INFO] local: Initializing write buffer with buffer size of 10000
[04/07/14 13:23:08] [INFO] Waiting for servers to recover
[04/07/14 13:23:08] [INFO] Recovering local server
[04/07/14 13:23:08] [INFO] Recovering server 1 from request 0
[04/07/14 13:23:08] [INFO] Recovered local server
[04/07/14 13:23:08] [INFO] recovered
[04/07/14 13:23:08] [INFO] Connecting to other nodes in the cluster
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x20 pc=0x518bf5]
goroutine 1 [running]:
runtime.panic(0x884c40, 0x1004a48)
/home/vagrant/bin/go/src/pkg/runtime/panic.c:266 +0xb6
cluster.(*ClusterServer).Connect(0xc2100e7b80)
/home/vagrant/influxdb/src/cluster/cluster_server.go:89 +0x165
coordinator.(*CoordinatorImpl).ConnectToProtobufServers(0xc2100dd720, 0xc2101224e0, 0xd, 0xc2100dd720, 0x0)
/home/vagrant/influxdb/src/coordinator/coordinator.go:896 +0x11d
server.(*Server).ListenAndServe(0xc210051070, 0xc210051070, 0x0)
/home/vagrant/influxdb/src/server/server.go:98 +0x26b
main.main()
/home/vagrant/influxdb/src/daemon/influxd.go:140 +0xa4f
goroutine 3 [syscall]:
os/signal.loop()
/home/vagrant/bin/go/src/pkg/os/signal/signal_unix.go:21 +0x1e
created by os/signal.init·1
/home/vagrant/bin/go/src/pkg/os/signal/signal_unix.go:27 +0x31
goroutine 4 [runnable]:
fmt.(*pp).printArg(0xc2100394e0, 0x7c7920, 0xc210180310, 0x76, 0x0, ...)
/home/vagrant/bin/go/src/pkg/fmt/print.go:731
fmt.(*pp).doPrint(0xc2100394e0, 0x7f1b34de7f10, 0x7, 0x7, 0x7f1b34de0000)
/home/vagrant/bin/go/src/pkg/fmt/print.go:1217 +0x21f
fmt.Fprint(0x7f1b34f6d110, 0xc210000008, 0x7f1b34de7f10, 0x7, 0x7, ...)
/home/vagrant/bin/go/src/pkg/fmt/print.go:254 +0x72
code.google.com/p/log4go.ConsoleLogWriter.run(0xc21006a000, 0x7f1b34f6d110, 0xc210000008)
/home/vagrant/influxdb/src/code.google.com/p/log4go/termlog.go:31 +0x368
created by code.google.com/p/log4go.NewConsoleLogWriter
/home/vagrant/influxdb/src/code.google.com/p/log4go/termlog.go:19 +0x67
goroutine 5 [select]:
code.google.com/p/log4go.func·002()
/home/vagrant/influxdb/src/code.google.com/p/log4go/filelog.go:84 +0x84c
created by code.google.com/p/log4go.NewFileLogWriter
/home/vagrant/influxdb/src/code.google.com/p/log4go/filelog.go:116 +0x2d1
goroutine 6 [syscall]:
runtime.goexit()
/home/vagrant/bin/go/src/pkg/runtime/proc.c:1394
goroutine 7 [chan receive]:
wal.(*WAL).processEntries(0xc2100e7100)
/home/vagrant/influxdb/src/wal/wal.go:242 +0x3f
created by wal.NewWAL
/home/vagrant/influxdb/src/wal/wal.go:103 +0x9f3
goroutine 8 [sleep]:
time.Sleep(0x8bb2c97000)
/tmp/makerelease886106415/go/src/pkg/runtime/time.goc:31 +0x31
cluster.func·001()
/home/vagrant/influxdb/src/cluster/cluster_configuration.go:131 +0x35
created by cluster.(*ClusterConfiguration).CreateFutureShardsAutomaticallyBeforeTimeComes
/home/vagrant/influxdb/src/cluster/cluster_configuration.go:136 +0x63
goroutine 10 [chan receive]:
main.waitForSignals(0x7f1b34f6e088, 0xc210051070)
/home/vagrant/influxdb/src/daemon/null_profiler.go:23 +0x126
created by main.startProfiler
/home/vagrant/influxdb/src/daemon/null_profiler.go:15 +0x38
goroutine 11 [IO wait]:
net.runtime_pollWait(0x7f1b34f6f000, 0x72, 0x0)
/tmp/makerelease886106415/go/src/pkg/runtime/netpoll.goc:116 +0x6a
net.(*pollDesc).Wait(0xc210070220, 0x72, 0x7f1b34f6cf88, 0xb)
/home/vagrant/bin/go/src/pkg/net/fd_poll_runtime.go:81 +0x34
net.(*pollDesc).WaitRead(0xc210070220, 0xb, 0x7f1b34f6cf88)
/home/vagrant/bin/go/src/pkg/net/fd_poll_runtime.go:86 +0x30
net.(*netFD).accept(0xc2100701c0, 0x9f6528, 0x0, 0x7f1b34f6cf88, 0xb)
/home/vagrant/bin/go/src/pkg/net/fd_unix.go:382 +0x2c2
net.(*TCPListener).AcceptTCP(0xc210000108, 0xc2100a4c80, 0x0, 0x7f1b34f6e0d8)
/home/vagrant/bin/go/src/pkg/net/tcpsock_posix.go:233 +0x47
net.(*TCPListener).Accept(0xc210000108, 0xc2100a4c80, 0x7f1b34dddf38, 0x1, 0x1)
/home/vagrant/bin/go/src/pkg/net/tcpsock_posix.go:243 +0x27
coordinator.(*ProtobufServer).ListenAndServe(0xc21006fa80)
/home/vagrant/influxdb/src/coordinator/protobuf_server.go:62 +0x1c7
created by server.(*Server).ListenAndServe
/home/vagrant/influxdb/src/server/server.go:78 +0x3d
goroutine 12 [IO wait]:
net.runtime_pollWait(0x7f1b34f6f0a8, 0x72, 0x0)
/tmp/makerelease886106415/go/src/pkg/runtime/netpoll.goc:116 +0x6a
net.(*pollDesc).Wait(0xc210051140, 0x72, 0x7f1b34f6cf88, 0xb)
/home/vagrant/bin/go/src/pkg/net/fd_poll_runtime.go:81 +0x34
net.(*pollDesc).WaitRead(0xc210051140, 0xb, 0x7f1b34f6cf88)
/home/vagrant/bin/go/src/pkg/net/fd_poll_runtime.go:86 +0x30
net.(*netFD).accept(0xc2100510e0, 0x9f6528, 0x0, 0x7f1b34f6cf88, 0xb)
/home/vagrant/bin/go/src/pkg/net/fd_unix.go:382 +0x2c2
net.(*TCPListener).AcceptTCP(0xc2100007d8, 0x18, 0xc210109810, 0x5c4d13)
/home/vagrant/bin/go/src/pkg/net/tcpsock_posix.go:233 +0x47
net.(*TCPListener).Accept(0xc2100007d8, 0x0, 0x0, 0x0, 0x0)
/home/vagrant/bin/go/src/pkg/net/tcpsock_posix.go:243 +0x27
net/http.(*Server).Serve(0xc2100e11e0, 0x7f1b34f6e108, 0xc2100007d8, 0x0, 0x0)
/home/vagrant/bin/go/src/pkg/net/http/server.go:1622 +0x91
coordinator.func·008()
/home/vagrant/influxdb/src/coordinator/raft_server.go:510 +0x3a
created by coordinator.(*RaftServer).Serve
/home/vagrant/influxdb/src/coordinator/raft_server.go:514 +0x519
goroutine 14 [finalizer wait]:
runtime.park(0x4510a0, 0x101bb68, 0x1006588)
/home/vagrant/bin/go/src/pkg/runtime/proc.c:1342 +0x66
runfinq()
/home/vagrant/bin/go/src/pkg/runtime/mgc0.c:2279 +0x84
runtime.goexit()
/home/vagrant/bin/go/src/pkg/runtime/proc.c:1394
goroutine 15 [select]:
github.com/goraft/raft.(*server).leaderLoop(0xc2100d0d80)
/home/vagrant/influxdb/src/github.com/goraft/raft/server.go:765 +0x5fe
github.com/goraft/raft.(*server).loop(0xc2100d0d80)
/home/vagrant/influxdb/src/github.com/goraft/raft/server.go:568 +0x33f
created by github.com/goraft/raft.(*server).Start
/home/vagrant/influxdb/src/github.com/goraft/raft/server.go:472 +0x7af
goroutine 16 [select]:
coordinator.(*RaftServer).CompactLog(0xc2100e30c0)
/home/vagrant/influxdb/src/coordinator/raft_server.go:302 +0x2ef
created by coordinator.(*RaftServer).startRaft
/home/vagrant/influxdb/src/coordinator/raft_server.go:340 +0x38f
goroutine 17 [select]:
coordinator.(*RaftServer).raftLeaderLoop(0xc2100e30c0, 0xc2100c8000)
/home/vagrant/influxdb/src/coordinator/raft_server.go:409 +0x29c
created by coordinator.(*RaftServer).raftEventHandler
/home/vagrant/influxdb/src/coordinator/raft_server.go:398 +0x1d0
goroutine 19 [select]:
cluster.(*WriteBuffer).handleWrites(0xc2100e2960)
/home/vagrant/influxdb/src/cluster/write_buffer.go:59 +0xca
created by cluster.NewWriteBuffer
/home/vagrant/influxdb/src/cluster/write_buffer.go:37 +0x207
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment