Quantcast
Channel: Azure Virtual Machines forum
Viewing all 12545 articles
Browse latest View live

Unable to user RDP with users other than the principal one

$
0
0

In my virtual machine I've created another user, added him to the remote desktop users, but when I try to connect with RDP using that user I got this error.

The user Profile Service failed the Sign-in- User Profile cannot be loaded.

I've tried to add other username, but I've this error with all user except the principal one created during provisioning of Virtual Machine.

Gian MAria.l


Ricci Gian Maria. (http://www.codewrecks.com)


Azure VM restart by vmicsvc.exe

$
0
0

Hi Window Azure Support Team,

We have many VM machine on Window Azure and day before yesterday one of our VM reboot by this bug.

Please note this VM hosted SQL server and many live clients, this time we are fortunate that no database was corrupted due to this sudden reboot, Please let us know how to make sure such sudden reboot will not happen in future, please suggest?

Window Log message:

Log Name:      System

Source:        USER32

Date:          3/22/2014 1:27:06 AM

Event ID:      1074

Task Category: None

Level:         Information

Keywords:      Classic

User:          SYSTEM

Computer:     Servername

Description:

The process C:\Windows\system32\vmicsvc.exe (Servername) has initiated the shutdown of computer Servername on behalf of user NT AUTHORITY\SYSTEM for the following reason: Other (Planned)

Reason Code: 0x80000000

Shutdown Type: shutdown

 

How do I upgrade my OS from Windows 2012 to Windows 2012 R2?

$
0
0

You would think I could find an answer to this question after a quick search, but I can't.  I have a current Azure server running Windows 2012 and I want to upgraded it to R2.  I have seen about 50 sets of instructions, but they are not accurate.  I saw this link - msdn.microsoft.com/en-us/library/windowsazure/gg433101.aspx, but I don't have the option to choose Stage or Production (#3, probably because I don't have a Staging site), but most importanly, I do not have an option to choose CONFIGURE (#4).  This does not exist. 

I also say this link - msdn.microsoft.com/en-us/library/windowsazure/gg456324.aspx, but where is the .cscfg file to open?  It's not on the Guest OS or the portal, so I have no idea where to find this file.

It also seems odd that you would have to set VM to upgrade from the Cloud Services tab, and not the Virtual Machine tab, so maybe I'm missing something...  Even so, it shouldn't be this difficult to find an answer to such an easy task.

VM is stuck at provisioning when creating from a customized image

$
0
0

I am kind of new and try to capture a image and create another VM from this image. 

Here is what I did.

1. Create a new VM from standard image, for example, windows server 2008 R2

2. RDP the VM and run sysrep . Just followed the this link

  2.1 Choose OOBE with Quit
  2.2 Logoff VM
  2.3 Shutdown from Azure management portal 
  2.4 Capture image

3. Spin a new VM from the saved customized image and the new Vm is stuck in Running(Provisioning)

So I found another link to fix the issue to remove %windir%\Panther\Unattend.xml. 

Then I re-do creating a new VM from the cutomized image. However, I still have the VM stuck in provisioning state. 

Does anyone have any suggestion?

 

How to shrink the default 127 GB Windows VHD to a more manageable size for download?

$
0
0

Hi,

I'm new to this Windows Azure experience, having been an Amazon EC2 user for a few months prior, and I'm not sure how I can download my Windows Azure VHDs (that are created at 127 GB by default) without being forced to download all 127 GB.

Is there an easy way to shrink the VHD sizes to something more easily downloaded? Even 30 GB is a lot for a download, but 127 GB is not really acceptable for a download size when you have 10 GB or less of data on the drive.

Azure Powershell Save-AzureVhd fails with vague error: One or more errors occurred

$
0
0

I am trying to download a Azure vhd to local disk. The process starts, creates the file, reports progress then exits with the below message.

Save-AzureVhd -Source $sourceVHD -LocalFilePath $destinationVHD -NumberOfThreads 5 -verbose
Elapsed time for download: 00:00:37
Save-AzureVhd : One or more errors occurred.
At line:4 char:1+ Save-AzureVhd -Source $sourceVHD -LocalFilePath $destinationVHD -NumberOfThreads ...+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ CategoryInfo          : NotSpecified: (:) [Save-AzureVhd], AggregateException+ FullyQualifiedErrorId : System.AggregateException,Microsoft.WindowsAzure.Commands.ServiceManagement.StorageServices.SaveAzureVhdCommand

Add-AzureDataDisk - BadRequest: The specified disk size value of 0 GB is invalid.

$
0
0

I had a script I have used many time to duplicate a disk by copying the blob then attaching the disk. It has recently started to fail with the error message:

Update-AzureVM : BadRequest: The specified disk size value of 0 GB is invalid. Disk size must be between 1 GB and 1023 GB.
At line:1 char:171
+ ... Caching None | Update-AzureVM
+                    ~~~~~~~~~~~~~~
    + CategoryInfo          : CloseError: (:) [Update-AzureVM], CloudException
    + FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.UpdateAzureVMCommand

The script is:

$storageAccount = Get-AzureStorageAccount
$storageKey = Get-AzureStorageKey -StorageAccountName $storageAccount.Label
$destContext = New-AzureStorageContext -StorageAccountName $storageAccount.Label -StorageAccountKey $storageKey.Primary

$srcUri = "http://myaccount.blob.core.windows.net/vhds/TestDisk.vhd"

$fileName = "NewTestDisk.vhd"

$blob = Start-AzureStorageBlobCopy -srcUri $srcUri -DestContainer $containerName -DestBlob $fileName -DestContext $destContext

$CopyState = Get-AzureStorageBlobCopyState -Container $containerName -Blob $blob.Name

While ($CopyState.Status -ne "Success")
{

 Start-Sleep 15

}

$uri = "http://myaccount.blob.core.windows.net/vhds/NewTestDisk.vhd"

$AddDiskStatus = Get-AzureVM -ServiceName $serviceName -Name $vmName | Add-AzureDataDisk -ImportFrom -MediaLocation $uri -DiskLabel $disklabel -LUN 0 -HostCaching None | Update-AzureVM

The blob copies you can see it in storage. In fact, once you get the error you can go into the web GUI and Attach the disk.

Anyone seen this? I know many people use similar to copy blobs across accounts, this is even simpler its in the same account in the same storage and location.Any thoughts would be appreciated.

VM machine automatically rebooted

$
0
0

Can someone explain why one of my Ubuntu server was rebooted in the middle of the day?

Mar 25 10:55:09 host kernel: [3241156.287390] hv_utils: Shutdown request received - graceful shutdown initiated

Time is in PDT. That's a production server and therefore my website went down. I need an explanation on why there were no warnings. Plus, looking at the Azure Health Dashboard everything looked ok in the West US datacenter.

I also find absolutely outregeous that I have to post on a public forum for issues lke these.

Please provide an explanation ASAP.


Can a clone of a VM be created?

$
0
0

I have a scenario where every time I get a new client I need to create a new VM, and the steps involved are:

Install SQL Server

Install .Net Framework 4.5

Install IIS

Install our Windows Service

Install our Website(s)

Is it possible to create a "Setup Machine" and clone the "VM" and then when a new client needs to be setup I only have to come in and clone the 'Image' and change the database name, connection strings, etc.

VMs had been restarted by vmicsvc.exe

$
0
0

Some of my VMs had been restarted by vmicsvc.exe around 3/21/2014 10:43:31 PM(UTC).

Event log show that:

The process C:\Windows\system32\vmicsvc.exe (XXX) has initiated the shutdown of computer XXX on behalf of user NT AUTHORITY\SYSTEM for the following reason: Other (Planned)
 Reason Code: 0x80000000
 Shutdown Type: shutdown

What happened to my VMs?


Virtual Machine - cannot shutdown, nor connect to it

$
0
0

Hi,

I have a virtual machine with Windows Server 2012.

I had problems to start it a few days ago on: 3/26/2014. After many retries (along 7 hours or so), it started. Now it is shown as running but I cannot use it. I cannot connect to it through RDP.

Even more, now I cannot shut it down, nor restart it. At each retry I am getting: "The server encountered an internal error. Please retry the request.", respectively There was no endpoint listening at https://management.core.windows.net:8443/e9cd1b15-b225-40ff-b20c-6f15fa2e74bf/services/hostedservices/FC-dev-VS2013/deployments/FC-dev-VS2013/roleInstances/FC-dev-VS2013/Operations that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.

Subscription id: e9cd1b15-b225-40ff-b20c-6f15fa2e74bf

Deployment Id: 297a852bd6c1458fba184c221437257e

What can I do to get this solved? 

Azure bills me for it, but I cannot use it. Not fair..

Thanks in advance for any help

Recovery manager and Hyper-V virtual machine Azure

$
0
0

Hi,

I have virtual machine on Azure (Windows Server 2008 R2). After reading a lot of documentations on internet (Microsoft source), I can't understand how I can do work my Hyper V recovery manager for this VM.

Is it possible for my VM ? The goal is to restore my VM to a previous state. Is it a good idea  to use Hyper V Recovery Manager) ? Or we can use Windows Azure Backup ?

Thanks for your time

DUMAS Gautier NoToS


DUMAS Gautier NoToS

Connection refused error ssh on Linux virtual machine

$
0
0

I have setup 1 cloud service with 3 instances  of Linux machines

the first isnstance Shh end point set to port 22

the other matchine on the same cloud service end points set up to : 23 and 24

so, when I conneting  with Putty to the first machine at poert 22 it works  fine

but to the other (23,24) I always got error connection refued

how i can remote the other 2 instances?

Hosting Multiple sites with custom domain for each other in a single VM

$
0
0

I have created a Windows Server 2008R2 Virtual Machine, installed IIS in it, and hosted a root site , and configured it to access it through custom domain . i.e www.mysitetech.com

Now i want to host another website on the same server with another domain name, i.e www.mysiteweb.com

I am planning to host 3 to 4 website on that same server.

How can i configure iis for the same.

And can any one suggest some free control panel like softwares which i can use to manage the websites hosted on the Azure VM iis from internet without need to connect to virtual machine remotely.

Please help, its critical.


Dream Success

All VMs shutdown in the middle of the day by process vmicsvc.exe Event ID 1074

$
0
0

we can see that the servers were instructed to restart via a windows process 'Event ID 1074 , the process 'c:\windows\system32\vmicsvc.exe has initated a shutdown of computer'

I have found other Azure subscribers having the same issue

'social.msdn.microsoft.com/Forums/en-US/40ce155c-2188-4a59-9507-85bb06d6e0e2/unexplained-shutdown-of-three-vms-last-night'

Is this still an issue as the last posts I have read are nearly a year ago, this is also unacceptable for our client who have production systems running via Azure.

We resized the servers about 3 months ago, so do we have to re-size again?? or is there a permanent fix?

Kind Regards 


The IO operation at logical block address xxxxxxx for Disk x was retired.

$
0
0

In my Azure VM I'm getting lots of these errors in the System event log:

The IO operation at logical block address xxxxxxx for Disk x was retired.

These errors are causing my VM to preform very slowly and lock up such that I can't access it via RDP or access the web site it is hosting. Rebooting seems to help, but the problem continues to come back. What can be done to fix this?

VM auto restart

$
0
0

Hi team,

we encount some  VM role auto restart problem, 

we have a VM availbity set which contains 3 VMs and today these VMs are restarted one by one, 

i know that availbity set can keep at least one VMs is alive at a moment, but i would like to know why these VMs are auto restarted,  all these VMs have been resized from Small to Medium.

in the system log, there are

The process C:\Windows\system32\vmicsvc.exe (xxxx) has initiated the shutdown of computer xxx on behalf of user NT AUTHORITY\SYSTEM for the following reason: Other (Planned)
 Reason Code: 0x80000000
 Shutdown Type: shutdown
 Comment: 

also in event log we can see that : "Hardware has changed from previous boot"

we think that if this is the root cuase of the auto restart.

thanks in advance.

Servers restart without warning and then windows services do not start.

$
0
0

I understand the reasons that Azure IAAS servers must be restarted, but the process by which it happens (for me at least) is really rough.  Yesterday, All my servers restarted twice in one night, without warning of a planned maintenance window.  From what I can gather this was due to host upgrades in the East US region.  However, not only did it take each server much longer than normal to boot, the essential services (iis on web services, sql on SQL services, etc ) did not restart with out manual intervention.  I have fail overs and HA, but it is of no use when i have to babysit all the servers so that they actually come back up before another server restarts.  This does not happen when i restart the servers myself so why when MS does it?  

In addition, our application is quite complex and has many layers and hence many availability groups - approximately one for each functional layer of our application.  This means that the short outage that occurs while a failover occurs within an availability group, happens frequently during a host upgrade and so the application is unanavailable for a much longer period of time than expected during the short but frequent recoveries.   

my questions is two parts

1. Has anyone else experienced services not restarting after an azure host upgrade and hopefully found a solution? 

2. I was under the impression that availability groups should match for each functional set of services.  i.e. one for the web front end, one for reporting, one for transactional DBs, one for load balancing, one for reporting, etc..  Is this incorrect?

ACL on endpoint configured by the gui not working (restricting access)

$
0
0

Before I go on, I've already found and read this post: http://social.msdn.microsoft.com/Forums/windowsazure/en-US/30fed06a-502b-45e0-9b75-bf2d26ccd272/acls-on-endpoints-not-applying?forum=WAVirtualMachinesforWindows but as I'm not using PS to configure this and don't seem to be able to tweak the order when creating ACL entries (i.e setting the first one not to be the default "0" value, motioned in he post, I still need some help.

So...

I'm trying to restrict access to an VM's endpoints for RDP and SQL ports. The endpoints are configured and work by default, and of course, as default, they allow ANY IP into them. I've created ACL entries to restrict this to a select few public IPs but I have two seemingly conflicting issues when I do this:

1. Anyone can still access my server from ANY IP, even though its not on the list

2. The internal SQL communication between Azure servers (on the 10.10.10.0 subnet, suddenly stops)

I was under the impression that as soon as you create an entry into the ACL anythingnot covered by this would by default be denied? http://msdn.microsoft.com/en-us/library/windowsazure/dn376541.aspx

I have also tried to put a DENY 0.0.0.0/0 at the bottom of the ACL but there's still access from the www to these ports.

When I put an entry for allow 10.10.10.0 then the SQL traffic internally on Azurestarts working again.

And now, I've just gone back into check... and all my ACL's on every VM seem to have disappeared!

Confused...? Any help much appreciated.

Azure from work?

$
0
0

I'm trying to remote connect to my newly created Azure virtual machine running Windows Server. I keep getting an error saying it cannot connect.

I think my company has a firewall or something blocking me from accessing a virtual machine. Is there any way around this? I tried setting my Azure VM's ports to 22, hoping it would fool my companies firewall into thinking I was trying to access a web page but that didn't work.

Any ideas?

Viewing all 12545 articles
Browse latest View live