2022 Developer Survey is open! Take survey.

Questions tagged [aws]

Amazon Web Services (AWS)

Filter by
Sorted by
Tagged with
1 vote
1 answer
412 views

For new AWS instance, "Using username "ubuntu". Server refused our key."

I have been using Amazon EC2 instances in AWS. I have been successful connecting with WinSCP to a variety of instances, including Amazon Linux, Rocky Linux, SUSE, and CentOS 6, 7, and 8. All of ...
user avatar
  • 115
0 votes
0 answers
50 views

RDP on EC2 works until logging out and back in RDP, SSH works without issue - must reboot to get RDP to work again

I have a Ubuntu 18.x that I have installed XRDP on and GNOME so I can configure Security Onion 2 for my org. This is a VM running in AWS on a EC2. I have whitelisted my public IP for SSH and RDP in ...
user avatar
0 votes
0 answers
71 views

AWS EC2 Ubuntu 20.04.4 LTS STARTUP taking too long because of cloud-init / url_helper.py issue

Everytime I restart my server I get this cloud-init related error that slows the startup by 5 minutes. Where this error comes from and how can I fix this? [ 5.458859] cloud-init[869]: Cloud-init v. ...
user avatar
  • 101
0 votes
1 answer
21 views

How do you check if you're on a proxy server?

How do you check if you're on a proxy server? I noticed I can't install anything on my staging server, and I remembered that there was some weird configuration that was done to keep it safe from ...
user avatar
  • 103
0 votes
1 answer
29 views

Copy directory from user ubuntu to root aws server

I'm very new to this. I'm trying to copy a directory from user ubuntu to root using this command. scp -i mykey.pem ~/var/www/dj root@ip:/var/www and it says Please login as the user "ubuntu"...
user avatar
  • 1
1 vote
1 answer
202 views

How to install Nvidia CUDA driver on AWS ec2 instance?

I am using AWS instance but Nvidia CUDA driver is not install there. I need help to install Nvidia CUDA driver on ec2 install. The Ubuntu version is 18.04 and the instance is GPU based. The graphics ...
user avatar
0 votes
0 answers
62 views

Getting error "Permissions 0777 for 'myname-2.pem' are too open" while connecting to AWS EC2 instannce

Why connecting to Amazon instance, I got following error: $ ssh -i "myname-2.pem" ec2-user@ec2-12-245-65-0.ap-south-1.compute.amazonaws.com @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...
user avatar
  • 179
0 votes
0 answers
33 views

Intermittent 503 error in Elasticbeanstalk (Unix domain socket error in ElasticBeanstalk)

We are running a web application written in Java(tomcat8) hosted in AWS ElastcBeanStalk Some weeks back we started getting 503 error randomly When we checked the elasticbeanstalk-erorr_logs [Thu Mar ...
user avatar
1 vote
0 answers
19 views

How to run a system health check in ubuntu AWS server? [duplicate]

I need to automate a cron job for the above task
user avatar
1 vote
0 answers
32 views

Where is located mysqlpump log file in Linux/Ubuntu

I am neither a DB administrator, nor a DevOps but I need to migrate a very large table (~500M rows) from one MySQL schema to another. For doing so, I use mysqlpumpbackup tool. Also, since the DB is an ...
user avatar
  • 111
0 votes
0 answers
15 views

How to solve NodeJs Ubuntu download issue [duplicate]

I wanted to try host a website through AWS using Ubuntu 18.04 LTS, however I came across this issue when I tried to download Node.js on Ubuntu. ubuntu@ip-172-31-16-206:~$ node -v Command 'node' not ...
user avatar
0 votes
1 answer
152 views

Is it possible to mount an SMB1 share and then share it via SMB2 or SMB3?

We have a Windows Server 2003 (yes, very old) that is our on-premises storage for about 200 GB of content. We want to use AWS DataSync to sync that data into an AWS EFS file system. Unfortunately, AWS ...
user avatar
0 votes
1 answer
34 views

Lightsail Instance Fails Every 20 to 40 days

I'm running Ubuntu 20.04.3 on a 1 GB RAM 1 VCPU 40GB SSD Lightsail instance. It runs NGINX serving a single Wordpress instance. The WP site is the web presence of our local Apple user group and gets ...
user avatar
  • 121
0 votes
0 answers
44 views

Connecting to vpn via pptp-linux works for a while... then freezes

I've got an ubuntu linux VPS through AWS that I'm trying to connect to a company's VPN via PPTP. My authentication is successful , and the admin of the VPN confirms that I am connected, however I have ...
user avatar
  • 1
0 votes
0 answers
122 views

VPN Connection failed "Could not find source connection"

I've created an app with Amazon Lightsail, whose OS I am trying to connect to a vpn using the command line. I have set up a connection using nmcli, the output of that connection when checking system ...
user avatar
  • 1
0 votes
2 answers
58 views

Is it possible to configure SAMBA share between ubuntu instance and windows, and if yes how?

I have ubuntu 20.04 instance on my AWS Lightsail, is it possible to somehow configure samba share? I need to see shared folders on windows (from my PC that is in different network) from ubuntu ...
user avatar
  • 9
0 votes
0 answers
142 views

Cloud-init doesn't run as first boot for instance launched from an AMI created from another instance

We configure AWS EC2 instances (Ubuntu 20.04) with cloud-init using user-data scripts. We're noticing the user-data scripts don't execute if they are run on instance which is launched from a custom ...
user avatar
0 votes
0 answers
43 views

IMDS version used by Ubuntu 18.04 and Ubuntu 18.04 Pro (AWS)

https://ubuntu.com/blog/ubuntu-server-20-04 suggests that IMDSv2 support for AWS is introduced in Ubuntu server version 20.04. Does that mean, 18.04 version of Ubuntu doesn't support IMDSv2?
user avatar
0 votes
0 answers
17 views

How to get newer ssl certificats

My browser is returning a cognito-idp.<region>.amazonaws.com/:1 Failed to load resource: net::ERR_CERT_COMMON_NAME_INVALID error when i try to reach my company site. My co-workers on mac have no ...
user avatar
1 vote
1 answer
765 views

Attempting to enable a custom service in Ubuntu 18.04 Minimal returns "Failed to enable unit: Unit file backuptos3.service does not exist."

Apologies for the length: I posted the same post on Stack Overflow: https://stackoverflow.com/questions/69671377/attempting-to-enable-a-custom-service-in-ubuntu-18-04-minimal-returns-failed-to On this ...
user avatar
1 vote
1 answer
1k views

Access logs errors "/vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php" when using Nginx without PHP

I'm using Nginx as a web server and haven't install any PHP and any module on the machines. When I analyzed the access logs, I got: - - [26/Sep/2021:20:13:30 +0000] "POST /vendor/phpunit/phpunit/...
user avatar
0 votes
1 answer
54 views

Find the absolute path for the root of the codebase

I need to find the absolute path for the root of the codebase.... is that a way to get it out easily?? I have a website that runs on on EC2 AWS/Ubuntu written at 95% in PHP and is linked with plesk. I ...
user avatar
  • 1
0 votes
0 answers
55 views

How to install dbgsym to AWS Server?

I would like to use SystemTap to debug in AWS Linux server here is my AWS Linux server kernel version root:/# uname -r 5.11.0-1019-aws I know that I need to install dbgsym to help me do the debug, I ...
user avatar
0 votes
0 answers
37 views

Mount point getting drop and getting back automatically

I have an SMB (v4.7.6-ubuntu) mount point which is used by 2 other machines in the same network (AWS). Sometimes that mount point is getting lost and again automatically coming back. Whenever it is ...
user avatar
  • 1
0 votes
1 answer
655 views

Changing the kernel for 20.04 in AWS appears to break boot sequence (may be a grub config issue?)

Using Ubuntu 20.04 on AWS (ec2), I wanted to change my kernel from AWS to a generic one. When I try it the suggested way with changing the Grub Config, it stops the machine. This is because Jibri (...
user avatar
0 votes
0 answers
28 views

AWS Instance Ubuntu 20.04 - Backup and restore

TL;DR: I have a AWS Lightsail Instance and need to restore it on another AWS account, which AWS does not support. How do I fully backup my current instance, and then restore it on another instance? ...
user avatar
0 votes
1 answer
40 views

I changed my /usr permission of ec2 instance to read only . After that not able to perform any command

I changed my /usr permission to read only . After that not able to perform any command. Not event able to execute , "clear" or any other operation , nor able to login as sudo . sudo command ...
user avatar
0 votes
1 answer
816 views

Temporary failure in Name Resolution PHP-Ubuntu

I keep getting this error very frequent: Severity: Warning --> mysqli::real_connect(): php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution This issue gets resolved ...
user avatar
0 votes
0 answers
217 views

How to start a background process when the server starts and keep it alive

Note: I wasn't sure if I should ask this here, stack overflow, or ??? I'm migrating a Ruby on Rails app from Heroku to AWS. The server architecture is fairly vanilla: Database Web Server Worker ...
user avatar
0 votes
0 answers
89 views

E: dpkg was interrupted… run 'sudo dpkg --configure -a'

I was trying to deploy a Django project on AWS Deep Learning AMI (Ubuntu 18.04) Version 48.0. When I try to install packages or upgrade I get this. "E: dpkg was interrupted, you must manually run ...
user avatar
  • 1
0 votes
0 answers
147 views

AWS elastic IP on secondary interface

We have a problem with ubuntu system with two NICs In AWS, when we attach an elastic IP to the secondary NIC, we don’t get connectivity while it works out of the box for Amazon Linux and for RedHat 8 ...
user avatar
0 votes
1 answer
288 views

Alias fails when defined in .bash_aliases on Ubuntu 20.04.2 over ssh with jump server

Spun up an AWS Ubuntu 20.04.2 server. This server sits behind a jump server. Once the server spun up, I ran: sudo update sudo upgrade As well as rebooted the server. After that, created an ~/....
user avatar
0 votes
0 answers
272 views

Wireguard no internet access after connection to server

I have set up a WG server on an AWS EC2 Instances that has been working well so far. About 10 devices are connected to this server as peers and are able to communicate with one another and to the ...
user avatar
0 votes
0 answers
106 views

sudo upgrade not working on ubuntu-aws

I am a noob in linux, stuck at aws ubuntu, sudo apt upgrade giving the below error. Cant find the problem, Please help. Setting up initramfs-tools (0.136ubuntu6.6) ... update-initramfs: deferring ...
user avatar
0 votes
0 answers
35 views

log.io monitoring tool hosted in AWS EC2, cannot reach server after starting log.io-server

Installed log.io in my Ubuntu 20.04 EC2 instance as given in the below documentation. https://github.com/NarrativeScience/log.io After npm install started server with log.io-server, terminal outputs ...
user avatar
1 vote
1 answer
318 views

Issue upgrading R 4.05 to 4.1 in Focal 20.04 on AWS EC2

I am trying to upgrade R 4.0.5 to R 4.1 with an update instruction by Johannes Ranke on cloud-R and I did as follows; sudo nano /etc/apt/sources.list and added; deb http://cloud.r-project.org/bin/...
user avatar
  • 191
10 votes
1 answer
2k views

The mail command hangs on "Cc:" for mail

For some reason, when I send mail with mail -s 'test email' tomyrealemail@myrealwebsite.com It prints out Cc: after I press enter and I can't do anything. I tried pressing . and it still is stuck. I'm ...
user avatar
0 votes
0 answers
48 views

not able install/download kubectl and aws-cli via curl or apt in Ubuntu 18.04.5 LTS (Bionic Beaver) [duplicate]

trying to install kubectl in aws via below but getting the zero byte download. It is happening even with apt-get install NAME="Ubuntu" VERSION="18.04.5 LTS (Bionic Beaver)" curl -o ...
user avatar
1 vote
1 answer
818 views

Can't ping after adding secondary network interface in aws ec2

Ubuntu version 20.04. First we created a 2nd private IP on the only (primary) network interface. Both private IP addresses could be pinged. Now the instance has 2 private IP addresses, 1 public IP ...
user avatar
  • 111
0 votes
1 answer
69 views

Docker Container of an entire LINUX OS

Can a Docker container be built from an entire LINUX machine? We have an AWS AMI of the OS. Can that be used instead of an application?
user avatar
0 votes
0 answers
74 views

How to isntall Temsorboard extension to Jupyter Lab on AWS EC2?

I want to isntall Temsorboard to Jupyter lab on AWS EC2 but it just doesent works. I have similar issue to this post. My issue that I do not want to open up the firewall as some people recommended, ...
user avatar
  • 155
0 votes
0 answers
235 views

Aarch64, unable to compile with CC, --fix-cortex-a53-843419

Im unable to compile with gcc on my Ubuntu 20.04.2 LTS (GNU/Linux 5.4.0-1048-aws aarch64) Have created a test just to remove any other possible wrongdoings. // hello.c #include <stdio.h> int ...
user avatar
  • 101
0 votes
0 answers
162 views

Is it possible to decode a session cookie

I am working on AWS DeepRacer. I have obtained the session cookie and the DeepRacer token. I wanted to know if it is possible to use both of them to obtain the password to the DeepRacer. I have the ...
user avatar
1 vote
0 answers
52 views

Network 180x slower than Windows or VPN solution

I am having extremely low speed for AWS downloads on Ubuntu and I started to investigate. Here is what I found: OS Configuration S3 AWS eu-west-1 Oookla Speedtest Download Ubuntu 20.10 Kernel 5.8.0-...
user avatar
  • 176
3 votes
2 answers
6k views

Ubuntu upgrade from 16.04 to 18.04 in AWS EC2

My AWS EC2 instance is running on Ubuntu 16.04. But recently I got an email from AWS that Canonical - the company that provides the support of Ubuntu 16.04 LTS - will stop its support on April 30, ...
user avatar
0 votes
1 answer
1k views

Are there any AWS S3 browser for ubuntu 20.04?

Are there any AWS S3 browser for ubuntu 20.04? I saw a lot of options but most of the links are dead or are not maintained .
user avatar
1 vote
1 answer
57 views

Restore mysql db from AWS AMI?

We have one EC2 instance running our mysql database server. due to a security incident we had to delete the current EC2 instance as database was completely messed up with some sort of encryption. So ...
user avatar
  • 2,233
1 vote
1 answer
3k views

How do I install NVIDIA drivers on an AWS EC2 g4dn instance

I have a G4DN instance running but I wanted to know how to install the NVIDIA drivers on it so I can get access to the complete processing power of the instance. It is running Ubuntu 20 focal and is a ...
user avatar
1 vote
0 answers
786 views

XRDP access to ubuntu instance produces "Oh no! Something went wrong" for some users

I am creating an EC2 AMI on AWS running Ubuntu 20.04 for a training workshop. The initialization of this instance includes the following: apt -y install ubuntu-desktop DEBIAN_FRONTEND=...
user avatar
3 votes
1 answer
2k views

Mount an EBS Volume > 2TB on Ubuntu 18.04

I have an Ubuntu server running on EC2 with an EBS volume mounted on /. I resized the EBS volume to 16TB before realizing that using it as the root volume implies partitioning, and that I might need a ...
user avatar

1
2 3 4 5
7