lauantai 17. syyskuuta 2016 Ross McDonald <r...@influxdb.com> kirjoitti:

> Ah, so the tarball packages don't have the necessary permissions to run
> InfluxDB as a service. What distribution of Linux are you running? Can you
> not use the RPM or DEB packages instead?
>

Jessie Lite on ARM on Raspberry Pi. I was under the assumption that there
is no suitable package, or why else provide the ARM tarball?

>
> If not, you'll need to create the following directories with owner:group
> as influxdb:
> - /var/lib/influxdb
> - /etc/influxdb
>
> And you'll want to take the systemd unit file from here
> <https://github.com/influxdata/influxdb/blob/master/scripts/influxdb.service>
> .
>

Yes, as I stated in the first message.


>
> Thanks,
> Ross
>
> On Thu, Sep 15, 2016 at 4:04 PM, Teppo Kurki <t...@iki.fi
> <javascript:_e(%7B%7D,'cvml','t...@iki.fi');>> wrote:
>
>> Maybe I'm doing something else wrong?
>>
>> uname -a
>>
>> Linux xxxxx 4.4.13-v7+ #894 SMP Mon Jun 13 13:13:27 BST 2016 armv7l
>> GNU/Linux
>>
>> wget https://dl.influxdata.com/influxdb/releases/influxdb-1.0.0_
>> linux_armhf.tar.gz
>>
>> sudo tar xvf influxdb-1.0.0_linux_armhf.tar.gz -C / --strip-components=2
>> adduser influxdb
>>
>> sudo -u influxdb -s
>>
>> influxd
>>
>> [run] 2016/09/16 00:01:36 InfluxDB starting, version 1.0.0, branch
>> master, commit 37992377a55fbc138b2c01edd4deffed64b53989
>>
>> [run] 2016/09/16 00:01:36 Go version go1.6.2, GOMAXPROCS set to 4
>>
>> [run] 2016/09/16 00:01:36 Using configuration at:
>> /etc/influxdb/influxdb.conf
>>
>> run: create server: open /var/lib/influxdb/meta/meta.dbtmp: permission
>> denied
>>
>> On Thu, Sep 15, 2016 at 11:53 PM, <r...@influxdb.com
>> <javascript:_e(%7B%7D,'cvml','r...@influxdb.com');>> wrote:
>>
>>> What OS and version are you running on the Pi? What version of InfluxDB?
>>> Where did you download the package from?
>>>
>>> We haven't heard of any other issues with permissions, so I'm not sure
>>> what the issue could be.
>>>
>>> On Thursday, September 15, 2016 at 3:35:15 PM UTC-5, teppo...@gmail.com
>>> <javascript:_e(%7B%7D,'cvml','teppo...@gmail.com');> wrote:
>>>>
>>>> I started to look into an Ansible script to install InfluxDB on my
>>>> Raspberry Pi.
>>>>
>>>> Download & extract & run as root work, but I would like to use the
>>>> stock systemd unit file, where the user is influxdb. All the files in the
>>>> archive are root/root owner/group.
>>>>
>>>> Is there an easier method than trial and error to figure out the
>>>> correct ownerships?
>>>>
>>>>
>> --
>> Remember to include the InfluxDB version number with all issue reports
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "InfluxDB" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to influxdb+unsubscr...@googlegroups.com
>> <javascript:_e(%7B%7D,'cvml','influxdb%2bunsubscr...@googlegroups.com');>
>> .
>> To post to this group, send email to influxdb@googlegroups.com
>> <javascript:_e(%7B%7D,'cvml','influxdb@googlegroups.com');>.
>> Visit this group at https://groups.google.com/group/influxdb.
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/influxdb/CAOyOCEBkFXkfb1XGKroG4KPp2WFOXfOf-kR4xpa%
>> 3DSThZ-a3vrA%40mail.gmail.com
>> <https://groups.google.com/d/msgid/influxdb/CAOyOCEBkFXkfb1XGKroG4KPp2WFOXfOf-kR4xpa%3DSThZ-a3vrA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> Remember to include the InfluxDB version number with all issue reports
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "InfluxDB" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/influxdb/Q268o4sMevk/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> influxdb+unsubscr...@googlegroups.com
> <javascript:_e(%7B%7D,'cvml','influxdb%2bunsubscr...@googlegroups.com');>.
> To post to this group, send email to influxdb@googlegroups.com
> <javascript:_e(%7B%7D,'cvml','influxdb@googlegroups.com');>.
> 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/CAD8sRLDinj0v1ey-Srn0ygWiVOQzqqzS0X1g4KiJYuE8oY
> U6og%40mail.gmail.com
> <https://groups.google.com/d/msgid/influxdb/CAD8sRLDinj0v1ey-Srn0ygWiVOQzqqzS0X1g4KiJYuE8oYU6og%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Remember to include the InfluxDB version number with all issue reports
--- 
You received this message because you are subscribed to the Google Groups 
"InfluxDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to influxdb+unsubscr...@googlegroups.com.
To post to this group, send email to influxdb@googlegroups.com.
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/CAOyOCEDcT7zm1j98CC1OkyiffR%2B6R92Oag4KApm6pHbaGHn5ug%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to