35910

How do I know why my Azure instance doesn't start?

I deployed my service package into Windows Azure. Management Portal has been showing "waiting for the role instance to start" for 30 minutes already so I assume something is wrong.

I know that there's Azure Diagnostics, but is there some easier way to find what's going on in my instance - like some console displaying some detailed output or something?

Answer1:

@dunnry The problem is that you can't open a RDP session to the server if your Azure Role is not running, so you don't know anything what is going on.

Most of the times there is something wrong in your Azure Configuration files. Try removing parts and redeploy afterwards. Pay triple attention to your ConnectionStrings. Make sure that the ServiceDefinition ConfigurationSettings are all defined in the ServiceConfiguration ConfigurationSettings File.

What we basically do is to deploy on a nightly build basis. We can check our ChangeSets of the day before after an instance is not reaching the running state.

Answer2:

In these cases, it is probably the most expedient to simply RDP into the box and see what is going on. Event logs, hitting the site, etc., from inside the machine usually gives you a pretty good idea. If you have Intellitrace (Visual Studio Ultimate), you can also enable that and suck down the logs to see what is happening. That works very well also.

Answer3:

If the Azure Diagnostics doesn't tell you anything then I don't think so - no. Somewhat annoyingly, one thing that frequently causes problems is Azure Diagnostics initialization - e.g. if the diagnostics connection string is wrong.

If the role instances start but the app has problems then the remote desktop might help.

If all else fails, try Azure support - it's still free right now.

Recommend

  • Yii2 Login with database
  • Action Pack components in Rails
  • Returning the auto incrementing value after an insert using slick
  • hibernate sets dirty flag (and issues update) even though client did not change value
  • NHibernate manually control fetching
  • Unable to send e-mail through Java
  • Salesforce Different WSDL files and when to use
  • Is there some graphical way to create my own configuration file on SonarLint?
  • SQLite connection strategies
  • Position: fixed nav does not stay fixed
  • Spring Cloud Microservice Architecture Confusion
  • Button click event not firing in jQuery
  • How can I extract results of aggregate queries in slick?
  • How to run “Deployd” on port 80 instead of port 5000 in webserver.
  • Atlas images wrong size on iPad iOS 9
  • Debugging ASP.NET on a built-in web server suddenly stops
  • How can I send an e-mail from a vbs script
  • NetLogo BehaviorSpace - Measure runs using reporters
  • Resize panoramic image to fixed size
  • Volusion's generic SQL folder, functionality
  • Join two tables and save into third-sql
  • How to model a transition system with SPIN
  • ActionScript 2 vs ActionScript 3 performance
  • ORA-29908: missing primary invocation for ancillary operator
  • How can I estimate amount of memory left with calling System.gc()?
  • Apache 2.4 - remove | delete | uninstall
  • jqPlot EnhancedLegendRenderer plugin does not toggle series for Pie charts
  • How do I rollback to a specific git commit
  • Is there a mandatory requirement to switch app.yaml?
  • InvalidAuthenticityToken between subdomains when logging in with Rails app
  • How do you join a server to an Active Directory (domain)?
  • coudnt use logback because of log4j
  • LevelDB C iterator
  • Linking SubReports Without LinkChild/LinkMaster
  • EntityFramework adding new object to nested object collection
  • Busy indicator not showing up in wpf window [duplicate]
  • How to get NHibernate ISession to cache entity not retrieved by primary key
  • UserPrincipal.Current returns apppool on IIS
  • Converting MP3 duration time
  • java string with new operator and a literal