protocol adapter error with sqlplus - oracle10g

I am trying to connect my Oracle Database 10g Express Edition with sql*plus. when i start the sql*plus command window the following error occurs.
could you please show me the way of avoiding this error.

As per the 2nd result from a Google search on the error message:
Typically this will result from
not having ORACLE_SID properly set. Especially so on Windows.
not having the db service started. See the windows services applet, services.msc
https://community.oracle.com/thread/2425280

Related

Issues connecting to an Oracle Database 19c

I am attempting to create and use an oracle DB.
Was able to create the DB using sql plus however when I attempt to connect to it via sqldeveloper I get the following error
Status : Failure -Test failed: IO Error: The Network Adapter could not establish the connection
When I check that all services are running I notice OracleVssWriterORCL is not running.
However upon attempting to start it I get the following error:
Windows could not start OracleVssWriterORCL service on local machine Error 0x80070005: Access is Denied
This is my first time using Oracle for DB so any help is greatly appreciated.
I should also note this is on a windows 10 VM
As stated above my listener was not running and going into cmd using the lsnrctrl start command fixed that issue but now I get a ORA-12505 error. Oh the fun of learning new things

Db2 errors post installing through InfoSphere Federation Server

I am planning to do SQL replication through InfoSphere Federation Server and installed the latest version from IBM website, while running the executable iisetup.exe, federation tool create the db2 instances and ask for db2user password and port as well, I have given all the required information and at the end installation and JDBC wrapper was successfully completed. after that I have open the db2 command prompt through administration. I am getting issue in running all the command eg
C:\db2\BIN>db2start
SQL1390C The environment variable DB2INSTANCE is not defined or is invalid.
C:\db2\BIN>db2 GET DATABASE MANAGER CONFIGURATION
DB21018E A system error occurred. The command line processor could not continue processing.

Postgresql and ssl start up error

I am new to freenode and postgresql. I am trying to migrate from mysql to postgresql. Currently trying to set up server for ssl. Have created my server certs and configured the .conf files for ssl according to the manual as far as I can see. Trying to restart postgre sql service fails. Windows event log gives me an event ID of 0 and says
pg_ctrl could not start server examine the log output.
I can't find any log detailing the failure to start in the postgresql folders.
I have tried to register the pgevent.dll as advised by the postgresql manual (18.11 of most recent version), but I get an error message
The module "C:postgreSQL\pg10\lib\postgresql\pgevent.dll" was loaded but the entry-point DllRegisterServer was not found
I believe that means it is either not a registrable dll or it's corrupt.
Can anyone please advise how I can track on Windows the error that is causing Postgre to fail to start?

Eclipse setup with Oracle JDBC

I'm trying to setup eclipse to work with JDBC. I have installed the Oracle express database, and started it. Connecting to the database through the SQL command line works.
When I try to setup the connection in eclipse, and I press "Test Connection", I get a "Ping failed" error message. I think I'm using the correct JDBC version (11.2.0.2, version number found from SQL command line window), downloaded from here. The service name is set to xe and the host is set to localhost, port to 1521. The username and password are the same that I use in the SQL command line.
Any idea what the problem is? I'm on Linux, if relevant.

SQL Server VSS Writer refuses to start

I've got Visual Studio 2012 installed on Windows 7 64 bit machine. I am trying to install SQL Server express LocalDB and get an error when the installer tries to start services. Here is the exact error message:
Service 'SQL Server VSS Writer' failed to start. Verify you have sufficient privileges to start system services.
I am logged on to the machine as administrator. I have verified that the writter in Services is running and it is set to Auto.
I have no SQL Server installed on this machine as far as I know.
I'm stumped. Anyone have any ideas?
Also when I try to start SQL Writer in Services I get the following error:
Windows could not start the SQL Server VSS Writer service on local computer.
Error 1053: The server did not respond to the start or control request in a timely fashion.
Thanks to Process Explorer, we can see there's a missing MSVCP140.dll when the service is trying to start (and failing) :
The solution is to install the Visual C++ Redistributable for Visual Studio 2015 :
https://www.microsoft.com/en-us/download/details.aspx?id=48145
Have you tried below URL, we need to give User particular rights
http://technet.microsoft.com/en-gb/library/cc794944(v=ws.10).aspx