Oracle Clusterwave Control is not found - database

I am using Oracle DB 19c on Windows and trying to create an ASM instance. I am following this guide: https://www.youtube.com/watch?v=nYqnUzWY86s
However, once I run startup, I get the following:
ORA-01078: failure in processing system parameters
ORA-29701: unable to connect to Cluster Synchronization Service
I googled the second error and found out that I need to run crsctl config has. However, I don't have a file named crsctl nowhere in the Oracle folders. And therefore I can't run the command:
'crsctl' is not recognized as an internal or external command,
operable program or batch file.
What should I do in this case?

Related

The command is not supported from the UI:GET error in Snowflake UI

I have created Snowflake Stage named 'mystage' and trying to unload data to my local LINUX device using the following command :
get #mystage/unload/data_0_0_0.csv.gz file:///home/blahblah/Documents
Upon running the above command I am getting the following error :
SQL compilation error: The command is not supported from the UI: GET
I couldnt find any documentation about alternatives, so any help would be appreciated.
Sagar
Commands GET/PUT cannot be run via WebUI:
GET
Usage Notes
The command cannot be executed from the Worksheets Worksheet tab page in the Snowflake web interface;
instead, use the SnowSQL client to download data files, or check the documentation for the specific Snowflake client to verify support for this command.

RCU.bat File Not Executing During Install of ODI 12.2.1.4

When installing Oracle Data Integrator (ODI) 12.2.1.4.0 on a Windows 10 machine, the Studio installation is successful, however the rcu.bat script does not run and the repositories cannot be created.
Upon double-clicking on the icon here is no window to proceed upon execution of the RCU batch file, and no error message is displayed.
I have tried to execute the rcu.bat file from cmd as administrator as well but facing an error like below:
The syntax of the command is incorrect.
p.s: There is an link in oracle support as well but could not see the update from there since I do not possess an Oracle Support Identifier.
link: https://support.oracle.com/knowledge/Middleware/2627367_1.html
I am using Java 1.8, created java_home in system environment variables as well,
Screenshot of Environment Variables also edited the Path Variables.
Before ODI installation, installed Oracle Database 12c in Windows10 Machine.Oracle DB is running smooth but is there any thing related to DB installation or Oracle Path which I missed.
This is a known bug with ODI 12.2.1.4 and will be fixed in the next release.
A workaround is to execute rcu_internal.bat located in the same folder.

Execute process task fails to execute Rust script in job

I have written a small Rust script for an import job. I added the script execution into the SSIS package through the Execute process task and set the correct working directory. Using the debugger, the script works without a problem, as it does when executed normally, e.g. through cmd or PowerShell.
When I start the job in SSMS as an Agent Job, the package fails with
The process exit code was "-1073741515" while the expected was "0".
What I tried
Replacing the script with a very basic Rust script that just writes one single line to a file in the working directory to exclude the possibility that the script somehow panics, but still nothing.
The script is compiled with the i686-pc-windows-msvc toolchain. With 64bit the script does not work at all on the server.
Permissions look okay for the executing and the working directory. Full control for both folders.
Since execution works on the server I think this should most likely be a permissions issue but I can't for the life of me not figure out what is wrong.
Okay the problem was indeed with the default SQL Server Service Agent-account that ran the job. If I run the job with a Proxy-account it runs fine.
I'll have to look into the configuration of the Service Agent but until then, Proxy account it is.

Sql Advantage Error : Open Client is not configured correctly

I am trying to run the Sql Advantage editor but getting below mentioned error.
Internal failure while initializing the SQL Advantage.
Please check that Open Client is configured correctly.
Please check the SET command output in the attached screenshot.Also, I can see two folders in my system for OCS-12_5 and OCS-15_0. This may be causing this problem. I also tried to run a bat file with these commands but getting same error:
Bat file commands:
set SYBASE= C:\Sybase\OCS-12_5
set SYBASE_OCS=OCS-12_5
C:\Sybase\OCS-12_5\sqladv-12_5\sqladv.exe
Please suggest.
SQL Advantage is no longer supported with ASE 15.x
But you can probably still run it if you set your environment to 12.5 (it works for me). Put all the environment settings in a .bat file, and then (in the .bat file) kick off sqladv.exe.

is it possible execute a perl script with admin rights or as a specific user?

I'm writing a perl script in which I've to shutdown my mssql server ,do some operation and then I've to restart it.I know 1 way is to use netstat to stopt the service but I cann't use that. So I tried installing DBI and DBD::ODBC module.
More info here :Shutdown MSSQL server from perl script DBI
But when I trying to shutdown my server using this command
$dbh->prepare("SHUTDOWN WITH NOWAIT ");
It's not working for me :
I got this response from the community
SHUTDOWN permissions are assigned to members of the sysadmin and serveradmin fixed server roles, and they are not transferable. I'd consider it unlike(hopefully) that perl is run with this rights.
So please tell me is there a way to run the above command as these users ? or what can I do other than this . Note that I have a constraint tha tI cann't simply stop it as windows service.
If the scripts are executed through a web browser then the user executing the scripts will be defined by the web server. It will probably not be a good idea to fiddle with this user. Just leave things as they are.
What you can do is to create a Perl script that is being run by a privileged user on a consistent basis with CRON.
This script being run by CRON can check for specific content like a file which has been written by a script where the user executing the script has lesser privileges.
So the way it could work is as follows:
You execute browser.cgi through a browser to do a specific task.
browser.cgi writes instructions to a file.
Every 1 minute priveleged.cgi executes via CRON. (The root user could execute priveleged.cgi)
priveleged.cgi reads the file browser.cgi has written for instructions and starts and stops services according to the instructions.

Resources