Questions tagged [aws]
Amazon Web Services (AWS)
379
questions
-1
votes
0
answers
8
views
AWS IPv4 troubleshooting [closed]
I am a aspiring cloud developer and I reached a fork in the road when I was trying to create instance traffic on AWS to test out the different ELBs. As I was putting the instance IPv4 onto firefox, ...
0
votes
0
answers
97
views
AWS EC2 Ubuntu crashing
I am using AWS EC2 with ubuntu 22. After running sudo apt-get update and sudo apt-get upgrade I have restarted the machine using sudo reboot.
Then my server started crashing in every 2-3 hours. The ...
0
votes
0
answers
35
views
How to sync an Ubuntu machine inside AWS using NTP
I have an Ubuntu instance inside AWS, which communicates with a third-party instance, also in AWS. I would like to ensure my instance's system time matches their's as close as possible.
They have told ...
0
votes
0
answers
65
views
Handling DNS Resolution Failure after Releasing the Primary Public IP on Linux Machine with Multiple IPs
I am encountering an issue on my Linux machine with multiple network interfaces and IP addresses. Specifically, after releasing the primary public IP (let's call it 112. * .* .1) on the ens3 interface,...
1
vote
1
answer
217
views
Why has the latest Ubuntu Pro AMI and unsupported Kernel
Short
The latest ubuntu pro AMI in eu-central-1 has an unsupported Kernel which has reached the end of its livepatch support.
Which AMI should I use to start a recent, working LTS 22.04 Pro Ubuntu, ...
0
votes
1
answer
112
views
Ubuntu Pro 22.04 AMI not available?
We currently build a golden image from the Ubuntu 22.04 AMI offered from Canonical, however there are security patches that are only available through Ubuntu Pro. In researching creating an AMI from ...
0
votes
0
answers
93
views
port 22: Connection refused, but only 60% of the time
I am running this:
ssh_command = f'ssh -vvv -o StrictHostKeyChecking=no -i {private_key_file} ubuntu@{public_ip}'
# Use os.system to execute the SSH command in a subshell
os.system(ssh_command)
...
0
votes
0
answers
102
views
AWS Ubuntu 22.04 Interface Down on Reboot
Using Ubuntu 22.04.01 via AWS and just did a kernel update (among other items in apt upgrade) to 6.2.0-1017-aws and rebooted. Had to console in because connectivity was failing with no network changes....
0
votes
0
answers
97
views
Ubuntu Pro on AWS | Temporary failure in name resolution
I created a new EC2 instance with Ubuntu Pro 22.04 image. After 1st access, I updated system packages and Audited/fixed using usg command.
After usg fix command, I rebooted the system and upon 1st ...
1
vote
1
answer
214
views
Deleting lines beginning with a string
I wrote a bash script that I use to backup certain directories to the cloud. I then direct that output to a log file.
The log file consists of lines starting with either "upload" or "...
0
votes
0
answers
50
views
Acess Aws server files using FTP like filezilla without .pem file
My Manager sent me AWS server credentails and told me to connect with filezilla.
He gave the Hostname & User : ubuntu , but when i asked for .pem or ssh key file, he told my system's key is ...
0
votes
1
answer
192
views
AWS userdata does not run on custom Ubuntu AMI
I've created a custom Ubuntu ISO with Autoinstall and userdata to set up a virtual machine (VM) in our VMware setup. This VM is then converted to OVA format, uploaded to AWS S3, and converted to an ...
0
votes
0
answers
84
views
Issue in nvidia-smi version and docker cuda ref in ubuntu 20.04
The issue in Ubuntu 20.04:
Issue in Cuda Version: ERR!
Issue in Cuda ref in Docker like:
cudaloader gstcudaloader.c:169:gst_cuda_load_library: Could not open library libcuda.so.1, libcuda.so.1: ...
0
votes
0
answers
64
views
Empty network related files appearing in home directory periodically
Why are these empty files appearing in my home directory periodically?
-rw-rw-rw- 1 ubuntu ubuntu 0 Jun 22 05:40 ip-172-31-15-<censored>-9e994000.13551491757067348536736786
-rw-rw-rw- 1 ...
0
votes
0
answers
131
views
How to set a static IP on a `tunnel` network?
I am using amazon AWS VPN endpoint and I have a ubuntu 20.04 client for which I would like to have a static IP on the VPN network.
I cannot find any examples on how to setup the /etc/netplan/50-cloud-...
0
votes
0
answers
85
views
Could not install packages due to an Environment Error: [Errno 28] No space left on device
I am trying to install the terserflow. I have a t2.xlarge instance type but every time I get an error.
Can you please help me with how much storage I have to take?
ERROR: Could not install packages ...
1
vote
1
answer
892
views
Cron not working in the new EC2 instance. If run manually then it's working
I have set up a new EC2 instance. Everything is working perfectly. Now this morning I have set the cron and below is an example of cron
*/5 * * * * /usr/bin/php https://www.xyz.in/api/cron/index.php
...
0
votes
0
answers
136
views
Unable to bind MAC Address with interfaces in ubuntu
I am running Ubuntu 20.04 on an AWS environment. While trying to bind MAC Address to interfaces in netplan YAML file. The changes are not working as expected.
I followed the following configuration, ...
0
votes
0
answers
69
views
Terraform AWS EC2 Instance stops installing remote commands because of Ubuntu Kernel Upgrade
I'm trying to boot up an EC2 instance on AWS using Terraform. So far the config is good and the instance works. SSH into the instance also works through Terraform security groups etc.
However I want ...
2
votes
1
answer
565
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 -...
1
vote
1
answer
256
views
Can’t start IPFS daemon - ipfs.service: Failed with result ‘exit-code’
Even though I'm a noob, I decided to launch a new AWS Ubuntu instance for my IPFS node and encountering errors.
I followed this tutorial - https://medium.com/textileio/tutorial-setting-up-an-ipfs-peer-...
0
votes
1
answer
185
views
AWS EC2 ubuntu box authentication by using Azure AD
I need your help to integrate user account on AWS EC2 ubuntu box by using Azure AD Credentials.
We have an azure account where we have created users which in used by email and other SSO services.
we ...
0
votes
0
answers
299
views
Header set Access-Control-Allow-Origin code added but nothing is happening
I am trying to solve the below option on my website
Strict-Transport-Security
Content-Security-Policy
X-Frame-Options
X-Content-Type-Options
Referrer-Policy
Permissions-Policy
I found the below ...
0
votes
0
answers
317
views
FATAL ERROR: Remote side sent disconnect message in filezila
I am using FileZilla to connect my Ubuntu server using the PPK file but every time I am getting the below error. Yesterday it was working but today I tried several times but not working.
I have ...
0
votes
0
answers
479
views
Amazon Workspace Client not connecting to Amazon Workspace on Ubuntu 22.04
Download from http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_amd64.deb
Install using command
sudo apt-get install ./libssl1.1_1.1.1f-1ubuntu2_amd64.deb
0
votes
0
answers
419
views
Can't increase the root partition size on Ubuntu 20.04
I am currently using ubuntu 20.04 (AWS Ec2) machine.
My root filesystem has no more space as per the below output
sudo df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 7.6G 7....
0
votes
0
answers
90
views
Plesk Web Admin SE
I have install the Plesk Web Admin SE Ubuntu for AWS Lightsail. Prior I had no issues but now after 3 months it no longer works and asks for a paid key. I emailed AWS and they said I need to contact ...
1
vote
1
answer
1k
views
SSH access to Ubuntu Permission denied (publickey)
I'm trying to create a new user in ubuntu with keybased authentication and to configure Github actions (via ssh) to deploy any new change done on my branch, however am stuck with SSH connection to ...
0
votes
1
answer
1k
views
UnicodeEncodeError: 'utf-8' codec can't encode characters in position 4-6: surrogates not allowed
I have written a small code snippet to check the aws cli version
#!/bin/bash
if [ -e "/usr/local/bin/aws" ];
then
myAWS="/usr/local/bin/aws"
else
myAWS="/usr/bin/aws&...
0
votes
1
answer
1k
views
Problem with SFTP: "Credentials were not accepted by the server"
I'm using an instance of Ubuntu 22.04.1 LTS via AWS, having enabled ports 22 and 443 in Ubuntu via ufw, and I'm using a Security Group with those same ports enabled.
Although I'm able to connect via ...
1
vote
0
answers
103
views
ip-10-100-28-20 login: [ 17.201999] overlayfs: missing 'lowerdir'
Ubuntu 22.04 running on an AWS instance which is shutdown most evenings and restarted in the morning. Has been running without issue for @6 months
Failed to start this morning with the error as shown:
...
1
vote
1
answer
1k
views
aws ubuntu 22.04 jammy ec2s can't apt-get update from aws archive 503s
As per title, unable to apt-get / apt anything and index appears down for ap-southeast-2.
I have a collection of ec2s for a kubernetes lab cluster for a workshop, so I'm bringing it up and down every ...
0
votes
0
answers
129
views
Installing LAMP stack without MySQL on AWS
I want to host basic websites on AWS. I got my head around creating an instance, choosing a distro (Ubuntu) and installing Apache. I want to install PHP, but these basic websites don't require a ...
0
votes
1
answer
7k
views
Created vm with virt-manager but it won't boot. Says on bootable device
I am running dual boot Windows 11 Pro and Ubuntu 20.04. Everything works when I boot to Windows, but I can't set up the VM on ubuntu.
Created vm with virt-manager but it won't boot. Says on bootable ...
1
vote
1
answer
1k
views
How do I get rid of the AWS CloudWatch agent from my server?
When using htop, I can see this process:
/opt/aws/amazon-cloudwatch-agent/bin/amazon-cloudwatch-agent
I don't need the cloudwatch agent on this server, how do I remove it?
0
votes
0
answers
117
views
debugng 2GB AWS server hang with Netbox, Python 3.8
I have a AWS t3.micro 2GB 20.04 machine, that i want to use for Netbox software. I created a RDS instance in AWS, so no DB problem on computing, back-end side.
When i complete all steps in the Netbox ...
0
votes
1
answer
382
views
How to setup port to subdomain in AWS?
I have a domain (e.g. example.com) registered with godaddy.com and use AWS for hosting. Nameserver on Godaddy later added to AWS
I have an ubuntu (t2.medium) apache server installed. My project in ...
1
vote
0
answers
273
views
issue with aws cli on wsl2 (windows subsystem for Linux)
I am using wsl2 on windows 10, but I am unable to access some eks features through AWS cli. I have credentials set on the windows system and everything works. I installed aws cli on wsl2 ubuntu 20.04 ...
0
votes
2
answers
438
views
How can I increase Ubuntu hard drive space on AWS when resize2fs says there is nothing to do?
I've looked at a few tutorials, they say -
Step 1) run df -h
$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 7.7G 6.1G 1.7G 79% /
devtmpfs 3.9G 0 3.9G 0% /dev
...
1
vote
0
answers
45
views
Ubuntu downgrade on encrypted drive
On my laptop I have dualboot with win10. Win10 partition is encrypted with Bitlocker and Ubuntu partition is installed on encrypted LUKS partition (boot is not encrypted, home and other folders are in ...
1
vote
0
answers
593
views
Unable to apt-get update on IPv6-only ubuntu server
Whenever I try to apt-get update on my IPv6-only ubuntu server, the command fails with connect (101: Network is unreachable) Cannot initiate the connection to us-east-2.ec2.archive.ubuntu.com:80 (52....
0
votes
1
answer
216
views
Unable to correct problems, you have held broken packages for installing aptitude
I have tried the following for this error:
sudo apt-get update --fix-missing
sudo dpkg --configure -a
sudo apt-get install -f
sudo apt upgrade
But I get the same error. I have actually purged mysql ...
0
votes
1
answer
756
views
X2Go Public Key Authentication not working in Ubuntu 22.04
Software Versions:
X2Go Client 4.1.1.1
Ubuntu 22.04
I've been using X2Go on AWS for a couple years. X2Go client is installed on my workspace, and I run the server on EC2 instances to allow graphics. ...
0
votes
0
answers
2k
views
python3/dist-packages/requests/__init__.py:89: RequestsDependencyWarning: urllib3 (1.26.12) or chardet (3.0.4) doesn't match a supported version!
I am trying to run codecommit to pull down my project
usr/lib/python3/dist-packages/requests/__init__.py:89: RequestsDependencyWarning: urllib3 (1.26.12) or chardet (3.0.4) doesn't match a supported ...
0
votes
0
answers
164
views
awesomewm hangs on login on AWS + NICE DCV
Having used awesome wm for years, I am now facing problems wanting to use it on my corporate machine (aws instance with graphical interface via Nice DCV). Upon logging in, i.e. typing in the password, ...
0
votes
0
answers
220
views
Getting a blank screen after installing the PHPMyAadmin in the ubuntu server
I am new to AWS setup. I am trying to install Apache, PHP, and PhpMyAdmin on the server.
I have tried the below steps.
1. Created Instance.
2. Tried the below command to log in to the Instance using ...
0
votes
1
answer
494
views
Ubuntu 22.04 AWS import initramfs/initrd issue
I'm working on a multi-cloud deployment for Ubuntu 22.04 and I haven't done this since 16.04, I've got a raw image created with QEMU, and I'm trying to get it into AWS, the import is telling me:
&...
1
vote
0
answers
130
views
Cant initiate break points with Xdebug through dbgpProxy on multi-site dev server
I manage a setup with multiple developers using a "developer" Apache Server with PHP 7.4.
Since the Ubuntu 20.04 server is running in a private range in AWS, access is only allowed thru a ...
-2
votes
1
answer
2k
views
Wget - Unable to locally verify the issuer's authority on Ubuntu 18
I have some tar.gz and zip files on my website. The website is hosted on aws (ubuntu 18). But Users can't download them using wget. It is giving this error while running :-
wget https://example.com/...
4
votes
2
answers
29k
views
stderr: No ECDSA host key is known for github.com and you have requested strict checking
[enter image description here]
1Failed to connect to repository : Command "git ls-remote -h -- [email protected]:yeni/jenkins-terraform.git HEAD" returned status code 128:
stdout:
stderr: No ...