Questions tagged [amazon-linux]
139 questions
0
votes
2 answers
Amazon Linux Init.d Script Not Daemonizing Properly
I'm working on Amazon Linux and am running into an issue with my init.d script. I'm trying to run Kibana 4, which is just a script that calls nodejs to run as a service, but it's not working.
Typing service kibana status works fine, but whenever…

Josh Padnick
- 289
- 3
- 9
0
votes
2 answers
How to Mounting RAID0 EBS Volumes after reboot on EC2?
I've already attached two volumes to my EC2 instance and configured RAID0 for them. After a reboot, the volumes didn't re-attach. I thought I had configured them to attach on reboot in fstab but they didn't attach.
Here's the output from…

Michael DeLorenzo
- 121
- 1
- 5
0
votes
0 answers
How to disable tomcat startup on server boot?
I have a Amazon Linux instance in which Tomcat is starting up during the server start. I want to disable it.
Tomcat is not listed in the chkconfig or /etc/rc.local. How to find out, from where it's starting up? I am not passing anything as user-data…

Santhosh S
- 263
- 2
- 11
0
votes
1 answer
How do I change the hostname on Amazon Linux on startup?
I am using Amazon Linux on EC2, passing the following cloud init directives as user data on setup:
#cloud-config
hostname: example.com
locale: en_US.utf8
manage_etc_hosts: true
manage_resolv_conf: false
package_update: true
package_upgrade:…
0
votes
1 answer
Git is not working properly when installing with chef
I'm provisioning my servers with Chef. For git I'm using the community cookbook and is installing version 1.8.3.1 in Amazon Linux. However after it gets installed I don't get any output while running git commands as git ls-remote or git clone (also…

Luis D Urraca
- 111
- 2
0
votes
1 answer
Cloud Formation init script cfn-init cancellation
I used to Drupal Cloud Formation sample template to create my Drupal based web site.
But now every time my EC2 instance reboot Cloud Formation helper script cfn-init reloads original Drupal installation files and rewrite them into my web site's…

zontragon
- 275
- 1
- 4
- 14
0
votes
3 answers
Amazon Linux Version Details
I am getting acquainted with AWS and I'm using Amazon Linux on EC2 to build a LAMP stack.
I read somewhere on the AWS site that the AMI 2013.09 had PHP 5.5 but when I installed it and followed the LAMP tutorial,…

DatsunBing
- 459
- 4
- 8
- 17
0
votes
0 answers
Amazon Linux 2023: systcl kernel parameters - network - hardening and tuning review
We are in the process of transitioning to Amazon Gnu/Linux 2023, and during the course of this migration, I came across some Ansible code that modifies kernel parameters.
I would greatly appreciate it if you could review the parameters below and…

Ygor Thomaz
- 101
- 2
0
votes
0 answers
Amazon Linux 2023 systemd dependencies on cloud-init: Getting ordering cycle
I have a templated systemd service that depends on cloud-init to be done on Amazon Linux 2023.
[Unit]
Description=My…

MikeJansen
- 101
- 2
0
votes
0 answers
SSH using AD credentials only works for username@domain@x.x.x.x and not username@x.x.x.x
I built a new server using Amazon Linux 2023 and I join it to our domain avengers using realmd.
I am however getting an issue where i can't login to the server with this command mervin@10.10.10.1 but works if i do mervin@avengers@10.10.10.1.
Can…

Mervin Hemaraju
- 115
- 4
- 14
0
votes
0 answers
How to install Gnumeric/ssconvert no Amazon Linux 2?
I cannot find gnumeric/ssconvert package for Amazon Linux 2 (using yum).
I tried to compile the source code with error. Is there any easier way to install it?
Compile Error
[ec2-user@ip-172-31-6-34 gnumeric-1.12.55]$ ./configure…

Andre
- 1,341
- 4
- 19
- 34
0
votes
1 answer
Amazon Linux 2023 HTTPD failed to start
I have an AWS instance which I use on demand, I was trying to boot it up and start apache but got this error which I have looked up and couldn't get anywhere near resolving or diagnosing it
The job identifier is 26531 and the job result is…

megz
- 13
- 2
0
votes
1 answer
Installing ODBC 18 driver on Amazon Linux
I see instructions from MS site on how to install ODBC drivers on various Linux distributions but not for Amazon…

Meringros
- 101
- 2
0
votes
0 answers
AmazonLinux 2022 Fails to Run PHP Scripts - Error AH02454
I am attempting to run basic PHP scripts on an Amazon Linux 2022 or Amazon Linux 2023 server instance. I followed the directions here and when I request index.html it serves a static page fine. However, when I created the simple index.php page…

Steve
- 125
- 6
0
votes
0 answers
What are the differences between the migration options for Elastic Beanstalk Multi-container Docker environments to AL2?
We're running an Elastic Beanstalk Multi-container Docker environment on Amazon Linux 1, which has been deprecated and needs to be migrated to Amazon Linux 2.
The documentation presents two options for doing so:
Migration to ECS running on Amazon…

Dario Seidl
- 436
- 5
- 12