[root@ipxx-xx-xx-xx ec2-user]# service ip6tables stop Redirecting to /bin/systemctl stop ip6tables.service Failed to stop ip6tables.service: Unit ip6tables.service not loaded. [root@ipxx-xx-xx-xx ec2-user]# chkconfig iptables status chkconfig version 1.3.61 - Copyright (C) 1997-2000 Red Hat, Inc. This may be freely redistributed under the terms of the GNU Public License. usage: chkconfig [--list] [--type ] [name] chkconfig --add chkconfig --del chkconfig --override chkconfig [--level ] [--type ] [root@ipxx-xx-xx-xx ec2-user]# chkconfig --list Note: This output shows SysV services only and does not include native systemd services. SysV configuration data might be overridden by native systemd configuration. If you want to list systemd services use 'systemctl list-unit-files'. To see services enabled on particular target use 'systemctl list-dependencies [target]'. ambari-agent 0:off 1:off 2:off 3:on 4:on 5:on 6:off ambari-server 0:off 1:off 2:off 3:on 4:on 5:on 6:off choose_repo 0:off 1:off 2:on 3:on 4:on 5:on 6:off netconsole 0:off 1:off 2:off 3:off 4:off 5:off 6:off network 0:off 1:off 2:on 3:on 4:on 5:on 6:off rh-cloud-firstboot 0:off 1:off 2:off 3:off 4:off 5:off 6:off rhnsd 0:off 1:off 2:on 3:on 4:on 5:on 6:off [root@ipxx-xx-xx-xx ec2-user]# chkconfig ip6tables off error reading information on service ip6tables: No such file or directory [root@ipxx-xx-xx-xx ec2-user]# service iptables status Redirecting to /bin/systemctl status iptables.service ? iptables.service Loaded: not-found (Reason: No such file or directory) Active: inactive (dead) [root@ipxx-xx-xx-xx ec2-user]# error reading information on service ip6tables: No such file or directory [root@ipxx-xx-xx-xx ec2-user]# service iptables status Redirecting to /bin/systemctl status iptables.service ? iptables.service Loaded: not-found (Reason: No such file or directory) Active: inactive (dead) [root@ipxx-xx-xx-xx ec2-user]# service iptables save The service command supports only basic LSB actions (start, stop, restart, try-restart, reload, force-reload, status). For other actions, please try to use systemctl. [root@ipxx-xx-xx-xx ec2-user]# service iptables stop Redirecting to /bin/systemctl stop iptables.service Failed to stop iptables.service: Unit iptables.service not loaded. [root@ipxx-xx-xx-xx ec2-user]# chkconfig iptables off error reading information on service iptables: No such file or directory [root@ipxx-xx-xx-xx ec2-user]# chkconfig --level 345 sshd on Note: Forwarding request to 'systemctl enable sshd.service'. [root@ipxx-xx-xx-xx ec2-user]# service sshd restart Redirecting to /bin/systemctl restart sshd.service [root@ipxx-xx-xx-xx ec2-user]# setenforce 0 [root@ipxx-xx-xx-xx ec2-user]# /sys/kernel/mm/redhat_transparent_hugepage/enabled bash: /sys/kernel/mm/redhat_transparent_hugepage/enabled: No such file or directory [root@ipxx-xx-xx-xx ec2-user]# echo never > /sys/kernel/mm/redhat_transparent_hugepage/enabled bash: /sys/kernel/mm/redhat_transparent_hugepage/enabled: No such file or directory [root@ipxx-xx-xx-xx ec2-user]# echo never > /sys/kernel/mm/redhat_transparent_hugepage/defrag bash: /sys/kernel/mm/redhat_transparent_hugepage/defrag: No such file or directory