Netonix Manager / Control Software

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

Fri Sep 15, 2017 9:42 am

Uninstall, make sure the /opt/netonix-manager directiory is deleted, re-install.

User avatar
jjonsson
Associate
Associate
 
Posts: 337
Joined: Wed Nov 05, 2014 12:30 pm
Location: Denmark
Has thanked: 37 times
Been thanked: 65 times

Re: Netonix Manager / Control Software

Mon Sep 18, 2017 7:05 pm

I'm getting this error in the log now:

Code: Select all
 Error in GET /api/update?_=1505728410778: Error: .keys required for signed cookies


Don't know what it means ?

kakadaudi
Member
 
Posts: 7
Joined: Fri May 27, 2016 5:13 am
Has thanked: 1 time
Been thanked: 0 time

Re: Netonix Manager / Control Software

Wed Sep 20, 2017 9:22 am

ImageImage
Hi Guys,

I have the netonix manager spamming my alerts mailbox with so many of this errors(have 40 or so switches on the network). Pings constant and switches never really go down. I have switches several radio hops away with double digit ms. Had stopped using the manager and only started managing the switches again with the most recent release(1.0.6) but this is still an issue since last year on my network.

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

Wed Sep 20, 2017 11:57 am

You'll need to figure out why the connection to your switches is timing out. No one else has reported this problem, it has to be something specific to your network.

kakadaudi
Member
 
Posts: 7
Joined: Fri May 27, 2016 5:13 am
Has thanked: 1 time
Been thanked: 0 time

Re: Netonix Manager / Control Software

Wed Sep 20, 2017 12:16 pm

Capture1.PNG
Capture1.PNG (4.65 KiB) Viewed 22858 times
Capture.PNG
from unofficial netonix users fb page


Hi Eric,

It could be an issue in my network, but its happening to atleast half of my switches regardless of ping response times. There has also been at least one other person reporting the same on their network. His switch is 1 hop from the core with < 10ms.

Rgds..
Dave

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

Wed Sep 20, 2017 12:20 pm

jjonsson wrote:I'm getting this error in the log now:

Code: Select all
 Error in GET /api/update?_=1505728410778: Error: .keys required for signed cookies


Don't know what it means ?


That can happen, its normal and nothing to worry about.

During the update the browser continuously queries the server to detect when the update is complete. The server is restarted during this process causing it to lose all the existing sessions. When it gets a query from the browser using the cookie for the old session it doesn't know what to do with it and that results in that error.

User avatar
jpaine619
Member
 
Posts: 82
Joined: Fri Jul 07, 2017 11:13 pm
Location: San Diego, CA
Has thanked: 26 times
Been thanked: 18 times

Re: Netonix Manager / Control Software

Thu Sep 28, 2017 1:01 am

All of the scripts in the 1.0.6 deb are in dos/windows encoding. i.e. they have a CR LF at the end of each line instead of a single unix LF

Took me a bit to figure what was going on, but once I really paid attention, I was getting a "/bin/bash^M: bad interpreter: No such file or directory"

of course, there is no such thing as /bin/bash^M

dos2unix ran on each of the preinstall, postinstall, and service control scripts fixed the issue.

dos2unix - DOS/Mac to Unix and vice versa text file format converter

Today's lesson: quit editing your unix scripts on a windows machine........ :) This is what happens when you save the file in the wrong format or forget to run the conversion.



Preparing to unpack netonix-manager_1.0.6_all.deb ...
dpkg (subprocess): unable to execute old pre-removal script (/var/lib/dpkg/info/netonix-manager.prerm): No such file or directory
dpkg: warning: subprocess old pre-removal script returned error exit status 2
dpkg: trying script from the new package instead ...
dpkg (subprocess): unable to execute new pre-removal script (/var/lib/dpkg/tmp.ci/prerm): No such file or directory
dpkg: error processing archive netonix-manager_1.0.6_all.deb (--install):
subprocess new pre-removal script returned error exit status 2
dpkg (subprocess): unable to execute installed post-installation script (/var/lib/dpkg/info/netonix-manager.postinst): No such file or directory
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
netonix-manager_1.0.6_all.deb
aerynsun:~# dos2unix /var/lib/dpkg/info/netonix-manager.prerm
dos2unix: converting file /var/lib/dpkg/info/netonix-manager.prerm to Unix format...
aerynsun:~# dos2unix /var/lib/dpkg/info/netonix-manager.postinst
dos2unix: converting file /var/lib/dpkg/info/netonix-manager.postinst to Unix format...


aerynsun:~# /var/lib/dpkg/info/netonix-manager.prerm
aerynsun:~#
aerynsun:~# /var/lib/dpkg/info/netonix-manager.postinst
aerynsun:~#
aerynsun:~# /etc/init.d/netonix-manager start
bash: /etc/init.d/netonix-manager: /bin/sh^M: bad interpreter: No such file or directory
aerynsun:~# dos2unix /etc/init.d/netonix-manager
dos2unix: converting file /etc/init.d/netonix-manager to Unix format...
aerynsun:~# /etc/init.d/netonix-manager start
aerynsun:~#

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

Thu Sep 28, 2017 9:40 am

Released 1.0.7 to fix the installation issues on Debian systems.

If you upgraded to 1.0.6 using the self updater, you should be able to self update to 1.0.7 and be fine.

kakadaudi
Member
 
Posts: 7
Joined: Fri May 27, 2016 5:13 am
Has thanked: 1 time
Been thanked: 0 time

Re: Netonix Manager / Control Software

Thu Sep 28, 2017 10:36 am

Capture_graylog.PNG
emptylog.PNG


Hi Eric,

I still face the issue of too many ''NX_WS8_DC' (10.10.107.102) changed state to Offline: Error: ETIMEDOUT'' reported by the netonix manager. I also cant see any logs on the logs tab but when I click on the yellow button, it shows what alerts are available. Like a failed tftp backup.

Above are screenshots of my graylog server receiving switch alerts but nothing showing on the netonix manager. The ETIMEOUT issue is occurring all over my network but my NMS never reports any downtime.

Dave.

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

Thu Sep 28, 2017 11:07 am

The Log tab is for viewing the Manager log , not the switch log. To view a switch log you need to need to go to that switch's web interface.

I don't know why you are getting timeouts. Doing some captures with wireshark might help you figure out what is going wrong.

PreviousNext
Return to General Discussion

Who is online

Users browsing this forum: No registered users and 32 guests