How to resolve : Internal server Error when accessing cPanel/WHM/Webmail
# inode checking :
Inode Usage :Â
1) You can check the inodes of an account on your server by using SSH:
# quota -s
2) If you have SSH access to your account you can view the inodes for a specific folder using the following command :
root@XXX [/]# echo “Detailed Inode usage for: $(pwd)” ; for d in ‘find -maxdepth 1 -type d | cut -d\/ -f2 | grep -xv . | sort’ ; do c =$(find $d |wc -l) ; printf “$c\t\t- $d\n” ; done ; printf “Total: \t\t$(find $(pwd) | wc -l)\n”
                                       Â
Detailed Inode usage for: /
98 Â Â Â Â Â Â Â – bin
1 Â Â Â Â Â Â Â – boot
110 Â Â Â Â Â Â – dev
1237 Â Â Â Â Â Â – etc
88873 Â Â Â Â Â – home
201 Â Â Â Â Â Â – lib
267 Â Â Â Â Â Â – lib64
1 Â Â Â Â Â Â Â – media
1 Â Â Â Â Â Â Â – mnt
629 Â Â Â Â Â Â – opt
13290 Â Â Â Â Â – proc
205 Â Â Â Â Â Â – root
182 Â Â Â Â Â Â – sbin
1 Â Â Â Â Â Â Â – selinux
1 Â Â Â Â Â Â Â – .spamassassin
1 Â Â Â Â Â Â Â – srv
304 Â Â Â Â Â Â – sys
15 Â Â Â Â Â Â Â – tmp
108013 Â Â Â Â Â – usr
4273 Â Â Â Â Â Â – var
Total: Â Â Â Â Â 217708
root@XXX [/]#Â