Version: This solution is applicable for all versions of Jiffy.
Pre-requisites: putty, root access
Steps to solve:
• Login to putty.
• Ensure webserver ‘nginx’ and JiffyServer is up and running fine. Refer FAQ 1 for the steps.
• Login to Jiffy server and go to JIFFY_HOME folder.
su jiffyapp-usr
cd /opt/jiffy/
• Note: JIFFY_HOME = /opt/jiffy/ - This directory structure varies with respect to the client where JIFFY is installed/mounted.
• Next, Go to scripts folder and check if JLS is running or not.
• Command :
ps aux | grep -i jls
(jiffyEnv) [jiffyapp-usr@localhost scripts]$ ps aux | grep -i jls
jiffyap+ 10995 0.0 0.0 112708 1004 pts/0 R+ 15:10 0:00 grep --color=auto -i jls
(jiffyEnv) [jiffyapp-usr@localhost scripts]$
• Here you will see that there are no processes of JLS running.
• Next, start the JLS process by activating source and running the python script as shown below:
(jiffyEnv) [jiffyapp-usr@localhost scripts]$ source /opt/jiffy/.envs/jiffyEnv/bin/activate
(jiffyEnv) [jiffyapp-usr@localhost scripts]$ cd /opt/jiffy/.JLS/
(jiffyEnv) [jiffyapp-usr@localhost .JLS]$ nohup python jls_server.py > /dev/null 2>&1 & [2] 11485
• Next, check if jls process is running fine or not
(jiffyEnv) [jiffyapp-usr@localhost .JLS]$ ps aux | grep -i jls
jiffyap+ 11485 1.6 0.4 242292 19104 pts/0 S 15:16 0:00 python jls_server.py
jiffyap+ 11488 2.1 0.5 318536 19888 pts/0 Sl 15:16 0:00 /opt/jiffy/.envs/jiffyEnv/bin/python jls_server.py
jiffyap+ 11512 0.0 0.0 112708 1004 pts/0 R+ 15:16 0:00 grep --color=auto -i jls
(jiffyEnv) [jiffyapp-usr@localhost .JLS]$
• Here you will see JLS process running.
• Now load the Jiffy page and you will see the login page.