Things to try

1. Where are you getting this system log? It looks very sparse.

2. What version of Raspbian are you using? (Use "cat /etc/os-release")

3. Try using a -x switch before running /etc/init.d/weewx. It will at least
tell you what it's doing:

set -x
sudo /etc/init.d/weewx start
set +x


-tk

On Sun, Jul 4, 2021 at 1:47 PM Sean Jahnig <[email protected]> wrote:

> Thanks for the reply. It could very well be the init.d/weewx script but
> i've started at it and from what i understand, i can't see an error. I've
> attached weewx.txt which is the top half of the init.d script.
>
> I cleared the syslog and the weewx.log and then i rebooted. After the
> reboot i pasted the syslog into the attached syslog.txt - and the weewx.log
> remained empty so nothing to attach.
>
> After the boot, i tried to run this sudo /etc/init.d/weewx start and
> nothing happens, nor gets added to the log.
>
> Lastly, i ran *cd /home/weewx* and then *sudo ./bin/weewxd* and it
> immediately worked and started working.
>
>
>
> On Sun, Jul 4, 2021 at 6:54 PM Tom Keffer <[email protected]> wrote:
>
>> Make sure the script in /etc/init.d/weewx references your new copy of
>> weewxd in /home/weewx/bin, and not the old copy in /usr/share/weewx
>>
>> But, it's hard to say anything definitive without seeing the log.
>>
>> -tk
>>
>> On Sun, Jul 4, 2021 at 6:50 AM [email protected] <[email protected]>
>> wrote:
>>
>>> Hi,
>>>
>>> I originally had weewx installed using the DEB package which was fine.
>>> With the intention of using multiple instances of weewx for different
>>> stations, I have uninstalled that and then I re-installed weewx using
>>> setup.py to the /home/weewx/
>>>
>>> It works perfectly when I run it directly in terminal using *sudo
>>> ./bin/weewxd* but I have not been able to add the script to
>>> *init.d/weewx* in order for it to run at boot. I have followed the
>>> instructions at https://weewx.com/docs/setup.htm but weewx will not
>>> start at boot and after boot, even if I manually run sudo
>>> /etc/init.d/weewx start it does nothing. I can tell because I'm tailing
>>> the log file and nothing happens. Run it manually, it starts collecting
>>> data perfectly.
>>>
>>> I used the default file from /weewx/utils/weewx.debian and copied it to
>>> /etc/init.d/weewx and I did not make any changes. Is there something else
>>> I'm supposed to do. The weewx installation was done to the default
>>> /home/weewx directory.
>>>
>>> Would appreciate any suggestions.
>>>
>>> --
>>> 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].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/weewx-user/9cfe9263-c54c-47f3-9ed5-f2197bb7696en%40googlegroups.com
>>> <https://groups.google.com/d/msgid/weewx-user/9cfe9263-c54c-47f3-9ed5-f2197bb7696en%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
>> 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/topic/weewx-user/POwnsa43jyI/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/weewx-user/CAPq0zEA7A0rcQ_OqmiqdYe_6MTNXy-rJH1LH8Vge1heqAxkuNg%40mail.gmail.com
>> <https://groups.google.com/d/msgid/weewx-user/CAPq0zEA7A0rcQ_OqmiqdYe_6MTNXy-rJH1LH8Vge1heqAxkuNg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> 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].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/CALeSoZkYr1JAhQKfr4MJ%3DBQJoKnhrs%2BfFGKUt7Ku3rcRcdo_0g%40mail.gmail.com
> <https://groups.google.com/d/msgid/weewx-user/CALeSoZkYr1JAhQKfr4MJ%3DBQJoKnhrs%2BfFGKUt7Ku3rcRcdo_0g%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zED86H%2Bt%3DtBfSWDByhT1t_Y%2BVtaT4LLVrWL9bSrJromVUQ%40mail.gmail.com.

Reply via email to