Netonix Manager on CentOS 7 install issue
Posted: Thu Jan 14, 2021 1:06 pm
Hello,
I am trying to install Netonix Manager on a CentOS 7 server and have been able to download netonix-manager-1.0.17.tar.gz, unzip, run "export NODE_ENV=production" and also "node bootloader.js" but still get the following:
# node bootloader.js
starting child process
Error: Cannot find module '../build/Release/bson'
Require stack:
- /opt/netonix-manager/node_modules/bson/ext/index.js
- /opt/netonix-manager/node_modules/bson/lib/bson/index.js
- /opt/netonix-manager/node_modules/mongodb/lib/mongodb/index.js
- /opt/netonix-manager/node_modules/mongoose/lib/utils.js
- /opt/netonix-manager/node_modules/mongoose/lib/schema.js
- /opt/netonix-manager/node_modules/mongoose/lib/index.js
- /opt/netonix-manager/node_modules/mongoose/index.js
- /opt/netonix-manager/app.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
at Function.Module._load (internal/modules/cjs/loader.js:725:27)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object.<anonymous> (/opt/netonix-manager/node_modules/bson/ext/index.js:15:10)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/opt/netonix-manager/node_modules/bson/ext/index.js',
'/opt/netonix-manager/node_modules/bson/lib/bson/index.js',
'/opt/netonix-manager/node_modules/mongodb/lib/mongodb/index.js',
'/opt/netonix-manager/node_modules/mongoose/lib/utils.js',
'/opt/netonix-manager/node_modules/mongoose/lib/schema.js',
'/opt/netonix-manager/node_modules/mongoose/lib/index.js',
'/opt/netonix-manager/node_modules/mongoose/index.js',
'/opt/netonix-manager/app.js'
]
}
Express server listening on port 3443
...but still no web UI
node --version
v14.15.4
I am trying to install Netonix Manager on a CentOS 7 server and have been able to download netonix-manager-1.0.17.tar.gz, unzip, run "export NODE_ENV=production" and also "node bootloader.js" but still get the following:
# node bootloader.js
starting child process
Error: Cannot find module '../build/Release/bson'
Require stack:
- /opt/netonix-manager/node_modules/bson/ext/index.js
- /opt/netonix-manager/node_modules/bson/lib/bson/index.js
- /opt/netonix-manager/node_modules/mongodb/lib/mongodb/index.js
- /opt/netonix-manager/node_modules/mongoose/lib/utils.js
- /opt/netonix-manager/node_modules/mongoose/lib/schema.js
- /opt/netonix-manager/node_modules/mongoose/lib/index.js
- /opt/netonix-manager/node_modules/mongoose/index.js
- /opt/netonix-manager/app.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
at Function.Module._load (internal/modules/cjs/loader.js:725:27)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object.<anonymous> (/opt/netonix-manager/node_modules/bson/ext/index.js:15:10)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/opt/netonix-manager/node_modules/bson/ext/index.js',
'/opt/netonix-manager/node_modules/bson/lib/bson/index.js',
'/opt/netonix-manager/node_modules/mongodb/lib/mongodb/index.js',
'/opt/netonix-manager/node_modules/mongoose/lib/utils.js',
'/opt/netonix-manager/node_modules/mongoose/lib/schema.js',
'/opt/netonix-manager/node_modules/mongoose/lib/index.js',
'/opt/netonix-manager/node_modules/mongoose/index.js',
'/opt/netonix-manager/app.js'
]
}
Express server listening on port 3443
...but still no web UI
node --version
v14.15.4