Today I will just leave a tip here on a issue I came across during the installation of Grid Infrastructure 12c Release 1 on Oracle Linux 7.4. The installation went fine until the execution of the root scripts where it failed with the error below:
Creation of ASM spfile in disk group failed. Following error occurred: ORA-29783: GPnP attribute SET failed with error [CLSGPNP_NOT_FOUND]
Cause
In my particular case, the firewall service was up, and it is recommended by Oracle to disable firewalld (iptables replacement on OL7).
[root@oldbs1 ~]# systemctl status firewalld ● firewalld.service - firewalld - dynamic firewall daemon Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled) Active: active (running) since Sat 2017-09-16 21:26:11 -03; 1h 20min ago Docs: man:firewalld(1) Main PID: 664 (firewalld) CGroup: /system.slice/firewalld.service └─664 /usr/bin/python -Es /usr/sbin/firewalld --nofork --nopid
Solution
I just stoped the firewall and disabled it:
[root@oldbs1 ~]# systemctl stop firewalld [root@oldbs1 ~]# systemctl disable firewalld Removed symlink /etc/systemd/system/multi-user.target.wants/firewalld.service. Removed symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.
I found the metalink note Doc ID 2180883.1 which also asks to check and disable SELinux.
Keep in mind that depending on the argument between brackets, it may be a different issue.