Skip Ribbon Commands
Skip to main content

IT Networking

:

The World Awaits > IT > IT Networking
January 16
JWeb responds with "Session Timed Out" imediatly after login

Ran across an issue tonight when trying to login to a Juniper SRX 240. When I logged into JWeb with any browser (tried IE, Firefoce and Crome) I received a message saying my Session had expired no more than a few seconds after hitting enter on the login page.

Turned out to be the compact flash (CF) was full. I upgraded the version of JUNOS on the router the day before and left the old image on the router. Simple fix.

Login to the router using SSH or serial console. From the shell cd to /cf/var/sw/pkg and delete the old image. This free'ed up about 140 meg of space and now login's work fine. Of cause - make sure you don't delete the wrong image.

Rather than manually deleting files you could also issue the CLI command of "request system storage cleanup".

 

root@cov1> request system storage cleanup
List of files to delete:
         Size Date         Name
    62B Oct 30 09:29 /cf/var/crash/flowd_octeon_hm.log..0
    62B Oct 30 14:28 /cf/var/crash/flowd_octeon_hm.log..1
    62B Dec  6 07:22 /cf/var/crash/flowd_octeon_hm.log..2
    62B Jan 16 19:18 /cf/var/crash/flowd_octeon_hm.log.cov1.0
    62B Jan 16 19:39 /cf/var/crash/flowd_octeon_hm.log.cov1.1
    62B Dec 23 09:00 /cf/var/crash/flowd_octeon_hm.log.cov1.2
    62B Dec 27 23:21 /cf/var/crash/flowd_octeon_hm.log.cov1.3
    62B Dec 31 12:29 /cf/var/crash/flowd_octeon_hm.log.cov1.4
   420B Jan 16 23:26 /cf/var/jail/tmp/jweb-users.xml
   310B Oct 30 14:28 /cf/var/log/idpinfo_err.20111030
   222B Dec  6 10:00 /cf/var/log/idpinfo_err.20111206
   183B Dec 23 09:00 /cf/var/log/idpinfo_err.20111223
   155B Jan 16 19:17 /cf/var/log/idpinfo_err.20120116
  24.3K Oct 30 09:25 /cf/var/log/install.0.gz
  9455B Jan 16 23:32 /cf/var/log/messages.0.gz
   912B Jan 16 23:26 /cf/var/log/wtmp.0.gz
    27B Nov 29 09:00 /cf/var/log/wtmp.1.gz
    82B Oct 30 16:59 /cf/var/log/wtmp.2.gz
    57B Oct 30 09:28 /cf/var/log/wtmp.3.gz
 139.2M Oct 30 09:11 /cf/var/sw/pkg/junos-11.2R3.3.tgz
 144.1M Dec  6 07:08 /cf/var/sw/pkg/junos-11.4R1.6.tgz
2252.5K Oct 30 09:25 /cf/var/sw/pkg/junos-boot-srxsme-11.2R3.3.tgz
  3795B Jan 16 19:38 /cf/var/tmp/cleanup-pkgs.log
     0B Dec  8 21:54 /cf/var/tmp/eedebug_bin_file
    34B Dec  8 21:54 /cf/var/tmp/gksdchk.log
 124.0K Jan 16 19:14 /cf/var/tmp/gres-tp/env.dat
     0B Oct 30 07:29 /cf/var/tmp/gres-tp/lock
     4B Jan 16 19:39 /cf/var/tmp/idp_license_info
   155B Jan 16 19:39 /cf/var/tmp/krt_gencfg_filter.txt
     0B Jan 16 19:39 /cf/var/tmp/rtsdb/if-rtsdb
   356B Oct 30 17:00 /cf/var/tmp/sampled.pkts
     0B Oct 30 07:27 /cf/var/tmp/spu_kmd_init
Delete these files ? [yes,no] (no)
 

 Just answer yes to the prompt and way you go.

 

 About this blog

 
About this blog
Welcome to SharePoint Blogs. Use this space to provide a brief message about this blog or blog authors. To edit this content, select "Edit Page" from the "Site Actions" menu.