I am unsure what happened, but I restored a backup copy of my weewx.conf and it 
is back up and running! Holy cow, whatever happened took the entire thing down. 
Thank god for backups!

 

From: [email protected] <[email protected]> On Behalf Of 
Mitchell Tuckness
Sent: Sunday, October 16, 2022 10:09 AM
To: weewx-user <[email protected]>
Subject: [weewx-user] Re: MQTT Troubleshooting Help

 

It looks like it might be Weewx itself that is not launching. Seems maybe the 
Ubuntu Pro did something to prevent Weewx from loading. I am looking back into 
the syslog and I see stuff like this:

 

Oct 16 09:49:42 weewx-pi systemd[1]: weewx.service: Main process exited, 
code=exited, status=2/INVALIDARGUMENT
Oct 16 09:49:42 weewx-pi systemd[1]: weewx.service: Failed with result 
'exit-code'.

 

and:

 

Oct 16 09:50:01 weewx-pi kernel: [   81.929080] audit: type=1400 
audit(1665935401.678:43): apparmor="DENIED" operation="capable" 
profile="/snap/snapd/17029/usr/lib/snapd/snap-confine" pid=796 
comm="snap-confine" capability=12  capname="net_admin"
Oct 16 09:50:01 weewx-pi kernel: [   81.929423] audit: type=1400 
audit(1665935401.678:44): apparmor="DENIED" operation="capable" 
profile="/snap/snapd/17029/usr/lib/snapd/snap-confine" pid=796 
comm="snap-confine" capability=38  capname="perfmon"

 

Got to try and figure out how to get it to launch; maybe do a reinstall of 
weewx? 

On Sunday, October 16, 2022 at 9:20:53 AM UTC-6 Mitchell Tuckness wrote:

Hi All,

 

I need some help with MQTT. I have had MQTT running for over a year, I had a 
few issues, but I was wable to figure them out over time. Its been running 
greate for about eight months. 

 

I run a Virtual Box Guest VM with Ubuntu and Mosquitto MQTT as the MQTT server. 
Then I run my Weewx on an old laptop. The guest VM's for SQL, MQTT, and Apache 
running a Reverse Proxy (that interfaces for all my webpages) run on a server 
running Lubuntu.

 

I saw that the latest Ubuntu had a feature called ubuntu Pro. We could register 
five machines up for free. It gives updates and longer support and all that, so 
I figured what the heck and I added it to 1. My Weewx Server. 2-3. The two 
Lubuntu servers virtualbox. 4. The R-Proxy server and 5. My webserver.

 

Now, I have to say, I can't see a way for Ubuntu Pro to break MQTT, but after 
installing it, MQTT stopped working. It runs, I see things connecting to it, 
but Ubuntu Pro did install a patch on the Lubuntu server, but I can't find what 
patch it was. Is it possible that the CVE patch it installed on the Lubuntu 
server impacted something to interfer with MQTT connections?

 

Are there any steps I can do to troubleshoot this? I don't even know were to 
start. 

 

If anyone wants to take a stab at it, i can provide any logs, just ask. I don't 
want to fiull the post up with random logs. It is weird. The only thing I can 
think of is that the patch, whatever patch it was that it applied on the 
Lubuntu server that runs VirtualBox and the MQTT VM, changed something so the 
MQTT server isn't establishing the tunnel to update the live stream.

 

 

-- 
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/UAQYEGPQ5gk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
[email protected] 
<mailto:[email protected]> .
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/1f4983b3-6716-4c0d-82d0-e4959d3131fan%40googlegroups.com
 
<https://groups.google.com/d/msgid/weewx-user/1f4983b3-6716-4c0d-82d0-e4959d3131fan%40googlegroups.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/027701d8e17d%2400cf8030%24026e8090%24%40maladomini.com.

Reply via email to