This is my error wqhen I try to create a team from command line (couldnt get any other message to start debugging)
kirthi@gitlab:~$ sudo -u mattermost /opt/gitlab/embedded/bin/mattermost -config=/var/opt/gitlab/mattermost/config.json platform -create_team="TestAtch"1
panic: Error starting server listen tcp 127.0.0.1:8065: bind: address already in use
goroutine 37 0xc820426f00)
/go/src/github.com/mattermost/platform/api/server.go:76 +0x21d
created by github.com/mattermost/platform/api.StartServer
/go/src/github.com/mattermost/platform/api/server.go:78 +0x65e
goroutine 1 chan receive:
main.main()
/go/src/github.com/mattermost/platform/mattermost.go:87 +0x8b9
goroutine 17 [syscall, locked to thread]:
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1696 +0x1
goroutine 5 /usr/local/go/src/os/signal/signal_unix.go:22 +0x18
created by os/signal.init.1
/usr/local/go/src/os/signal/signal_unix.go:28 +0x37
goroutine 18 /usr/local/go/src/database/sql/sql.go:634 +0x45
created by database/sql.Open
/usr/local/go/src/database/sql/sql.go:481 +0x336
goroutine 7 /go/src/github.com/mattermost/platform/Godeps/_workspace/src/code.google.com/p/log4go/filelog.go:84 +0xabc
created by code.google.com/p/log4go.NewFileLogWriter
/go/src/github.com/mattermost/platform/Godeps/_workspace/src/code.google.com/p/log4go/filelog.go:116 +0x380
goroutine 8 /usr/local/go/src/database/sql/sql.go:634 +0x45
created by database/sql.Open
/usr/local/go/src/database/sql/sql.go:481 +0x336
goroutine 34 /go/src/github.com/mattermost/platform/api/web_hub.go:66 +0x8ce
created by github.com/mattermost/platform/api.(*Hub).Start
/go/src/github.com/mattermost/platform/api/web_hub.go:96 +0x35
goroutine 35 syscall:
syscall.Syscall6(0xe8, 0x9, 0xc82047bc24, 0x7, 0xffffffffffffffff, 0x0, 0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/syscall/asm_linux_amd64.s:44 +0x5
syscall.EpollWait(0x9, 0xc82047bc24, 0x7, 0x7, 0xffffffffffffffff, 0x0, 0x0, 0x0)
/usr/local/go/src/syscall/zsyscall_linux_amd64.go:365 +0x89
gopkg.in/fsnotify%2ev1.(*fdPoller).wait(0xc820434380, 0xd5f700, 0x0, 0x0)
/go/src/github.com/mattermost/platform/Godeps/_workspace/src/gopkg.in/fsnotify.v1/inotify_poller.go:85 +0xbc
gopkg.in/fsnotify%2ev1.(*Watcher).readEvents(0xc8203dda90)
/go/src/github.com/mattermost/platform/Godeps/_workspace/src/gopkg.in/fsnotify.v1/inotify.go:191 +0x1af
created by gopkg.in/fsnotify%2ev1.NewWatcher
/go/src/github.com/mattermost/platform/Godeps/_workspace/src/gopkg.in/fsnotify.v1/inotify.go:60 +0x3de
goroutine 36 0xc8204312a0, 0xc820431270, 0x2)
/go/src/github.com/mattermost/platform/web/web.go:120 +0x637
created by github.com/mattermost/platform/web.watchAndParseTemplates
/go/src/github.com/mattermost/platform/web/web.go:132 +0x515
goroutine 39 [sleep]:
time.Sleep(0xd18c2e28000)
/usr/local/go/src/runtime/time.go:59 +0xf9
main.runSecurityAndDiagnosticsJobAndForget.func1()
/go/src/github.com/mattermost/platform/mattermost.go:195 +0x19ef
created by main.runSecurityAndDiagnosticsJobAndForget
/go/src/github.com/mattermost/platform/mattermost.go:197 +0x2b
goroutine 40 [select, locked to thread]:
runtime.gopark(0xd5ff60, 0xc820024f28, 0xc15c88, 0x6, 0x434618, 0x2)
/usr/local/go/src/runtime/proc.go:185 +0x163
runtime.selectgoImpl(0xc820024f28, 0x0, 0x18)
/usr/local/go/src/runtime/select.go:392 +0xa64
runtime.selectgo(0xc820024f28)
/usr/local/go/src/runtime/select.go:212 +0x12
runtime.ensureSigM.func1()
/usr/local/go/src/runtime/signal1_unix.go:227 +0x353
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1696 +0x1