Well, not quite. Now it apparently starts:

jjk@raspberrypi:~/weewx $ sudo /etc/init.d/weewx start
[ ok ] Starting weewx (via systemctl): weewx.service.

- but still nothing in syslog? And if try to start again, I get the same
message?

What I modified:
# PATH should only include /usr/* if it runs after the mountnfs.sh script
PATH=/sbin:/usr/sbin:/bin:/usr/bin
WEEWX_BIN=/home/jjk/weewx/bin/weewxd
WEEWX_CFG=/home/jjk/weewx/weewx.conf
WEEWX_USER=root:root
DESC="weewx weather system"


Jens-Jørgen Kjærgaard
Sønderstrand 5
9300 Sæby
+45 21204417
www.jensjk.dk

2018-01-15 10:51 GMT+01:00 Jens-Jørgen Kjærgaard <[email protected]>:

> Gary and Andrew, of course.
> I modified the script, everything is working now.
> It has just been several years since I did a clean install - so I forgot.
> Thanks!
>
> Jens-Jørgen Kjærgaard
> Sønderstrand 5
> 9300 Sæby
> +45 21204417 <+45%2021%2020%2044%2017>
> www.jensjk.dk
>
> 2018-01-15 10:47 GMT+01:00 Andrew Milner <[email protected]>:
>
>> A silly idea - since you have installed in a different (non-standard)
>> location - have you checked that /etc/init.d/weewx is actually pointing to
>> the correct directory for starting weewx and weewx.conf?
>>
>>
>> On Monday, 15 January 2018 11:29:13 UTC+2, Jens-Jørgen Kjærgaard wrote:
>>
>>> Yes, what is wrong is that the demon is not starting. If I start it
>>> directly, all is fine.
>>> Linux: strech-lite
>>> inux raspberrypi 4.9.59-v7+ #1047 SMP Sun Oct 29 12:19:23 GMT 2017
>>> armv7l GNU/Linux
>>>
>>>
>>> Jens-Jørgen Kjærgaard
>>> Sønderstrand 5
>>> <https://maps.google.com/?q=S%C3%B8nderstrand+59300+S%C3%A6by&entry=gmail&source=g>
>>> 9300 Sæby
>>> <https://maps.google.com/?q=S%C3%B8nderstrand+59300+S%C3%A6by&entry=gmail&source=g>
>>> +45 21204417 <+45%2021%2020%2044%2017>
>>> www.jensjk.dk
>>>
>>> 2018-01-15 10:20 GMT+01:00 gjr80 <[email protected]>:
>>>
>>>> I suspect the issue is that the daemon is not even starting hence no
>>>> log output, but let's clear up the logging side. When you run weeWX
>>>> directly (sudo ./bin/weewxd etc) do you see weeWX log entries in syslog? If
>>>> so logging is fine and the issue is with starting the daemon, if not you
>>>> need to find where the weeWX log is going.
>>>>
>>>> Also, what linux are you running ? Rapsbian stretch?
>>>>
>>>> Gary
>>>>
>>>>
>>>> On Monday, 15 January 2018 19:12:37 UTC+10, Andrew Milner wrote:
>>>>>
>>>>> are you sure you haven't redirected the log to /var/log/weewx.log?
>>>>>
>>>>>
>>>>>
>>>>> On Monday, 15 January 2018 11:10:54 UTC+2, gjr80 wrote:
>>>>>
>>>>>> Can you capture the screen when you execute those commands and the
>>>>>> try to start weeWX. Not doubting you but find it surprising that 
>>>>>> something
>>>>>> isn't spitting out an error somewhere.
>>>>>>
>>>>>> Gary
>>>>>>
>>>>> --
>>>> You received this message because you are subscribed to a topic in the
>>>> Google Groups "weewx-user" group.
>>>> To unsubscribe from this topic, visit https://groups.google.com/d/to
>>>> pic/weewx-user/QifZZ_cx18Y/unsubscribe.
>>>> To unsubscribe from this group and all its topics, send an email to
>>>> [email protected].
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "weewx-user" group.
>> To unsubscribe from this topic, visit https://groups.google.com/d/to
>> pic/weewx-user/QifZZ_cx18Y/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to