CentOS/RHEL 5 Kickstart reboot error

Posted on 2007-10-15
Medium Priority
Last Modified: 2008-01-09

I'm having a problem with CentOS (RHEL) kickstart installs on Dell 1435 and 2850 servers.  Everything works fine right through the post install script until the very end, which is the reboot command.  In fact, I've tried reboot, init 6, shutdown -r now.  Each time I see this error:

init: /dev/initctl: No such file or directory


shutdown: /dev/initctl: No such file or directory

From the shell console I can see that the file is indeed not there.  Looking on running systems I see that this file is a fifo pipe and is open by init:

[root@server1 ~]# ls -l /dev/initctl
prw-------  1 root root 0 May 30 07:14 /dev/initctl|
[root@server1 ~]# fuser /dev/initctl
/dev/initctl:            1

I've tried creating the file in my post install (mkfifo /dev/initctl), but obviously I can not make the init process open it.  I get a different error which I did not capture, I think that it could write or read to the file or something.  (Also, issuing these commands from the shell console works fine.)

The problem with this is that I have to physically go to the server and hit a key to get it to reboot--which is a pain not only because I have to hook up a kvm, but because the servers are across the city.

I've searched around but haven't found a solution for this.  Anybody else encountered this?  Anybody have a work-around?

Question by:ltarc3
  • 3
LVL 35

Expert Comment

by:Duncan Roe
ID: 20081847
You have to do the mkfifo in the root image that is downloaded by tftp at boot

Accepted Solution

ltarc3 earned 0 total points
ID: 20085628
Turns out reboot -f works, duh.
LVL 35

Expert Comment

by:Duncan Roe
ID: 20089530
Probably leaves the old /dev - don't you still have a problem on boot from power up?
LVL 35

Expert Comment

by:Duncan Roe
ID: 20089538
OK you only asked about reboot ... I guess

Expert Comment

ID: 20117521
Closed, 500 points refunded.
Community Support Moderator

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month16 days, 5 hours left to enroll

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question