Upgrade to 24.5 and...
 
Notifications
Clear all

Upgrade to 24.5 and Upgrading to Rocky 9 from Rocky 8

1 Posts
1 Users
0 Reactions
182 Views
(@eliwap)
Joined: 10 months ago
Posts: 15
Topic starter  

Hi

I encountered several problems while making the upgrade.

1st the dependancy libbsd was missing. It seems it is required for carbonio-confd.service It is obtained from the epel repository

dnf install libbsd

2nd there were a bunch of services that were not enabled which was easily corrected by using systemctl to enable those services.. However carbonio-configd and carbonio-openldap refused to start properly even after reboot. There seems to have been a conflict in a couple of places. I'm not smart enough to figure out where.

carbonio-openldap refused to start because the address was already in use.

carbonio-configd did start, but then it would seem that something somethinig else was trying to start the service and I was getting repeated messages on the console that te service was already started.

I wrote the following script that seems to handle it OK which I run when I reboot the machine from a cron job. I called the script: carbonio_startup_issues.sh

#!/bin/bash

# Eli Wapniarski. - May 24, 2024
#
# This small script was written to handle startup problems with carbonio after
# upgradeing from 24.3 to 24.5 and then upgrading Rocky Linux 8 to 9
# Hopefully this will become obsolete soon :)
#
# The script is designed to be started after the server has been rebooted and is triggered by the
# following cron job that should be owned by root. Of course when adding the line to root's
# crontab do not incluide the comment "#"
#
# @reboot /usr/local/bin/carbonio_startup_issues.sh
#
# Also, I found that I needed to wait a bit before the script executes otherwise
#  carbonio-openjldap would not start

sleep 300

su -u zextras /opt/zextras/bin/zmconfigdctl stop
systemctl restart carbonio-configd

killall slapd
systemctl restart carbonio-openldap

 

I hope that this is helpful.


   
Quote