এজেন্ট পরিবর্তন
আসসালামু আলাইকুম! আমি হীরক, লাইভ চ্যাট এজেন্ট থেকে। কিভাবে সাহায্য করতে পারি?
$ USD

Here are some of the most common *cPanel/WHM bug fixes* Print

  • 307

### 1. *Rebuild cPanel/WHM Configuration*
If cPanel or WHM is not functioning correctly, rebuild the configuration:
bash
/scripts/upcp

This command updates cPanel and WHM to the latest version and fixes configuration issues.

---

### 2. *Restart cPanel Services*
If cPanel services are not running properly, restart them:
bash
/usr/local/cpanel/scripts/restartsrv_cpsrvd


---

### 3. *Fix Permissions*
Incorrect file permissions can cause issues. Fix them with:
bash
/scripts/fixperms

This command resets file permissions for all users on the server.

---

### 4. *Rebuild Apache Configuration*
If Apache is not starting or there are configuration errors, rebuild the Apache configuration:
bash
/scripts/rebuildhttpdconf
/scripts/restartsrv_httpd


---

### 5. *Check Disk Space*
Low disk space can cause issues. Check disk usage:
bash
df -h

If the disk is full, clean up unnecessary files or logs.

---

### 6. *Rebuild Mail Configuration*
If email services are not working, rebuild the mail configuration:
bash
/scripts/update_local_rpm_versions --edit target=cpanel-mail
/scripts/upcp


---

### 7. *Fix MySQL/MariaDB Issues*
If MySQL/MariaDB is not working, try restarting it:
bash
/scripts/restartsrv_mysql

If the database is corrupted, repair it:
bash
mysqlcheck -r --all-databases


---

### 8. *Rebuild PHP Configuration*
If PHP is not working, rebuild the PHP configuration:
bash
/scripts/easyapache

This will launch the EasyApache tool to reconfigure PHP.

---

### 9. *Check cPanel/WHM License*
If cPanel/WHM is not loading, check the license:
bash
/usr/local/cpanel/cpkeyclt

This command updates the license and resolves licensing issues.

---

### 10. *Fix DNS Issues*
If DNS is not resolving correctly, rebuild the DNS zone files:
bash
/scripts/rebuilddnsconf


---

### 11. *Check for Corrupted Files*
If cPanel/WHM files are corrupted, verify and repair them:
bash
/scripts/check_cpanel_rpms --fix


---

### 12. *Clear cPanel Cache*
If cPanel/WHM is slow or not displaying correctly, clear the cache:
bash
/usr/local/cpanel/bin/update_cache


---

### 13. *Check for Updates*
Ensure cPanel/WHM is up to date:
bash
/usr/local/cpanel/cpkeyclt
/scripts/upcp


---

### 14. *Check Error Logs*
Review logs for errors:
- *cPanel/WHM Logs*: /usr/local/cpanel/logs/
- *Apache Logs*: /var/log/httpd/
- *MySQL Logs*: /var/log/mysql/
- *System Logs*: /var/log/messages

---

### 15. *Rebuild RPM Database*
If RPM (package manager) issues occur, rebuild the RPM database:
bash
rpm --rebuilddb


---

### 16. *Fix Hostname Issues*
If the hostname is incorrect or causing issues, update it:
bash
/usr/local/cpanel/scripts/setupftpserver
/usr/local/cpanel/scripts/fixetchosts


---

### 17. *Rebuild cPanel Users*
If a user's cPanel account is not working, rebuild it:
bash
/scripts/rebuildusers


---

### 18. *Check for Malware*
Scan for malware using ClamAV:
bash
/scripts/malware_detector_installer
/scripts/malware_detector


---

### 19. *Rebuild cPanel Skins*
If the cPanel interface is broken, rebuild the skins:
bash
/usr/local/cpanel/bin/skin2reload


---

### 20. *Rebuild cPanel/WHM SSL*
If SSL is not working, rebuild the SSL certificate:
bash
/usr/local/cpanel/bin/updatebundle


---

### Additional Tips:
- Always back up your server before making changes.
- Use tail -f /var/log/messages to monitor system logs in real-time.
- If you're unsure about a command, consult the official cPanel documentation: [https://docs.cpanel.net/](https://docs.cpanel.net/).


Was this answer helpful?

« Back