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

None of my VMs are accessible via RDP

$
0
0

None of my Azure VMs are accessible via RDP. Could you please assist with it?

Error screen:





Password rejected when connecting to VM via SSH

$
0
0

I have installed a Centos copy of Nagios monitoring from the VM Depot in Images on Virtual Machines. The installation ran without any problems but when I try to access the back end of the server via SSH I get the login prompt, but the username and password I have selected does not allow me to login.  

I am not sure if I should be doing anything with the Access Keys under my storage container as some security addition. 

This is a link to the VMDepot preview page. It does say that SSH keys are generated as part of this install, but I am not sure where to go from here.

https://vmdepot.msopentech.com/Vhd/Show?VhdID=1420&version=1450

Cannot access Azure VM via rdp

$
0
0
I decreased size from large to medium then back to large to re-provision the machine and this did not re-enable the rdp connection.   RDP has been working fine for several months.  

Unable to Connect to VM by RDP/HTTP/FTP

$
0
0

I ebooted the machine due to release memory.

Once it was back up as indicated by the portal I tried to remote desktop (was working from the start) and it just can't connect.

Online chat representative asked me to log a techincal ticket which costs money.

This is ludicrous, I am already paying for the service and I can't even connect to it in anyway and they want me to pay for support.


Anybody can assist?

TIA.

Unable to remove disks to deleted VM and VHDs

$
0
0

So this question seems to get asked a lot but I seem to only make my issues worse. 

I deleted a VM. Tried to delete the disks but they have stayed attached to the VM. 

I have successfully broken the leases on the VHDs for the VM and deleted them from the blob. I then eventually got the VHD blob deleted. The storage account won't delete as well as the references to the disks for the deleted VM. 

So is there a way to use powershell clean all this up?

Can not delete orphaned disk

$
0
0

I have seen many questions related to this, but asking it again since none of the solution provided did not seem to work for me.

My Situation is similar to This

But Remove-AzureDisk command does not delete it giving the error as below:

I have already deleted Virtual Machine. How do i get rid of this disk??

Thanks,

Vishal


VDP


Script to shutdown/start all VMs in an Azure account

$
0
0

I am trying to write a simple powershell script to shutdown/start all VMs in my Azure account.

The Get-AzureVM cmdlet shows me all the information I want:  cloud service name, VM name and VM status for every VM.

When I use the same cmdlet in the following script ...

$listVM = Get-AzureVM

foreach ($vm in $listVM) write-host $vm }

the output is (once for each VM): Microsoft.WindowsAzure.Commands.SerivceManagement.Model.PersistentVMRoleListContext

How do I iterate a list of VMs (by name ) and start/stop them?

Thanks, Chris


ChrisB


Need Guidance for Creating a New Test Environment Starting with a Win2012R2 Domain Controller Having a Static IP of 192.168.0.100

$
0
0

I'm trying to create a Win2012R2 Domain Controller having a static IP of 192.168.0.100, but I'm not able to "figure that out". I created a Virtual Network in East US Region (192.168.x.x IPs) and then tried creating the first VM that will "live there", but the DHCP IP isn't in the 192.168.x.x range. What am I missing?

I'm just trying to create a new test environment (AD Forest) starting with 2 Win2012R2 Domain Controllers, but I can't seem to get off the ground. Thanks in advance.


Bill Thacker


Can't connect to my VM with remote desktop

$
0
0

When trying to connect to my VM using remote desktop getting the following message:

the remote session was disconnected because there are no remote desktop license servers available to provide a license

Please help,

Eli

Passive FTP not working

$
0
0

we have Serv-U FTP server on Server 2012 R2. The SSH works fine but the Passive FTP doesn't work.  The right Endpoints have been configured, but still doesn't work.  Locally the FTP works fine, but remotely it doesn't work.  Thanks for your help.


Cannot Delete VHD

$
0
0

Hello, I have a VHD file but I cannot delete it.

It is not attached on existing VM or cloud services.

Here are some results from Windows Azure PowerShell:

PS C:\> Get-AzureDisk
詳細資訊: 上午 12:10:36 - Begin Operation: Get-AzureDisk
詳細資訊: 上午 12:10:40 - Completed Operation: Get-AzureDisk


AffinityGroup        :
AttachedTo           : RoleName: ly2314gallery
                       DeploymentName: ly2314gallery
                       HostedServiceName: ly2314gallery
IsCorrupted          : False
Label                :
Location             : East Asia
DiskSizeInGB         : 30
MediaLink            : http://***.blob.core.windows.net/vhds/ly2314gallery-ly2314gallery-2012-11-15
                       .vhd
DiskName             : ly2314gallery-ly2314gallery-0-20121115032603
SourceImageName      : OpenLogic__OpenLogic-CentOS-62-20120531-en-us-30GB.vhd
OS                   : Linux
OperationDescription : Get-AzureDisk
OperationId          : 2eabb95b-9faa-7cad-aa98-e7773285c4ac
OperationStatus      : Succeeded

AffinityGroup        :
AttachedTo           : RoleName: ly2314vpn
                       DeploymentName: ly2314vpn
                       HostedServiceName: ly2314vpn
IsCorrupted          : False
Label                :
Location             : Japan West
DiskSizeInGB         : 30
MediaLink            : http://***.blob.core.windows.net/vhds/ly2314vpn-ly2314vpn-2014-03-07.vhd
DiskName             : ly2314vpn-ly2314vpn-0-201403070238320991
SourceImageName      : b39f27a8b8c64d52b05eac6a62ebad85__Ubuntu-12_04_3-LTS-amd64-server-20140130-en-us-30GB
OS                   : Linux
OperationDescription : Get-AzureDisk
OperationId          : 2eabb95b-9faa-7cad-aa98-e7773285c4ac
OperationStatus      : Succeeded



PS C:\> Remove-AzureDisk

Cmdlet Remove-AzureDisk 在命令管線位置 1
請提供下列參數的值:
(輸入 !? 可取得說明。)
DiskName: ly2314vpn-ly2314vpn-0-201403070238320991
詳細資訊: 上午 12:10:56 - Begin Operation: Remove-AzureDisk
Remove-AzureDisk : BadRequest: A disk with name ly2314vpn-ly2314vpn-0-201403070238320991 is currently in use by virtual
 machine ly2314vpn running within hosted service ly2314vpn, deployment ly2314vpn.
位於 線路:1 字元:1
+ Remove-AzureDisk+ ~~~~~~~~~~~~~~~~+ CategoryInfo          : CloseError: (:) [Remove-AzureDisk],CloudException
    + FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.RemoveAzureDiskCommand

詳細資訊: 上午 12:10:59 - Completed Operation: Remove-AzureDisk
PS C:\> Get-AzureVM

ServiceName                             Name                                    Status
-----------                             ----                                    ------
ly2314gallery                           ly2314gallery                           ReadyRole


PS C:\>
p.s. I am using a MSDN subscription, which doesn't include technical tickets :(


lost connection after static IP

$
0
0

Hi,

I have lost connectivity from my Linux vm after assigning a static IP to the machine.

Please suggest

azure.archive.ubuntu.com randomly return 503 Service Temporarily Unavailable

$
0
0

Hi,

while trying to install some packages via apt-get in a Windows Azure Ubuntu 12.04 VM, I am getting sporadic error while fetching packages, e.g.:

Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/m/mysql-5.5/mysql-common_5.5.35-0ubuntu0.12.04.2_all.deb  503  Service Temporarily Unavailable
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

A workaround is to change the repository in /etc/apt/sources.list from azure.archive.ubuntu.com to whatever else official ubuntu mirror, like de.archive.ubuntu.com.

What is going on?

Azure VM cannot connect from inside to outside

$
0
0

My centos VM suddenly does not response when I "git pull"

At first I thought it was the git server, then I realized wget or ping did not work as well.

Anyone can kindly help me with the issue?

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.


Error with 32 bit Java 7 JDK install.

$
0
0

When installing java_ee_sdk-7-jdk7-windows.exe I get the following,"Error: Could not find the required version of the Java(TM) 2 Runtime Environment in '(null).

I have tried setting the Java Path in the environment variables. As well as running the install as administrator.  


SSH Connectivity to a Azure VM stopped working

$
0
0

This VM on Azure had been running (CentOS 6.3) for few months successfully. All of sudden the SSH connectivity stopped working. There are other 2 VMs, which are doing fine.

We re-started the server, shutdown and started, re-created the SSH endpoint. Nothing seem to help.

The error thrown is "Connection closed by <IP Address of VM>".

Any ideas to resolve the problem are welcome.

Thanks.



ubuntu internet connection issue

$
0
0

I created a small instance of Ubuntu VM on Azure. I can ssh into it. Some commands in the console fail citing internet connection as an issue. I tested "ping www.google.com" and got no response.

Ifconfig -a shows 100.82.76.45 address.

How do I debug the internet connection problem ?

nameserver in resolv.conf is 100.82.76.70

ping to this address receives no response.

Something wrong with DNS ? How do I fix it ?

Problems with FFMPEG

$
0
0

Hi all!

I'm trying to use FFMPEG to get a snapshot of an rtsp video, and I'm getting the next error:

[rtsp @ 00000000028ce540] UDP timeout, retrying with TCP
[rtsp @ 00000000028ce540] method SETUP failed: 461 Unsupported Transport
[rtsp @ 00000000028ce540] Could not find codec parameters for stream 0 (Video: h263, yuv420p): u
Consider increasing the value for the 'analyzeduration' and 'probesize' options

Of course, when I test it in my computer the script works.

Can anyone help me, please?

the connect button in Dashboard of Azure Management Portal is disabled

$
0
0

Hi,

  I'm a newer to Window Azure, I'm trying to remote connect to the VM but in vain, so i recreated the endpoint as suggested in the forum.  However, the connect button in the dashboard of the Management Portal is now disabled.  My Deployment id is 2470e5c0a3034847a5e29282dcadbd04.  Pls kindly help.

Best Regards, 

Justina

Viewing all 12545 articles
Browse latest View live


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