In certain scenarios, the /var/log partition on the Junos Space server can reach 100% utilization, causing the GUI to become inaccessible. This article provides the steps to identify the cause and apply a workaround.
When attempting to access the Junos Space GUI, the following error appears:
Service Unavailable:
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
Step 1: Log in to the Junos Space VIP CLI
Access the CLI using SSH.
Step 2: Check disk utilization
Run the following commands to verify which partition has reached 100%:
[root@space-005056a9eca5 log]# df -kh Filesystem Size Used Avail Use% Mounted on /dev/sda1 477M 44M 405M 10% /boot /dev/mapper/jmpvgnocf-lvvar 262G 41G 208G 17% /var /dev/mapper/jmpvgnocf-lvlog 48G 46G 0 100% /var/log /dev/mapper/jmpvgnocf-lvtmp 72G 438M 68G 1% /tmp
Step 3: Identify large log files
Navigate to the log directory and list the files consuming the most space:
[root@space-005056a9eca5 log]# cd /var/log [root@space-005056a9eca5 log]# find /var/log/ -xdev -type f -printf '%s %p\n'| sort -nr | head -50 15519858889 /var/log/SystemStatusLog 7897601850 /var/log/nma.log 7374729509 /var/log/secure 4023007962 /var/log/messages 4021721289 /var/log/daemon.log 3145080832 /var/log/httpd/access_log
Step 4: Truncate the large file
In this example, SystemStatusLog is consuming the most space.
[root@space-005056a9eca5 log]# > SystemStatusLog
This truncates the file and instantly frees space.
Step 5: Verify disk space again
Confirm that the /var/log partition now has available space:
[root@space-005056a9eca5 log]# df -kh
Step 6: Check and restart impacted services
If any services appear dead or not running, restart them:
# service jboss status #service jboss-dc status # service httpd status # service slipstream status
Note : If issue persist, please contact JUNIPER JTAC Support for assistance.