Fortunately there is a way round this to get the patches installed & then go back to Cisco for licence migration. You'll need to download a CentOS minimal install ISO & boot the CUCM server from it, then follow these steps:
- Select rescue installed system, skip the media check & select the appropriate language, keyboard layout, etc.
- Select local CD/DVD & don't start networking
- Select continue to mount the file system & continue through the information messages. If in doubt about which partition is active, you can boot off the CUCM Recovery DVD & use it to list the partition layout
- Start the shell
chroot /mnt/sysimage
cp /usr/local/platform/conf/licexpiry.txt licexpiry.txt.bak
rm /usr/local/platform/conf/licexpiry.txt
Next you need to stop SELinux from choking on the changes made to the filesystem, so we need turn off enforcing. Run the following command to locate the grub.conf files:
find ./ -name "grub.conf"
Now use vi to edit the grub.conf files & add enforcing=0 to the end of the line which says kernel, for example:
kernel /boot/vmlinuz-2.6.18-274.12.1.el5PAE ro root=LABEL=/partB clock=pmtmr divider=4 crashkernel=128M@16M enforcing=0
Now you can exit to reboot the server. Without licexpiry.txt present you can continue installing patches to get the desired version of CUCM.
Ahh, the SELinux part was the missing one. Thanks!
ReplyDelete