I saw that thread. I'll bet the culprit is the application startup method. Past HS Pi offerings started the HSConsole app from /etc/rc.local, a throwback to the 1990's. Better to use systemd.
I just confirmed that when my HS4Pro rpi system is rebooted with no network attached, the homeseer service doesn't start. Once reattached, the service starts as normal and all is good.
Announcement
Collapse
No announcement yet.
What is xsp4.exe running on a new PiHubG3?
Collapse
X
-
Thanks guys. TBH, I don't think that's what's causing the problem but I wanted to know for sure what that was. I'm trying to help another user who can't connect to his PiHubG3 after a power outage. ps -eaf |grep mono confirms that HSConsole,exe is not running. further confirmed by netstat -tulpn |grep :80. The hub is connected directly to his router and the router takes several minutes to boot after the power outage. The hub is now set to a static IP in /etc/dhcpcd.conf (not just a DHCP reservation) but that still hasn't resolved the problem.
xsp4.exe is one of the things running on his PiHubG3 that isn't running on my Pi400 running HS4PiV5.
Leave a comment:
-
This is installed with mono-complete package. Apparently supports serving of mono documentation. Not used by HS applications.
mono-complete includes the mono-devel package needed to run HS applications, plus more:
Code:pi@HS4Pro:~ $apt-cache depends mono-complete mono-complete Depends: mono-runtime Depends: mono-runtime-sgen Depends: libmono-2.0-1 Depends: libmono-profiler Depends: mono-utils Depends: mono-devel Depends: mono-mcs Depends: mono-roslyn Depends: mono-csharp-shell Depends: mono-4.0-gac Depends: mono-4.0-service Depends: monodoc-base Depends: monodoc-manual Depends: libmono-cil-dev Depends: referenceassemblies-pcl Depends: msbuild Depends: ca-certificates-mono Suggests: mono-llvm-support
Code:dpkg -S /usr/bin/mono /usr/lib/mono/4.5/xsp4.exe
You can run up the dependency tree to determine what cause a particular package to be installed
Code:pi@HS4Pro:~ $apt-cache rdepends mono-xsp4 mono-xsp4 Reverse Depends: mono-xsp |monodoc-http mono-xsp |asp.net-examples |monodoc-http |asp.net-examples pi@HS4Pro:~ $ apt-cache rdepends monodoc-http monodoc-http Reverse Depends: |monodoc-manual |monodoc-manual pi@HS4Pro:~ $ apt-cache rdepends monodoc-manual monodoc-manual Reverse Depends: mono-complete ....
You can uninstall mono-xsp4 via
Code:sudo apt remove mono-xsp4
Code:sudo apt install mono-xsp4
- Likes 1
Leave a comment:
-
OK. Not related to HomeSeer. So the next question is "Why is it running on a PiHubG3?".
Leave a comment:
-
You can safely turn this off . This is just a server not related to HomeSeer.
https://manpages.ubuntu.com/manpages...an1/xsp.1.html
Code:sudo systemctl stop mono-xsp4.service && sudo systemctl disable mono-xsp4.service
Leave a comment:
-
What is xsp4.exe running on a new PiHubG3?
sudo ps -eaf |grep xsp4
/usr/bin/mono /usr/lib/mono/4.5/xsp4.exe --port 8084 --address 0.0.0.0 --appconfigdir /etc/xsp4 --nonstopTags: None
Leave a comment: