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

Move-AzureVirtualNetwork Issue

$
0
0

I am having issues with the Move-AzureVirtualNetwork command.

I was able to prepare the the move and view it in the console, but when I tried to commit I get (very unspecific) errors: Move-AzureVirtualNetwork : XrpVirtualNetworkMigrationError : Template <Server Name>-Template deployment failed. CorrelationId=<guid>

I can see them as failed in the portal also.

The logs in the portal state: statusCode:Conflict statusMessage:{"status":"Failed","error":{"code":"ResourceDeploymentFailure","message":"The resource operation completed with terminal provisioning state 'Failed'.","details":[{"code":"ResourceReferenceInMigrationPreparePhase","message":"Resource /subscriptions/<guid>/resourceGroups/<VM Name>-Migrated/providers/Microsoft.Network/networkInterfaces/<VM Name>-PrimaryNic is referencing resources that are being migrated from Microsoft.ClassicNetwork to Microsoft.Network. Referenced resources in migration [/subscriptions/<guid>/resourceGroups/<VM Name>-Migrated/providers/Microsoft.Network/virtualNetworks/<network name>/subnets<subnet name>]."}]}}

Is there anyway I can fix these errors?

If I try and prepare again, I get the error: Migration of virtual network <network name> is in the process of being committed and cannot be changed until it completes successfully.

My concern is that it will never successfully complete and, if so, how do I roll it back?

Thanks


Cannot delete resource group

$
0
0

I have tried several times to delete my resource group. I have also tried to delete the resources individually with no use.

Please help my money is being wasted.

Freeswitch on a Ubuntu Azure VM

$
0
0

Hey Guys,

Recently i was working on a project where i needed a Server running Freeswitch. As i am an MSP, i do have the facilities to use Azure and i decided that it would be great to get a VM running in the cloud. i was able to install freeswitch on a ubuntu vm. But the issue came when i was trying to make a call from a sip client to another one. the call was triggered but i could hear no voice from both clients.

Anyone has ever encounter this problem? Can i get some help about it?

Thank you in advance :) 

How to get offer and sku inside a vm.

$
0
0


The company I am working for is planning to publish its software installed on a Virtual Machine on the Azure marketplace. To do this, we require to be able to access some metadata from inside the virtual machine to validate that the distributed license (a file under the file system on the VM) matches the SKU and offer of the published product. This can be done in a pretty straightforward way in AWS by using its metadata API and its product-codes field:

http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html

We would like to know if it is somehow possible to query the Azure metadata API to get the fields Offer and SKU of a machine published on the marketplace from inside the VM. We have been reading the documentation and all that we have found about querying the metadata is:
https://azure.microsoft.com/en-us/blog/what-just-happened-to-my-vm-in-vm-metadata-service/


After testing this API on a machine for testing purposes we got to:

curl http://169.254.169.254/metadata/v1/InstanceInfo

{"ID":"_<machine_name>","UD":"0","FD":"0"}


However, we have been checking the documentation and these fields really exist:

https://docs.microsoft.com/en-us/rest/api/compute/virtualmachines

Is there any way to access these fields that does not require the Azure authentication credentials?

Thanks in advance.


how to retrieve details of the deployed virtual machine.

$
0
0
Hi,

I am using Resource manager  templates to deploy a virtual machine. I would like to retrieve the disk related details of the deployed virual machine. I am following as suggested in https://docs.microsoft.com/en-us/azure/virtual-machines/virtual-machines-windows-csharp-manage.

I am using the below method as suggsted in the link.

But ComputeManagementClient does not accept TokenCredentials credential. It is looking for Microsoft.Azure.SubscriptionCloudCredentials.

Cant we use Microsoft.Rest.TokenCredentials ? Thanks in advance


public static async void GetVirtualMachineAsync( TokenCredentials credential, string groupName, string vmName, string subscriptionId) { Console.WriteLine("Getting information about the virtual machine..."); var computeManagementClient = new ComputeManagementClient(credential) { SubscriptionId = subscriptionId };



Balu

Can not see the RDP port and change it

$
0
0

I just installed my first VM using "Windows Server 2012 R2 Datacenter" but I cannot either see the RDP port currently being used or modify it to the standard 3389 one.

How could I do this? Thanks a lot.

Marking VHD as OS Disk

$
0
0

We're trying to upload a Linux VHD and mark it as an OS disk.  I've created a storage account under a new subscription as the resource type.  After which I uploaded the VHD using AzCopy as using "Add-AzureVhd" was giving an error that the storage account was not found.  Trying to run Add-AzureDisk is giving a similar error:

Add-AzureDisk : BadRequest: The storage account with the name grs as specified in the VHD URI
https://grs.blob.core.windows.net/vhds/disk-0.vhd does not exists in the current subscription.

This worked a week ago.  Has anything changed in the way to upload and  mark VHDs as an OS disk?

Add existing disk as OS disk to a Virtual Machine

$
0
0
Hi, I have created an Ubuntu virtual machine in Azure. Now I am trying to attach an existing disk (vhd) to it. But I can only add the disk as a data disk, whereas my goal is to attach it as a OS disk. How can I achieve this?

Missing /lib/x86_64-linux-gnu/librt.so.1. Failure on VM boot

$
0
0

Hi.

I deleted the file /lib/x86_64-linux-gnu/librt.so.1 by accident and now the VM I created doesn't start correctly. Because of this I'm not able to access it via ssh.

Is there any way to fix this problem without having to create a new VM? I don't want to loose everything in it because of this.

Here is the boot log:

 /sbin/init: /lib/x86_64-linux-gnu/librt.so.1: no version information available (required by /sbin/init)
/sbin/init: /lib/x86_64-linux-gnu/librt.so.1: no version information available (required by /sbin/init)
/sbin/init: /lib/x86_64-linux-gnu/librt.so.1: no version information available (required by /lib/x86_64-linux-gnu/libmount.so.1)
/sbin/init: relocation error: /sbin/init: symbol clock_gettime, version GLIBC_2.2.5 not defined in file librt.so.1 with link time reference
[   16.619274] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00
[   16.619274] 
[   16.620203] CPU: 0 PID: 1 Comm: init Not tainted 4.4.0-47-generic #68-Ubuntu
[   16.620203] Hardware name: Microsoft Corporation Virtual Machine/Virtual Machine, BIOS 090006  05/23/2012
[   16.620203]  0000000000000086 00000000696c3a1f ffff88014bd9be08 ffffffff813f5aa3
[   16.620203]  ffffffff81cb4548 ffff88014bd9bea0 ffff88014bd9be90 ffffffff8118c657
[   16.620203]  ffff880100000010 ffff88014bd9bea0 ffff88014bd9be38 00000000696c3a1f
[   16.620203] Call Trace:
[   16.620203]  [<ffffffff813f5aa3>] dump_stack+0x63/0x90
[   16.620203]  [<ffffffff8118c657>] panic+0xd3/0x215
[   16.620203]  [<ffffffff811854fe>] ? perf_event_exit_task+0xbe/0x350
[   16.620203]  [<ffffffff810846b1>] do_exit+0xaf1/0xb00
[   16.620203]  [<ffffffff81084743>] do_group_exit+0x43/0xb0
[   16.620203]  [<ffffffff810847c4>] SyS_exit_group+0x14/0x20
[   16.620203]  [<ffffffff81834ff2>] entry_SYSCALL_64_fastpath+0x16/0x71
[   16.620203] Kernel Offset: disabled
[   16.620203] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00
[   16.620203] 

Thanks.

Rui



Large File copy fails on my Azure Linux VM

$
0
0

My server disconnects when i copy a large file to my Azure Linux VM. I created another VM on the same account including it on the same security group. But no issues on copying large or small files.

Let me give you some details about the instance having this issue.

Please Note: The test instance i have create to regenerate this issue is F1S Standard.

Computer name - ActSec
Operating system - Linux
Location - West Europe
Size - Standard DS1 v2 (1 core, 3.5 GB memory)
Subscription name - Pay-As-You-Go
Public IP address/DNS name label -  40.68.250.68/<none>

Error information on Filezilla and Winscp during Copy

Error:    Server sent disconnect message
Error:    type 2 (protocol error):
Error:    "Packet corrupt"
Error:    File transfer failed

Error information on Server Log

Nov 30 06:26:58 ActSec sshd[37472]: reverse mapping checking getaddrinfo for abs-static-myip.co.in [myip] failed - POSSIBLE BREAK-IN ATTEMPT!
Nov 30 06:26:58 ActSec sshd[37472]: Accepted publickey for ubuntu from <IP> port <portnumber> ssh2: RSA a4:dd:f3:e7:02:2d:ec:04:33:24:dc:65:a3:5e:85:ce
Nov 30 06:26:58 ActSec sshd[37472]: pam_unix(sshd:session): session opened for user ubuntu by (uid=0)
Nov 30 06:26:58 ActSec systemd-logind[1035]: Removed session 216.
Nov 30 06:26:58 ActSec systemd-logind[1035]: New session 217 of user ubuntu.
Nov 30 06:27:12 ActSec sshd[37592]: Corrupted MAC on input.
Nov 30 06:27:12 ActSec sshd[37592]: Disconnecting: Packet corrupt
Nov 30 06:27:12 ActSec sshd[37472]: pam_unix(sshd:session): session closed for user ubuntu

HOW I NEED TO DO TO UPGRADE WINDOWS SERVER 2008 R2 TO WINDOWS SERVER 2012 R2

$
0
0
I own a Windows Server 2008 R2 machine and I want to upgrade to a Windows Server 2012 R2 versión because a necesity to install a software demanding this operating system. How do I this if I want to preserve all configuration of this machine?. Let me tell you that it will be the same machine but OS.

Website returning malicious content but only when accessed from certain geographies

$
0
0

Hi there,

Our client's (non-Azure, hosted in New Zealand) website is giving malicious content if browsed to from VMs I have created in the AU or US Azure datacentres.

However, if I browse straight to the site from Internet Explorer 11 on our private Internet connection in New Zealand, it is fine.

To be clear, the site is not hosted in Azure. I'm just posting here because I can replicate the malicious response if I send my request from a VM geographically located in the US or Australia. At this point I am not sure if the website has been compromised, or there is something else interfering with the traffic before it arrives at our client's website.

I am happy to provide the website URL via PM to someone at Microsoft to aid investigation.

Thanks,

Michael

what kind of GPU do u get for Azure VM?

$
0
0
I am thinking about running some GPU intensive jobs on Azure, what kind of graphics card do u guys typically get on Azure? Are they all the same?

Gong Cheng

GeoRedundant VM

$
0
0
Is there a way to make a Standard DS1 v2 VM geo redundant?

Password change option while Creating VM from custom VHD

$
0
0
I have a sample custom VHD with OS and other software loaded in it along with a couple of users setup as a workgroup.
When I create a new VM in Azure with this custom VHD upload, I require the user to change the password since he would not know the actual passwords within the VHD. I would give a drop down to select from a list of users and change the password so that when the VM is created, the user can directly use this newly created password to login to the VM and start using the application from the vhd.
It would be great if the newly created password is applicable for all users.
Thanks,
Hoysala

How to enable hardware acceleration in NV6 - Windows 10

$
0
0

I tried to run SketchUp 2017 in the virtual machine NV6 Windows 10 but failed.

Then I downloaded the driver from nvidia official website http://www.nvidia.com/download/driverResults.aspx/111405/en-us and tried to install it but failed again.

Can anyone help me solve this problem? Thanks in advance!

Problems installing Azure backup agent on a preexisting VM

$
0
0

Hi,

A vm was migrated to my account from another companies on prem system as part of an acquisition.  On this VM I can not get the Azure Backup Agent to install.

Here is an excerpt from the error log c:\windows\temp\obinstaller0curr.errlog:

0ABC1678 12/0120:34:45.76110launchsetup.cpp(111)NORMALStarting Azure Backup installation process
0ABC1678 12/0120:34:45.76110launchsetup.cpp(114)NORMALDirectory Path for SetupLaunchScreen : F:\3d73019bc4402f7327129c2893c9
0ABC1678 12/0120:34:45.76110launchsetup.cpp(122)NORMALPath for SetupLaunchScreen : F:\3d73019bc4402f7327129c2893c9\1033\CBPSetupLaunchProcess
0ABC1678 12/0120:34:45.76110launchsetup.cpp(140)NORMALLPCommandLine :  
0ABC1678 12/0120:34:45.76110launchsetup.cpp(141)NORMALnCommandshow : 1
0ABC1678 12/0120:34:45.76110setuplaunchscreen.cpp(99)NORMALIn CBPlaunchProcess.dll
0ABC1678 12/0120:34:45.76110setuplaunchscreen.cpp(114)NORMALcommandline : 
0ABC1678 12/0120:34:45.76110setuplaunchscreen.cpp(401)NORMALUI mode Launch Wizard
0ABC1678 12/0120:34:45.77610setupwizard.cpp(1448)NORMALIsPatchingRequired: ProductVersion of packaged msi : 2.0.8673.0 Current installer version : 2.0.9052.0 
0ABC1678 12/0120:34:45.77610launchscreenhtml.cpp(177)NORMALCLaunchScreenHtml::LaunchSetupWizard :Setup is launched in WAOB context
0ABC1114 12/0120:34:45.77603miscellaneousutils.cpp(1229)NORMALVCRedist2012 is already installed (Product Code is {{2EDC2FA3-1F34-34E5-9085-588C9EFD1CC6}})
0ABC1114 12/0120:34:45.77610setupwizard.cpp(1177)NORMALVCRedist 2012 is already installed on the box.
0ABC1678 12/0120:34:45.77610progressdialog.h(49)[0000000000372010]NORMALInitializing OnInitDialog()
0ABC1114 12/0120:35:45.77410launchscreenhtml.cpp(572)WARNINGProcess for Managed Setup Wizard failed with exit code -532462766
0ABC1114 12/0120:35:45.77410launchscreenhtml.cpp(573)WARNINGFailed: Hr: = [0x80004005] : GetExitCodeProcess returned exitcode -532462766
0ABC1114 12/0120:35:45.77410launchscreenhtml.cpp(454)WARNINGFailed: Hr: = [0x80004005] : Encountered Failure: : lVal : launchScreenHtml->RunSetup(sourceLocation,false)
0ABC1678 12/0120:35:45.77410launchscreenhtml.cpp(393)WARNINGThread failed with exit code -2147467259
0ABC1678 12/0120:35:45.77410launchscreenhtml.cpp(394)WARNINGFailed: Hr: = [0x80004005] : GetExitCodeThread returned exitcode -2147467259
0ABC1678 12/0120:41:12.80610setuplaunchscreen.cpp(72)WARNINGFailed: Hr: = [0x80004005] : Encountered Failure: : lVal : launchScreenHtml.LaunchSetupWizard(pExit, silent,lpCmdLine,isVenusInstallation,bUninstallSet)
0ABC1678 12/0120:41:12.80610setuplaunchscreen.cpp(402)WARNINGFailed: Hr: = [0x80004005] : Encountered Failure: : lVal : LaunchWizard(&exit, false, hInstance, lpCmdLine, nCmdShow,venus_install,bUninstallSet)
0ABC1678 12/0120:41:12.80610launchsetup.cpp(150)WARNINGFailed: Hr: = [0x80004005] setup.exe returning

Using this document: https://t.co/SCdn20r11X

I found the iaasvmprovider service is not installed.  I figured that was the problem, but am unable to find a manual way to install it.

Also it does not matter if I install the backup agent manually or from the Azure control panel.

Thanks in advance!

Paul


Unable to make RDP on my vm all of sudden

$
0
0

Hi ,

im unable to RDP to one of my windows VM , i have tried "reset configuration only" and "reset password" both dint work.

it gives below error when i try rdp "This computer cant connect to the remote computer."

The port is open , in fact im able to connect to another vm which is in the same NSG.

Please help.

BUG:: Azure Resource Groups Validation Rules NOT WORKING

$
0
0

First of all, this is a duplication of a topic on stackoverflow, but like it seems that in stackoverflow a system-bug is a user-bad-practice instead of a oportunity for clear a bug ...

(http://stackoverflow.com/questions/40915247/bug-azure-resource-groups-validation-rules-not-working?answertab=active#tab-top)

[Secondly, it is very sad that BizSpark susbcription do not have any technical support, even to inform a error like this :-((( ]

Ok, well , the error, that occurs twice creating a VirtualMachine, so replicated

{"error": {"code": "InvalidParameter","target": "resourceGroupName","message": "The entity name 'resourceGroupName' is invalid according to its validation rule: ^[^_\\W][\\w-._]{0,79}(?<![-.])$."
  }
}

The reason, it is because my resource group is called _ReGr_MyName, but IT ALREADY EXIST !!!(indeed the rest of resources, like Public-Ip, Storage Accounts, etc, are already under that resource group)

so seems like validation rules are inconsistent across different resources

I can provide the Operation-Id or the Tracking-ID if necesary

But please, solve this short of issues, Azure should be an stable system



Installed Specialized Ubuntu VM from VHD but cannot do ssh

$
0
0

Hello,

I have been trying to do ssh to my newly installed Ubuntu 14.04 VM to Azure Resource Manager but I am unable to do so. It says "ssh: connect to host [ipaddress] Operation timed out". I installed the VM from a VHD that I got from a VirtualBox Ununtu. I followed the installation instructions from https://github.com/Azure/azure-quickstart-templates/tree/master/201-vm-specialized-vhd. The VM is running and I checked the boot diagnostics and it shows a screenshot of a login option (I could login to the VirtualBox Ubuntu using this login). Please let me know if you want to know more information. I would appreciate any suggestion.

Thanks,

Sharoz


Viewing all 12545 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>