Link to home
Start Free TrialLog in
Avatar of ltarc3
ltarc3

asked on

CentOS/RHEL 5 Kickstart reboot error

Hi,

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

or

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?

thanks,
LT
Avatar of Duncan Roe
Duncan Roe
Flag of Australia image

You have to do the mkfifo in the root image that is downloaded by tftp at boot
ASKER CERTIFIED SOLUTION
Avatar of ltarc3
ltarc3

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Probably leaves the old /dev - don't you still have a problem on boot from power up?
OK you only asked about reboot ... I guess
Closed, 500 points refunded.
Vee_Mod
Community Support Moderator