cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
534
Views
0
Helpful
5
Replies

PI 2.2 /var is full.

CCC3
Level 1
Level 1

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.

5 Replies 5

marce1000
VIP
VIP

 

 - Instead of sudo (singlet) use sudo -s to have a full  and or native Linux shell, 

 M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

Thank you for answer.

I also used the sudo -s command, but it was the same
‘command was blocked’ appears.

balaji.bandi
Hall of Fame
Hall of Fame

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)

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

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.)

 

  >...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.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

Review Cisco Networking for a $25 gift card