Message: Restart and stop operations are only supported on servers that are in 'Ready' state. Server 'xxx' is in 'Ready' state.

Matthew Ethan Tam 20 Reputation points
2025-07-09T07:48:03.0633333+00:00

Hi, I have a Azure PostgreSQL Flexible database, and at 11:30 pm GMT+2 it lost connection to our app service, we cannot restart the database as it gives the following error:

Message: Restart and stop operations are only supported on servers that are in 'Ready' state. Server 'xxx' is in 'Ready' state.

This doesn't make any sense as the error states the server is in a Ready state.

Azure Database for PostgreSQL
{count} votes

Accepted answer
  1. Saraswathi Devadula 10,855 Reputation points Microsoft External Staff Moderator
    2025-07-09T13:35:32.6233333+00:00

    Hello Matthew Ethan Tam

    Following up on the discussion, the Azure Database for PostgreSQL Flexible Server in the Azure portal is unable to start or stop, with error message.,
    Restart and stop operations are only supported on servers that are in 'Ready' state. Server 'xxx' is in 'Ready' state.

    As mentioned, we attempted to mitigate the issue by getting back the server online. The cause of this issue is because of the VMagent is unresponsive.

    I hope this has been helpful!

    Your feedback is important so please take a moment to accept answers. If you still have questions, please let us know what is needed in the comments so the question can be answered. Thank you for helping to improve Microsoft Q&A!

    If this answers your query, do click Accept Answer and Upvote for was this answer helpful.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.