madscientist / msjnc

MadScientist Juniper Network Connect Session Manager
MIT License
69 stars 20 forks source link

MSJNC will not disconnect #7

Closed mattseymour closed 11 years ago

mattseymour commented 11 years ago

This continues the recently closed bug https://github.com/madscientist/msjnc/issues/6 where by msjnc will not disconnect.

I have restarted, pulled the network connection, and various other things all of which do not work.

I am running Ubuntu 12.04.

devnull01 commented 11 years ago

Hi Matt,

just delete (or move if needed for other purposes) the ~/.juniper_networks/network_connect/ncsvc.log Since in line 562 to 588 (msjnc) the log ist read for the last state which is set as the actual. So, after an unclean exit the tate will be kept. No log - no state ;-)

Running the same distro & version, eperiencing the same problem - might be somethig to look after.

Regards Carsten

mattseymour commented 11 years ago

I was actually looking at where in the code it was going wrong this morning and came to the same conclusion. Ended up writing a script to delete this file on log in to the system so the past state is not kept.

madscientist commented 11 years ago

This is a duplicate of Issue #5