To reset bandwidth in CWP is tricky by changing package limits
Easier way to reset is resetting limits by below command
/scripts/cwp_api account reset_bandwidth username
The username is account username
To reset bandwidth in CWP is tricky by changing package limits
Easier way to reset is resetting limits by below command
/scripts/cwp_api account reset_bandwidth username
The username is account username
To change string in one directory using sed
sed -i ‘s/kng.com/vtu.com/g’ *.db
This would a single command for all files in folder with extensio n.db
The User had removed his addon domain from cPanel.
However while adding back there was wrror coming up “A DNS entry for “rexxxxxxl.com” already exists”
T The issue is likely due to leftover DNS configurations from removed domains. Running the /scripts/cleandns script should correct the issue.
Running command /scripts/cleandns fixed the issue 🙂
For those using virtualizor on Virtualizor software
If you face issues while installing windows and dont see disk
Go to edit VPS
Select Disk
Select Disk driver set to none
Which you can see in below image and reboot VPS
Disk will be visible
If you are getting logged out repetedly from WHM
Go to
Home /
Server Configuration /
Tweak Settings
From there in security section check on Cookie IP validation
By defaut its set to strict.
Enable loose option and save.
This should fix this issue
We got error while altering a table in mysql
The issue was due to strict mode enabled in Mysql
You can check if mysql strict mode is checked using below command
mysql> SELECT @@sql_mode;
If you see statement
+———————————————————————————————————————–+
| @@sql_mode |
+———————————————————————————————————————–+
| ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION |
+———————————————————————————————————————–+
1 row in set (0.01 sec)
To disabled it
open fie /etc/my.cnf
Add in below of file sql_mode=” “
and restart mysql
This will disable strict mode in mysql
Alter command works fine now
Getting error Error: GPG check FAILED while installing any package on alma linux 8 ?
While installing a package got an error
[root@secure ~]# yum install traceroute
Last metadata expiration check: 0:43:24 ago on Saturday 23 November 2024 10:15:46 AM EST.
Installing:
traceroute x86_64 3:2.1.0-8.el8 baseos 66 k
Install 1 Package
Total download size: 66 k
Installed size: 101 k
Is this ok [y/N]: y
Downloading Packages:
Total 147 kB/s | 66 kB 00:00
AlmaLinux 8 – BaseOS 3.3 MB/s | 3.4 kB 00:00
Importing GPG key 0xC21AD6EA:
Userid : “AlmaLinux packager@almalinux.org“
Fingerprint: E53C F5EF 91CE B0AD 1812 ECB8 51D6 647E C21A D6EA
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
Is this ok [y/N]: y
Key imported successfully
Import of key(s) didn’t help, wrong key(s)?
Public key for traceroute-2.1.0-8.el8.x86_64.rpm is not installed. Failing package is: traceroute-3:2.1.0-8.el8.x86_64
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing ‘yum clean packages’.
Error: GPG check FAILED
Fixed this issue by importing new repodata from Almaliux
rpm –import https://repo.almalinux.org/almalinux/RPM-GPG-KEY-AlmaLinux
This fixed my issue and was able to install any package
You may get an error while uploading images in wordpress with error
The error message said – Missing a temporary folder
The solution to this issue is Open wp-config.php in server
Search for WP_TEMP_DIR in wp-config and check the path
Usually its wp-content/Temp
Check if this folders exists using ls -al /home/username /public_html/wp-content/Temp
If folder is not present can create using mkdir -p /home/username /public_html/wp-content/Temp
change permissions and ownership chown user.user /home/username /public_html/wp-content/Temp -R
This should fix the issue for wordpress
while running upcp on cpanel server it stopped with error
Running /usr/local/cpanel/scripts/updatenow --upcp --log=/var/cpanel/updatelogs/update.486871.726225288.1718207292.log --force
failed, exited with code 1 (signal = 0)
On checking logs in /var/cpanel/updatelogs/update.486871.726225288.1718207292.log
We see the error
[2024-09-04 13:06:20 -0400] * FATAL: Test install failed: error: Failed dependencies:
[2024-09-04 13:06:20 -0400] libonig.so.5()(64bit) is needed by (installed) alt-php-internal-mbstring-8.2.14-2.el8.x86_64
[2024-09-04 13:06:20 -0400] oniguruma is needed by (installed) alt-php-internal-mbstring-8.2.14-
The fix to this issue on Almalinux was installing oniguruma by command
dnf install oniguruma
now upcp work fine without any issues
We had this issue with one of our customer
Where the opencard was showing broekn site with no images loading and only skeleton page showing up
The issue was due to issue in opencart config.php
/ HTTP
define(‘HTTP_SERVER’, ‘http where http needs to be changed to https for website to work properly
Once changed the website is working without any issues