Questions tagged [azure]
Microsoft Azure is a leading provider of public cloud services
103
questions
16
votes
1
answer
42k
views
How to convert rsa key to pem using X.509 standard
I've converted an rsa key to pem using the following command
openssl rsa -in ~/.ssh/id_rsa -outform pem > id_rsa.pem
However when I try uploading this key to my ubuntu server hosted on Azure I ...
11
votes
2
answers
13k
views
16.04 VirtualBox VM (from vhd file) hangs at "non blocking pool is initialized"
I'm trying to boot Canonical's Azure 16.04 .vhd file in a VirtualBox VM and it hangs at "non blocking pool is initialized".
It works in Hyper-V, so it may only be a bug in virtual box (5.0.20).
8
votes
2
answers
11k
views
What is the Azure VM Image URN for Ubuntu Server 20.04 LTS?
We are currently using Ubuntu Server 18.04 LTS for our self-hosted Azure VMs and looking into upgrading them to Ubuntu Server 20.04 LTS. We used the URN Canonical:UbuntuServer:18.04-LTS:latest to ...
7
votes
3
answers
4k
views
Is there a way to run Azure Storage Emulator on Ubuntu?
I'm trying to set up my development environment, and I need to use Azure Storage Emulator for my project. Currently I'm running the emu on a VM and my software connects to it.
Is there another way to ...
3
votes
2
answers
4k
views
Updating Azure Data Studio
I am using the Azure Data Studio Client App for managing Databases. Ubuntu 20.04. When I check for updates inside the AZ Data Studio i get a tar.gz in my downloads folder. No instructions as to what ...
3
votes
2
answers
1k
views
sudo: /etc/sudoers is world writable on Azure
Although there are many answers to this problem, the scenario is different here:
I’m using Ubuntu 18.04 on Azure.
By mistake, I made sudoers file world-writable (sudo chmod o+w /etc/sudoers). There ...
3
votes
1
answer
8k
views
Properly resize an Azure VM disk
I just resized a disk attached to a Linux VM (Ubuntu 18.04) on Azure, using the portal. Do I have to re-partition it now?
I deallocated the machine and set the disk size to 200 Gb in the "...
3
votes
0
answers
2k
views
Who is blocking my Docker default network?
The situation is, for a simple docker command:
docker run -d -p 3128:3128 my_squid_container
it works fine within my home. However, when using the same Docker container in the Azure Ubuntu server, I ...
3
votes
2
answers
1k
views
How to avoid apt-get -y dist-upgrade being interactive with waagent? [duplicate]
I have an Ubuntu 12.04.5 LTS created in Azure Cloud. I create it from a Jenkins powershell build that:
1. Create VM in Azure
2. Execute some remote SSH commands (among them apt-get dist-upgrade)
3. ...
2
votes
3
answers
15k
views
Sudo su doesn't work on Microsoft Azure [closed]
I am going to write sudo su on terminal but I get this error.
sudo: unknown user: root
sudo: unable to initialize policy plugin
I am using Ubuntu 16.04 running on a virtual machine in the ...
2
votes
1
answer
729
views
What are these non-generic kernels ending in azure, aws, nvidia, oem, oracle, gcp and how did they get installed?
I run Ubuntu 22.04.3 LTS on a Dell laptop.
I noticed that I have quite a few kernels that are non-generic, but I don't know how they got installed.
The kernels ending in -azure, -aws, -nvidia, and -...
2
votes
1
answer
879
views
How to shrink the size of an Azure Cloud image from cloud-images.ubuntu.com?
I'm currently setting up a dynamic High-Performance-Computing cluster in Azure, and I'm thinking of basing it on Ubuntu.
The Microsoft documentation recommends to base an Ubuntu image on the tested ...
2
votes
0
answers
7k
views
xrdp not listening on port 3389
$ sudo netstat -plnt | grep rdp
tcp 0 0 127.0.0.1:3350 0.0.0.0:* LISTEN 83971/xrdp-sesman
As you can see xrdp is not listening on port 3389.
$ tail -f /var/...
2
votes
1
answer
2k
views
Lost xrdp remote desktop connection Ubuntu Server on Azure from windows
My problem is similiar to: Blank desktop when logging in via xrdp
But I am also loosing the connection.
I have an Ubuntu 14 Server VM in Microsoft Azure Cloud. And my laptop is Win8 X64.
I am able ...
2
votes
2
answers
437
views
Set up Landscape to run on Azure
I have installed the latest Landscape Dedicated Server packages on a Ubuntu 14.04 LTS VM on Azure and was successfully greeted by the initial setup. However, after entering name, e-mail, password, and ...
1
vote
2
answers
426
views
Does Ubuntu 20.04 work in Azure?
Does Azure support Ubuntu 20.04? We are deploying a new syslog and were opting for Ubuntu 18.04.
1
vote
1
answer
1k
views
Cannot connect to MySQL from remote server
I cannot access MySQL server on my Ubuntu 16.04.02 VPS from Azure. I tried editing /etc/mysql/my.cnf but nothing - there is nothing like bind 127.0.0.1.
I created user with wildcard, but I am still ...
1
vote
1
answer
2k
views
Which ubuntu-minimal image can be used for Azure
I'm creating minimalistic ubuntu os image for Azure and in the Docker file I'm trying to pull the tar and build it from scratch ( "FROM scratch.."). I see there are various tar available ...
1
vote
1
answer
2k
views
Unable to SSH 2nd NIC IP
Infrastructure : Microsoft Azure
OS : Ubuntu 18.04
Issue :
We have assigned 2 NIC card (same subnet). We are able to SSH with primary IP (20.71.0.21) address but unable to connect with secondary ...
1
vote
2
answers
2k
views
disable ephemeral mount on /mnt for ubuntu on azure
Ubuntu machines on azure got ephemeral disk that is being automatically mounted on /mnt
I don't want to have this ephemeral drive on /mnt but rather disable it or just move it to another location.
I'...
1
vote
1
answer
2k
views
How do I ensure hv_utils is updating the system clock in Azure
We have Ubuntu 16.04 VMs running in Azure, and have noticed the clock has drifted ~20 seconds. The system is using a generic Ubuntu Image (Managed by our IT department, unsure of any changes/...
1
vote
2
answers
1k
views
Azure Ubuntu cli sudo waagent -deprovision gives error
Azure documentation says that the command "sudo waagent -deprovision" must be given to prepare an Azure Ubuntu vm guest server to become an Azure base vm image (via the Azure vm guest GUI capture ...
1
vote
1
answer
862
views
How to run multiple websites on port 443 in Azure using Apache2.4?
I created a VM on Azure running Ubuntu 14.04 and installed a LAMP stack.
In Azure you have an so called enpoint configuration manager, which basically let you redirect incoming requests from one port ...
1
vote
0
answers
79
views
Cant Access FTP account using proftpd on Azure
i created VM on cloud with ubuntu 22.04 and installed Proftpd server .
this Server is behind Firewall NSV270 .
i can aces sftp Account using external IP , but i cant acess FTP using any ftp client , ...
1
vote
0
answers
151
views
Azure VM with multiple nics
I'm trying to build an Ubuntu Server 20.04 server with two nics as per this documentation - https://docs.microsoft.com/en-us/azure/virtual-machines/linux/multiple-nics.
The VM is deployed with one nic ...
1
vote
0
answers
1k
views
Network-manager openconnect with pulse/saml/azure?
I succesfully used the NetworkManager OpenConnect VPN to connect to our Secure Pulse.
However, we recently moved to Azure SAML Login, which is browser-based, and runs on a url in the form: gateway....
1
vote
1
answer
388
views
Mounting cifs drive with snapshot option gives: "cifs: Bad value for 'snapshot'"
I have File share in Azure and I want to mount one of its snapshots. I am using following command:
sudo /bin/mount -t cifs //storageAccountName.file.core.windows.net/fileShareName /home/userName/mount ...
1
vote
0
answers
117
views
Ubuntu 18.04 VM crashed hosted on Azure
Ubuntu VM with 18.04 OS version hosted on Azure, crashed and unable to access in serial console as well. Had to force restart the VM to get the access again.
No logs reported during the crashed time......
1
vote
0
answers
134
views
How to fix Linux kernel (HWE) vulnerabilities (USN-3980-2) (MDSUM/RIDL) on Ubuntu 18.04.2 LTS
When I performed a Tenable scan on my Ubuntu 18.04.2 LTS machine it reported the below vulnerability.
Ubuntu 18.04 LTS : Linux kernel (HWE) vulnerabilities (USN-3980-2) (MDSUM/RIDL) (MFBDS/RIDL/...
1
vote
1
answer
3k
views
Windows Remote Desktop Connection and Workspaces Functionality
I'm trying to access a remote Windows desktop hosted on Azure from my local Ubuntu 18.04 PC.
There is a link to do this directly from within my browser which works fairly well, however some ...
1
vote
0
answers
154
views
Ubuntu 18.04 with GUI for Azure
Does it exist Ubuntu 18.04 with GUI for Azure or only Server edition?
1
vote
0
answers
349
views
Yet another AMD GPU DKMS build error, Ubuntu 18.04 on Azure, Linux 5.3
So, I've downloaded the AMD GPU (OpenCL) drivers (after a painful awaiting) for Ubuntu 18.04 on Azure for benchmark purposes (namely, mining), using the NVv4 series VMs (virtualized AMD Radeon ...
1
vote
0
answers
484
views
Problems executing umount in shell script but not manually
I have been creating a shell script to restore our azure fileshares when needed. Previously we executed these tasks manually and we did not have problems with that but we decided to automate those.
...
1
vote
0
answers
522
views
Use Gnome desktop with an Azure VM - Ubuntu 18.04 connected from Win 10 xrdp
I am connecting to an Ubuntu 18.04LTS server in Azure, from Win 10, with xrdp.
When connecting, I see a few options for the session, including Xorg, X11rdp, Xvnc, console, vnc-any, sesman-any, ...
1
vote
0
answers
921
views
Size of /tmp folder keeps on increasing [closed]
I have a ubuntu 14.04 virtual machine on azure, with a OS disk of size 30 GB.
If I keep the machine running for several days, the size of the /tmp folder increases upto 21 GB, and adding up other ...
1
vote
1
answer
125
views
Switch to Azure disables mousepad, Internet, USB
For some background about my Ubuntu 19.04 system, see here.
Just before Midnight (CET) yesterday I rebooted, and instead of "Generic", "Azure" booted. This kernel did not recognise any USB, so I had ...
1
vote
0
answers
144
views
Connect to Azure AD
I've been trying to find how to connect a lapto running Ubuntu 19.04 to an Azure AD domain. Has anyone got any experience of this and can you help?
Thank you all :)
1
vote
1
answer
967
views
Python 3.6 is required. Current python version is ''2.7.15rcl"
I'm using Ubuntu 18.04. after connecting to docker using sudo docker login
I'm trying to use azure functions on Ubuntu by creating a new function app using func init MyFunctionProj --docker and have ...
1
vote
0
answers
19
views
What is this partition about when we work on azure cloud platforms in ubuntu virtual machine after typing df -h?
what is this partition: /dev/sdb1?
1
vote
0
answers
465
views
phpstorm snap missing desktop
Ubuntu 16.04 (kernel: 4.13.0-1012-azure)
Snap 2.32.3.2
Snapd 2.32.3.2
I tried installing phpstorm via sudo snap install phpstorm --classic.
I can see that phpstorm is installed and can be run from ...
1
vote
1
answer
133
views
Not able to edit text in Bash window
I am trying to deploy OpenEdx instance on MS Azure, for which I am following some instructions. I have created a Virtual Machine on Azure. It is an Ubuntu Linux VM. I have accessed the VM through a ...
1
vote
0
answers
2k
views
404 not found when apt-get Install npm in Azure Ubuntu 16.04 [duplicate]
I've create a Ubuntu server 16.04 LTS (published by Canonical) in Azure
When execute
sudo apt-get install npm
it get error message like
Err:6 http://azure.archive.ubuntu.com/ubuntu xenial-updates/...
1
vote
0
answers
222
views
error with sudo and without sudo [duplicate]
I have created an Ubuntu VM on Azure, but I have some problem when I try to install a program. Command with sudo and without sudo:
ali@Azure:~$ sudo apt-get update
bash: sudo: command not found
ali@...
1
vote
0
answers
78
views
juju cannot create a new machine on Azure
I am playing with juju on Azure and managed to deploy (juju-gui, mysql, tomcat7).
and I have also destroyed couple of services.
I should mention that I have also enabled juju high availability using ...
0
votes
1
answer
1k
views
How do I schedule a Python script to run in a Linux VM?
I tried using crontab but didn’t work. Also, do I need a nohup to keep it running after exit the SSH connection?
02 19 * * * /usr/bin python3.7 myScript.py
0
votes
1
answer
901
views
OS name for 22.04-LTS in Azure templates
Azure does not have any 22.04-LTS OS image version.
I checked with this command:
az vm image list-skus --publisher Canonical --offer UbuntuServer --location westus | more
It does show 16.04-LTS and ...
0
votes
1
answer
1k
views
Upgrading existing Azure VM with Ubuntu 18.04 LTS to Ubuntu Pro 18.04
What are the steps to upgrade an existing Azure VM with Ubuntu 18.04 LTS to Ubuntu Pro 18.04. Is it possible without creating a new VM?
0
votes
1
answer
221
views
How to download files from local pc to remote pc? [closed]
I have some files on my local PC and I need to send these files to my Azure machine. Both machines are Ubuntu 16.04 and I know that I can send the data through "Connect to Server" section of the ...
0
votes
2
answers
215
views
Avoid switching between two versions of python for each service in the same environment
I managed to install python 3.6 alongside python 3.10, the problem is that when 3.6 is selected in update alternatives, walinuxagent service works fine when while netbox, netbox-rq and nginx services ...
0
votes
1
answer
163
views
Server 22.04 running on Azure VM shows private IP of server as all visitor remote IPs
We've got an ubuntu 22.04 server running on a VM within MS Azure. Its a standard webserver setup with nothing fancy added on. We're having an issue with anywhere that REMOTE_ADDR is being called ...