HI Darren,

This is what I did to get it working under rocky9.5.


Download the go-xcat tool using wget:

wget 
https://raw.githubusercontent.com/xcat2/xcat-core/master/xCAT-server/share/xcat/tools/go-xcat
 -O - >/tmp/go-xcat

chmod +x /tmp/go-xcat


Run the go-xcat tool:
/tmp/go-xcat -x install
NOTE: This will fail with the certificate issue but carry on with the below.
NOTE2: I had previous suggested running the command with the devel option but 
it works with the standard install anyway.

cp /opt/xcat/share/xcat/ca/openssl.cnf.tmpl 
/opt/xcat/share/xcat/ca/openssl.cnf.tmpl.orig

vim /opt/xcat/share/xcat/ca/openssl.cnf.tmpl


Comment out anything with "authorityKeyIdentifier" i.e.:
fgrep authorityKeyIdentifier /opt/xcat/share/xcat/ca/openssl.cnf.tmpl

#authorityKeyIdentifier=keyid,issuer
#authorityKeyIdentifier=keyid,issuer
#authorityKeyIdentifier=keyid:always,issuer
# Only issuerAltName and authorityKeyIdentifier make any sense in a CRL.
#authorityKeyIdentifier=keyid:always
#authorityKeyIdentifier=keyid,issuer


cp /opt/xcat/share/xcat/scripts/setup-dockerhost-cert.sh 
/opt/xcat/share/xcat/scripts/setup-dockerhost-cert.sh.orig

vim /opt/xcat/share/xcat/scripts/setup-dockerhost-cert.sh


Change this line:
openssl req -config ca/openssl.cnf -new -key ca/dockerhost-key.pem -out 
cert/dockerhost-req.pem -extensions server -subj "/CN=$CNA"
to:
openssl req -config ca/openssl.cnf -new -key ca/dockerhost-key.pem -out 
cert/dockerhost-req.pem -subj "/CN=$CNA"

Source the profile to add xCAT Commands to your path:
source /etc/profile.d/xcat.sh
Reinitialise the xcat installation:
xcatconfig -i -c -s
Check the xCAT version:
lsxcatd -a

Version 2.17.0 (git commit f7e389a0c03fb18f8f1236cb4ad3fe8605765c51, built Mon 
Jan 13 01:15:40 CET 2025)
This is a Management Node
dbengine=SQLite



Closed #7481<https://github.com/xcat2/xcat-core/issues/7481> as completed via 
#7482<https://github.com/xcat2/xcat-core/pull/7482>.

Cheers

Chris


________________________________
From: Darren Whitaker <darren.whitaker....@gmail.com>
Sent: Friday, July 11, 2025 04:53
To: xcat-user@lists.sourceforge.net <xcat-user@lists.sourceforge.net>
Subject: [xcat-user] Issue starting xCAT daemon on Rocky Linux 9 and Oracle 
Linux 9 – “don’t know how to start on this platform”


Hello xCAT everyone,

I’ve been testing xCAT 2.17.0 on Rocky Linux 9.4 and Oracle Linux 9, but I’m 
running into issues getting the xcatd daemon to start.

  *   Distributions:

     *   Rocky Linux 9.4 – kernel 5.14.0-427.13.1.el9_4.x86_64

     *   Oracle Linux 9 – kernel 5.15.0-205.149.5.1.el9uek.x86_64

  *   xCAT version: 2.17.0-snap202411131534

  *   Installed using the official RPM packages

Issue:

After installation, when attempting to start xcatd, the service fails with the 
following error: (Error, don't know how to start on this platform)

Running systemctl status xcatd shows: (xcatd.service: Control process exited, 
code=exited, status=1/FAILURE

xcatd.service: Failed with result 'exit-code'.)


And lsxcatd -a returns: (Unable to open socket connection to xcatd daemon on 
localhost:3001.

Verify that the xcatd daemon is running and that your SSL setup is correct.

Connection failure: IO::Socket::INET: connect: Connection refused)

What I’ve tried so far:

  *   The installation completed successfully and SSL certificates were 
generated without errors.

  *   SELinux is disabled and the firewall is not blocking any ports.

  *   I temporarily modified /etc/os-release to simulate ID=rhel and 
ID_LIKE="rhel fedora", but the error persisted.

  *   I also tried creating a wrapper for the uname command to force it to 
return RedHat, but this didn’t help either.

  *   Looking into the Perl code of xCAT, it seems that Rocky Linux and Oracle 
Linux are probably not recognized as supported platforms.

I can provide more details about the environment or share complete logs if 
needed.

I appreciate everyone’s help.

Thanks in advance for your help!

Darren.

_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to