AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
 View Only
  • 1.  getting error while using shutdown command

    Posted Tue September 27, 2011 03:23 AM

    Originally posted by: manu12


    Hi,

    I am getting below error while using shutdown -F now command

    /etc/rc.shutdown failed. Shutdown aborting

    Please suggest.
    #AIX-Forum


  • 2.  Re: getting error while using shutdown command

    Posted Tue September 27, 2011 08:31 AM

    Originally posted by: styerd


    An administrator can create an "/etc/rc.shutdown" script (called from "/etc/shutdown") to manage their own processor shutdown needs. That script is returning a non-zero return code.
    #AIX-Forum


  • 3.  Re: getting error while using shutdown command

    Posted Tue September 27, 2011 09:42 AM

    Originally posted by: alethad


    Were there any messages on the console yet? If so what were they? The messages should give you an indication where the script failed.

    The shutdown script hasn't been edited has it?
    #AIX-Forum


  • 4.  Re: getting error while using shutdown command

    Posted Wed September 28, 2011 09:00 AM

    Originally posted by: John_T


    Many places I've worked have included an 'exit 0' at the end of /etc/rc.shutdown to ensure the server goes down when requested.

    John T. Mills
    #AIX-Forum


  • 5.  Re: getting error while using shutdown command

    Posted Thu September 29, 2011 01:06 PM

    Originally posted by: esv


    > John_T wrote:
    > Many places I've worked have included an 'exit 0' at the end of /etc/rc.shutdown to ensure the server goes down when requested.
    >
    > John T. Mills
    edit /etc/rc.shutdow and add the "-x" flag to make it run in verbose mode, it should give you a clue what is failing to execute properly, lately I've found many stop scripts that fail if the application/database is already down.
    best regards,
    enrique sanchez.
    #AIX-Forum