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

New bug Azure Agent in case of Windows Server 2008

$
0
0
Since a month our VM with Windows Server 2008 R2 SP1 restarts automatically a few times a day giving the error "the computer has rebooted from a bugcheck    the bugcheck was 0x0000000a" (or 0x0000003b or 0x000000d1)
We are almost certain that this is a new bug of the Azure Agent which controls virtual machines, which happens in the case of Windows Server 2008 R2 SP1.
When will this bug be solved?

Issue with port being blocked on VM.

Can't deploy the second template in the same resource group

$
0
0

We get the following error:

"code": "DeploymentFailed",

"message": "PublicIPAddressInUse"


I modified the template to change the Ipaddress in use to "ipconfig2", and now I get this error,

"code": "DeploymentFailed",
"message": "At least one resource deployment operation failed. Please list deployment operations for details. {
"code": "Conflict",
"code": "DiskBlobAlreadyInUseByAnotherDisk”

I further modified the template Disk Name to say something like "Osdisk2.vhd", and now I get the following error,

"code": "DeploymentFailed",
"message": "At least one resource deployment operation failed. Please list deployment operations for details.
"code": "Conflict",
"message": "PropertyChangeNotAllowed“,

"message": "Changing property 'osDisk.vhd.uri' is not allowed.",

"target": "osDisk.vhd.uri"



How to set ownership of /usr/lib back to root on Azure Ubuntu VM

$
0
0

I was trying to change ownership of some specific files but i ended up changing the whole /usr/lib folder's ownership to my username "frikinjay" which also contains the /sudo directory.

Now i get the error of uid not being 0 for the file sudoers. I have been looking for a solution but from what i have gathered so far there doesnt seem to be a solution.

I have an Azure VM with Ubuntu 18.04 LTS so i cant even use "su root" because the password for root is private and Microsoft doesn't share it with the users.

The command i used to change the ownership was :

sudo chown -R frikinjay:frikinjay /usr/lib

I have tried a lot of stuff including vmaccess trying to change the password of user root but i get the error:

"Deployment failed. Correlation ID: 3d8fedd9-75bb-41ce-b291-464114347360. VM has reported a failure when processing extension 'enablevmaccess'. Error message: "Enable failed."."

Can anyone help me reverting the ownership because it would be an absolute pain setting up a new VM as i have made a lot of custom changes to the current one and i have a minecraft server running on it. From my understanding this would have been possible by going into recovery mode but i am not sure if that's possible on an Azure VM.

Having problem with Powershell script for VM Agent Status and WindowsAzureGuestAgent service..

$
0
0
My current code:

    $vm = Get-AzVM -ResourceGroupName powershell-testing -Name vmm -Status
    if($VM.VMAgent.Statuses[0].DisplayStatus -eq "Not Ready"){
    Write-Host $VM.VMAgent.Statuses.Message
    }else{
    Start-Service $AzureAgentServiceName
    }

    

-------------------------------------------------------------------------

Scenario: 
-Check VM Agent status Good or Not Good
-If VM Agent status GOOD not require to Start WindowsAzureGuestAgent service.
-If VM Agent status NOT GOOD require to Start WindowsAzureGuestAgent service.

Problem now in my script:
I can't check the agent status is Good or not good to excute. Can anyone help me with the code ?

How to access Tomcat installed in Azure Linux VM from browser?

$
0
0

Hi,

I have a Tomcat installed in my Linux (Redhat 7.6) VM in Azure. I can access tomcat from within the VM via running "curl http://localhost:8080".

How can I access tomcat from outside azure via browser?

Once I can access tomcat, I will be deploying in tomcat my java-based web portal packaged as a WAR file.

Thank you in advance for any help!

Regards,

Rhey

Azure Load Balancer static IP

$
0
0
I have set up my Virtual Desktop test environment. I see that even though there is only one server, it created a load balancer and assigned a public IP automatically. The question is: how do I get an external source to see something coming from the public IP of the load balancer? I am looking to publish RDP as an app for access to a 3rd party's gateway. They require supplying static IPs. Of course, if I use Google or another service to return my static IP, it won't be what the IP of the load balancer is, as that is for incoming traffic. How do I force traffic (even if onl for a specific port) to route out of the public IP of the load balancer? 

Brad Boozer Support Technician Mattress Firm

Visual Studio connecting to my Azure

$
0
0

Hello,

I've basically created my own C++ window form application on Visual Studios and when I change and publish this application I want it to check for updates before starting up, how would I go about making this work, at the moment I cannot see how I would connect this to my Azure or what services I need to have.

Sorry if this is not the right sub forum, I literally have no idea what service I would need to make this possible. I don't want to use a Web App, I want a normal application on local machines.



Redeploy Acronis Azure Gateway error:The resource group is in a location that is not supported by 1 or more resources in template

$
0
0
We think we are very close to getting this to work.

We have a VM create by the Acronis Azure Gateway template and it fails to deploy on "initialize storage". When we created the VM, our only option was Storage General Purpose V1 and after that we upgraded the storage to V2. So when we try to redeploy the VM, it says: The resource group is in a location that is not supported by one or more of the resources in the template. Please choose a different resource group.

So we can edit the template but what are we looking for?

Here is the original error when we create the VM from the template:

{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.","details":[{"code":"Conflict","message":"{\r\n \"status\": \"Failed\",\r\n \"error\": {\r\n \"code\": \"ResourceDeploymentFailure\",\r\n \"message\": \"The resource operation completed with terminal provisioning state 'Failed'.\",\r\n \"details\": [\r\n {\r\n \"code\": \"VMExtensionProvisioningError\",\r\n \"message\": \"VM has reported a failure when processing extension 'InitializeStorage'. Error message: \\\"Enable failed: failed to execute command: command terminated with exit status=1\\n[stdout]\\n\\n[stderr]\\n\\\".\"\r\n }\r\n ]\r\n }\r\n}"}]}


Could not install OMSAgentForLinux extension

$
0
0

Hello.

I have deployed several Linux base VMs but I could not install OMSAgentForLinux extension on any of my VM.

I have tried to install this extension from Azure portal and by Azure CLI - but installation was hanging and died after timeout. After that status of this extension is (unavailable).

I have tried to install this extension according to article https://docs.microsoft.com/en-us/azure/log-analytics/log-analytics-quick-collect-linux-computer and I observed that installation was successful, but in that case I see that all indicators of working OMS agent is in unknown or failed status on Azure portal.

Please could You share correct way to install OMSAgentForLinux extension.

Thanks

Brand new server 2012 data center azure vm won't update (0x8024000e)

$
0
0

Brand new server 2012 data center azure vm and it won't update (0x8024000e)

Is there something wrong with this image\template?

Cannot connect to my Ubuntu VM

$
0
0

Hi Guys,

I just created my Ubuntu VM, but somehow could not connect to it.

Redeplyed many times, even deleted and created a new VM.

But nothing worked. Am I doing something wrong?

Would surely appreciate assistance with this.

How to block ports from public and allow ports within Vnet in Azure?

$
0
0

I've setup a site-to-point VPN in Azure. I want to allow ports 3389, 22, 5432, 8080 for users that logs in using the VPN client and at the same allow only port 8080 at the public IP for this VM. These configs can be done at the NSG How can I achieve this?

In the VM/Networking tab, I can see NSG attached to a subnet and another NSG attached to the NIC.

create desktop tenant for Windows

$
0
0

I'm following the white paper to setup Windows virtual desktop.

Every step goes fine until now.  This step blocks me in going further with the setup.

Add-RdsAccount -DeploymentUrl"https://rdbroker.wvd.microsoft.com"

If i use the global administrator account, i get the following error :

AADSTS50020: User account 'eric@mycompany.com' from identity provider 'live.com' does not exist in tenant 'MS Azure Cloud' and cannot access the application 'fa4345a4-a730-4230-84a8-7d9651b86739'(Windows Virtual Desktop Client) in that tenant. The account needs to be added as an external user in the tenant first. Sign out and sign in again with a different Azure Active Directory user account.

In reading different articles on the net, i found this to be an issue with many users. One guy said you need to make another external user als global administrator and run the command again, so i did.

But then i get this error :

Add-RdsAccount : Er zijn één of meer fouten opgetreden.
At line:1 char:1
+ Add-RdsAccount -DeploymentUrl "https://rdbroker.wvd.microsoft.com"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Add-RdsAccount], AggregateException
    + FullyQualifiedErrorId : System.AggregateException,Microsoft.RDInfra.RDPowershell.Context.AddRdsAccount

So now i'm stuck at this point.

Any help would be welcome.

cannot open port 443 on Azure VM

$
0
0

I created one Azure VM (centos linux), and I can logon by using SSH through public ip. However I cannot connect with port 443 from outside of Azure though public ip.

I opened port 443 by doing the folloing:

added inbound rule in Network security Group), and open port in the firewall-cmd.

What could be the reason??

Thanks,

Zhaoming


Windows 2008 VHD is unable to load & connect using RDP

$
0
0

Hello,

We are facing problem with VM created using on-premise VHD having windows 2008 OS

Unable to connect using RDP

Health Status as below,

24 October 2019 UTC, the Azure monitoring system received the following information regarding your Virtual machine resource rakeshVMN:

A reboot was triggered from inside the virtual machine. This could be due to a virtual machine operating system failure or as requested by an authorized user or process. The virtual machine will be back online after the reboot completes.

Thank You

Azure VM Disks after Implementing S2D

$
0
0

Hi all,

I have implemented a Failover Cluster on Azure VMs per specs in this article: https://docs.microsoft.com/en-us/azure/virtual-machines/windows/sql/virtual-machines-windows-portal-sql-create-failover-cluster#probe

However, now that i have set up S2D, I do not seem to have the ability to add data disks as if locally attached with a drive letter.  For SQL Server on-premises, the custom was to set up an E drive or F drive on both nodes (same drive letter on each node) for the SQL Root Directory.  However, when I add additional an 256GB disk to both nodes, it becomes part of the Storage Enclosure instead of being available in diskmgmt.msc.  The only way for me to initialize it is to allow it to stay part of the Storage Pool (it defaults to being part of the clusters S2D pool after the steps in the doc above).

That would be okay I guess, but when I try to issue the following command, it will not allow me to place a separate disk from the pool on both nodes with the same drive letter on each.  For Example:

New-Volume -StoragePoolFriendlyName S2D* -FriendlyName RootSQLDir -FileSystem REFS -Size 256GB -AllocationUnitSize 64KB -DriveLetter F

...yeilds the following error when i try to run it on both nodes:

New-Volume : The requested access path is already in use.
Activity ID: {2efdb1f6-7bd3-46df-8cba-f82d3c2850d2}
At line:1 char:1
+ New-Volume -StoragePoolFriendlyName S2D* -FriendlyName RootSQLDir -Fi ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [New-Volume], CimException
    + FullyQualifiedErrorId : StorageWMI 42002,Microsoft.Management.Infrastructure.CimCmdlets.InvokeCimMethodComman
   ew-Volume

Is there some way I an "locally attach" one data disk to the SQL01 VM as the F drive and "locally attach" the other data disk on the SQL02 VM as the F drive there?

Are VMs right for my application, is so which ones should I be looking at?

$
0
0

I am doing some analysis that requires windows software on a windows based server owned by a colleague. The analysis is slow, partly because the machine does not have an SSD and we might not have the option to upgrade that machine.

The machine we have right now is running windows server 2012 r2 and has:

320 GB RAM

2 CPUs (56 logical processors)

and about 3.5 TB of HD storage

I am looking for something that is similar but has SSD and maybe some more cores.

I browsed the pricing page:

(https://azure.microsoft.com/en-us/pricing/details/virtual-machines/windows/)

I came across:

E64as v3

Which seems like a good fit with:

64 cores

432 GB memory

864 GB temporary disk space

I guessing I would have to upgrade to one of the SSDs priced here:

(https://azure.microsoft.com/en-us/pricing/details/managed-disks/)

to meet a similar storage capacity (like a P50)

Does a VM even seem logical for what I am trying to achieve? If so am I thinking along the right lines in terms of specs?





waagent reporting "/opt/microsoft/omsagent/bin/service_control doesnot exist" same error over and over in waagent.log

$
0
0

My waagent.log file is currently over 800MB large. It is full of the same install or upgrade attempt and then error over and over again. How do I fix this azure service? My VM is Linux Ubuntu 14.04, Standard DS3. The error message from the log is below:

[stderr]
, duration=0
2019/10/04 07:49:01.243633 INFO [Microsoft.EnterpriseCloud.Monitoring.OmsAgentForLinux-1.11.15] Remove extension handler directory: /var/lib/waagent/Microsoft.EnterpriseCloud.Monitoring.OmsAgentForLinux-1.11.15
2019/10/04 07:49:01.299042 INFO ExtHandler Deleted cgroup "/sys/fs/cgroup/cpu/walinuxagent.extensions/Microsoft.EnterpriseCloud.Monitoring.OmsAgentForLinux_1.11.15".
2019/10/04 07:49:01.312848 INFO ExtHandler Deleted cgroup "/sys/fs/cgroup/memory/walinuxagent.extensions/Microsoft.EnterpriseCloud.Monitoring.OmsAgentForLinux_1.11.15".
2019/10/04 07:49:04.441908 INFO [Microsoft.EnterpriseCloud.Monitoring.OmsAgentForLinux-1.11.15] Target handler state: enabled
2019/10/04 07:49:04.451328 INFO [Microsoft.EnterpriseCloud.Monitoring.OmsAgentForLinux-1.11.15] [Enable] current handler state is: notinstalled
2019/10/04 07:49:04.451894 INFO [Microsoft.EnterpriseCloud.Monitoring.OmsAgentForLinux-1.11.15] Using existing extension package: /var/lib/waagent/Microsoft.EnterpriseCloud.Monitoring__OmsAgentForLinux__1.11.15.zip
2019/10/04 07:49:04.453877 INFO [Microsoft.EnterpriseCloud.Monitoring.OmsAgentForLinux-1.11.15] Unzipping extension package: /var/lib/waagent/Microsoft.EnterpriseCloud.Monitoring__OmsAgentForLinux__1.11.15.zip
2019/10/04 07:49:05.173787 INFO [Microsoft.EnterpriseCloud.Monitoring.OmsAgentForLinux-1.11.15] Initializing extension Microsoft.EnterpriseCloud.Monitoring.OmsAgentForLinux-1.11.15
2019/10/04 07:49:05.177439 INFO ExtHandler Created cgroup /sys/fs/cgroup/cpu/walinuxagent.extensions/Microsoft.EnterpriseCloud.Monitoring.OmsAgentForLinux_1.11.15
2019/10/04 07:49:05.179702 INFO ExtHandler Created cgroup /sys/fs/cgroup/memory/walinuxagent.extensions/Microsoft.EnterpriseCloud.Monitoring.OmsAgentForLinux_1.11.15
2019/10/04 07:49:05.181906 INFO [Microsoft.EnterpriseCloud.Monitoring.OmsAgentForLinux-1.11.15] Update settings file: 0.settings
2019/10/04 07:49:05.184382 INFO [Microsoft.EnterpriseCloud.Monitoring.OmsAgentForLinux-1.7.9] Disable extension [omsagent.py -disable]
2019/10/04 07:49:05.221236 INFO ExtHandler Added PID 29580 to cgroup /sys/fs/cgroup/cpu/walinuxagent.extensions/Microsoft.EnterpriseCloud.Monitoring.OmsAgentForLinux_1.7.9
2019/10/04 07:49:05.223605 INFO ExtHandler Added PID 29580 to cgroup /sys/fs/cgroup/memory/walinuxagent.extensions/Microsoft.EnterpriseCloud.Monitoring.OmsAgentForLinux_1.7.9
2019/10/04 07:49:05 OmsAgentForLinux started to handle.
2019/10/04 07:49:05 [Microsoft.EnterpriseCloud.Monitoring.OmsAgentForLinux-1.7.9] cwd is /var/lib/waagent/Microsoft.EnterpriseCloud.Monitoring.OmsAgentForLinux-1.7.9
2019/10/04 07:49:05 [Microsoft.EnterpriseCloud.Monitoring.OmsAgentForLinux-1.7.9] Change log file to /var/log/azure/Microsoft.EnterpriseCloud.Monitoring.OmsAgentForLinux/1.7.9/extension.log
2019/10/04 07:49:07.260743 ERROR ExtHandler Event: name=Microsoft.EnterpriseCloud.Monitoring.OmsAgentForLinux, op=Download, message=[ExtensionError] Non-zero exit code: 1, omsagent.py -disable
[stdout]
2019/10/04 07:49:05 [Microsoft.EnterpriseCloud.Monitoring.OmsAgentForLinux-1.7.9] Disable,failed,1,OMSAgent service control script /opt/microsoft/omsagent/bin/service_control doesnot exist. Disable cannot be called before install.

Choose (Europe) West Europe and o VM Size is not working

$
0
0

Hello,
i try to create a new virtual machine. I setup each Step on the Basic Tab.
Choose Region (Europe) West Europe and the VM Size instand display "The value must not be empty." When i try to choose a VM Size (CPU,RAM...) they are all greyed out. i cant choose any offer. Nothing changed when i tr y to setup an other Image.

Tried also different Browsers, same result.

But it workes in the past. When i try to setup in other Region its working.

Anybody have an Idea?

Thanks.

KR
Alex

Viewing all 12545 articles
Browse latest View live


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