cPanel SSH Commands and Troubleshooting Month Read Expired: 3 Minute You can use the SSH commands provided by cPanel to improve your website's performance or troubleshoot issues. These commands can help enhance your server's security, fix database problems, and accomplish many other tasks. Here are some common issues and cPanel SSH commands you can use to resolve them: Reboot the server: reboot Fix MySQL privilege issues: /scripts/cleanupmysqlprivs Check and recreate MySQL symlinks: /scripts/restartsrv_mysql Reinstall MySQL RPMs: /scripts/mysqlup –force Update Perl module: /scripts/perlinstaller –force Bundle::DBD::mysql Recompile PHP-Apache: /scripts/easyapache Update cPanel: /scripts/upcp Edit cPanel configuration file: /var/cpanel/cpanel.config Restart Apache server: service httpd restart Stop Apache server: service httpd stop Start Apache server: service httpd start Check Apache configuration: service httpd configtest List files in root directory: dir Delete file: rm -f filename.tar.gz* Show server specifications: cat /proc/cpuinfo Extract RAR file: unrar x filename.rar Extract ZIP file: unzip filename.zip Search for a file: locate c99.php Change user ownership: chown -R user:user /home/user These commands help cPanel users solve frequent issues and boost their server performance. However, use each command carefully and always back up important files before making changes. Did you find it useful? Thank you for your feedback. Sorry about that :( We'll work to make it better. You voted before. (51 times viewed / 0 people found it helpful)