DA 1.712 - unable to update mod_hostinglimit on CloudLinux 9.8

annc

Verified User
Joined
Jun 10, 2008
Messages
32
Update mod_hostinglimits from 1.0-45 to 1.0-47 dies without any errors. I can re-run and re-run how many times i want, but it's still on update list:

download_cached: using cached '/usr/local/directadmin/custombuild/cache/mod_hostinglimits-1.0-47.tar.gz' file
CMake Deprecation Warning at CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.

Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.


-- The C compiler identification is GNU 11.5.0
-- The CXX compiler identification is GNU 11.5.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Version 2.4...
-- apache 2.4 detected...
-- Found Apache Portable Runtime: /usr/include/apache, /usr/lib/apache/libapr-1.so
-- Found Apache Portable Runtime Utils: /usr/include/apache, /usr/lib/apache/libaprutil-1.so
-- Found Apache Bin Directory: /usr/sbin, /usr/lib/apache
-- Found Apache2: /usr/include/apache
-- Apache binary /usr/sbin/httpd
[Sat Oct 03 07:40:49.270918 2026] [so:warn] [pid 1675546:tid 1675546] AH01574: module security2_module is already loaded, skipping
-- USE MUTEX WORKER, EVENT FOUND
-- Configuring done (0.7s)
-- Generating done (0.0s)
-- Build files have been written to: /usr/local/directadmin/custombuild/tmp/tmp.FJ44vHFh8v.mod_hostinglimits-1.0-47.tar.gz
[ 50%] Building C object CMakeFiles/mod_hostinglimits.dir/src/apache2.x/mod_hostinglimits.o
[100%] Linking C shared module lib/mod_hostinglimits.so
[100%] Built target mod_hostinglimits
Install the project...
-- Install configuration: ""
-- Installing: /usr/lib/apache/mod_hostinglimits.so
 
CL has decided to forget to bump the version inside their package for new release:

Code:
# curl https://repo.cloudlinux.com/cloudlinux/sources/da/mod_hostinglimits-1.0-47.tar.gz -L|tar Oxz mod_hostinglimits-1.0-47/src/apache2.x/mod_hostinglimits_version.h|grep  MOD_HOSTINGLIMITS_VERSION
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 68811  100 68811    0     0   169k      0 --:--:-- --:--:-- --:--:--  169k
#ifndef _MOD_HOSTINGLIMITS_VERSION_H
#define _MOD_HOSTINGLIMITS_VERSION_H
#define MOD_HOSTINGLIMITS_VERSION "1.0-45"
 
I've just updated to this version of mod_hostinglimits now all my sites on a CL9 server show 508 / Resource limit is reached. Any ideas?
 
CloudLinux intervened on my server and where I assumed it was mod_hostinglimits erroring, it was kmod_lve.

During the last reboot, the server loaded the new LVE kernel module, kmod-lve 2.1-78. On some servers this version cannot create the LVE environments for hosting accounts. Because of that, Apache cannot serve requests for those accounts, and every website returns the 508 error. We have seen the same problem on other servers and have already reported it to our developers, who are working on a permanent fix.

As a workaround, we have downgraded kmod-lve to version 2.1-76, which does not have this problem. The faulty module is still loaded in memory and cannot be unloaded while the server is running, so the older version will only take effect after a reboot.

Should you see the same on your server, this is the fix for now.
You should lock the kmod-lve version too because otherwise it will update again.
 
Back
Top