Re: [weewx-user] Re: weewx-multi on RHEL

2018-05-26 Thread Andrew Milner
What you have now done is quite probably the better approach anyway.

On Saturday, 26 May 2018 17:13:46 UTC+3, bdf0506 wrote:
>
> I gave up on this approach.
>
> I updated the database schema and pumped the extra sensors into some 
> custom fields. This way, I only need to run one weewx instance. My extra 
> sensors are only capturing temp and humidity so there isn’t calculations I 
> need weewx to do on those, and one db is preferred to many. 
>
> On Fri, May 25, 2018 at 5:57 PM Pete Geenhuizen  > wrote:
>
>> Hmm that is much more complicated than my setup which consists of a 
>> computer running C7 which has a Davis VantageVue and a LaCross WS attached 
>> and sends the info via rsync to my web server.
>>
>> Wouldn't you have the same problem with the weewx-multi script?  I just 
>> never could get all the parameters worked out and merely split the 
>> weewx-multi into 2 separate start scripts.
>>
>> On 05/25/2018 02:50 PM, bdf0506 wrote:
>>
>> Bummer. But thanks for sharing. 
>>
>> I haven't tried this yet with two separate scripts. I think I am going to 
>> have issues when I do this because of the interceptor driver I am using for 
>> the Acurite smarthub. I have it set to listed on 8080 (traffic is 
>> redirected from port 80). I'll be able to start the first instance just 
>> fine (to listen on 8080), but when I start the second, I will have a 
>> problem since the second will say that something is already listening on 
>> port 8080. I'll mess with that this weekend, but perhaps someone else here 
>> has experience with this.
>>
>> On Friday, May 25, 2018 at 2:46:59 PM UTC-4, pgeenhuizen wrote: 
>>>
>>>
>>> On 05/25/2018 12:57 PM, bdf0506 wrote:
>>>
>>> Once you change the paths, comment out some of the files that aren't 
>>> found, still fails as suchclearly you can't comment out some of the 
>>> files and expect it to work since it has refrences later in the script to 
>>> the commented out files. 
>>>
>>> [root@server01 init.d]$ service weewx stop
>>> /etc/init.d/weewx: line 176: log_daemon_msg: command not found
>>> /etc/init.d/weewx: line 179: log_end_msg: command not found
>>> /etc/init.d/weewx: line 176: log_daemon_msg: command not found
>>> /etc/init.d/weewx: line 179: log_end_msg: command not found
>>>
>>> On Friday, May 25, 2018 at 12:51:31 PM UTC-4, bdf0506 wrote: 

 If you go through the setup here: http://www.weewx.com/docs/redhat.htm 

 Then weewx-multi simply will not work (though weewx in single mode will 
 work just fine).

 Anyone know the trick to make it work? I have modified the weewx-multi 
 script a bit to modify the locations of the paths, but I still fail to 
 find 
 things like /var/lib/vars.sh and don't even have those files available. 
 Any 
 ideas?

>>> -- 
>>>
>>>
>>> I tried and gave up on the multi start up and just created 2 init 
>>> scripts and now have 2 systemd scripts.
>>> Pete
>>>
>>> -- 
>>> Unencumbered by the thought process.  
>>>  -- Click and Clack the Tappet brothers 
>>>
>>>
>>> -- 
>>> This message has been scanned for viruses and 
>>> dangerous content by *MailScanner* , and 
>>> is 
>>> believed to be clean. 
>>>
>> -- 
>>
>> 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+...@googlegroups.com .
>>
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>> -- 
>> This message has been scanned for viruses and 
>> dangerous content by *MailScanner* , and 
>> is 
>> believed to be clean. 
>>
>>
>> -- 
>> Unencumbered by the thought process.  
>>  -- Click and Clack the Tappet brothers 
>>
>>
>> -- 
>> This message has been scanned for viruses and 
>> dangerous content by *MailScanner* , and 
>> is 
>> believed to be clean. 
>>
> -- 
> Brad Furman
> bdfu...@gmail.com 
> (678) 907-8212
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: weewx-multi on RHEL

2018-05-26 Thread Brad Furman
I gave up on this approach.

I updated the database schema and pumped the extra sensors into some custom
fields. This way, I only need to run one weewx instance. My extra sensors
are only capturing temp and humidity so there isn’t calculations I need
weewx to do on those, and one db is preferred to many.

On Fri, May 25, 2018 at 5:57 PM Pete Geenhuizen  wrote:

> Hmm that is much more complicated than my setup which consists of a
> computer running C7 which has a Davis VantageVue and a LaCross WS attached
> and sends the info via rsync to my web server.
>
> Wouldn't you have the same problem with the weewx-multi script?  I just
> never could get all the parameters worked out and merely split the
> weewx-multi into 2 separate start scripts.
>
> On 05/25/2018 02:50 PM, bdf0506 wrote:
>
> Bummer. But thanks for sharing.
>
> I haven't tried this yet with two separate scripts. I think I am going to
> have issues when I do this because of the interceptor driver I am using for
> the Acurite smarthub. I have it set to listed on 8080 (traffic is
> redirected from port 80). I'll be able to start the first instance just
> fine (to listen on 8080), but when I start the second, I will have a
> problem since the second will say that something is already listening on
> port 8080. I'll mess with that this weekend, but perhaps someone else here
> has experience with this.
>
> On Friday, May 25, 2018 at 2:46:59 PM UTC-4, pgeenhuizen wrote:
>>
>>
>> On 05/25/2018 12:57 PM, bdf0506 wrote:
>>
>> Once you change the paths, comment out some of the files that aren't
>> found, still fails as suchclearly you can't comment out some of the
>> files and expect it to work since it has refrences later in the script to
>> the commented out files.
>>
>> [root@server01 init.d]$ service weewx stop
>> /etc/init.d/weewx: line 176: log_daemon_msg: command not found
>> /etc/init.d/weewx: line 179: log_end_msg: command not found
>> /etc/init.d/weewx: line 176: log_daemon_msg: command not found
>> /etc/init.d/weewx: line 179: log_end_msg: command not found
>>
>> On Friday, May 25, 2018 at 12:51:31 PM UTC-4, bdf0506 wrote:
>>>
>>> If you go through the setup here: http://www.weewx.com/docs/redhat.htm
>>>
>>> Then weewx-multi simply will not work (though weewx in single mode will
>>> work just fine).
>>>
>>> Anyone know the trick to make it work? I have modified the weewx-multi
>>> script a bit to modify the locations of the paths, but I still fail to find
>>> things like /var/lib/vars.sh and don't even have those files available. Any
>>> ideas?
>>>
>> --
>>
>>
>> I tried and gave up on the multi start up and just created 2 init scripts
>> and now have 2 systemd scripts.
>> Pete
>>
>> --
>> Unencumbered by the thought process.
>>  -- Click and Clack the Tappet brothers
>>
>>
>> --
>> This message has been scanned for viruses and
>> dangerous content by *MailScanner* , and
>> is
>> believed to be clean.
>>
> --
>
> 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.
>
>
> For more options, visit https://groups.google.com/d/optout.
>
> --
> This message has been scanned for viruses and
> dangerous content by *MailScanner* , and is
> believed to be clean.
>
>
> --
> Unencumbered by the thought process.
>  -- Click and Clack the Tappet brothers
>
>
> --
> This message has been scanned for viruses and
> dangerous content by *MailScanner* , and is
> believed to be clean.
>
-- 
Brad Furman
bdfur...@gmail.com
(678) 907-8212

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: weewx-multi on RHEL

2018-05-25 Thread Pete Geenhuizen
Hmm that is much more complicated than my setup which consists of a 
computer running C7 which has a Davis VantageVue and a LaCross WS 
attached and sends the info via rsync to my web server.


Wouldn't you have the same problem with the weewx-multi script? I just 
never could get all the parameters worked out and merely split the 
weewx-multi into 2 separate start scripts.



On 05/25/2018 02:50 PM, bdf0506 wrote:

Bummer. But thanks for sharing.

I haven't tried this yet with two separate scripts. I think I am going 
to have issues when I do this because of the interceptor driver I am 
using for the Acurite smarthub. I have it set to listed on 8080 
(traffic is redirected from port 80). I'll be able to start the first 
instance just fine (to listen on 8080), but when I start the second, I 
will have a problem since the second will say that something is 
already listening on port 8080. I'll mess with that this weekend, but 
perhaps someone else here has experience with this.


On Friday, May 25, 2018 at 2:46:59 PM UTC-4, pgeenhuizen wrote:


On 05/25/2018 12:57 PM, bdf0506 wrote:

Once you change the paths, comment out some of the files that
aren't found, still fails as suchclearly you can't comment
out some of the files and expect it to work since it has
refrences later in the script to the commented out files.

[root@server01 init.d]$ service weewx stop
/etc/init.d/weewx: line 176: log_daemon_msg: command not found
/etc/init.d/weewx: line 179: log_end_msg: command not found
/etc/init.d/weewx: line 176: log_daemon_msg: command not found
/etc/init.d/weewx: line 179: log_end_msg: command not found

On Friday, May 25, 2018 at 12:51:31 PM UTC-4, bdf0506 wrote:

If you go through the setup here:
http://www.weewx.com/docs/redhat.htm


Then weewx-multi simply will not work (though weewx in single
mode will work just fine).

Anyone know the trick to make it work? I have modified the
weewx-multi script a bit to modify the locations of the
paths, but I still fail to find things like /var/lib/vars.sh
and don't even have those files available. Any ideas?

-- 


I tried and gave up on the multi start up and just created 2 init
scripts and now have 2 systemd scripts.
Pete

-- 
Unencumbered by the thought process.

  -- Click and Clack the Tappet brothers


-- 
This message has been scanned for viruses and

dangerous content by *MailScanner* ,
and is
believed to be clean.

--
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 
.

For more options, visit https://groups.google.com/d/optout.

--
This message has been scanned for viruses and
dangerous content by *MailScanner* , and is
believed to be clean. 


--
Unencumbered by the thought process.
 -- Click and Clack the Tappet brothers


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

--
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.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: weewx-multi on RHEL

2018-05-25 Thread bdf0506
Bummer. But thanks for sharing.

I haven't tried this yet with two separate scripts. I think I am going to 
have issues when I do this because of the interceptor driver I am using for 
the Acurite smarthub. I have it set to listed on 8080 (traffic is 
redirected from port 80). I'll be able to start the first instance just 
fine (to listen on 8080), but when I start the second, I will have a 
problem since the second will say that something is already listening on 
port 8080. I'll mess with that this weekend, but perhaps someone else here 
has experience with this.

On Friday, May 25, 2018 at 2:46:59 PM UTC-4, pgeenhuizen wrote:
>
>
> On 05/25/2018 12:57 PM, bdf0506 wrote:
>
> Once you change the paths, comment out some of the files that aren't 
> found, still fails as suchclearly you can't comment out some of the 
> files and expect it to work since it has refrences later in the script to 
> the commented out files. 
>
> [root@server01 init.d]$ service weewx stop
> /etc/init.d/weewx: line 176: log_daemon_msg: command not found
> /etc/init.d/weewx: line 179: log_end_msg: command not found
> /etc/init.d/weewx: line 176: log_daemon_msg: command not found
> /etc/init.d/weewx: line 179: log_end_msg: command not found
>
> On Friday, May 25, 2018 at 12:51:31 PM UTC-4, bdf0506 wrote: 
>>
>> If you go through the setup here: http://www.weewx.com/docs/redhat.htm 
>>
>> Then weewx-multi simply will not work (though weewx in single mode will 
>> work just fine).
>>
>> Anyone know the trick to make it work? I have modified the weewx-multi 
>> script a bit to modify the locations of the paths, but I still fail to find 
>> things like /var/lib/vars.sh and don't even have those files available. Any 
>> ideas?
>>
> -- 
>
>
> I tried and gave up on the multi start up and just created 2 init scripts 
> and now have 2 systemd scripts.
> Pete
>
> -- 
> Unencumbered by the thought process.  
>  -- Click and Clack the Tappet brothers 
>
>
> -- 
> This message has been scanned for viruses and 
> dangerous content by *MailScanner* , and is 
> believed to be clean. 
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: weewx-multi on RHEL

2018-05-25 Thread Pete Geenhuizen


On 05/25/2018 12:57 PM, bdf0506 wrote:
Once you change the paths, comment out some of the files that aren't 
found, still fails as suchclearly you can't comment out some of 
the files and expect it to work since it has refrences later in the 
script to the commented out files.


[root@server01 init.d]$ service weewx stop
/etc/init.d/weewx: line 176: log_daemon_msg: command not found
/etc/init.d/weewx: line 179: log_end_msg: command not found
/etc/init.d/weewx: line 176: log_daemon_msg: command not found
/etc/init.d/weewx: line 179: log_end_msg: command not found

On Friday, May 25, 2018 at 12:51:31 PM UTC-4, bdf0506 wrote:

If you go through the setup here:
http://www.weewx.com/docs/redhat.htm


Then weewx-multi simply will not work (though weewx in single mode
will work just fine).

Anyone know the trick to make it work? I have modified the
weewx-multi script a bit to modify the locations of the paths, but
I still fail to find things like /var/lib/vars.sh and don't even
have those files available. Any ideas?

--


I tried and gave up on the multi start up and just created 2 init 
scripts and now have 2 systemd scripts.

Pete

--
Unencumbered by the thought process.
 -- Click and Clack the Tappet brothers


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

--
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.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: weewx-multi on RHEL

2018-05-25 Thread bdf0506
Once you change the paths, comment out some of the files that aren't found, 
still fails as suchclearly you can't comment out some of the files and 
expect it to work since it has refrences later in the script to the 
commented out files.

[root@server01 init.d]$ service weewx stop
/etc/init.d/weewx: line 176: log_daemon_msg: command not found
/etc/init.d/weewx: line 179: log_end_msg: command not found
/etc/init.d/weewx: line 176: log_daemon_msg: command not found
/etc/init.d/weewx: line 179: log_end_msg: command not found

On Friday, May 25, 2018 at 12:51:31 PM UTC-4, bdf0506 wrote:
>
> If you go through the setup here: http://www.weewx.com/docs/redhat.htm
>
> Then weewx-multi simply will not work (though weewx in single mode will 
> work just fine).
>
> Anyone know the trick to make it work? I have modified the weewx-multi 
> script a bit to modify the locations of the paths, but I still fail to find 
> things like /var/lib/vars.sh and don't even have those files available. Any 
> ideas?
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.