Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
68 views

"Failed to download packages: bind-chroot-32:9.11.36-11.el8_9.x86_64: Cannot download, all mirrors were already tried without success"

I've a jenkins pipeline it is failing since it is showing me this error FAILED! => {"changed": false, "msg": "Failed to download packages: bind-chroot-32:9.11.36-11.el8_9....
Remy_97's user avatar
1 vote
1 answer
35 views

Configure RHEL service so that it recognizes Amazon IP address of host EC2

Versions OS: RHEL 8.x I've installed a service -- call it foosvc -- to /usr/lib/systemd/system/foo.service, with configuration something like this: [Unit] ... After=syslog.target network.target [...
Kode Charlie's user avatar
  • 1,467
1 vote
1 answer
74 views

upgrading AWS Cli in RHEL servers

aws-cli/1.16.280 Python/2.7.5 Linux/3.10.0-1160.92.1.el7.x86_64 botocore/1.13.16 /usr/local/bin/aws -> /usr/local/aws/bin/aws above is the version before upgrading. after upgrading it shows as aws-...
prof x's user avatar
  • 21
0 votes
1 answer
722 views

rsyslogd using 100% CPU Utilization on all RHEL EC2 Instances

Since past two days, rsyslogd is using 100% CPU Utilization on all RHEL EC2 Instances in my environment. I Stopped and started rsyslog service but still issue persists. This is first time we are ...
Gnay's user avatar
  • 41
5 votes
2 answers
6k views

correctly specifying Device Name for EBS volume while attaching to an ec2 instance and identifying it later using Device name

I am trying to attach an EBS volume on EC2 (RHEL) instance. This is how my attach-volume command looks like: aws ec2 attach-volume --volume-id vol-xxxxxxxxxxxxxxxxx --instance-id i-yyyyyyyyyyyyyyyyy --...
Asdfg's user avatar
  • 12.2k
1 vote
0 answers
645 views

cloud-init is using domains given in DHCP for hostname

In AWS VPC, I am associating the following as DHCP Domain name server: 10.*.*.2 (VPC DNS) Domain Name: ec2.internal privatedomain_1.com privatedomain_2.com publicdomain.com Due to which the hostname ...
Rahul Sahotay's user avatar
0 votes
0 answers
122 views

how to check rhel subscription rates on aws platform?

We have ec2 instance of rhel 8 free ware but while installing any updates i am getting error of subscription manager. wanted to check how we can see rates for rhel subscription on aws platform
ms20's user avatar
  • 1
0 votes
1 answer
908 views

Failed to install Oracle database 18 XE in Amazon AWS with 'Amazon Linux 2' AMI

I am trying to install Oracle database 18XE in the AWS I took which has Amazon Linux 2 as the AMI. However It throws an error saying Requires: /etc/redhat-release adding the whole ...
Sandeep R's user avatar
  • 2,292
1 vote
1 answer
3k views

Freeing some memory space on my Amazon Linux 2

I was doing testing on my server and always getting this error file for here-document: No space left on device -bash: cannot create temp file for here-document: No space left on device So I check it ...
Ariel Anasco's user avatar
2 votes
1 answer
4k views

What is aws redhat root password

I am new in aws, i lunch an redhat instance on aws with free-tier, i logged with ssh client. My ip starts with like this [email protected] that is mean i logged with ec2-user, when i try to run ...
user avatar
0 votes
2 answers
199 views

AWS - Differentiate OSTYPE in Linux

I'm trying to write up a script to install tenable agents. It runs through a maintenance window every hour and will skip the install if the agent already exists. I currently have 2 tasks, one for RHEL ...
Justin Lawhorne's user avatar
2 votes
0 answers
198 views

My ec2 instance terminates after yum update and reboot

When I do a yum update I need to reboot the instance. When I reboot AWS terminates the instance. I am using a rhel7 ami image. Anyone know how to fix this? I tried putting the instance in standby in ...
Stormy Weather's user avatar
-1 votes
1 answer
273 views

RHEL yum update commad failed in aws ec2 instance

While running $ sudo yum -y update in RHEL, the execution failed with the error message: Could not open: jenkins-2.249.1-1.1.noarch.rpm error: gpg check failed. Why do I get this error message and ...
Swadhin Lenka's user avatar
1 vote
1 answer
579 views

Do AWS charge licence fee for an image based on RHEL AMI

The problem is I bake an AMI with Packer and I use RHEL as a source. When the image is being baked AWS charge for the Packer VM on pay-as-you-go basis, but when that image is ready and I start using ...
donnydarko's user avatar
0 votes
0 answers
2k views

Initd permission denied

I'm new to Linux and AWS I'm trying to set up an initd script as this code in this gist but getting the following error message, which I think related to permissions but I don't understand what thing ...
mapping dom's user avatar
  • 1,935
1 vote
1 answer
267 views

Data Migration to RDS?

I'm trying to use impdp on RHEL without GUI. I'm not sure if my direction is correct. Since RHEL has no GUI, so what I do is install SQLcl from https://www.oracle.com/tools/downloads/sqlcl-downloads....
Isaac's user avatar
  • 12.9k
0 votes
1 answer
346 views

Installing SCL on AWS RHEL 7.6 instance

I’m migrating an internal application to the AWS cloud. I have created an instance on AWS using the RHEL 7.6 AMI. One of the things to install is Puppet (server and db). To have this, we need ...
vindevoy's user avatar
-1 votes
1 answer
1k views

Moving Existing Directories to a new EBS Volume in AWS (Red Hat)

I have an EC2 instance with a 20GB root volume. I attached an additional 200GB volume for partitioning to comply with DISA/NIST 800-53 STIG by creating separate partitions for directories such as /...
Greg's user avatar
  • 141
1 vote
0 answers
500 views

RHEL unable to connect MySQL database via PHP code

I have been trying to find the issue but failed to spot so far in my RHEL Server 7.5(Maipo). I have a remote database instance (RDS instance) on my AWS. Which is in the same public subnet. And can be ...
Nah's user avatar
  • 1,748
3 votes
1 answer
2k views

AWS EC2 RHEL upgrade from 6 to 7

Is it possible to upgrade from RHEL 6 to RHEL 7 on an EC2 instance ? The standard upgrade path suggested by rhel here requires that the machine is registered to receive updates from Subscription ...
praveen.chandran's user avatar
5 votes
1 answer
3k views

Docker CE Overlay2

I am looking for clarity regarding using Docker CE on RHEL, and the stipulations of the Overlay vs Overlay2 file system. From Docker Docs I see the following quotes: Note: If you use OverlayFS, ...
ISZ's user avatar
  • 1,047
1 vote
0 answers
1k views

Connect SAS to AWS Athena

I am trying to establish a connection between SAS & AWS Athena. I am working on RHEL 6.7, java version is 1.8.0_71. Could someone advise how to configure that please? So far, after some reading ...
kibicrealu1's user avatar
0 votes
1 answer
59 views

Force Webpage to be Inaccessible on AWS EC2

I have a website that is being hosted in an AWS EC2 instance. I am using AWS RHEL (the default EC2 option). Currently, my hosted site (on the instance) is located at: /var/www/public_html/...
Jsleshem's user avatar
  • 735
6 votes
4 answers
4k views

AWS: Code deploy installation failed

I'm trying to setup deployment from github repository via AWS. I have an issue during these steps: http://docs.aws.amazon.com/codedeploy/latest/userguide/codedeploy-agent-operations-install.html#...
smart's user avatar
  • 2,055
0 votes
0 answers
160 views

nginx (nginx/1.10.0 ) not working after ubuntu OS upgrade

I upgraded ubuntu and after up-gradation, example.com (name changed) stopped working and giving below error. I am using nginx (nginx/1.10.0 ) and ubuntu (release 16.04). The whole setup is on AWS EC2 ...
Dave's user avatar
  • 389
1 vote
3 answers
521 views

Creating an iso of a RHEL instance

I have an amazon ec2 instance with RHEL 7.3 on it. I would like to convert this into an iso so that I can migrate it wherever I want. What are the best tools to create an iso of a virtual machine. Or ...
codec's user avatar
  • 8,766
0 votes
1 answer
236 views

SSH error from Putty with EC2 private AMI

I have been passed a few private AMI's (created from RHEL AMI's) with a view to spin up clones of these EC2 servers in another VPC So launched new instances from these AMI's and used an exiting PEM ...
JoeShmoe's user avatar
  • 273
2 votes
2 answers
2k views

Difference between AWS Community AMI RHEL and Marketplace RHEL?

We have a AWS community AMI for RHEL provided by Red Hat then why one must go to AWS MarketPlace to have a RHEL subscription? What is the difference between the two; RHEL Community AMI (provided by ...
Abhishek Sakhuja's user avatar
2 votes
1 answer
660 views

phpmyadmin forbidden in Red Hat Enterprise Linux running on Amazon Web Services EC2

I am unable to access phpmyadmin in my server. I'm getting Forbidden. Os version : Red Hat Enterprise Linux Server release 7.3 (Maipo) I have checked answers in stackoverflow but, I'm unable to ...
rahul's user avatar
  • 410
-1 votes
2 answers
3k views

EC2 Private IP changes on every server restart

We have a RHEL 7.2 EC2 instance and we are trying to install Oracle 12C EE server. We have assigned an Elastic IP to the instance to make sure that the Public IP address does not change when we ...
user182944's user avatar
  • 8,067
0 votes
1 answer
329 views

cannot install ezproxy on ec2 instance

not able to install ezproxy on ec2 instance there seems to be problem because it has a public and private ip. i used this method for installation from url https://www.oclc.org/support/services/...
chandra's user avatar
  • 733
5 votes
1 answer
8k views

How to resolve libpcre.so.1()(64bit) dependency in amazon linux ami

When try to install maxscale, it ask libpcre. How to install libpcre on linux? rpm -ivh maxscale-1.4.3-1.rhel.7.x86_64.rpm warning: maxscale-1.4.3-1.rhel.7.x86_64.rpm: Header V4 RSA/SHA1 Signature, ...
Prince's user avatar
  • 51
0 votes
1 answer
6k views

How to recreate ec2-user home directory

I permanently deleted my ec2-user home directory on my rhel instance on amazon ec2 Thankfully I am still logged into my server I don't have any backup copies of the directory or snapshots I know I ...
u530891's user avatar
  • 93
0 votes
2 answers
456 views

Error creating a Cluster in Apache Ambari (snappy package)

I get the following error: resource_management.core.exceptions.Fail: Execution of '/usr/bin/yum -d 0 -e 0 -y install snappy-devel' returned 1. Error: Package: snappy-devel-1.0.5-1.el6.x86_64 (HDP-...
mustek's user avatar
  • 3
8 votes
4 answers
12k views

Upgrading Docker on Amazon Linux AMI

I want to upgrade Docker to v1.8 on Amazon Linux. At the time of writing their internal yum package repository has: Docker version 1.7.1, build 786b29d/1.7.1. Things I have already tried Manually ...
Hzmy's user avatar
  • 769
4 votes
1 answer
1k views

AWS EC2 RHEL 7.1 console output doesn't show cloud-init's output

It seems that the instances started from RHEL 7.1 AMIs does not write the SSH fingerprint into the system log (exactly nothing from cloud-init's output), therefore I can't use the 'Get System Log' ...
Márton Sereg's user avatar
0 votes
3 answers
844 views

On AWS EC2 Linux RHEL all PHP files are executing, except for index.php

I am lost on this one. I have setup an AWC EC2 RHEL server, and installed php and apache. Everything seems to work except for the fact that the index.php file will not execute. All other *.php files ...
newms87's user avatar
  • 834
0 votes
2 answers
1k views

default instance storage for m1.small does not exist

I ran df -h and got: /dev/xvde1 6.0G 1.9G 4.1G 32% / none 828M 0 828M 0% /dev/shm and cat /etc/fstab: LABEL=_/ / ext4 defaults 1 1 /dev/...
Jack's user avatar
  • 233
0 votes
2 answers
2k views

installing ruby-devel and httparty

On my EC2 redhat instance I am trying to install httparty with gem. following below site, I added repo and installed ruby193. http://developerblog.redhat.com/2013/01/28/software-collections-on-red-...
user3330284's user avatar
0 votes
2 answers
436 views

hue installation error on AWS EC2

Hello I am trying to install Hue on AWS EC2 instance. Following below link. https://github.com/cloudera/hue While doing step make apps I am getting below error. [WARNING] Rule 1: org.apache....
user3330284's user avatar
2 votes
2 answers
1k views

Neo4j on Amazon EC2 - Not accessible from remote machines

I am currently attempting to get neo4j installed properly on an EC2 instance with RHEL. Currently I can not hit the server on port 7474 from a browser to see the neo4j webadmin or browser. As of ...
Sourcebenders's user avatar
3 votes
1 answer
3k views

yum update from wrong repository i

I am running a AWS Linux AMI in AWS, it seems to be RHEL under the covers and uses yum (kernel 3.4.62-53.42.amzn1.x86_64) . The amazon repo includes nginx 1.4.2 which is out of date so I removed it ...
user2965798's user avatar
1 vote
0 answers
401 views

Installing php-memcached error

I'm trying to install php53u-pecl-memcached and the following error ensues: [root@host1]# yum install php53u-pecl-memcached Loaded plugins: priorities, update-motd, upgrade-helper 736 packages ...
Fluffy's user avatar
  • 28.3k
1 vote
1 answer
3k views

aws ec2 iptables port 80 (http)

I recently setup an ec2 Instance (RHEL) on Amazon Web Services. I am having trouble getting it to respond to http requests. I understand that port 80 (http) needs to be added to the inbound rules in ...
Jason Fingar's user avatar
  • 3,368
6 votes
2 answers
7k views

EC2 instance launched from AMI not reachable(ssh) after start/stop or reboot

When we launch an instance from an AMI. At first the instance is accessible(ssh). Once we stop/start the instance or reboot it the machine becomes inaccessible via ssh,we can ping it though. We see ...
Ashwani Kumar's user avatar
0 votes
3 answers
808 views

JBoss on cloud, any cheap way to get the enterprise version [closed]

Is it possible to get JBoss AS on cloud as part of the install. I don't want to maintain servers, just want to use JBoss AS (the fancy shmancy enterprise version). The options that I see are. -Use ...
geoaxis's user avatar
  • 1,560