Are you using a custom init script, or the one from the repository? If it's custom, could you provide it?
It also looks like the linker flags weren't set properly when building. >From the startup message: ``` InfluxDB starting, version unknown, branch unknown, commit unknown ``` What version/commit was your binary built from? On Thu, Dec 1, 2016 at 9:00 AM, Erik Näsström <[email protected]> wrote: > Hi everyone > > I'm having som strange problems, tried searching and asking in some other > forums but no solution so far! > > I have a FreeNAS server running 24/7 and wanted to run influxdb in a > FreeBSD jail there to monitor my home assistant, curing chamber etc. with > some nice graphs. > Created a FreeBSD jail and followed the instructions in the manual and > everything seems to work until I run the > > sudo service influxd onestart > > > After that I just get a frozen screen with the "logo" until I terminate it > with ctrl-c > > <http://i.imgur.com/42iZSO1.png> > > > If I just run *influxd* as a command tough it starts up just fine and I > can access the web interface etc. but as soon as my terminal window closes > It stops ofc. > root@InfluxDB:/ # influxd > > 8888888 .d888 888 8888888b. 888888b. > 888 d88P" 888 888 "Y88b 888 "88b > 888 888 888 888 888 888 .88P > 888 88888b. 888888 888 888 888 888 888 888 888 8888888K. > 888 888 "88b 888 888 888 888 Y8bd8P' 888 888 888 "Y88b > 888 888 888 888 888 888 888 X88K 888 888 888 888 > 888 888 888 888 888 Y88b 888 .d8""8b. 888 .d88P 888 d88P > 8888888 888 888 888 888 "Y88888 888 888 8888888P" 8888888P" > > [run] 2016/12/01 15:52:45 InfluxDB starting, version unknown, branch > unknown, commit unknown > [run] 2016/12/01 15:52:45 Go version go1.7.3, GOMAXPROCS set to 4 > [run] 2016/12/01 15:52:45 no configuration provided, using default settings > [store] 2016/12/01 15:52:45 Using data dir: /root/.influxdb/data > [filestore] 2016/12/01 15:52:45 /root/.influxdb/data/home_ > assistant/autogen/6/000000001-000000001.tsm (#0) opened in 62.692µs > [cacheloader] 2016/12/01 15:52:45 reading file /root/.influxdb/wal/home_ > assistant/autogen/6/_00005.wal, size 0 > [shard] 2016/12/01 15:52:45 /root/.influxdb/data/home_assistant/autogen/6 > database index loaded in 445.72µs > [store] 2016/12/01 15:52:45 /root/.influxdb/data/home_assistant/autogen/6 > opened in 1.008893ms > [cacheloader] 2016/12/01 15:52:45 reading file > /root/.influxdb/wal/_internal/monitor/9/_00001.wal, size 4683137 > [filestore] 2016/12/01 15:52:45 /root/.influxdb/data/_ > internal/monitor/7/000000001-000000001.tsm (#0) opened in 284.13µs > [cacheloader] 2016/12/01 15:52:45 reading file > /root/.influxdb/wal/_internal/monitor/7/_00003.wal, size 0 > [shard] 2016/12/01 15:52:45 /root/.influxdb/data/_internal/monitor/7 > database index loaded in 609.656µs > [store] 2016/12/01 15:52:45 /root/.influxdb/data/_internal/monitor/7 > opened in 33.345368ms > [filestore] 2016/12/01 15:52:45 /root/.influxdb/data/_ > internal/monitor/2/000000001-000000001.tsm (#0) opened in 8.266029ms > [cacheloader] 2016/12/01 15:52:45 reading file > /root/.influxdb/wal/_internal/monitor/2/_00010.wal, size 0 > [shard] 2016/12/01 15:52:45 /root/.influxdb/data/_internal/monitor/2 > database index loaded in 288.802µs > [store] 2016/12/01 15:52:45 /root/.influxdb/data/_internal/monitor/2 > opened in 40.736365ms > [filestore] 2016/12/01 15:52:46 /root/.influxdb/data/_ > internal/monitor/5/000000001-000000001.tsm (#0) opened in 11.463897ms > [cacheloader] 2016/12/01 15:52:46 reading file > /root/.influxdb/wal/_internal/monitor/5/_00005.wal, size 0 > [shard] 2016/12/01 15:52:46 /root/.influxdb/data/_internal/monitor/5 > database index loaded in 418.476µs > [store] 2016/12/01 15:52:46 /root/.influxdb/data/_internal/monitor/5 > opened in 12.352209ms > [filestore] 2016/12/01 15:52:46 /root/.influxdb/data/_ > internal/monitor/1/000000001-000000001.tsm (#0) opened in 11.999839ms > [cacheloader] 2016/12/01 15:52:46 reading file > /root/.influxdb/wal/_internal/monitor/1/_00010.wal, size 0 > [shard] 2016/12/01 15:52:46 /root/.influxdb/data/_internal/monitor/1 > database index loaded in 153.833µs > [store] 2016/12/01 15:52:46 /root/.influxdb/data/_internal/monitor/1 > opened in 12.485811ms > [filestore] 2016/12/01 15:52:46 /root/.influxdb/data/home_ > assistant/autogen/3/000000003-000000002.tsm (#0) opened in 78.184409ms > [cacheloader] 2016/12/01 15:52:46 reading file /root/.influxdb/wal/home_ > assistant/autogen/3/_00010.wal, size 0 > [shard] 2016/12/01 15:52:46 /root/.influxdb/data/home_assistant/autogen/3 > database index loaded in 438.502µs > [store] 2016/12/01 15:52:46 /root/.influxdb/data/home_assistant/autogen/3 > opened in 79.00244ms > [filestore] 2016/12/01 15:52:46 /root/.influxdb/data/_ > internal/monitor/4/000000001-000000001.tsm (#0) opened in 47.801502ms > [cacheloader] 2016/12/01 15:52:46 reading file > /root/.influxdb/wal/_internal/monitor/4/_00009.wal, size 0 > [shard] 2016/12/01 15:52:46 /root/.influxdb/data/_internal/monitor/4 > database index loaded in 336.037µs > [store] 2016/12/01 15:52:46 /root/.influxdb/data/_internal/monitor/4 > opened in 48.837465ms > [store] 2016/12/01 15:57:42 /root/.influxdb/data/_internal/monitor/8 > opened in 2.328905ms > [shard] 2016/12/01 15:57:42 /root/.influxdb/data/home_assistant/autogen/3 > database index loaded in 881.109µs > [store] 2016/12/01 15:57:42 /root/.influxdb/data/home_assistant/autogen/3 > opened in 2.182085ms > [cacheloader] 2016/12/01 15:57:43 reading file > /root/.influxdb/wal/_internal/monitor/9/_00003.wal, size 0 > [shard] 2016/12/01 15:57:43 /root/.influxdb/data/_internal/monitor/9 > database index loaded in 595.643µs > [store] 2016/12/01 15:57:43 /root/.influxdb/data/_internal/monitor/9 > opened in 1.295592479s > [subscriber] 2016/12/01 15:57:43 opened service > [monitor] 2016/12/01 15:57:43 Starting monitor system > [monitor] 2016/12/01 15:57:43 'build' registered for diagnostics monitoring > [monitor] 2016/12/01 15:57:43 'runtime' registered for diagnostics > monitoring > [monitor] 2016/12/01 15:57:43 'network' registered for diagnostics > monitoring > [monitor] 2016/12/01 15:57:43 'system' registered for diagnostics > monitoring > [shard-precreation] 2016/12/01 15:57:43 Starting precreation service with > check interval of 10m0s, advance period of 30m0s > [snapshot] 2016/12/01 15:57:43 Starting snapshot service > [admin] 2016/12/01 15:57:43 Starting admin service > [monitor] 2016/12/01 15:57:43 Storing statistics in database '_internal' > retention policy 'monitor', at interval 10s > [admin] 2016/12/01 15:57:43 Listening on HTTP: [::]:8083 > [continuous_querier] 2016/12/01 15:57:43 Starting continuous query service > [httpd] 2016/12/01 15:57:43 Starting HTTP service > [httpd] 2016/12/01 15:57:43 Authentication enabled: false > [httpd] 2016/12/01 15:57:43 Listening on HTTP: [::]:8086 > [retention] 2016/12/01 15:57:43 Starting retention policy enforcement > service with check interval of 30m0s > [run] 2016/12/01 15:57:43 Listening for signals > 2016/12/01 15:57:43 Sending usage statistics to usage.influxdata.com > > > I'm at my wits end here and I really really want to get it running, anyone > have som suggestions? > > -- > Remember to include the version number! > --- > You received this message because you are subscribed to the Google Groups > "InfluxData" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/influxdb. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/influxdb/67f3c510-4869-4596-adb7-26e84fabb7f8%40googlegroups.com > <https://groups.google.com/d/msgid/influxdb/67f3c510-4869-4596-adb7-26e84fabb7f8%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Remember to include the version number! --- You received this message because you are subscribed to the Google Groups "InfluxData" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/influxdb. To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/CAD8sRLCXhupPHt0YYp-QgaaXMf1WZ4R%2BXNxcXekgyu%2B91MLRmQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
