Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XE: Unable to find 18C XE RPM #7

Closed
dfhawthorne opened this issue Feb 2, 2021 · 3 comments
Closed

XE: Unable to find 18C XE RPM #7

dfhawthorne opened this issue Feb 2, 2021 · 3 comments
Assignees
Labels
Ansible 2.9 Occurs when using Ansible 2.9 bug Something isn't working

Comments

@dfhawthorne
Copy link
Owner

TASK [Install 18C XE RPM] **************************************************************
fatal: [xe.yaocm.id.au]: FAILED! => {"changed": false, "msg": "No RPM file matching '/opt/share/Software/database/oracle-database-xe-18c-1.0-1.x86_64.rpm' found on system", "rc": 127, "results": ["No RPM file matching '/opt/share/Software/database/oracle-database-xe-18c-1.0-1.x86_64.rpm' found on system"]}
@dfhawthorne dfhawthorne added bug Something isn't working Ansible 2.9 Occurs when using Ansible 2.9 labels Feb 2, 2021
@dfhawthorne dfhawthorne self-assigned this Feb 2, 2021
@dfhawthorne
Copy link
Owner Author

Cannot access the directory from XE:

$ ls /opt/share/Software/database     
ls: cannot access /opt/share/Software/database: No such file or directory

However, stat reports:

$ stat /opt/share/Software
  File: ‘/opt/share/Software’
  Size: 0               Blocks: 0          IO Block: 1024   directory
Device: 28h/40d Inode: 29996       Links: 2
Access: (0775/drwxrwxr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Context: system_u:object_r:autofs_t:s0
Access: 2021-02-03 07:22:58.756557739 +1100
Modify: 2021-02-03 07:22:58.756557739 +1100
Change: 2021-02-03 07:53:50.067521482 +1100

The directory is mounted:

$ findmnt /opt/share/Software
TARGET              SOURCE           FSTYPE OPTIONS
/opt/share/Software /etc/auto.direct autofs rw,relatime,fd=17,pgrp=3557,timeout=300,minp

@dfhawthorne
Copy link
Owner Author

"8.3. autofs" says:

The nfs-utils package is now a part of both the 'NFS file server' and the 'Network File System Client' groups. As such, it is no longer installed by default with the Base group. Ensure that nfs-utils is installed on the system first before attempting to automount an NFS share.

autofs is also part of the 'Network File System Client' group.

@dfhawthorne
Copy link
Owner Author

Fixed by installing nfs-utils.

dfhawthorne added a commit that referenced this issue Feb 3, 2021
Issues resolved:
- #1 "XE: RPM Dependency - Cannot Use 19C Preinstall RPM"
- #3 "XE: YUM fails for OL7"
- #4 "XE: load passwords failed due to censored"
- #6 "XE: PIP fails to install PEXPECT"
- #7 "XE: Unable to find 18C XE RPM"
- #8 "XE: Configuration Loops Indefinitely"
- #9 "XE: Invalid Protocols for Firewall Rules"

Added .yamllint for my preferred yamllint settings.

Remove python_interpreter from Ansible configuration

Separated Oracle Linux 7 tasks into a separate file, ol7_tasks.yml.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ansible 2.9 Occurs when using Ansible 2.9 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant