Description

The user has lost access to J-Web and the message, 'session expired' is displayed immediately upon login. This has been reported to happen after a system zeroize and some abnormal reboots. User access can be restored by changing the file access permissions for /jail/var/tmp .

Symptoms

J-Web displays the message 'session expired' immediately after logging in.

Solution

The user has lost read/write permissions to /jail/var/tmp .

Note: This behavior has been fixed in Junos 12.3R12-S2, Junos 12.3R13, Junos 14.1X53-D40, Junos 15.1R4

Change the file access permissions for /jail/var/tmp as follows:

root@host:RE:0% cd /jail/var
root@host:RE:0% ls -lrt
total 12
drwxrwxrwx 2 root wheel 512 Oct 6 21:04 run
drwxrwxrwx 2 root wheel 512 Oct 8 01:42 etc
drwxrwxrwt 3 root wheel 512 Oct 8 20:17 tmp
root@host:RE:0% chmod 777 tmp
root@host:RE:0% ls -lrt
total 12
drwxrwxrwx 2 root wheel 512 Oct 6 21:04 run
drwxrwxrwx 2 root wheel 512 Oct 8 01:42 etc
drwxrwxrwx 3 root wheel 512 Oct 8 20:17 tmp

Modification History

2019-01-30: Added a note in the solution section to say which Junos versions this behavior has been fixed in.