After much trying, I've gotten genieacs-cwmp to the point where it's only displaying one error (nbi and fs work fine):
/usr/local/lib/node_modules/genieacs/node_modules/libxmljs/node_modules/bindings/bindings.js:91
throw err
^
Error: Could not locate the bindings file. Tried:
→ /usr/local/lib/node_modules/genieacs/node_modules/libxmljs/build/xmljs.node
→ /usr/local/lib/node_modules/genieacs/node_modules/libxmljs/build/Debug/xmljs.node
→ /usr/local/lib/node_modules/genieacs/node_modules/libxmljs/build/Release/xmljs.node
→ /usr/local/lib/node_modules/genieacs/node_modules/libxmljs/out/Debug/xmljs.node
→ /usr/local/lib/node_modules/genieacs/node_modules/libxmljs/Debug/xmljs.node
→ /usr/local/lib/node_modules/genieacs/node_modules/libxmljs/out/Release/xmljs.node
→ /usr/local/lib/node_modules/genieacs/node_modules/libxmljs/Release/xmljs.node
→ /usr/local/lib/node_modules/genieacs/node_modules/libxmljs/build/default/xmljs.node
→ /usr/local/lib/node_modules/genieacs/node_modules/libxmljs/compiled/0.10.25/linux/x64/xmljs.node
at bindings (/usr/local/lib/node_modules/genieacs/node_modules/libxmljs/node_modules/bindings/bindings.js:88:9)
at Object.<anonymous> (/usr/local/lib/node_modules/genieacs/node_modules/libxmljs/lib/bindings.js:1:99)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/usr/local/lib/node_modules/genieacs/node_modules/libxmljs/index.js:4:16)
at Module._compile (module.js:456:26)
14 Oct 18:06:09 - Worker 31682 died (8)
Trying to get genieacs core to work fire before I install GUI...
Kris
On October 14, 2016 at 2:13 PM Kris Germann <[email protected]> wrote:I'm getting an error in the GUI as the /genieacs/bin/genieacs-nbi etc... aren't running:
Errno::ECONNREFUSED in HomeController#index
Failed to open TCP connection to localhost:7557 (Connection refused - connect(2) for "localhost" port 7557)
Extracted source (around line #17):
15 16 17 18 19 20 threads << Thread.new(slice) do |slice|http = create_api_conn()res = http.head("/devices/?query=#{CGI::escape ActiveSupport::JSON.encode(slice['query'])}")slice['data'] = res['Total'].to_islice['href'] = url_for(controller: 'devices', action: 'index', params: {query: ActiveSupport::JSON.encode(slice['query'])}, only_path: true)slice.delete('query')The error when I manually try to run '/genieacs/bin/genieacs-nbi'root@config:/genieacs-gui# /genieacs/bin/genieacs-nbi
/usr/local/lib/node_modules/genieacs/node_modules/mongodb/lib/mongodb/mongo_client.js:409
/usr/local/lib/node_modules/genieacs/node_modules/mongodb/lib/mongodb/mongo_client.js:409
throw err
throw err
^
^
Error: failed to connect to [127.0.0.1:27017]
at null.<anonymous> (/usr/local/lib/node_modules/genieacs/node_modules/mongodb/lib/mongodb/connection/server.js:556:74)
at EventEmitter.emit (events.js:106:17)
at null.<anonymous> (/usr/local/lib/node_modules/genieacs/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:156:15)
at EventEmitter.emit (events.js:98:17)
at Socket.<anonymous> (/usr/local/lib/node_modules/genieacs/node_modules/mongodb/lib/mongodb/connection/connection.js:534:10)
at Socket.EventEmitter.emit (events.js:95:17)
at net.js:441:14
at process._tickDomainCallback (node.js:459:13)
Error: failed to connect to [127.0.0.1:27017]
at null.<anonymous> (/usr/local/lib/node_modules/genieacs/node_modules/mongodb/lib/mongodb/connection/server.js:556:74)
at EventEmitter.emit (events.js:106:17)
at null.<anonymous> (/usr/local/lib/node_modules/genieacs/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:156:15)
at EventEmitter.emit (events.js:98:17)
at Socket.<anonymous> (/usr/local/lib/node_modules/genieacs/node_modules/mongodb/lib/mongodb/connection/connection.js:534:10)
at Socket.EventEmitter.emit (events.js:95:17)
at net.js:441:14
at process._tickDomainCallback (node.js:459:13)
14 Oct 14:11:58 - Worker 6771 died (8)
14 Oct 14:11:58 - Worker 6772 died (8)
/usr/local/lib/node_modules/genieacs/node_modules/mongodb/lib/mongodb/mongo_client.js:409
throw err
I even get this error now after running:
cd <genieacs directory>
rm -r ./node_modules
npm install node-gypnpm installAny help would be appreciated,
Kris
_______________________________________________ Users mailing list [email protected] http://lists.genieacs.com/mailman/listinfo/users
