By default the Oracle script that enables the debug option for searches and reports (%wgninstalldir%\system\std_rptinst\Common\Enable_Logging.bat) is designed for an Oracle DB hosted on a Windows platform. More specifically this script creates a temporary object to store the output of the debug. This is define in the system object "WGNWC_LOG_DIR" which defaults to c:\temp. This path is not known to Linux so the script fails.
This "Idea" is to update the script to provide an option for a blank field so the output defaults to the <ORACLE_HOME> directory or an input option to specify the output path.