Jump to content

Recommended Posts

Posted

Two installed but  devel/py-pip@py37  security/py-certbot@py37   net/py-netifaces@py37 all got a similar message.

pkg: No packages available to install matching 'net/py-netifaces@py37' have been found in the repositories

 

Thanks Gary
 

Posted
Just now, garybixler said:

Still getting no packages for py-pip and py-cerbot or py-certbot

 

That's because the package names are wrong.

py37-certbot

py37-pip

py37-netifaces

 

Posted

Hi

Unfortunately I rebooted polisy and tried installing Tesla NS and get the same error message. cloneRepo: Error: runInstallProcess: undefined

I can install it into my local Rpi with no problem.

Thanks Gary

Posted
19 minutes ago, garybixler said:

Hi

Unfortunately I rebooted polisy and tried installing Tesla NS and get the same error message. cloneRepo: Error: runInstallProcess: undefined

I can install it into my local Rpi with no problem.

Thanks Gary

That error is when it's trying to run the install.sh from local.  The install is just trying to run npm install.

None of that is python related.

What's in your polisy logs?

Posted (edited)
10 minutes ago, garybixler said:

The polisy log is over 5000 lines and never scrolls to the end without the pc getting over loaded. Is there a way to clear the polisy log?

yeah... log rotation needs to be setup....

do this:

sudo -s
cat /dev/null > /var/polyglot/log/debug.log
exit

You have to do the sudo -s to change directly to root because the typical 'cat /dev/null ' will give a permission denied

That will clear the log.  Then run the install of Tesla NS again and see what info you get and post it.

Edited by simplextech
Posted

Excellent got the log

019-11-29 17:17:33 [polyglot] info: NSChild cloneRepo: Successfully cloned Tesla into NodeServer directory. 2019-11-29 17:17:34 [polyglot] error: NSChild: Install failed - Non-zero exit code: 1 2019-11-29 17:17:34 [polyglot] error: NSChild: Tesla cloneRepo: Error: runInstallProcess: undefined 2019-11-29 17:17:34 [polyglot] error: Error: runInstallProcess: undefined at runInstallProcess (/snapshot/polyglot-v2/lib/modules/children.js:45:11) at <anonymous> at process._tickCallback (internal/process/next_tick.js:188:7) 2019-11-29 17:17:34 [polyglot] error: NSResponse: Success: false - cloneRepo: Error: runInstallProcess: undefined 2019-11-29 17:17:34 [polyglot] info: WirelessTag(3): Processing command: status 2019-11-29 17:17:34 [polyglot] info: WirelessTag(3): Processing command: status

 

Posted

Next try this. 

cd /var/polyglot/nodeservers/Tesla
sudo -u polyglot npm install

This is what my output looks like:

[admin@polisy /var/polyglot/nodeservers/Tesla]$ sudo -u polyglot npm install
npm WARN tesla@1.0.4 No repository field.

audited 1164 packages in 8.834s
found 0 vulnerabilities

Post the errors or information if it's different than mine.

Posted
18 minutes ago, garybixler said:

this is my return message: ld-elf.so.1: /lib/libcrypto.so.111: version OPENSSL_1_1_1b required by /usr/local/bin/node not found

now that's very odd as libcrypto is part of the FreeBSD base.  Have you updated the system since receiving it?

Posted (edited)

I have updated twice. Maybe three times if you count the very first. I'm at 2.2.6 now. I wonder if a power reset could have corrupted something.

This all did start after the second update.

Edited by garybixler
Posted
1 minute ago, garybixler said:

I have updated twice. Maybe three times if you count the very first. I'm at 2.2.6 now. I wonder if a power reset could have corrupted something.

doubtful

run a ldd /usr/local/bin/node and paste the output

Posted

[admin@polisy ~]$ ldd /usr/local/bin/node and paste the output
/usr/local/bin/node:
        libz.so.6 => /lib/libz.so.6 (0x802113000)
        libuv.so.1 => /usr/local/lib/libuv.so.1 (0x80212d000)
        libcares.so.2 => /usr/local/lib/libcares.so.2 (0x802159000)
        libnghttp2.so.14 => /usr/local/lib/libnghttp2.so.14 (0x802174000)
        libcrypto.so.111 => /lib/libcrypto.so.111 (0x8021a1000)
        libssl.so.111 => /usr/lib/libssl.so.111 (0x80248e000)
        libicui18n.so.65 => /usr/local/lib/libicui18n.so.65 (0x802523000)
        libicuuc.so.65 => /usr/local/lib/libicuuc.so.65 (0x802852000)
        libicudata.so.65 => /usr/local/lib/libicudata.so.65 (0x802a4e000)
        libelf.so.2 => /lib/libelf.so.2 (0x802a50000)
        libutil.so.9 => /lib/libutil.so.9 (0x802a6a000)
        libkvm.so.7 => /lib/libkvm.so.7 (0x802a81000)
        libexecinfo.so.1 => /usr/lib/libexecinfo.so.1 (0x802a94000)
        libc++.so.1 => /usr/lib/libc++.so.1 (0x802a99000)
        libcxxrt.so.1 => /lib/libcxxrt.so.1 (0x802b68000)
        libm.so.5 => /lib/libm.so.5 (0x802b89000)
        libthr.so.3 => /lib/libthr.so.3 (0x802bbb000)
        libc.so.7 => /lib/libc.so.7 (0x802be6000)
        librt.so.1 => /usr/lib/librt.so.1 (0x802fce000)
        libdl.so.1 => /usr/lib/libdl.so.1 (0x802fd6000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x802fda000)
ldd: and: No such file or directory
ldd: paste: No such file or directory
ldd: the: No such file or directory
ldd: output: No such file or directory
[admin@polisy ~]$
 

Posted

Added to much the first time

 

/usr/local/bin/node:
        libz.so.6 => /lib/libz.so.6 (0x802113000)
        libuv.so.1 => /usr/local/lib/libuv.so.1 (0x80212d000)
        libcares.so.2 => /usr/local/lib/libcares.so.2 (0x802159000)
        libnghttp2.so.14 => /usr/local/lib/libnghttp2.so.14 (0x802174000)
        libcrypto.so.111 => /lib/libcrypto.so.111 (0x8021a1000)
        libssl.so.111 => /usr/lib/libssl.so.111 (0x80248e000)
        libicui18n.so.65 => /usr/local/lib/libicui18n.so.65 (0x802523000)
        libicuuc.so.65 => /usr/local/lib/libicuuc.so.65 (0x802852000)
        libicudata.so.65 => /usr/local/lib/libicudata.so.65 (0x802a4e000)
        libelf.so.2 => /lib/libelf.so.2 (0x802a50000)
        libutil.so.9 => /lib/libutil.so.9 (0x802a6a000)
        libkvm.so.7 => /lib/libkvm.so.7 (0x802a81000)
        libexecinfo.so.1 => /usr/lib/libexecinfo.so.1 (0x802a94000)
        libc++.so.1 => /usr/lib/libc++.so.1 (0x802a99000)
        libcxxrt.so.1 => /lib/libcxxrt.so.1 (0x802b68000)
        libm.so.5 => /lib/libm.so.5 (0x802b89000)
        libthr.so.3 => /lib/libthr.so.3 (0x802bbb000)
        libc.so.7 => /lib/libc.so.7 (0x802be6000)
        librt.so.1 => /usr/lib/librt.so.1 (0x802fce000)
        libdl.so.1 => /usr/lib/libdl.so.1 (0x802fd6000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x802fda000)
[admin@polisy ~]$
 

Posted
Quote

        libcrypto.so.111 => /lib/libcrypto.so.111 (0x8021a1000)

The ldd output shows that the libcrypto library is there and available.  That's point to a possible path issue from when you ran things manually.  Yet it does not explain why it's failing when running through Polyglot or even why it didn't work when running through sudo.  Hmm...

Posted (edited)

Well can perhaps try upgrading node and npm and see... maybe...

Try the following:

sudo pkg upgrade node

sudo pkg upgrade npm

The next would be a remove and re-install....

sudo pkg remove npm

sudo pkg remove node

--- Re-Install

sudo pkg install node

sudo pkg install npm

 

Edited by simplextech
Posted

Ok I did the remove and re-install and rebooted the policy but still get this error when installing Tesla NS

2019-11-29 18:12:14 [polyglot] error: NSChild: Tesla cloneRepo: Error: runInstallProcess: undefined 2019-11-29 18:12:14 [polyglot] error: Error: runInstallProcess: undefined at runInstallProcess (/snapshot/polyglot-v2/lib/modules/children.js:45:11) at <anonymous> at process._tickCallback (internal/process/next_tick.js:188:7) 2019-11-29 18:12:14 [polyglot] error: NSResponse: Success: false - cloneRepo: Error: runInstallProcess: undefined

Posted

Well back to this then.  See if you still get the same error:

cd /var/polyglot/nodeservers/Tesla

sudo -u polyglot npm install

Make sure the first command runs correctly and you are actually in the Tesla directory.  Then run the second sudo command.

Posted

Unfortunately the same.

[admin@polisy /var/polyglot/nodeservers/Tesla]$ sudo -u polyglot npm install
Password:
ld-elf.so.1: /lib/libcrypto.so.111: version OPENSSL_1_1_1b required by /usr/local/bin/node not found
[admin@polisy /var/polyglot/nodeservers/Tesla]$
 

Posted

On another note.  I was able to replicate the error with a different nodeserver on my test system.  The error is being caused by a missing dependency which is then display/presented by Polyglot as the "runInstallProcess: undefined" error.

I'm not sure what your Polisy is missing compared to mine.  If you run a "pkg info" and then paste the output I'll run a compare against what I have installed and see if there's a difference.

Posted

[admin@polisy ~]$ pkg info
bash-5.0.11                    GNU Project's Bourne Again SHell
boost-libs-1.71.0_2            Free portable C++ libraries (without Boost.Python)
c-ares-1.15.0_1                Asynchronous DNS resolver library
ca_root_nss-3.47.1             Root certificate bundle from the Mozilla Project
curl-7.67.0                    Command line tool and library for transferring data with URLs
cvsps-2.1_2                    Create patchset information from CVS
dmidecode-3.2                  Tool for dumping DMI (SMBIOS) contents in human-readable format
dual-dhclient-1.0_1            Spawns dhclients for a dual-stack network
e2fsprogs-libuuid-1.45.3       UUID library from e2fsprogs package
expat-2.2.8                    XML 1.0 parser written in C
flashrom-1.1                   Utility for reading, writing, verifying, and erasing flash ROM chips
gettext-runtime-0.20.1         GNU gettext runtime libraries and programs
git-2.24.0                     Distributed source code management tool
gmake-4.2.1_3                  GNU version of 'make' utility
icu-65.1,1                     International Components for Unicode (from IBM)
indexinfo-0.3.1                Utility to regenerate the GNU info page index
isc-dhcp44-client-4.4.1_1      The ISC Dynamic Host Configuration Protocol client
libconfuse-3.2.1_1             Configuration file parsing library
libffi-3.2.1_3                 Foreign Function Interface
libftdi1-1.4_13                Library (using libusb) to talk to FTDI chips
libnghttp2-1.40.0              HTTP/2.0 C Library
libpci-3.6.2                   PCI configuration space I/O made easy
libuv-1.33.1                   Multi-platform support library with a focus on asynchronous I/O
libwebsockets-2.4.2            C library for lightweight websocket clients and servers
 

Posted

Is that all that it's showing you?  I have a lot more.  Your output isn't even showing mongodb or mosquitto which are necessary for polyglot to run.  I don't see node or npm or any of the python packages in your output.

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