Questions tagged [amazon-linux]
139 questions
0
votes
0 answers
Amazon ec2 OS upgrade/instance type upgrade
My company is needing to upgrade the OS of our EC2 instances from AML 1 to AML 2 since end of life is 6/2023. We recently released a significantly large add-on to our application, so we are talking about upgrading the instance type as well... Our…

dill03
- 1
0
votes
1 answer
Why does status says it's dead and subsys locked, but it still running without issue?
Whenever I start Amavisd, the reports starting OK, but a status check says it's dead.
$ service amavisd start
Starting amavisd: [ OK ]
$ service amavisd status
amavisd dead but subsys locked
But Amavisd…

dandan
- 158
- 7
0
votes
0 answers
How to connect two adapters to aws linux 2 with virtulabox?
I followed this video link and able to use amazon linux 2 with virtualbox.
But this video shows only one network adapter(bridged).
I connected two network adapters(NAT and Host-Only) but only the first adapter is visible.
I didn't configure through…

uday kiran reddy
- 11
- 2
- 7
0
votes
1 answer
Downtime on an EC2 instance
Recently I had an issue on an EC2 instance. The site running there was unavailable for 2 hours:
CPU utilization for the past week:
The rest are around the time it happened:
The systemd journal around that period.
What I can see there? At around…

x-yuri
- 2,141
- 2
- 24
- 29
0
votes
1 answer
Intermittent "Address already in use: AH00072: make_sock: could not bind to address" on port 80
We are experiencing intermittent "Address already in use: AH00072: make_sock: could not bind to address" on port 80 failures on our servers. I have looked at other answers and they are mostly based around it being a consistent failure and a LISTEN…

Elijah Lynn
- 141
- 6
- 17
0
votes
1 answer
chmod/chown/mkdir: Operation not permitted as root
I get Operation not permitted for root user on one server but not on the other "identical" server.
Running on Amazon Linux 1.
Server 1:
[root@preprod-1 ]# chown root:root /s3mnt/outliers/
chown: changing ownership of ‘/s3mnt/outliers/’: Operation…

masterpiece
- 115
- 1
- 1
- 8
0
votes
0 answers
Installing PCNTL module for PHP7.4 on Amazon Linux
I'm using amazon linux2 and trying to install pcntl extension for php7.4.9. There are no package for pcntl after run yum search pcntl, so
I manually copied file pcntl.so to /usr/lib64/php/modules and created /etc/php.d/20-pcntl.ini, file.
But I got…

HoangNK
- 1
- 2
0
votes
1 answer
Trying to install php 7.3 with httpd 2.4 on centos 6
I have CentOS6-equivalent systems (Amazon Linux original, not Linux 2) that I upgraded to Apache httpd 2.4.
Now I want to upgrade PHP from 7.1 to 7.3.
As far as I can tell, the Remi repo only provides an httpd libphp for 2.2, not 2.4.
Attempting to…

DanF
- 1
- 1
0
votes
1 answer
Linux service is listening and responding on ports it wasn't assigned and that don't show up in netstat
I have an Amazon Linux 1 instance that was created from a Solarwinds DPA AMI. I created this around 2 years ago. It is possible I did something weird back then to make this happen.
Today, I upgraded Solardwinds DPA. I noticed that the listening…

Appleoddity
- 3,488
- 2
- 13
- 33
0
votes
0 answers
Locked of Server, how to run sudo passwordless
Here is the issue
Created a new server with Amazon Linux 2
Removed ssh-key from default root user (ec2-user)
Created two new accounts with sudo access without a password
Now I got locked out of the root access in this server, anytime I run a…

asosnovsky
- 101
- 1
0
votes
1 answer
Amazon Linux: yumm install php73 > "No package php73 available"
On an Amazon EC2 Linux server, I've run:
sudo su -
yum -y update
yum install -y php73
I receive the error No package php73 available.
I've been able to install httpd, php, & php-mysql okay.
Here is my yum repo list:
[root@ip-172-31-1-175 httpd]#…

Steve
- 365
- 2
- 7
- 18
-1
votes
1 answer
Able to connect the other ports however unable to connect the SSH port (22) of EC2 instance
I am having two ec2-instance with OS Amazon linux (instance1 and instance2) mapped with same security groups and I am able to ssh the 'instance2'. However I am unable to SSH the instance1, this instance1 is working till I am change the IAM roles.…
-1
votes
1 answer
Amazon Linux - expand root partition
I need to expand the root partition '/' on my linux machine to occupy entire available space. I launched a machine with 60 GB storage space. 'lsblk' for my machine is as follows.
$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
xvda 202:0 0…

nmitt105
- 1
-1
votes
1 answer
Can't connect to local MySQL server through socket '/var/mysql/mysql.sock
Recently, I've started getting this error when trying to login to mysql:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
I read on another threat that this can be caused by system getting out…

john k
- 119
- 1
- 2
- 4
-1
votes
1 answer
Amazon linux package conflict
I was trying install php55-fpm on amazon linux, but there is a package conflict with php-common. How solve this issue ?
[ec2-user@ip-10-0-12-54 ~]$ sudo yum install php55-fpm
Loaded plugins: priorities, update-motd, upgrade-helper
amzn-main/latest …

nosferatu
- 3
- 2