• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

CENTOS 5.4, there is Karnel panic

J Cole

Basic Pleskian
i have a server that will not boot, CENTOS 5.4, there is Karnel panic, unable to load SELint policy.

The problem was after upgrade Plesk to 9.5 the email would not work and I reboot. It will not boot

How do i install a fix without boot up the michine.
I need to instal kernel-2.6.18-194.el5.i686.rpm

Am not a pro.


J Cole
 
Try to boot with any Linux LiveCD, mount your disk and edit /etc/sysconfig/selinux with

SELINUX=disabled

After that try to boot with your kernel.
 
Hello, I got it boot.
in the boot setting i add enforcing=0 and after boot i add enforcing=0 to /etc/grub.conf

J Cole
 
Here is a small script for this.

#!/bin/bash

# This file will load at every start (add to /etc/rc.local)
# Will verify if the kernel is different with the older started kernel and send a mail to you.
# in /boot/grub/grub.conf you need to put panic=5

# Checking whether Root Runs the Application
if [ "$(id -u)" != "0" ]; then
echo "This script must be run as root !" 1>&2
exit 1
fi
MAIL='YOURMEMAIL-HERE' // edit this line

RUNKERNEL=`uname -a |awk '{print $3}'`
FILEKERNEL='/etc/krnversion'


# If Kernel Version File does not exist, create it from the current running kernel
if [ ! -f $FILEKERNEL ]; then
echo $RUNKERNEL > $FILEKERNEL
else
GETFILEKERNEL=`cat $FILEKERNEL`
# if the file exists, compare the running kernel with the one on file and if they differ, update the kernel record file with the current kernel & notify the administration
if [ "$RUNKERNEL" != "$GETFILEKERNEL" ]; then
echo $RUNKERNEL > $FILEKERNEL
echo "!!! Warning !!!

Difference found in Kernel Versions between the Running Kernel Version and the Kernel Version File !
This probably happened because of a Kernel Upgrade or the loading of an Older Kernel to compensate for a newer Kernel panic.
Please check the versions below, make a determination and act accordingly:

Running Kernel Version is $RUNKERNEL while the Kernel Version on File is $GETFILEKERNEL

* However, the Kernel Version File was updated to match the Running Kernel Version *
#" > ~anquietas/Desktop/KERNEL_SCRIPT_LOG
| mail -s "Kernel Versios Difference Detected !" MAIL
fi
fi
 
Back
Top