Gateway service not recognizing server reboot command
search cancel

Gateway service not recognizing server reboot command

book

Article ID: 437415

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

The server reboot command issued within the script (used for applying patches) is not being recognized by the gateway service. The SSH session was disconnected, yet the gateway service displayed the message "Configuration service not available (please reboot)." The following reboot commands were used unsuccessfully:

  • systemctl reboot
  • sudo shutdown -r now
  • shutdown -r +1
  • shutdown -r now

Environment

API Gateway

Resolution

The reboot option in the ssgconfig menu uses the /sbin/reboot command for restarting the server. Update the custom script to use this command for rebooting the server.

Additional Information

To review recent reboots on the server, you can try the following command:


grep reboot /var/log/auth.log