Web UI not functioning after config restore

DOWNLOAD THE LATEST FIRMWARE HERE
User avatar
LRL
Experienced Member
 
Posts: 238
Joined: Sun Nov 23, 2014 4:00 am
Location: Rock Springs, WY
Has thanked: 18 times
Been thanked: 49 times

Web UI not functioning after config restore

Tue Aug 18, 2020 4:03 am

I restored a config to a different WS-6 because the original was having some random problems. It appears to have taken the config fine, but we're now unable to access teh web UI. I can log into it via ssh and make changes and I found some references to the web ui problem.

When running the following commend via ssh on the os it appears the ssl cert is broken, but I'm not sure how to proceed here. The switch is deployed on a tower now and I'd like to resolve this remotely if possible.

Code: Select all
admin@WM_LT_Switch:/www# /etc/init.d/lighttpd restart
sh: you need to specify whom to kill
2020-08-18 01:59:10: (network.c.604) SSL: couldn't read X509 certificate from '/etc/config/lighttpd.pem'
admin@WM_LT_Switch:/www#
-LRL

"My reading of history convinces me that most bad government results from too much government." - Thomas Jefferson

User avatar
LRL
Experienced Member
 
Posts: 238
Joined: Sun Nov 23, 2014 4:00 am
Location: Rock Springs, WY
Has thanked: 18 times
Been thanked: 49 times

Re: Web UI not functioning after config restore

Tue Aug 18, 2020 4:48 am

I should also note that resetting the switch to defaults using cli still does not allow the web ui to be accessible.
-LRL

"My reading of history convinces me that most bad government results from too much government." - Thomas Jefferson

User avatar
lligetfa
Associate
Associate
 
Posts: 1191
Joined: Sun Aug 03, 2014 12:12 pm
Location: Fort Frances Ont. Canada
Has thanked: 307 times
Been thanked: 381 times

Re: Web UI not functioning after config restore

Tue Aug 18, 2020 10:42 am

Apologies up front but I don't have an answer for you. I have suggested in the past the config be exported as plain text in the format of CL commands the way the HP Procurve switches do. That way the export file could be made compatible with new hardware since it could be edited to resolve differences.

User avatar
LRL
Experienced Member
 
Posts: 238
Joined: Sun Nov 23, 2014 4:00 am
Location: Rock Springs, WY
Has thanked: 18 times
Been thanked: 49 times

Re: Web UI not functioning after config restore

Tue Aug 18, 2020 10:47 am

lligetfa wrote:Apologies up front but I don't have an answer for you. I have suggested in the past the config be exported as plain text in the format of CL commands the way the HP Procurve switches do. That way the export file could be made compatible with new hardware since it could be edited to resolve differences.


I completely agree with this as is the same with Cisco and mikrotik (at least export). The web UI worked prior to the restore so I'm left wondering if something messed up found it's way in, but really perplexed why a reset to defaults didn't resolve it.
-LRL

"My reading of history convinces me that most bad government results from too much government." - Thomas Jefferson

User avatar
JustJoe
Experienced Member
 
Posts: 266
Joined: Sat Aug 02, 2014 11:33 pm
Has thanked: 94 times
Been thanked: 59 times

Re: Web UI not functioning after config restore

Tue Aug 18, 2020 4:06 pm

Do you possibly have a 3rd, WS-6, where you could update it to the same version as the one in production?

Then you could fire up the original that was acting flaky as a guide, and copy the config manually to #3 using the GUI. once you're done, save the rebuilt config from #3 and use that config to upload to the one in production using CLI ?

Just an spooky additional thought, did competitors bad actor's figure out how to hack Netonix switches ?

User avatar
LRL
Experienced Member
 
Posts: 238
Joined: Sun Nov 23, 2014 4:00 am
Location: Rock Springs, WY
Has thanked: 18 times
Been thanked: 49 times

Re: Web UI not functioning after config restore

Tue Aug 18, 2020 4:38 pm

We replaced the switch with one configured from scratch. At this point I'm not sure what to do with the one that the web UI doesn't work even after being reset. Firmware upgrade doesn't seem to fix it either. I wanted to leave it somewhat untouched further in case someone from Netonix wants to take a peek.
-LRL

"My reading of history convinces me that most bad government results from too much government." - Thomas Jefferson

User avatar
Stephen
Employee
Employee
 
Posts: 1033
Joined: Sun Dec 24, 2017 8:56 pm
Has thanked: 85 times
Been thanked: 181 times

Re: Web UI not functioning after config restore

Wed Aug 19, 2020 11:57 am

LRL, if you have something like TeamViewer we could schedule a time for me to look at your switch to see if I can help. PM me for more details. My first availability will be later this week.

Return to Hardware and software issues

Who is online

Users browsing this forum: No registered users and 70 guests