KVM VM not starting with the following error when you try to start:
could not get access to acl tech driver 'ebiptables'
There is a nwfilter module for libvirt. If for some reason, it comes up with an issue, the above error would appear. To fix this, you need to update (If any update is available) / reinstall (If no update is available) the following module using Yum:
When I tried to load my Roundcube today, found that it failed to load the inbox and instead had thrown the following error:
Server Error! (Ok)
Then, I tried searching the cpanel logs or the roundcube error log but found nothing. Then, I checked the Dovecot log located here:
I found the following:
May 7 13:57:49 network2 dovecot: imap([email protected])<26343><cQG+qxX7MvdneMrv>: Error: Mailbox INBOX: mmap(size=351817308) failed with file /home/mellow/mail/mellowhost.com/shawon/dovecot.index.cache: Cannot allocate memory
This is happening because Dovecot caches the mail index in a file, once it tries to cache a lot of emails, it fails with a memory error. In those cases, you may remove the cache file and let Dovecot generate a new cache based on the latest mails. You may simply rm the file and see Roundcube is loading again:
To see/list the constraints, first, connect to the database using the following:
Here we are assuming the database name is my_prod. Please note, we are putting these commands in the psql client utility.
Now, use the following query to list all the constraints in the database:
select pgc.conname as constraint_name,
ccu.table_schema as table_schema,
from pg_constraint pgc
join pg_namespace nsp on nsp.oid = pgc.connamespace
join pg_class cls on pgc.conrelid = cls.oid
left join information_schema.constraint_column_usage ccu
on pgc.conname = ccu.constraint_name
and nsp.nspname = ccu.constraint_schema
order by pgc.conname;
You need to first install NTFS-3G package to access NTFS on Debian. NTFS-3g depends on libntfs and fuse. Using the following shall install NTFS-3g on the system:
apt install ntfs-3g -y
Once done, now you can mount ntfs using the following command:
mount -t ntfs /dev/sdb2 /mnt
In this case, sdb2 is the ntfs partition, and we are mounting this to /mnt directory.
If you are trying to mount a Windows 10/11 partition, you might end up having a read only NTFS file system. The reason is Windows 10/11 partition doesn’t fully shutdown on shutdown command, instead it hibernates the system. To properly shutdown the system, remember to shutdown the system with ‘SHIFT’ + SHUTDOWN.
When you try to install Imunify360, you get the following:
[root@stack10 ~]# bash i360deploy.sh IPL
Checking for an update to i360deploy.sh
Downloading i360deploy.sh.repo_version (please wait)
i360deploy.sh is already the latest version (2.58) - continuing
Detecting ostype... centos
ipset: error while loading shared libraries: libipset.so.13: cannot open shared object file: No such file or directory
[2022-12-21 04:44:14] Your OS virtualization technology kvm has limited support for ipset in containers. Please, contact Imunify360 Support Team.
The reason is, latest Imunify360 installer looking for the ipset library. To install that, use the following:
yum install ipset-libs -y
Once done, you should be able to install Imunify360 now.
Today, when I opened a Virtualizor panel for a VM node, I found an issue like the following:
Could not make the Query.
SELECT tasks.actid, tasks.action, users.uid, users.email FROM `tasks` LEFT JOIN users on tasks.uid = users.uid WHERE action NOT IN ('vpsbackups_plan_email', 'send_background_mail', 'backuply_vpsbackups_plan_email') ORDER BY tasks.actid DESC LIMIT 10
 => HY000
 => 144
 => Table './virtualizor/tasks' is marked as crashed and last (automatic?) repair failed
Issue was the tasks table is marked as crashed. To solve this, we need to repair the table tasks.
First, find the password for database ‘virtualizor’ using the following command:
There are times, you may end up with the following error, when you are trying to install R1Soft hcp module or the kernel module in Ubuntu based servers:
kernel module installer failed. (0) - R1Soft - Could not find a suitable hcpdriver module for your system - Ubuntu
Full error could be like the following when you call for –get-module
root@hisab:/lib/modules/r1soft# serverbackup-setup --get-module
Building header archive ...
outfile = /tmp/headers881407773
headers = /usr/src/linux-headers-5.4.0-128-generic
Session ID: 379634599
Waiting to upload...
Waiting in build queue...
Failed to get suitable module for this system: Failed to build module: No builders found.
Get module failed.
Falling back to old get-module ...
Checking if module needs updated
Checking for binary module
No binary module found
Gathering kernel information
Gathering kernel information complete.
Creating kernel headers package
Checking '/tmp/r1soft-cki.1667140819' for kernel headers
Found headers in '/tmp/r1soft-cki.1667140819'
Starting module build...
Building / kernel module installer failed. (0):
Internal error encountered. Please contact support
Request ID: (75ca382d-5a0e-4161-8c70-8b136a6b1330)
To solve this error, you may get the built kernel module for Ubuntu based on it’s distribution in their repository. The link to the repository would be as following:
Now, if you are using Ubuntu 20.04, then the module would be available under the folder: Ubuntu_2004_x64
In my case, it was Ubuntu 20.04. Next stop, is to find the kernel version. You may get it from the following command:
root@hisab:~# uname -a
Linux hisab.skincafe.co 5.4.0-128-generic #144-Ubuntu SMP Tue Sep 20 11:00:04 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Kernel number to note in our case, would be ‘5.4.0-128’. Now search for this inside the link:
You should find a match, like for my case it was the following link:
Next stop, is to go to the r1soft module folder and load the module. You may do so like the following:
Now, all you need, is to restart r1soft. Remember to stop and star the agent instead of direct restart.
service cdp-agent stop
service cdp-agent start
This should be able to load the HCP module now. You may verify this by typing:
root@hisab:~# hcp --list
Idera Hot Copy 6.16.4 build 117 (http://www.r1soft.com)
Thank you for using Hot Copy!
Idera makes the only Continuous Data Protection software for Linux.
No Hot Copy sessions are currently running.