Migration from CentOS 7 to AlmaLinux 8.5

Dennis

Verified User
Joined
Nov 13, 2004
Messages
106
Location
The Netherlands
Hi,

I have managed to migrate a server from CentOS 7 to Almalinux 8.5.

When I try to ./build all I get the following error in the Exim build:

In file included from /usr/include/linux/kernel.h:5, from /usr/include/sys/sysinfo.h:24, from os.c:39: /usr/include/linux/sysinfo.h:9:2: error: unknown type name '__kernel_long_t' __kernel_long_t uptime; /* Seconds since boot */ ^~~~~~~~~~~~~~~ /usr/include/linux/sysinfo.h:10:2: error: unknown type name '__kernel_ulong_t' __kernel_ulong_t loads[3]; /* 1, 5, and 15 minute load averages */ ^~~~~~~~~~~~~~~~

I searched the internet but canot find a solution.

Does anybody have a hint?

Thanks in advance!
 
Almalinux 8.5.
Run the pre install commands
Code:
yum install wget gcc gcc-c++ flex bison make bind bind-libs bind-utils openssl openssl-devel perl quota libaio \
libcom_err-devel libcurl-devel gd zlib-devel zip unzip libcap-devel cronie bzip2 cyrus-sasl-devel perl-ExtUtils-Embed \
autoconf automake libtool which patch mailx bzip2-devel lsof glibc-headers kernel-devel expat-devel \
psmisc net-tools systemd-devel libdb-devel perl-DBI perl-libwww-perl xfsprogs rsyslog logrotate crontabs file kernel-headers hostname

then try the ./build all
 
I think he means this one.
 
Transip have automated backups , try to restore and as @bdacus01 said try it again and share your experience here
 
Last edited:
I presume you rebooted before doing the rebuild of DA right?

I'm very curious as to the next attempt and if it succeeds. Be sure to only use official DA mirrors.
 
@Richard G Yep, did all the steps and had a new OS when I checked the /etc/os-release.
Also the leapp preupgrade was all green. No errors what so ever.

In the end, I also had some random reboots when the server was online, but the SSD made it ook like an internet hiccup....(it is a testserver fortunately). So something was wrong after or in the upgrade.

Going for the how-to which Active8 made and see how that turns out next run.
 
Back
Top