/usr/bin/ld: ../../lib/libmoab.a(MSys.o):/home/.../maui-3.3.1/src/moab/MSys.c:147: multiple definition of 'MSim'; mprof.o:/home/.../maui-3.3.1/src/server/mprof.c:178: first defined here
因为chkconfig已经不存在Rocky Linux 9.6下了,而且用dnf/yum都没办法安装chkconfig(源包已经没办法下载)的情况下,我们需要自己写一个maui.d.service文件给systemctl,让他去启动init.d/maui.d这个SysVinit的进程。直接打/etc/init.d/maui.d start会报错:
Starting maui.d (via systemctl): Failed to start maui.d.service: Unit maui.d.service not found.