How to clear the sessions on Juniper box

While entering into the configuration mode sometimes we got below mentioned error, this seems to be due to multi user login in the same box.

root@JUN-L2-365-BF-SW4> edit
Entering configuration mode
Users currently editing the configuration:
  root terminal u0 (pid 1288) on since 2014-03-13 15:18:14 IST, idle 1d 03:41
      {master:0}[edit]
  root terminal p0 (pid 6993) on since 2014-03-14 23:18:15 IST, idle 00:43:13
      {master:0}[edit]


Solution: This could be checked by following command:

show system users no-resolve

output:
root@JUN-L2-365-BF-SW4> show system users no-resolve
fpc0:
--------------------------------------------------------------------------
12:12AM  up 1 day,  8:59, 3 users, load averages: 0.11, 0.27, 0.30
USER     TTY      FROM                              LOGIN@  IDLE WHAT
root     u0       -                                Thu03PM 27:53 -csh (csh)

and bu pushing this command we can resolve the issue:

"request system logout pid" with exact pid number.

Thanks

Comments