Questions tagged [azure]

Microsoft Azure is a leading provider of public cloud services

Filter by
Sorted by
Tagged with
0
votes
2answers
33 views

Create netplan bridge at Azure Ubuntu

My ubuntu18 hosted in Azure cloud. I tried setup bridge in netplan, but fail. original 50-cloud-init.yaml network: ethernets: eth0: dhcp4: true addresses: - ...
-1
votes
1answer
40 views

No module named azure.storage.blob - Azure Linux VM (ubuntu 18.04)

I have created a Linux VM (ubuntu 18.04) in Azure .Installed Python3.6 on that using sudo apt install python3.7. Python programs are running fine. Now tried to install azure-storage-blob. could not ...
0
votes
0answers
20 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/...
0
votes
0answers
15 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 ...
1
vote
0answers
20 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
0answers
108 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, ...
0
votes
0answers
181 views

nmap shows port 8080 is filtered even though it's opened. How can I open it?

I am using Ubuntu virtual host to run a tomcat based application that uses the port 8080, 8009, and 8000. The network admin has already opened the ports and when I run nmap on localhost it shows that ...
1
vote
1answer
56 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
1answer
62 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 ...
0
votes
0answers
37 views

Using Ansible Configure Kubernetes?

I am encountering some difficulty with this. I understand that sudo snap install microk8s --classic can be used to install the latest version of kubectl, but, where I am struggling with is utilizing ...
0
votes
0answers
32 views

Redirecting ports in an azure vm to connect from outside

I am hosting a service on an azure vm and I want to run it on port 7000. But the port 7000 is not open to outside world. I could see 7001 is open. Is there a way I can do some redirection for the ...
0
votes
0answers
105 views

How to setup startup script to run before PostgreSQL server but after mounting disks?

The system is Ubuntu Server 18.04 LTS on VM in Azure cloud, with PostgreSQL 12 installed. Data storage for PostgreSQL is on RAID composed from "remote" managed disks. However, every Azure VM has ...
0
votes
0answers
137 views

How to execute sudo commands with azure ubuntu user logged in with key file?

I am logged into an Ubuntu machine with a username and keyfile that were generated during machine creation on an Azure machine. I am editing a file in /etc, and for that I need to execute a sudo ...
1
vote
1answer
77 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 ...
0
votes
0answers
24 views

Using Python to query SQL Azure DWH unable to use correct data types?

I have some simple Python code using the pandas package to read from a SQL server. This works on my windows machine, and it worked on my Ubuntu machine until recently. query = """ SELECT TOP ...
2
votes
0answers
747 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 ...
1
vote
0answers
51 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 :)
2
votes
2answers
370 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 ...
0
votes
1answer
426 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
1
vote
1answer
257 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 ...
0
votes
2answers
230 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'...
0
votes
0answers
27 views

Deleted File Still Shows (Sometimes) And I Checked Everywhere

I have a large (3.7GB) file that I deleted from my Ubuntu VM running in the Azure cloud. I first noticed a problem because the space from the file was not reclaimed. When I do an ls there is no sign ...
0
votes
2answers
59 views

Ubuntu VM on Azure

I have lost some very important files on Azure temporary folder /dev/sdb1/mnt Is there anyways I can recover it. Any pointers ?
0
votes
0answers
33 views

I have Ubuntu with moodle server installed and I want to migrate to AZURE

The thing is taht on Ubuntu server I have the root and home partitions on different disk root on /sda1 and home on /sdc In order for me to be able to migrate to Azure I have to find a way to merge ...
1
vote
0answers
9 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?
0
votes
1answer
161 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
1answer
70 views

How to attach a disk to the existing ubuntu16.04 vm in the azure cloud ?

I have an azure vm which has 30gb in the intial stage which was not sufficient for me ,so I have created a new HDD with 200GB and I was unable to attach it to the Azure VM (Ubuntu 16.04).
0
votes
0answers
51 views

How to share a folder location for backup purposes

I am trying to share a backup folder in order for me to backup a Solrcloud collection. How do I share the folder? Do I need Samba? Also, has anyone mounted an Azure container to their Linux machine? ...
1
vote
0answers
121 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 ...
0
votes
0answers
118 views

Upgrading user to superuser giving error through bash

I have Ubuntu VM on Azure. I am installing OpenEdx on Azure. I am using bash for running commands. I have ssh to VM. I want to upgrade a user to super user.Below is the command i am asked to follow: ...
1
vote
1answer
80 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 ...
0
votes
0answers
670 views

SSH connection without password between two Azure VMs

SSH connection without password between two Azure VMs I have two RHEL7 VMs running in the same resource group with the same subscription ID. I have assigned DNS names to them; master.eastus....
1
vote
0answers
891 views

404 not found when apt-get Install npm in Azure Ubuntu 16.04

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/...
0
votes
1answer
2k views

Switch from linux-virtual to linux-azure for Accelerated Networking support

We have Azure VMs running Ubuntu 16.04.3 LTS that we would like to use the Azure Accelerated Networking feature on. The minimum kernel version needed is 4.11.0-1013, but currently with apt-get upgrade ...
1
vote
1answer
1k 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/...
0
votes
0answers
33 views

How to make a single line of command line code run on startup [duplicate]

I have a Linux server which I am using to host a program. I would like that program to be started in a screen on startup. I know the line I need to decide this, but not how to get it to run on ...
1
vote
0answers
173 views

error with sudo and without sudo

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@...
0
votes
0answers
380 views

Azure CLI 2.0 - GLIBC_2.17 not found

I am trying to construct a continuous integration pipeline using Travis-CI. In this, I am trying to include the Azure CLI 2.0 via apt-get on my CI box and am struggling to do so. I have the following ....
1
vote
1answer
665 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 ...
0
votes
0answers
605 views

Change date time on Ubuntu 16.04 LTS manually?

I need to change date time manually on the server Ubuntu 16.04, I disabled the ntp and disable the auto update the ntp from timedatectl using command: timedatectl set-ntp 0 And following result is ...
2
votes
3answers
7k 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 ...
0
votes
0answers
635 views

Automate acceptance of EULA in servicefabricsdkcommon package on ubuntu

I need to install the Azure Service Fabric SDK on a linux ubuntu VM automatically. The installation requires you to accept an EULA. How would I automate the acceptance of the EULA so it doesn't ...
0
votes
0answers
599 views

Cannot create connections through Network Manager - All fields in form greyed out

My problem is this: I can't create a new OpenVPN (or any other type) connection using network manager in an Azure UBUNTU 16.04 LTS virtual machine. The reason is that once I click "create", all ...
2
votes
1answer
2k 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 ...
0
votes
2answers
487 views

Lots of kernels not being removed by Bikeshed

I've got an Azure based Ubuntu 14.04 LTS Server I ran purge-old-kernels (bikeshed) and it said just 1 kernel was eligible for removal. So I let it remove that one. Then I did a check for all kernels ...
10
votes
2answers
10k 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).
0
votes
2answers
1k views

port forwarding to docker instance for rdp

I have installed docker on my machine. On the ubuntu container I am using, I've installed all the stuff necessary to remote desktop via RDP. (like xrdp, tightvncserver, etc). Even remote-desktop from ...
0
votes
1answer
991 views

Ubuntu on MS Azure - how to setup nginx [closed]

I created new VM with Ubuntu 14.04 and I'd like to setup nginx on it. I installed nginx via putty ssh connection: sudo apt-get update sudo apt-get install nginx sudo ufw allow 80 However, when I ...
0
votes
2answers
2k views

Azure Ubuntu server 14.04 port access

I have Ubuntu 14.04.1 server in Azure cloud with static publick IP address. And I can not open the desirable TCP or UDP port for my service there. I dont see external network in networks list. ...
2
votes
1answer
918 views

How to avoid apt-get -y dist-upgrade being interactive with waagent?

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. ...