Netonix Manager / Control Software
-
Eric Stern - 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
Uninstall, make sure the /opt/netonix-manager directiory is deleted, re-install.
-
jjonsson - 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
I'm getting this error in the log now:
Don't know what it means ?
- 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
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.
-
Eric Stern - 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
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
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
-
Eric Stern - 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
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.
-
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
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:~#
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:~#
-
Eric Stern - 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
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.
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
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.
-
Eric Stern - 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
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.
I don't know why you are getting timeouts. Doing some captures with wireshark might help you figure out what is going wrong.
Who is online
Users browsing this forum: No registered users and 47 guests