[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: shutdown problem



Penny Champine wrote:
 >
 > When I try to shutdown I get the following error:
 >
 > [root server /etc]# shutdown -r now
 >
 > Error in startup script: can't read "env(CMS_ROOT)": no such element in
 > array
 >     while executing
 > "set HOME $env(CMS_ROOT)"
 >     (file "/bin/shutdown" line 5)
 > I can shutdown the system if issue the /sbin/shutdown -r now command
 > instead of the /bin/shutdown command procedure.
 >
 > the system is running:
 >
 > Red Hat Linux release 6.2 (Zoot)

Where did /bin/shutdown come from ?
I have /usr/bin/shutdown, but it's a link to
/usr/bin/consolehelper which uses pam to run
/sbin/shutdown
They are from the usermode rpm.

-Thomas

Thomas,


I'm not sure where /bin/shutdown can from. The system was pre-loaded by a vendor. /usr/bin/shutdown points to consolehelper and works fine. I guess I'll move /bin/shutdown out of the way. Thanks for the input - Penny



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]