Michel Kohanim Posted December 19, 2019 Author Posted December 19, 2019 @Bumbershoot, thank you. This is odd as it should have come with pkg upgrade. Did you try that? If so, can you please do: sudo pkg install libbson With kind regards, Michel
Bumbershoot Posted December 19, 2019 Posted December 19, 2019 1 minute ago, Michel Kohanim said: @Bumbershoot, thank you. This is odd as it should have come with pkg upgrade. Did you try that? If so, can you please do: sudo pkg install libbson With kind regards, Michel Yep, I just did. [admin@polisy /var/udx/logs]$ sudo pkg install libbson Password: Updating udi repository catalogue... udi repository is up to date. All repositories are up to date. The following 1 package(s) will be affected (of 0 checked): New packages to be INSTALLED: libbson: 1.8.1 Number of packages to be installed: 1 142 KiB to be downloaded. Proceed with this action? [y/N]: y [1/1] Fetching libbson-1.8.1.txz: 100% 142 KiB 145.6kB/s 00:01 Checking integrity... done (0 conflicting) [1/1] Installing libbson-1.8.1... [1/1] Extracting libbson-1.8.1: 100%
gviliunas Posted December 19, 2019 Posted December 19, 2019 I tried installing libbson in the udx log I get repeating: [admin@polisy /var/udx/logs]$ sudo tail -f debug.log ld-elf.so.1: Shared object "libmongoc-1.0.so.1" not found, required by "udx-freebsd-x64" ld-elf.so.1: Shared object "libmongoc-1.0.so.1" not found, required by "udx-freebsd-x64"
Bumbershoot Posted December 19, 2019 Posted December 19, 2019 Not quite done, however: [admin@polisy /var/udx/logs]$ sudo tail -f debug.log Password: ld-elf.so.1: Shared object "libmongoc-1.0.so.1" not found, required by "udx-freebsd-x64" ld-elf.so.1: Shared object "libmongoc-1.0.so.1" not found, required by "udx-freebsd-x64" ld-elf.so.1: Shared object "libmongoc-1.0.so.1" not found, required by "udx-freebsd-x64"
gviliunas Posted December 19, 2019 Posted December 19, 2019 (edited) I think I got it. sudo install mongo-c-driver Got a beep then 2 beeps from Polisy and I can now see the configuration page. Edited December 19, 2019 by gviliunas
Bumbershoot Posted December 19, 2019 Posted December 19, 2019 This seems to take care of it: admin@polisy /var/udx/logs]$ sudo pkg install mongo-c-driver Password: Updating udi repository catalogue... udi repository is up to date. All repositories are up to date. The following 2 package(s) will be affected (of 0 checked): New packages to be INSTALLED: mongo-c-driver: 1.8.1 cyrus-sasl: 2.1.27 Number of packages to be installed: 2 The process will require 3 MiB more space. 579 KiB to be downloaded. Proceed with this action? [y/N]: y [1/2] Fetching mongo-c-driver-1.8.1.txz: 100% 350 KiB 358.3kB/s 00:01 [2/2] Fetching cyrus-sasl-2.1.27.txz: 100% 229 KiB 234.5kB/s 00:01 Checking integrity... done (0 conflicting) [1/2] Installing cyrus-sasl-2.1.27... *** Added group `cyrus' (id 60) *** Added user `cyrus' (id 60) [1/2] Extracting cyrus-sasl-2.1.27: 100% [2/2] Installing mongo-c-driver-1.8.1... [2/2] Extracting mongo-c-driver-1.8.1: 100% ===== Message from cyrus-sasl-2.1.27: -- You can use sasldb2 for authentication, to add users use: saslpasswd2 -c username If you want to enable SMTP AUTH with the system Sendmail, read Sendmail.README NOTE: This port has been compiled with a default pwcheck_method of auxprop. If you want to authenticate your user by /etc/passwd, PAM or LDAP, install ports/security/cyrus-sasl2-saslauthd and set sasl_pwcheck_method to saslauthd after installing the Cyrus-IMAPd 2.X port. You should also check the /usr/local/lib/sasl2/*.conf files for the correct pwcheck_method. If you want to use GSSAPI mechanism, install ports/security/cyrus-sasl2-gssapi. If you want to use SRP mechanism, install ports/security/cyrus-sasl2-srp. If you want to use LDAP auxprop plugin, install ports/security/cyrus-sasl2-ldapdb. [admin@polisy /var/udx/logs]$
Michel Kohanim Posted December 19, 2019 Author Posted December 19, 2019 Thank you all. I am going to include these dependencies in the package. With kind regards, Michel 1
gviliunas Posted December 19, 2019 Posted December 19, 2019 Okay, now I am into the Polisy Configuration Page. The Network data shown appears to be correct. I tried to change the timezone but had a problem. Selected to change to Vancouver -8 and received a confirmation popup and a green "success" bar but the timezone was still listed as LA. Restarted Polisy via the new System Menu selection. The timezone was still listed as LA. Changed this again to Vancouver and it worked this time. All appears to be working now!!
garybixler Posted December 19, 2019 Posted December 19, 2019 (edited) Hi Config for polisy now showing up. I do seem to have a problem with setting up a static ip address for interface igb0. After unchecking DHCP and entering all the ip information it says it is saved, but if I return to that screen DHCP is checked again and none of the ip data shows up. After rebooting I am now getting locked out with site cannot be reached refused connection. It did acquire a new address through DHCP. I can still reach it using ssh. Thanks Gary UPDATE: I was able to get back in but the static ip address info isn't being saved. Reverts back to DHCP. Thansk Gary Edited December 19, 2019 by garybixler
Michel Kohanim Posted December 19, 2019 Author Posted December 19, 2019 @garybixler, you can click on the reset button on the front (through the little hole in the middle), you will hear a beep, and polisy will go back to dhcp. With kind regards, Michel
garybixler Posted December 19, 2019 Posted December 19, 2019 Thanks Michel. I was able to get back in through DHCP. It does seem that static IP data isn't being saved.
Michel Kohanim Posted December 19, 2019 Author Posted December 19, 2019 Hi everyone, to install udx without having to worry about dependencies, please: 1. If you have already installed udx: sudo service udx stop sudo pkg delete udx 2. Download https://udx.s3-us-west-2.amazonaws.com/pkg/1.0.26/udx-1.0.26_4.txz 3. Go to the directory in 2: sudo pkg install ./udx-1.0.26_4.txz With kind regards, Michel
Michel Kohanim Posted December 19, 2019 Author Posted December 19, 2019 @garybixler, Can you please send /var/udx/logs/debug.log to support@Universal-devices.com ? With kind regards, Michel
DaveStLou Posted December 19, 2019 Posted December 19, 2019 52 minutes ago, Michel Kohanim said: Hi everyone, to install udx without having to worry about dependencies, please: 1. If you have already installed udx: sudo service udx stop sudo pkg delete udx 2. Download https://udx.s3-us-west-2.amazonaws.com/pkg/1.0.26/udx-1.0.26_4.txz 3. Go to the directory in 2: sudo pkg install ./udx-1.0.26_4.txz With kind regards, Michel Following these instructions, it's working for me now...
garybixler Posted December 19, 2019 Posted December 19, 2019 1 hour ago, Michel Kohanim said: Hi everyone, to install udx without having to worry about dependencies, please: 1. If you have already installed udx: sudo service udx stop sudo pkg delete udx 2. Download https://udx.s3-us-west-2.amazonaws.com/pkg/1.0.26/udx-1.0.26_4.txz 3. Go to the directory in 2: sudo pkg install ./udx-1.0.26_4.txz With kind regards, Michel All seems to be working now.
glarsen Posted December 19, 2019 Posted December 19, 2019 (edited) 29 minutes ago, garybixler said: All seems to be working now. All works well here too using the downloaded package. Though it doesn't seem impact anything, the MAC for the ethernet interface I'm using shows as "00:0d:ffffffb9:52:ffffffbf:fffffff4". The correct MAC is 00:0d:b9:52:bf:f4, so for some reason something is loading a bunch of extraneous "f"s. I'm using DHCP and it configures correctly, so this appears to be something spurious. Edit: Change the timezone to Victoria (-8) required the same steps reported by gviliunas. Edit2: The gateway address shows 0.0.0.0 although route show does display the correct gateway. Edited December 19, 2019 by glarsen
MWareman Posted December 20, 2019 Posted December 20, 2019 After installing udx: Download https://udx.s3-us-west-2.amazonaws.com/pkg/1.0.26/udx-1.0.26_4.txz sudo pkg install ./udx-1.0.26_4.txz and starting it with: sudo service udx start I am seeing this in the /var/udx/logs/debug.log [T:34373496832][SysConfig:Error]../src/System/UDXSysConfig.cpp:init:59::Cannot make a secure connection. Bailing out. [T:34373496832][HWMonitor:Error]../src/main.cpp:main:126::failed starting the SysConfig MQ And I still get stuck at the 'Please wait, getting configuration...' message....
Michel Kohanim Posted December 20, 2019 Author Posted December 20, 2019 @MWareman, This means two things: udx cannot connect to MQTT. Have you changed MQTT port or certificates? With kind regards, Michel
garybixler Posted December 20, 2019 Posted December 20, 2019 Very strange. Last night I could go to Polisy config at anytime even after a reboot but this morning I also get the 'Please wait, getting configuration...' message....' Don't know what would have changed overnight. Thanks Gary
simplextech Posted December 20, 2019 Posted December 20, 2019 1 minute ago, garybixler said: Very strange. Last night I could go to Polisy config at anytime even after a reboot but this morning I also get the 'Please wait, getting configuration...' message....' Don't know what would have changed overnight. Thanks Gary Have you logged into the box to see if the udx process was still running? Did it crash for some reason? Look at the logs?
garybixler Posted December 20, 2019 Posted December 20, 2019 Just checked. [admin@polisy ~]$ sudo service udx start udx already running? (pid=979)
Michel Kohanim Posted December 20, 2019 Author Posted December 20, 2019 @garybixler, Please do: ps -aux | grep udx and let me know what you see. With kind regards, Michel
simplextech Posted December 20, 2019 Posted December 20, 2019 3 minutes ago, garybixler said: Just checked. [admin@polisy ~]$ sudo service udx start udx already running? (pid=979) I suppose that's one way to check. Normally one would check the process table and see if the process is found, if it's been running for a while or not. Does a "start" the script checks if it's running but doesn't provide much information. Do you have anything in your logs that may point to why it's not displaying in the UI?
garybixler Posted December 20, 2019 Posted December 20, 2019 admin 3407 0.0 0.1 11248 2724 0 S+ 10:24 0:00.01 grep udx
Michel Kohanim Posted December 20, 2019 Author Posted December 20, 2019 @garybixler, thank you. Please send me your /var/udx/logs/debug.log to support@Universal-devices.com . With kind regards, Michel
Recommended Posts