Skip to main content
Solved

Unable to start centreon-as400.service after Debian 12 upgrade

  • 22 May 2024
  • 2 replies
  • 74 views

Hello,


We recently upgraded our Centreon infrastructure from Debian 11 to Debian 12.

Since the upgrade, the systemd service “centreon-as400” is unable to start, and the associated connector Centreon AS400 doesn’t work without the service.

 

We see that on Debian 12 it is Java version 17 who is installed , not Java 11 like in Debian 11.

Could this can be the issue ? Have you any issue on your side with centreon as400 connector on Debian 12 ?

 

Thanks for your reply,

Kind Regards,

 

AD

2 replies

Badge +3

After more investigation, it seems that the package centreon-plugin-operatingsystems-as400-daemon who provide the centreon-as400 service doesn’t exists on Debian Bookworm repos, only on Bullseye repos. 

I can only find the package centreon-plugin-operatingsystems-as400-daemon on https://packages.centreon.com/ in version 2.0.2-bullseye , but no version for bookworm. The package centreon-plugin-operatingsystems-as400-connector have theses 2 versions on it side, no problem for this.

Can you please make this centreon-plugin-operatingsystems-as400-daemon package available for bookworm too ? 

Many thanks.

Badge +3

I solved this issue this morning with installation of another JRE in V11 next to the default JRE OS in V17 who is installed by the package centreon-plugin-operatingsystems-as400-daemon ; the centreon-as400 service is now started and works.

Step by step resolution after Debian 12 upgrade with JRE V11 from Adoptium Temurin : 

wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | sudo gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/adoptium.gpg > /dev/null
echo "deb https://packages.adoptium.net/artifactory/deb $(awk -F= '/^VERSION_CODENAME/{print$2}' /etc/os-release) main" | sudo tee /etc/apt/sources.list.d/adoptium.list
sudo apt update
sudo apt install temurin-11-jre
sudo update-alternatives --config java (choose the temurin java 11)
sudo systemctl restart centreon-as400.service

 

Reply