TypeError: Argument 1 passed to Carbon\CarbonInterval::setLocalTranslator()

You may encounter the following error after updating through WHMCS v8.0:

Continue reading

PowerShell List Memory Usage by IIS Application Pools

IISIf you need quick overview on RAM usage of you IIS application pools you can use the following Powershell command to retrieve the information: Continue reading

Zabbix Agent: Active vs. Passive Modes

Zabbix-monitoring-systemWhen it comes to Zabbix agent modes, there is a choice between the active and the passive modes. Each time new items or hosts are added in the front end, you need to choose the item type.

This is mandatory as the item type determines how the item will work and collect data. For the Zabbix agent, there is a choice between ‘Zabbix agent (passive)’ and ‘Zabbix agent (active)’. Continue reading

Laravel Relation “Attempt to read property on null”

Laravel property on null

It usually means that the related record is NULL or soft-deleted. There are multiple ways to gracefully handle such a situation, without showing the error to the user.

A practical example would be a list of Posts with belongs To relation to Categories.

Migration file for Posts:

Continue reading

SQL Reporting Services. HTTP Error 503 The service is unavailable

After I installed new certificate using SQL RS Configuration Manager upon opening any report I see the following:

In comparison to this case the root cause is the same: when binding a certificate Configuration Manager creates shitty URL bindings like Continue reading

Firewalld failed to start timeout

Try to start firewalld service via the following command

but get the following error after few seconds no response:

firewalld.service: Start operation timed out. Terminating.
firewalld.service: Failed with result ‘timeout’.
systemd: Failed to start firewalld – dynamic firewall daemon.

Continue reading

Fail2ban: already banned

I have Fail2Ban running on my Centos Server.

In my /var/log/messages
I noticed something really weird:

I configured Fail2Ban to add the banned IP to iptables so they cannot reach my server anymore

Continue reading

Cloudmin passthrough CPU information to VM

your-cpu-does-not-support-avx-or-avx2
I have Rocket Chat in VM hosted in Cloudmin that relies on qemu. When I tried to update Rocket Chat to the latest version I got the following error:
Your cpu does not support avx or avx2 instructions, which is required to run mongo 5.x, shipped with the next version of this snap. Continue reading

Centos: Get a newer version of e2fsck

I got an error about e2fsck version. In my case the issue happened in Centos7, when I try to expand the disk of my VM in Cloudmin.

You will hit an error with your e2fsck version. You will need to download the latest source binary of e2fsprogs from your OS distributor and install it.

[ 17.0] Resizing (using virt-resize) to expand the disk to 8.0G
virt-resize: error: libguestfs error: resize2fs: e2fsck 1.42.9
(24-Dec-2024)
/dev/sda1 has unsupported feature(s): metadata_csum
e2fsck: Get a newer version of e2fsck!

Continue reading

MariaDB fails to start: Aria engine is not enabled or did not start

mysql-logo-imageAfter low space condition once happened on a server MariaDB failed to start with :

In /var/log/messages:

Continue reading

Load more