Page 17 of 39

Re: Netonix Manager / Control Software

Posted: Fri Sep 15, 2017 9:42 am
by Eric Stern
Uninstall, make sure the /opt/netonix-manager directiory is deleted, re-install.

Re: Netonix Manager / Control Software

Posted: Mon Sep 18, 2017 7:05 pm
by jjonsson
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 ?

Re: Netonix Manager / Control Software

Posted: Wed Sep 20, 2017 9:22 am
by kakadaudi
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.

Re: Netonix Manager / Control Software

Posted: Wed Sep 20, 2017 11:57 am
by Eric Stern
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.

Re: Netonix Manager / Control Software

Posted: Wed Sep 20, 2017 12:16 pm
by kakadaudi
Capture1.PNG
Capture1.PNG (4.65 KiB) Viewed 19545 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

Re: Netonix Manager / Control Software

Posted: Wed Sep 20, 2017 12:20 pm
by Eric Stern
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.

Re: Netonix Manager / Control Software

Posted: Thu Sep 28, 2017 1:01 am
by jpaine619
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:~#

Re: Netonix Manager / Control Software

Posted: Thu Sep 28, 2017 9:40 am
by Eric Stern
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.

Re: Netonix Manager / Control Software

Posted: Thu Sep 28, 2017 10:36 am
by kakadaudi
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.

Re: Netonix Manager / Control Software

Posted: Thu Sep 28, 2017 11:07 am
by Eric Stern
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.