CentOS/RHEL 5 Kickstart reboot error

Posted on 2007-10-15
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
    LVL 34

    Expert Comment

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

    Accepted Solution

    Turns out reboot -f works, duh.
    LVL 34

    Expert Comment

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

    Expert Comment

    by:Duncan Roe
    OK you only asked about reboot ... I guess
    LVL 1

    Expert Comment

    Closed, 500 points refunded.
    Community Support Moderator

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Join & Write a Comment

    Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
    SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

    755 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

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now