2.6 Troubleshooting Oracle ORAchk Specific Problems

Troubleshoot and fix Oracle ORAchk specific problems.

2.6.1 Troubleshooting Cygwin

Troubleshoot and fix Cygwin setup issues.

See Also:

Cygwin FAQ, if you experience a process fork failure, memory leak error, or a file access error after configuring SSH, which is available at the following URL:

Cygwin FAQ

Cygwin community, to report your problem if you are unable to find a workaround for your problem, which is available at the following URL:

Cygwin problems

2.6.1.1 SSH Daemon does not Start

Workaround to fix if the SSH daemon fails to start.

  1. View the c:\cygwin\var\log\sshd.log file for information on why the SSH daemon failed to start.
  2. Run the following commands to test SSH connectivity between the local node and the remove nodes.
    ssh -l username localhost 'date'
    
    ssh -l varname this node  'date'
    
    For example:
    ssh -l pjohn node1.example.com 'date'
    

    This command prompts you to specify the password. When you specify the correct password, the command returns the accurate date.

2.6.1.2 Other Cygwin Issues

Workaround to fix common Cygwin issues.

Permission Issue

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@                @@@@@@@@@@@@@@@@@@@
                @         WARNING: UNPROTECTED PRIVATE KEY FILE!          @
                @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@                @@@@@@@@@@@@@@@@@@@
                Permissions 0644 for '/etc/ssh_host_ed25519_key' are too open.
                It is required that your private key files are NOT accessible by others.
                This private key will be ignored.
                bad permissions: ignore key: /etc/ssh_host_ed25519_key
                Could not load host key: /etc/ssh_host_ed25519_key
                Disabling protocol version 2. Could not load host key
                sshd: no hostkeys available -- exiting.
  1. Run the chmod 600 /etc/ssh* command to fix permission issues.
  2. To fix the privilege separation user sshd does not exist error, remove sandbox from the /etc/sshd_config file.
    UsePrivilegeSeparation sandbox   # Default for new installations.
    

    to

    UsePrivilegeSeparation no        # Default for new installations.
    
  3. Stop MKSNT SSH servers in Windows Services, if MKSNT is running sshd.
  4. Oracle ORAchk fails on SuSE Linux with the error as follows: -bash: ./orachk: /bin/env: bad interpreter: No such file or directory
    1. Create a softlink from /usr/bin/env to /bin/env on all nodes:
      ln -s /bin/env /usr/bin/env
      

2.6.2 Troubleshooting Oracle Identity and Access Management (IAM) Health Checks

My Oracle Support has the most current information about troubleshooting Oracle ORAchk for IAM.