Created 04-28-2018 07:12 PM
Hi Everyone, I am installing HDP2.6.0.0 onto a 3 node AWS cluster running CentOS Linux 7 x86_64 HVM EBS 1704_01.
Got stuck on Configuring iptables step in the manual https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.0.0/bk_ambari-installation/content/configuring_...
Here is the error:
$ sudo systemctl disable firewalld
Failed to execute operation: Access denied
Also tried this (same w/out sudo):
$ systemctl disable firewalld
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-unit-files ===
Authentication is required to manage system service or unit files.
Authenticating as: Cloud User (centos)
Password:
==== AUTHENTICATION COMPLETE ===
Failed to execute operation: Access denied
Any idea why is it access denied? What is the right way to do this step?
Created 04-30-2018 02:27 AM
@Geoffrey Shelton Okot found the solution. Firewalld was not installed on the image I am using.
After running the command from this link, everything worked. It was not the permissions issue, firewalld was not on the image. Centos has an unclear way of explaining this.
Thanks for taking a look at this.
Best
Created 04-28-2018 08:06 PM
The problem is clearly a permission issue "Access Denied"
The AWS user is usually ec2-user or ubuntu
To add a temporary password to a root user:
1.Connect to your EC2 instance running Linux by using SSH.
2. Assume root user permissions by running the following command:
<em>$ sudo su</em>
3. Create a password for the root user by running the following command:
<em># passwd root </em>
4. When prompted, enter your temporary root password, and then enter it again to confirm it.
Note: You must run this command as the root user.
After you complete the task, delete the root password by running the following command:
<em># passwd –d root</em>
Hope that helps
Created 04-30-2018 02:27 AM
@Geoffrey Shelton Okot found the solution. Firewalld was not installed on the image I am using.
After running the command from this link, everything worked. It was not the permissions issue, firewalld was not on the image. Centos has an unclear way of explaining this.
Thanks for taking a look at this.
Best