Jump to content

Recommended Posts

Posted
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%

 

Posted

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"
 

Posted

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"

 

Posted (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 by gviliunas
Posted

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]$ 

 

Posted

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

 

Posted (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 by garybixler
Posted
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...

image.png.217e5de0c8403e81e33f4aa52d7cc390.png

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

Posted (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 by glarsen
Posted

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

Posted

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

Posted
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?

Posted
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?

Guest
This topic is now closed to further replies.

  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

    • There are no registered users currently online
  • Forum Statistics

    • Total Topics
      37k
    • Total Posts
      371.3k
×
×
  • Create New...