Thank you Gary. I will rework everything. The reason why I think it has something to do with line breaks is the following: on my test system I didn't save the original weewx init script when I tried it the last time. So I also copied and pasted the init script from my production to the test system as described above. After that I was seeing the very same error, but with the origninal single instance init script. Copying the script, instead of pasting it's content into Notepad++ and saving it through WinSCP, solved the problem. A diff didn't show any differences (different line breaks are ignored), also the permissions were set correctly. I will try it all again and we'll see. gjr80 schrieb am Donnerstag, 4. Februar 2021 um 07:02:53 UTC+1:
> The How to run multiple instances of WeeWX > <https://github.com/weewx/weewx/wiki/weewx-multi> wiki article is written > (as are many other articles/instructions) assuming WeeWX was installed via > setup.py. On a setup.py install you will find the util directory in > /home/weewx. For a package install you will find most of the util > directory contents in /etc/weewx, unfortunately that does not include the > util/init.d directory which contains weewx-multi. So if you want to use > weewx-multi on a package installation you will need to download > weewx-multi from GitHub. The destination directory you download > weewx-multi to on your WeeWX system is not important as it will be copied > to the correct location during setup. The following command can be used to > download weewx-multi to /var/tmp: > > $ wget -P /var/tmp > https://raw.githubusercontent.com/weewx/weewx/master/util/init.d/weewx-multi > > Once weewx-multi has been downloaded the rest of the wiki article > instructions can be followed substituting the path to weewx-multi > accordingly. > > I am not sure if incorrect line endings would cause the error you are > seeing, I would go back over the wiki article and work through it carefully > and completely obtaining weewx-multi as outlined above. > > I will touch up the wiki article to clear up the confusion over the > location of weewx-multi. > > Gary > > -- 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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/dae0d383-3433-4404-99bb-1ccb9672c09cn%40googlegroups.com.