Questions tagged [amazon]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
36 views

Error with grub2-install on Amazon Linux 2023 after Migrating to LVM with EFI System

I set up an Amazon Linux 2023 EC2 and migrated the disk over to a new one to use LVM, (I didnt put the BIOS and /boot/efi on LVM.) I believe my system is using EFI, as indicated by the contents in /...
allyman17's user avatar
0 votes
0 answers
66 views

AWS Lightsail: cannot connect to FreeBSD instance created from snapshot

I have an amazon Lightsail instance running FreeBSD. As I initially chose the lowest performance instance, I wanted to upgrade and thought this would be easy: just create a snapshot and create a new ...
Georg Pfolz's user avatar
0 votes
2 answers
1k views

"Warning: bad syntax, perhaps a bogus '-'?" has started to appear when connecting to server

I am suddenly seeing the following warning when I ssh to my server. I researched it and cannot seem to find the cause neither I am able to get rid of it. Please, can someone help? Thank you!
PtiSinge's user avatar
1 vote
1 answer
1k views

Can't access Webmin from browser after installing

Fresh Webmin install on Ubuntu 20.04 on Amazon Lightsail I added the line to iptables as per their instructions: sudo iptables -A INPUT -p tcp -m tcp --dport 10000 -j ACCEPT I have added port 10000/...
pyproper's user avatar
2 votes
1 answer
1k views

yum IUS in Amazon Linux 2

As I'll need to install the layrst version of Python, will need to install a particular repository - Inline with Upstream Stable (IUS) - that provides rpm packages for new versions of selected ...
Tiago Martins Peres's user avatar
1 vote
2 answers
1k views

Why does `pip` throw `ModuleNotFoundError` even though `setuptools` appears to be installed?

On an EC2 instance, I am attempting to install a Python package using pip, but receive an exception that states ModuleNotFoundError: No module named 'setuptools'. For context, the command I run is pip ...
Jubbles's user avatar
  • 145
0 votes
0 answers
46 views

Slow port scan?

Probably no big deal although I have questions. Background: My home wireless was being overrun with all the devices. Have 6 people on the net and each have multiple devices. Then the kids would have ...
ctclibby's user avatar
2 votes
2 answers
3k views

AWS s3 CLi grep command with special characters

I want to copy the whole log that are stored in the AWS S3 bucket if the following line is present: \"Key\" : 951332,\n I've tried escaping by trying this: aws s3 ls s3://bucket_name | grep "/\"Key/...
Samosa's user avatar
  • 81
0 votes
1 answer
135 views

How to copy CentOS server using SSH from one hosting to AWS EC2?

I have like 15 VPS CentOS machines with SSH access on one hosting and I need to move them all to Amazon Web Services to EC2 That hosting is not supporting anything expect of SSH Which the easiest ...
Artik's user avatar
  • 1
0 votes
1 answer
341 views

how to update amazon linux gmp package?

We have an Amazon Linux server and we scan it using OpenVAS. It detected one high vulnerability which is Amazon Linux Local Check: alas-2016-754. Looking at the solution it says Run yum update php70 ...
Finn's user avatar
  • 1
2 votes
1 answer
2k views

How to set email alert for disk space usage for ubuntu instance on AWS?

I have an ubuntu instance on AWS and I want an email when 80% of disk space is consumed. I have checked the cloud watch but there is no such option to monitor disk space. There is only one option ...
Neetesh Gangwar's user avatar
1 vote
0 answers
432 views

How to enable ZipArchive PHP class

Recently I have installed a PHP on Amazon Linux to run Chevereto. It's an image hosting service. When I wanted to install it on my EC2 instance, I got the following error: Aw, Snap! Your web ...
Foxy's user avatar
  • 11
0 votes
2 answers
2k views

How to install open connect client on Amazon linux

sudo yum list all | grep openconnect NetworkManager-openconnect.x86_64 0.8.6.0-3.el6 epel openconnect.i686 7.07-2.el6 ...
sai's user avatar
  • 1
0 votes
2 answers
774 views

Trying to SSH login into aws amazon server and getting "Permission denied (publickey)" error

I did login into amazon server on terminal by ssh -i /path/to/pem_file.pem [email protected]. It was working fine but there are too many log files into ec2/ folder so i tried to delete ...
Amit Appsquadz's user avatar
1 vote
0 answers
174 views

Amazon instance automatically creating and resizing partitions after VM Import

I'm using Packer to create a VM with CentOS 7, and exporting it as a .ova file at the final of installation. By default, Packer creates a 40GB Virtual Disk (.vmdk). After the installation, if I import ...
Eduardo Baitello's user avatar
11 votes
5 answers
51k views

Check if file exists in S3 Bucket

This directory /data/files/ has thousands files like: 1test 2test 3test [...] 60000test 60001test I'm also sending them to a S3 Bucket (AWS), using AWS CLI. However, sometimes the S3 bucket can be ...
Patrick B.'s user avatar
0 votes
1 answer
4k views

Roles may not be assumed by root accounts

How do I use the thufir profile I created, and not use the AWS root account? I'm on page 12 of the AWS Command Line Interface User Guide: thufir@doge:~$ thufir@doge:~$ cat .aws/config [default] ...
Thufir's user avatar
  • 1,870
0 votes
1 answer
509 views

How to create Lubuntu AMI image on Amazon?

WOndering to create a Lubuntu (not Ubuntu) AMI image on amazon ? Most of the AMI areon Ubuntu, so am not how to get installed Lubuntu from scratch ? http://lubuntu.net/ Thanks
tensor's user avatar
  • 111
1 vote
0 answers
82 views

some characters show after put objects on amazon s3

I use libcurl to put objects on amazon s3 service. Here is my original contents in a.txt: aaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbb ...
yayaya's user avatar
  • 79
3 votes
1 answer
3k views

headless firefox failed on aws amazon linux

I have followed the procedures as described in [https://lambda-linux.io/blog/2015/01/28/announcing-firefox-browser-support-for-amazon-linux/ However, when I tried to start up firefox, I am still ...
openbob's user avatar
  • 71
-1 votes
1 answer
3k views

Getting "Permission denied" when trying to create a file despite correct permissions

I’m using Amazon Linux and running a script through a Jenkins job, including this line touch /usr/java/jboss/standalone/deployments/myproject.war.dodeploy which results in the error … touch: cannot ...
Dave's user avatar
  • 2,548
2 votes
0 answers
251 views

AWS ELB Latency issue

I have two c3.2xlarge EC2 machines with Ubuntu environment both in us-west-2a AZ. Both contains same code with mySQL database from AWS RDS (db.r3.2xlarge). Both instances are added to an ELB. Both has ...
Thamilhan's user avatar
  • 121
4 votes
1 answer
5k views

Apache can't access file while is has permission

I don't want to allow others read access, so I have added my user and the apache user to a group called apachme and then set that group to all the files and folders I want apache to have access to, ...
Craig Mosey's user avatar
1 vote
1 answer
741 views

iftop, outgoing https to Amazon

When I run iftop -P to see what is coming to/from my interface, I constantly see connections to Amazon, HTTPS protocol: => ec2-176-34-135-167.eu-west-1.compute.amazonaws.com:https <= => ec2-...
Kamil's user avatar
  • 1,461
2 votes
1 answer
1k views

How to make the DRM-protected video stream of Amazon Video run on Debian Jessie?

I want to use Amazon Video on Debian Jessie but can't manage it to run. I have the following hardware setup: CPU: 2 cores at 3 GHz (Intel Core 2 Duo E8400) RAM: 6 GB RAM GPU: NVIDIA GeForce GTX 650 ...
Pewpew's user avatar
  • 123
4 votes
2 answers
19k views

Check if Apache is Installed in Amazon Linux AMI

How can I check if Apache is installed in my Amazon Linux AMI, which is based on RHEL 6? In Ubuntu, I use: dpkg --get-selections | grep apache But that doesn't work in this case. Note, I need to be ...
Rick Helston's user avatar
0 votes
1 answer
479 views

how to resolve webmail after iptables change for odoo?

I am using amazon ec2 instance os: ubuntu 14.04 First i had used odoo server to design my site. That is accessed through http://example.com:8069 Then i installed vesta panel and created mail ...
priya venkat's user avatar
1 vote
0 answers
570 views

Storing Web Session on S3 bucket

I have a cluster of web servers which store web session related information in a NFS shared directory. We are trying to implement an AWS version of our product where we could use S3 bucket to store ...
mezi's user avatar
  • 942