cPanel, How to fix “cat: /dev/fd/63: No such file or directory” error

This appears when you run simple cd command via cPanel –>  Terminal, for example:

cd public_html
cat: /dev/fd/63: No such file or directory

The fix is pretty simple, just suppress output of cd command

Update .bashrc with the following alias:

alias cd='cd &>/dev/null'

source .bashrc
Read the rest

CloudLinux, lveinfo issue

Problem when lveinfo reflects an empty or error results

root@server[~]# lveinfo -u username 

Error while reading lve_version from database

root@server [~]# lveinfo -u username 

+—-+–+—-+—-+—-+—+—+—+—+

|From|To|aCPU|mCPU|lCPU|aEP|mEP|lEP|EPf|

+—-+–+—-+—-+—-+—+—+—+—+

To fix this out:

/etc/init.d/lvestats stop 

mv /var/lve/lveinfo.db /var/lve/lveinfo.db_old 

/etc/init.d/lvestats start 

Stats should start showing in ~1 minute

root@server [~]# lveinfo -u username 

+———–+———–+—-+—-+—-+—+—+—-+—+—+—+—–+—–+—–+—–+—–+——+—+—–+—–+—–+—–+—–+
| From | To |aCPU|mCPU|lCPU|aIO|mIO|lIO |aEP|mEP|lEP|aVMem|mVMem|lVMem|aPMem|mPMem|lPMem |EPf|VMemF|PMemF|aIOPS|mIOPS|lIOPS|
+———–+———–+—-+—-+—-+—+—+—-+—+—+—+—–+—–+—–+—–+—–+——+—+—–+—–+—–+—–+—–+
|07-28 12:35|07-28 12:36| 0 | 1 | 9 | 0 | 3 |3072| 0 | 0 | 20| 0 | 0 | 1.0G| 6.3M| 6.5M|256.0M| 0 | 0 | 0 | 0 | 0 | 1024|
+———–+———–+—-+—-+—-+—+—+—-+—+—+—+—–+—–+—–+—–+—–+——+—+—–+—–+—–+—–+—–+

Done!… Read the rest