09-16-2023 07:41 PM
Currently, our customer is using PI version 2.2.
I couldn't access the PI GUI, so /var was 100%.
To delete it, I logged in as root and used the rm command, but
The message ‘command was blocked’ was displayed and it was not deleted.
I entered the sudo command, but it was the same.
Does anyone know why?
We are aware that an upgrade is necessary for lower versions.
However, this is a customer request.
Please note.
09-16-2023 10:44 PM
- Instead of sudo (singlet) use sudo -s to have a full and or native Linux shell,
M.
09-16-2023 10:48 PM
Thank you for answer.
I also used the sudo -s command, but it was the same
‘command was blocked’ appears.
09-16-2023 11:19 PM
PI 2.X is quite old and its was gone from service Long back.
first i suggest to upgrade to 3.10 atleast for some better life
to clear the logs the problem you having :
Login to PI using SSH or Console
#ncs stop (this stop the PI processs)
#shell
#sudo -i
check the which folder having filled with Logs
#du -hs /var/log*
and Delete the file you looking to delete.
or make the files to zero down
#cd /var/log
#cat /dev/null > /var/log/messages
#df -hk - check the space
#exit
#ncs start - start the process and check GUI working ( worth reload also)
09-16-2023 11:27 PM
Thanks for your reply.
I have a few questions.
1 There is no command called .shell, but there is a root command. Is this correct?
2. What is the command to delete a file?
3-1. If I upgrade my pi from 2.2 to 3.10, can I just download and install the same license pak?
3.2. If I upgrade the pi, will the compatibility of registered devices (ap, wlc) change?
(Currently, many of the APs registered on the Pi are old models.)
09-17-2023 12:30 AM
>...3.2. If I upgrade the pi, will the compatibility of registered devices (ap, wlc) change?
- That is a distinct possibility ; checkout https://www.cisco.com/c/dam/en/us/td/docs/net_mgmt/prime/infrastructure/3-10/supported/devices/PI310-Supported-Device-List.xlsx
Also look at column S/W Version ,
M.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide