Share via

Azure Postgres Server stuck in "Starting..." status for over an hour. How to stop or delete?

Vish Talreja 20 Reputation points
2026-06-03T00:37:27.97+00:00

Stuck in this state. Tried CLI as well but nothing. Can't delete nor stop/restart.

(OperationFailed) Operation HandleWalServiceFailureManagementOperation failed, because server yyy-prod-db not in active state.

Code: OperationFailed

Message: Operation HandleWalServiceFailureManagementOperation failed, because server yyy-prod-db not in active state.

Azure Database for PostgreSQL

Answer accepted by question author

Jerald Felix 13,255 Reputation points Volunteer Moderator
2026-06-03T05:00:25.9866667+00:00

Hello Vish Talreja ,

Greetings! Thanks for raising this question in Q&A forum.

The reason this is happening is that your Azure PostgreSQL Flexible Server encountered an internal WAL (Write-Ahead Logging) service failure during startup. This caused the server to get stuck in a "Starting..." state where Azure's control plane can no longer send stop, restart, or delete commands to it because all those operations require the server to first be in an "Active" state. Essentially, the server is caught in a deadlock between failing to start and not being stoppable.

Since you cannot resolve this from the portal or CLI on your own, here is what you should do:

Step 1: Check Azure Service Health

Go to the Azure Portal and search for "Service Health". Filter by your region and check if there are any active incidents related to Azure Database for PostgreSQL. If there is a platform-level issue, it may resolve on its own.

Step 2: Wait a Short While and Retry

Sometimes Azure's backend eventually times out the stuck operation and resets the server state. Wait about 15–20 more minutes, then try running this CLI command again:

az postgres flexible-server stop --resource-group <your-rg> --name yyy-prod-db

Step 3: Raise an Azure Support Ticket (Most Important Step)

Since this is a production server and involves an internal platform operation (HandleWalServiceFailureManagementOperation), you need Microsoft's backend team to manually intervene. Here's how:

  • Go to the Azure Portal
  • Click "Help + Support" from the left menu
  • Click "Create a support request"
  • Select Issue type: Technical
  • Service: Azure Database for PostgreSQL
  • Problem type: Server unavailable / stuck in Starting state
  • Severity: Set to "A - Critical" since it's a production database

Make sure to include the full error message and your server name (yyy-prod-db) in the ticket description.

Step 4: While Waiting, Assess Your Recovery Options

If you have Point-in-Time Restore (PITR) enabled, you can restore your database to a new server as a workaround to get your application back online while the stuck server is being handled. Run:

az postgres flexible-server geo-restore \
  --resource-group <your-rg> \
  --name yyy-prod-db-restored \
  --source-server yyy-prod-db \
  --restore-time <timestamp>

This will at least unblock your production workload while Microsoft resolves the stuck state on the original server.

Unfortunately, there is no self-service way to force-delete or force-stop a server stuck in this specific state — it requires a backend platform-level fix from the Azure support team.

If this answer helps you kindly accept the answer which will help others who have similar questions.

Best Regards,

Jerald Felix.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Vish Talreja 20 Reputation points
    2026-06-03T05:31:28.8133333+00:00

    Thanks Jared. I've tried stopping as per the documentation and I'm unable to. the server is stuck in the "Starting..." state since the past 5 hours now.

    az postgres flexible-server stop --resource-group kord-prod_group --name kord-prod-db

    Server will be automatically started after 7 days if you do not perform a manual start operation

    (SeverBusyWithOtherOperation) Cannot perform 'Stop' server operation because server 'kord-prod-db' is busy processing other operation.

    Code: SeverBusyWithOtherOperation

    Message: Cannot perform 'Stop' server operation because server 'kord-prod-db' is busy processing other operation.

    Was this answer helpful?


Your answer

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