Netonix Manager / Control Software

PBX-Tech
Member
 
Posts: 12
Joined: Sun Aug 16, 2015 10:54 pm
Location: San Diego
Has thanked: 2 times
Been thanked: 3 times

Re: Netonix Manager / Control Software

Sat May 21, 2016 2:55 pm

With Manager rc7, I was able to successfully upgrade my WS-6-MINI from rc19 to 1.4.0 final.

User avatar
ryanm
Member
 
Posts: 63
Joined: Tue Jul 29, 2014 11:00 pm
Has thanked: 36 times
Been thanked: 16 times

Re: Netonix Manager / Control Software

Sat May 21, 2016 9:45 pm

Trying to download the Windows EXE

You don't have permission to access /netonix-manager/netonix-manager-1.0.0rc7.exe on this server.

User avatar
adairw
Associate
Associate
 
Posts: 465
Joined: Wed Nov 05, 2014 11:47 pm
Location: Amarillo, TX
Has thanked: 98 times
Been thanked: 132 times

Re: Netonix Manager / Control Software

Sun May 22, 2016 11:47 am

I've tried to install the netonix manager twice now on a fresh install of debian 8.4 and ubuntu 15.something.
in both cases I installed node.js and the manager and when I list the running services instead of it having a + or a - to show it's running status is has a "?" by the service name.
went a step further and installed a LAMP stack, same thing.
What am I missing? I have it running on windows but really want to move it to a linux server.

User avatar
Eric Stern
Employee
Employee
 
Posts: 532
Joined: Wed Apr 09, 2014 9:41 pm
Location: Toronto, Ontario
Has thanked: 0 time
Been thanked: 130 times

Re: Netonix Manager / Control Software

Sun May 22, 2016 1:31 pm

ryanm wrote:Trying to download the Windows EXE

You don't have permission to access /netonix-manager/netonix-manager-1.0.0rc7.exe on this server.


I fixed the permissions, you can download it now.

User avatar
Eric Stern
Employee
Employee
 
Posts: 532
Joined: Wed Apr 09, 2014 9:41 pm
Location: Toronto, Ontario
Has thanked: 0 time
Been thanked: 130 times

Re: Netonix Manager / Control Software

Sun May 22, 2016 2:03 pm

adairw wrote:I've tried to install the netonix manager twice now on a fresh install of debian 8.4 and ubuntu 15.something.
in both cases I installed node.js and the manager and when I list the running services instead of it having a + or a - to show it's running status is has a "?" by the service name.
went a step further and installed a LAMP stack, same thing.
What am I missing? I have it running on windows but really want to move it to a linux server.


I just published 1.0.0rc8 that will fix this. The node executable is "nodejs" on Ubuntu and not "node" as it is on other platforms.

User avatar
adairw
Associate
Associate
 
Posts: 465
Joined: Wed Nov 05, 2014 11:47 pm
Location: Amarillo, TX
Has thanked: 98 times
Been thanked: 132 times

Re: Netonix Manager / Control Software

Sun May 22, 2016 2:16 pm

fetched rc 8 and installed it over the top of rc7. same thing. wont start

User avatar
Eric Stern
Employee
Employee
 
Posts: 532
Joined: Wed Apr 09, 2014 9:41 pm
Location: Toronto, Ontario
Has thanked: 0 time
Been thanked: 130 times

Re: Netonix Manager / Control Software

Sun May 22, 2016 2:32 pm

Try this
cd /opt/netonix-manager
nodejs bootloader.js

If that doesn't run try
nodejs app.js

In either case show me any errors it outputs.

User avatar
adairw
Associate
Associate
 
Posts: 465
Joined: Wed Nov 05, 2014 11:47 pm
Location: Amarillo, TX
Has thanked: 98 times
Been thanked: 132 times

Re: Netonix Manager / Control Software

Sun May 22, 2016 3:03 pm

still no dice. I'm sure it's something I'm doing wrong. but tested on debian and ubuntu.

Code: Select all
root@netonix:/home/adair# cd /opt/netonix-manager/
root@netonix:/opt/netonix-manager# nodejs bootloader.js
starting child process
{ [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }
Express server listening on port 3000
{ [Error: ENOENT, open '/opt/netonix-manager/storage/configs']
 errno: 34,
 code: 'ENOENT',
 path: '/opt/netonix-manager/storage/configs' }
process exit code 8
starting child process
{ [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }
Express server listening on port 3000
{ [Error: ENOENT, open '/opt/netonix-manager/storage/configs']
 errno: 34,
 code: 'ENOENT',
 path: '/opt/netonix-manager/storage/configs' }
process exit code 8
starting child process
{ [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }
Express server listening on port 3000
{ [Error: ENOENT, open '/opt/netonix-manager/storage/configs']
 errno: 34,
 code: 'ENOENT',
 path: '/opt/netonix-manager/storage/configs' }
process exit code 8
starting child process
{ [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }
Express server listening on port 3000
{ [Error: ENOENT, open '/opt/netonix-manager/storage/configs']
 errno: 34,
 code: 'ENOENT',
 path: '/opt/netonix-manager/storage/configs' }
process exit code 8
starting child process
{ [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }
Express server listening on port 3000
{ [Error: ENOENT, open '/opt/netonix-manager/storage/configs']
 errno: 34,
 code: 'ENOENT',
 path: '/opt/netonix-manager/storage/configs' }
process exit code 8
starting child process
{ [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }
Express server listening on port 3000
{ [Error: ENOENT, open '/opt/netonix-manager/storage/configs']
 errno: 34,
 code: 'ENOENT',
 path: '/opt/netonix-manager/storage/configs' }
process exit code 8
starting child process
{ [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }
^Croot@netonix:/opt/netonix-manager# nodejs app.js
{ [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }
js-bson: Failed to load c++ bson extension, using pure JS version
Express server listening on port 3000
{ [Error: ENOENT, open '/opt/netonix-manager/storage/configs']
 errno: 34,
 code: 'ENOENT',
 path: '/opt/netonix-manager/storage/configs' }
/opt/netonix-manager/app.js:556
 results.forEach(function (schedule) {
 ^
TypeError: Cannot call method 'forEach' of undefined
 at Promise.<anonymous> (/opt/netonix-manager/app.js:556:17)
 at Promise.<anonymous> (/opt/netonix-manager/node_modules/mongoose/node_modules/mpromise/lib/promise.js:172:8)
 at Promise.emit (events.js:95:17)
 at Promise.emit (/opt/netonix-manager/node_modules/mongoose/node_modules/mpromise/lib/promise.js:84:38)
 at Promise.reject (/opt/netonix-manager/node_modules/mongoose/node_modules/mpromise/lib/promise.js:111:15)
 at Promise.error (/opt/netonix-manager/node_modules/mongoose/lib/promise.js:95:15)
 at Object.cb (/opt/netonix-manager/node_modules/mongoose/lib/query.js:1013:29)
 at Object._onImmediate (/opt/netonix-manager/node_modules/mongoose/node_modules/mquery/lib/utils.js:137:16)
 at processImmediate [as _immediateCallback] (timers.js:336:15)
root@netonix:/opt/netonix-manager# su
root@netonix:/opt/netonix-manager# nodejs bootloader.js
starting child process
{ [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }
Express server listening on port 3000
{ [Error: ENOENT, open '/opt/netonix-manager/storage/configs']
 errno: 34,
 code: 'ENOENT',
 path: '/opt/netonix-manager/storage/configs' }
process exit code 8
starting child process
{ [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }
Express server listening on port 3000
{ [Error: ENOENT, open '/opt/netonix-manager/storage/configs']
 errno: 34,
 code: 'ENOENT',
 path: '/opt/netonix-manager/storage/configs' }
process exit code 8
starting child process
{ [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }
Express server listening on port 3000
{ [Error: ENOENT, open '/opt/netonix-manager/storage/configs']
 errno: 34,
 code: 'ENOENT',
 path: '/opt/netonix-manager/storage/configs' }
process exit code 8
starting child process
{ [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }
Express server listening on port 3000
{ [Error: ENOENT, open '/opt/netonix-manager/storage/configs']
 errno: 34,
 code: 'ENOENT',
 path: '/opt/netonix-manager/storage/configs' }
process exit code 8
starting child process
{ [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }
Express server listening on port 3000
{ [Error: ENOENT, open '/opt/netonix-manager/storage/configs']
 errno: 34,
 code: 'ENOENT',
 path: '/opt/netonix-manager/storage/configs' }
process exit code 8
starting child process
{ [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }
Express server listening on port 3000
{ [Error: ENOENT, open '/opt/netonix-manager/storage/configs']
 errno: 34,
 code: 'ENOENT',
 path: '/opt/netonix-manager/storage/configs' }
process exit code 8
starting child process
{ [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }
Express server listening on port 3000
{ [Error: ENOENT, open '/opt/netonix-manager/storage/configs']
 errno: 34,
 code: 'ENOENT',
 path: '/opt/netonix-manager/storage/configs' }
process exit code 8
starting child process
{ [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }
Express server listening on port 3000
{ [Error: ENOENT, open '/opt/netonix-manager/storage/configs']
 errno: 34,
 code: 'ENOENT',
 path: '/opt/netonix-manager/storage/configs' }
process exit code 8
starting child process
{ [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }
Express server listening on port 3000
{ [Error: ENOENT, open '/opt/netonix-manager/storage/configs']
 errno: 34,
 code: 'ENOENT',
 path: '/opt/netonix-manager/storage/configs' }
process exit code 8
starting child process
{ [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }
Express server listening on port 3000
{ [Error: ENOENT, open '/opt/netonix-manager/storage/configs']
 errno: 34,
 code: 'ENOENT',
 path: '/opt/netonix-manager/storage/configs' }
process exit code 8
starting child process
{ [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }
Express server listening on port 3000
{ [Error: ENOENT, open '/opt/netonix-manager/storage/configs']
 errno: 34,
 code: 'ENOENT',
 path: '/opt/netonix-manager/storage/configs' }
process exit code 8
starting child process
{ [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }
Express server listening on port 3000
{ [Error: ENOENT, open '/opt/netonix-manager/storage/configs']
 errno: 34,
 code: 'ENOENT',
 path: '/opt/netonix-manager/storage/configs' }
process exit code 8
starting child process
{ [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }
Express server listening on port 3000
{ [Error: ENOENT, open '/opt/netonix-manager/storage/configs']
 errno: 34,
 code: 'ENOENT',
 path: '/opt/netonix-manager/storage/configs' }
process exit code 8
starting child process
{ [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }
Express server listening on port 3000
{ [Error: ENOENT, open '/opt/netonix-manager/storage/configs']
 errno: 34,
 code: 'ENOENT',
 path: '/opt/netonix-manager/storage/configs' }
process exit code 8
starting child process
{ [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }
Express server listening on port 3000
{ [Error: ENOENT, open '/opt/netonix-manager/storage/configs']
 errno: 34,
 code: 'ENOENT',
 path: '/opt/netonix-manager/storage/configs' }
process exit code 8
starting child process
{ [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }
Express server listening on port 3000
{ [Error: ENOENT, open '/opt/netonix-manager/storage/configs']
 errno: 34,
 code: 'ENOENT',
 path: '/opt/netonix-manager/storage/configs' }
^Croot@netonix:/opt/netonix-manager#



And the other command.
Code: Select all
root@netonix:/opt/netonix-manager# nodejs app.js
{ [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }
js-bson: Failed to load c++ bson extension, using pure JS version
Express server listening on port 3000
{ [Error: ENOENT, open '/opt/netonix-manager/storage/configs']
 errno: 34,
 code: 'ENOENT',
 path: '/opt/netonix-manager/storage/configs' }
/opt/netonix-manager/app.js:556
 results.forEach(function (schedule) {
 ^
TypeError: Cannot call method 'forEach' of undefined
 at Promise.<anonymous> (/opt/netonix-manager/app.js:556:17)
 at Promise.<anonymous> (/opt/netonix-manager/node_modules/mongoose/node_modules/mpromise/lib/promise.js:172:8)
 at Promise.emit (events.js:95:17)
 at Promise.emit (/opt/netonix-manager/node_modules/mongoose/node_modules/mpromise/lib/promise.js:84:38)
 at Promise.reject (/opt/netonix-manager/node_modules/mongoose/node_modules/mpromise/lib/promise.js:111:15)
 at Promise.error (/opt/netonix-manager/node_modules/mongoose/lib/promise.js:95:15)
 at Object.cb (/opt/netonix-manager/node_modules/mongoose/lib/query.js:1013:29)
 at Object._onImmediate (/opt/netonix-manager/node_modules/mongoose/node_modules/mquery/lib/utils.js:137:16)
 at processImmediate [as _immediateCallback] (timers.js:336:15)
root@netonix:/opt/netonix-manager#

User avatar
Eric Stern
Employee
Employee
 
Posts: 532
Joined: Wed Apr 09, 2014 9:41 pm
Location: Toronto, Ontario
Has thanked: 0 time
Been thanked: 130 times

Re: Netonix Manager / Control Software

Sun May 22, 2016 3:06 pm

Oops, sorry, i forgot a command. Run this command first.
export NODE_ENV=production

User avatar
adairw
Associate
Associate
 
Posts: 465
Joined: Wed Nov 05, 2014 11:47 pm
Location: Amarillo, TX
Has thanked: 98 times
Been thanked: 132 times

Re: Netonix Manager / Control Software

Sun May 22, 2016 3:08 pm

different output this time
Code: Select all
root@netonix:/opt/netonix-manager# export NODE_ENV=production
root@netonix:/opt/netonix-manager# nodejs bootloader.js
starting child process
{ [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }
process exit code 8
starting child process
{ [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }
process exit code 8
starting child process
{ [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }
process exit code 8
starting child process
{ [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }
process exit code 8
starting child process
{ [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }
process exit code 8
starting child process
{ [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }
process exit code 8
starting child process
{ [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }
process exit code 8
starting child process
{ [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }
process exit code 8
starting child process
{ [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }
process exit code 8
starting child process
{ [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }
process exit code 8
starting child process
{ [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }
process exit code 8
starting child process
{ [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }
process exit code 8
starting child process
{ [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }
process exit code 8
starting child process
^Croot@netonix:/opt/netonix-manager# nodejs app.js
{ [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }
js-bson: Failed to load c++ bson extension, using pure JS version
events.js:72
 throw er; // Unhandled 'error' event
 ^
Error: listen EADDRINUSE
 at errnoException (net.js:904:11)
 at Server._listen2 (net.js:1042:14)
 at listen (net.js:1064:10)
 at Server.listen (net.js:1138:5)
 at Object.<anonymous> (/opt/netonix-manager/app.js:602:116)
 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 Function.Module.runMain (module.js:497:10)
 at startup (node.js:119:16)
 at node.js:906:3
root@netonix:/opt/netonix-manager#

PreviousNext
Return to General Discussion

Who is online

Users browsing this forum: No registered users and 19 guests