Server stays in runlevel 6 after reboot causing network service not to start
I'm currently having an issue with RHEL 6.6 on HPE BL660 Gen8 server wherein after OS installation via kickstart, the server comes up successfully. But when I check the runlevel it reports as 'unknown'. After installing a couple of tools for monitoring, config management, and then I reboot it, the server comes up but stays in runlevel 6.
This means none of the network interfaces start. However, the OS disk is using FCoE to boot from SAN and it works without any issues.
What has been checked so far:
- default runlevel in inittab is set to 3
- network service is enabled and if the service is started manually, the interfaces get initialized
- All ethernet interfaces have ONBOOT parameter set to YES
- Added an entry into /etc/rc.local to execute 'service network start' but that doesn't help as well
- Manually execute init 3 on the command line - it still doesn't start the network services
- Reboot the server using init 6
The blade server is using QLOGIC FLB630 20G cards and I've tried updating its firmware as well.
None of the above has worked. Is there any way to diagnose what's causing this issue? appreciate your help
Responses
I'm currently having an issue with RHEL 6.6 on HPE BL660 Gen8 server wherein after OS installation via kickstart, the server comes up successfully. But when I check the runlevel it reports as 'unknown'. After installing a couple of tools for monitoring, config management, and then I reboot it, the server comes up but stays in runlevel 6.
Do you mean it stays up in runlevel 6 instead of taking reboot? I assume you wanted to say 'it stays up in runlevel 5'.
If I assume that you are referring to runlevel 5 in which network service is not up, then need to check a few things:
- Check if 'Networking' is set to Yes in '/etc/sysconfig/network. I assume you might have already checked on this.
- Check the start script file if available in /etc/rc.d/rc5.d, it should be 'S10network'
S10network -> ../init.d/network
If this file is not available there, then create it as root user as symbolic link to /etc/init.d/network script file.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
