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

Installation of TFA Fails #25

Closed
dfhawthorne opened this issue May 2, 2018 · 1 comment
Closed

Installation of TFA Fails #25

dfhawthorne opened this issue May 2, 2018 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@dfhawthorne
Copy link
Owner

On a green fields installation, the validation of TFA fails with the following messages:

TASK [oracle_gi : Get Current Version of TFA Tool] *****************************
fatal: [redfern1.yaocm.id.au]: FAILED! => {"changed": false, "module_stderr": "Shared connection to redfern1.yaocm.id.au closed.
", "module_stdout": "
Traceback (most recent call last):
  File "/tmp/ansible_tyocfm/ansible_module_command.py", line 248, in <module>
    main()
  File "/tmp/ansible_tyocfm/ansible_module_command.py", line 192, in main
    os.chdir(chdir)
OSError: [Errno 2] No such file or directory: '/opt/app/12.1.0/grid/tfa/bin'
", "msg": "MODULE FAILURE", "rc": 1}
@dfhawthorne dfhawthorne added the bug Something isn't working label May 2, 2018
@dfhawthorne dfhawthorne added this to the Install GI on REDFERN1 milestone May 2, 2018
@dfhawthorne dfhawthorne self-assigned this May 2, 2018
dfhawthorne added a commit that referenced this issue May 5, 2018
@dfhawthorne
Copy link
Owner Author

Resolved through commit c2a596f.
Log of successful run:

TFA Installation Log will be written to File : /tmp/tfa_install_15741_2018_05_05-11_09_41.log

Starting TFA installation

TFA Version: 181100 Build Date: 201802010159


Running Auto Setup for TFA as user root...


The following installation requires temporary use of SSH.
If SSH is not configured already then we will remove SSH 
when complete.
  Installing TFA now...

Discovering Nodes and Oracle resources

Starting Discovery...


No Grid Infrastructure Discovered on this system . . . . .

redfern1
Searching for running databases...


Searching out ORACLE_HOME for selected databases...


Getting Oracle Inventory...

ORACLE INVENTORY: /opt/app/oraInventory


Discovery Complete...



TFA Will be Installed on redfern1...

TFA will scan the following Directories
++++++++++++++++++++++++++++++++++++++++++++

.----------------------------------------------.
|                   redfern1                   |
+-----------------------------------+----------+
| Trace Directory                   | Resource |
+-----------------------------------+----------+
| /opt/app/12.1.0/grid/cfgtoollogs  | CFGTOOLS |
| /opt/app/12.1.0/grid/install      | INSTALL  |
| /opt/app/oraInventory/ContentsXML | INSTALL  |
| /opt/app/oraInventory/logs        | INSTALL  |
'-----------------------------------+----------'


Installing TFA on redfern1:
HOST: redfern1  TFA_HOME: /opt/app/12.1.0/grid/tfa/redfern1/tfa_home

.------------------------------------------------------------------------------.
| Host     | Status of TFA | PID   | Port  | Version    | Build ID             |
+----------+---------------+-------+-------+------------+----------------------+
| redfern1 | RUNNING       | 16231 | 10945 | 18.1.1.0.0 | 18110020180201015951 |
'----------+---------------+-------+-------+------------+----------------------'

Running Inventory in All Nodes...

Enabling Access for Non-root Users on redfern1...

Summary of TFA Installation:
.------------------------------------------------------------------.
|                             redfern1                             |
+---------------------+--------------------------------------------+
| Parameter           | Value                                      |
+---------------------+--------------------------------------------+
| Install location    | /opt/app/12.1.0/grid/tfa/redfern1/tfa_home |
| Repository location | /opt/app/12.1.0/grid/tfa/repository        |
| Repository usage    | 0 MB out of 10240 MB                       |
'---------------------+--------------------------------------------'

TFA is successfully installed...

Usage : /opt/app/12.1.0/grid/tfa/bin/tfactl <command> [options]
    commands:diagcollect|collection|analyze|ips|run|start|stop|enable|disable|status|print|access|purge|directory|host|receiver|set|toolstatus|uninstall|diagnosetfa|syncnodes|setupmos|upload
For detailed help on each command use:
  /opt/app/12.1.0/grid/tfa/bin/tfactl <command> -help


Moving Install log file to /opt/app/12.1.0/grid/tfa/redfern1/tfa_home/log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant