Error while querying registry remotely - windows

I am trying to understand the reason why I cannot query a registry remotely.
I started REMOTEREGISTRY service on both the machines but still I get an error saying The network path was not found.
Whereas I can get the result from the other machine.
EDIT: Moreover when I run a SC query for this machine, I get an error The RPC server is unavailable.

Related

Informatica Domain Configuration database connection during Powercenter installation

I am trying to install Informatica Server.
During domain configuration repository database information I get database connectivity error.
Error: Test Connection Failed. Correct the database connection information and test the connection again.
But when I connect using same details through Oracle SQL Developer to this database, it works fine.
I am using service name and port number field from the TNS File, still getting this error.
I think you can check tomcat log, catalina.out logs. This will help on finding out real issue.
Go to command prompt and type ping localhost and see if its responding anything. May be you can use IP and check host file.

Connect PowerBI to Google Big Query through a proxy server (corporate network)

We are trying to make a connection from PowerBI Desktop, to the Google Big Query Database. Upon starting the app and immediately after trying to make the connection to the Google Data Source, we get the error below:
Unable to Connect
We encountered an error.
Details: "ODBC: ERROR [HY000] [Microsoft][DriverOAuthSupport] (8701) Error interacting with REST API: Couldn't resolve host name
ERROR [HY000] [Microsoft][DriverOAuthSupport] (8701) Error interacting with REST
API: Couldn't resolve host name"
I suppose that it has something to do with the proxy used inside our corporate environment but i haven't found anything so far on what urls/ports should be opened in order for this connection to work.
Please do keep in mind that this is a new business need and it is not something that worked and stopped working.

I used WMIC and I got error: RPC server is unavailable

I would like to use WMIC and get products information about all PCs.
So I tried:
wmic /node:"IPAddress" /user:"domain\administrator" /password "Password" /output:c:\test.txt product get name, vendor
It does not work with all PCs.
I got error: Description = RPC server is unavailable.
Is there any idea to solve this problem??
And the service is running (Remote Procedure Call)
Thank you for your help.
Probable reason:
Firewall configuration (RPC connections blockage)
You don't enough permission to run WMI queries.
Machine is not reachable. Try pinging the machine.
Second point is valid if you are trying to run queries on remote machines. You can use wbemtest to verify.
Windows+R (run command)
Type wbemtest
Once UI is opened, try to connect to the machine which is throwing exception.

Enterprise Manager Errors on Oracle 10g2 on Windows

Problem
Enterprise Manager starts and then hangs.
Environment
RAC installation on Windows, comprised of two nodes, node1 and node2. Enterprise Manager is installed on node1. We are able to get dbconsole to run briefly and and then it fails.
emagent.trc from node1 shows what appear to be two sets of relevant errors.
The first set of errors regard an inability to connect to the EM repository (which is on the same node).
The second error is associated with the "Instance Health Check initialization failed".
emagent.trc (node1)
Thread-5548 ERROR fetchlets.healthCheck: GIM-00105: Shared memory region is corrupted.
Thread-5548 ERROR engine: [oracle_database,clustername_node1name,health_check] : nmeegd_GetMetricData failed : Instance Health Check initialization failed due to one of the following causes: the owner of the EM agent process is not same as the owner of the Oracle instance processes; the owner of the EM agent process is not part of the dba group; or the database version is not 10g (10.1.0.2) and above.
Thread-5668 WARN http: snmehl_connect: connect failed to (node1:1158): No connection could be made because the target machine actively refused it.
Thread-5668 ERROR pingManager: nmepm_pingReposURL: Cannot connect to https://node1:1158/em/upload/: retStatus=-1
Thread-5708 ERROR upload: FxferSend: Cannot connect to: https://node1:1158/em/upload/. retStatus=-1
Thread-5708 ERROR upload: Failed to upload file B0000109.xml, ret = -2
I would like to get advice about how to proceed to troubleshoot these two errors in hopes of getting EM to start and stay up.
Regarding the first error, how would one troubleshoot an inability to connect to a web page running on the same node? This would appear to rule out firewall issues, etc. as a cause.
Regarding the second error, dbconsole and agent were started manually from the command line using a domain account, whereas the Oracle service runs under Local System (dbconsole was configured to use Local System on startup but failed, and can only be restarted via emctl start dbconsole.)
This part of the errors is the most promising.
the owner of the EM agent process is not same as the owner of the Oracle instance processes; the owner of the EM agent process is not part of the dba group;
You should check if all accounts running oracle are part of the ora_dba group.
See: http://download.oracle.com/docs/html/B13831_01/ap_unix.htm#i634430

windows service command RPC error (sc.exe or psservice)

I am getting the following error when i try to run the command from remote machine
C:\>sc \\machinename query
[SC] OpenSCManager FAILED 1722:
The RPC server is unavailable.
I have admin privileges to that machine.
Any solution let me know.
In my case I got this error because I was messed up the name of the server I was targeting. It will give you this error if you accidentally point it at nothing. In my case, the server name was a variable being defined from a text document so it took a while for me to realize.
Also noteworthy: There should actually be two slashes before the machine name (I'm sure it's just a typo, but just in case it could confuse anybody).
The error 1722 is : The RPC server is unavailable.
Verify if RPC service (Remote Procedure Call (RPC)) is running at remote machine with telnet, try at command line:
*>telnet your.server 135
If no errors occurs the RPC server is probably ok, than check system events for issues.
6 years later but anyaway.
Enable File and printer sharing on the remote computer and it will work.
https://support.microsoft.com/en-us/kb/323790
I tested on my localmachine
I tested from another machine on the network
SC is nice..! :)
You need to make sure that the Client DNS service is not stopped. This fixes the problem.

Resources