Problem in Opening Console of Db2 Warehouse - db2

I am trying to open Db2 of IBM, but there comes a 502 Gateway problem. It continues for 2 hours already. What can be the reason?

Restart the web console server as given steps above.

Related

Keep getting error ""Create Service - Failed to fetch" on IBM Cloud's Db2 page

I've tried, failed, deleted the database and tried again 7 times now and I get this error each time. I'm on the lite plan and taking the IBM Data Science Certification course and I can't get past this part. Any assistance would be greatly appreciated.
Deleting database (can only have one in lite plan I believe) retried several times
I just verified that I am able to create a fully working Lite instance on my end. Is it possible that it's a networking issue on your end? Was that the full error message? It seems to be cut off. In what region and datacenter are you trying to create the service instance?

Connected To XEPDB1 From SQL Developer [duplicate]

I am using ORACLE database in a windows environment and running a JSP/servlet web application in tomcat. After I do some operations with the application it gives me the following error.
ORA-12518, TNS: listener could not hand off client connection
can any one help me to identify the reason for this problem and propose me a solution?
The solution to this question is to increase the number of processes :
1. Open command prompt
2. sqlplus / as sysdba; //login sysdba user
3. startup force;
4. show parameter processes; // This shows 150(some default) processes allocated, then increase the count to 800
5. alter system set processes=800 scope=spfile;
As Tried and tested.
In my case I found that it is because I haven't closed the database connections properly in my application. Too many connections are open and Oracle can not make more connections. This is a resource limitation. Later when I check with oracle forum I could see some reasons that have mentioned there about this problem. Some of them are.
In most cases this happens due to a network problem.
Your server is probably running out of memory and need to swap memory to disk.One cause can be an Oracle process consuming too much memory.
if it is the second one, please verify large_pool_size or check dispatcher were enough for all connection.
You can refer bellow link for further details.
https://community.oracle.com/message/1874842#1874842
I ran across the same problem, in my case it was a new install of the Oracle client on a new desktop that was giving the error, other clients were working so I knew it wouldn't be a fix to the database configuration. tnsping worked properly but sqlplus failed with the ora-12518 listener error.
I had the tnsnames.ora entry with a SID instead of a service_name, then once I fixed that, still the same error and found I had the wrong service_name as well. Once I fixed that, the error went away.
If from one day to another the issue shows for no apparent reasons, add these following lines at the bottom of the listner.ora file. If your oracle_home environment variable is set like this:
(ORACLE_HOME = C:\oracle11\app\oracle\product\11.2.0\server)
The lines to add are:
ADR_BASE_LISTENER = C:\oracle11\app\oracle\
DIRECT_HANDOFF_TTC_LISTENER=OFF
I had the same problem when executing queries in my application. I'm using Oracle client with Ruby on Rails.
The problem started when I accidentally started several connections with the DB and didn't close them.
When I fixed this, everything started to work fine again.
Hope this helps another one with the same problem.
I experienced the same error after upgrading to Windows 10. I solved it by starting services for Oracle which are stopped.
Start all the services as shown in the following image:
I had the same issue. After restarting all Oracle services it worked again.
same problem encountered for me.
And from oracle server listener log, can see more information.
and I found that the SERVICE_NAME is not match the tnsnames.ora configured Service name. so I changed the application's data source configuration from SID value to Service_NAME value and it fixed.
23-MAY-2019 02:44:21 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=XXXXXX$))(SERVICE_NAME=orclaic)) * (ADDRESS=(PROTOCOL=tcp)(HOST=::1)(PORT=50818)) * establish * orclaic * 12518
TNS-12518: TNS:listener could not hand off client connection
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
64-bit Windows Error: 203: Unknown error
I had the same issue in real time application and the issue gone by itself next day. upon checking, it was found that server ran out of memory due to additional processes running.
So in my case, the reason was server run out of memory
first of all
check the listener log
check the show parameter processes vs select count(*) from v$processes;
increase the process, it may require SGA increase
;

Oracle 12c connection error:-Got minus one from a read call

My Sql developer was working fine from long time, suddenly from yesterday when i am trying to reconnect it is giving me following error:-
Status : Failure -Test failed: IO Error: Got minus one from a read call, connect lapse 62991 ms., Authentication lapse 0 ms.
Things I tried to solve the issue:-
Made corresponding changes in sqlnet.ora , listener.ora and tnsnames.ora files
Checked is there are too many open connections to the database service.
Restarted ORACLE service and listener
Firewall related changes
Reinstalled ORACLE
In my case the issue, it is due to a malware. Whenever i am trying to connect to DB port, it was automatically getting changed by malware.
You can also identify the problem by using lsnrctl status command, for further information. You can also see the log file of listener.
Run a full scan on your machine and restart listener, hope that helps.

index server and statistics server not starting in hana

In SAP HANA index server and statistics server stopped suddenly and not running.
I tried to stop and restart the server by the following commands.
HDB stop
HDB start
But still it is not working. Does anyone know what causes this problem and what is the solution? Thanks in advance.
If the indexserver doesn't start, you cannot logon as SYSTEM (or any other user for that matter). A good way to find out what the reason for the failed start is to check the tracefile for the nameserver, the indexserver and the statisticsserver.
Logon as <sid>adm and change to the tracefile folder via cdtrace.
Then find the tracefiles and use e.g. less to read through them to find the actual error messages.
Alternatively you can use SAP HANA Studio with the emergency connection to review the trace files without terminal access.

dashDB Launch Server Error

I have added a dashDB to my app and restaged as required. Unfortunately, when I select the Launch button I get a Server Error 500 page. In the Details I get the following:
The website encountered an error while retrieving https://login.ng.bluemix.net/UAALoginServerWAR/oauth/authorize?response_type=code&state=c0241f7f-cf7a-4463-9c29-502c5b4f5efb&scope=openid&client_id=mccpserviceadmin&redirect_uri=https%3A%2F%2Fmccp.ng.bluemix.net%2Flogin%2Fcallback%2Fbmmccp.eyJ0eXBlIjoiY29udHJvbCIsInJlZ2lvbiI6ImlibTp5cDp1cy1zb3V0aCIsImNvbnRyb2wiOnsiY2xpZW50X2lkIjoiZHN3Y0NsaWVudCIsInNjb3BlcyI6WyJvcGVuaWQiXSwicmVkaXJlY3RfdXJpIjoiaHR0cHM6Ly9kYXNoZGItZW50cnkteXAtZGFsMDktMDcuc2VydmljZXMuZGFsLmJsdWVtaXgubmV0Ojg0NDMvY29uc29sZS9pYm1ibHUvaW5kZXhfQ3VzdG9tZXIuanNwP3NwYWNlX2lkPTcxMjQ0ZGMzLTU5YzAtNDM5Mi1hYzYzLTIyM2UxMDA4N2ZhOCZyZWdpb249dXMtc291dGgmdWFhLXJvdXRlPWJtbWNjcC5leUowZVhCbElqb2lkV0ZoTFhKdmRYUmxJaXdpY21WbmFXOXVJam9pYVdKdE9ubHdPblZ6TFhOdmRYUm9JaXdpYjNKblgyZDFhV1FpT2lJMlpHSm1OV1UxTWkweU5XVTBMVFE0T0dVdFlqSmpZaTFqWW1Oak56VmhOR1ZsTTJNaUxDSnpjR0ZqWlY5bmRXbGtJam9pTnpFeU5EUmtZek10TlRsak1DMDBNemt5TFdGak5qTXRNakl6WlRFd01EZzNabUU0SW4wLnA3Y3FiUDJoZjA2Q0lsYjdRVVRmOTV1N0ljQVExdUV1aVczWVM4ZVp4NHl5TWN2TjVZSEsxUWdCZk1URkktZEJxbTIyLUEySWlGVmY0dTY5TzhHNmhBRmx2eHY2dXBOWnhDbVZmWG9URE5TMkdOcGRqS0NFQWlOOTlDVkRuSzFxSDZrRWJvTXY2RkRoTW9vN3JFeGsxWW1ELWo1dGlJN3lobmtEV3R6QTFoWkRtZmxESXBnUFltZ1NfcjNaemljTFFNM1U1YVdCNzBGYVJtdmFlLWpLOV9aN2ZpSzNPbE1uSVBUeFk4QWdMSl9tU3hIRXh5SnBObFo4akxCX0dIQWcxZ0ctTmxYVWgxWXZhd2VEb2dfMVg0SVJZd0ZjZFk1ZzJRLVAtWnhaUzNDdGVYcHBHSTJ0RVg0VjhkbkNrVlVDYkhoNDBvc3R1TzQzTGhTY2JWWUFVUSZhdXRob3JpemF0aW9uLWVuZHBvaW50PWh0dHBzOi8vbWNjcC5uZy5ibHVlbWl4Lm5ldC9sb2dpbiZhdXRob3JpemF0aW9uLWVuZHBvaW50LXF1ZXJ5PXB1YmxpYz10cnVlIn19.N1XmBAm3ZJQExj1FD18JFLPFkECuizGJJVrT0dTrUeZPeH2gIj6nqk6tGlChoSWMHrxdhnH59d0272OkBiT-AaDasYQsGufXwZkmqSJ72fxbwLBefKgu_fgi1rxylhNM0rs5k-YNDk6SW69vwNWI-Np3ywGW8wTRHx26tXQ8_lFzeGP6K0Mke-cQT-u-HXU6c28E6R9XHGuiahRyKHV6eY_Ohvp5I_UE2E3JOUoXVpnj-F34JsmeW6mnUalmJDVJrzVfUJ0MVb9Kyej0eZDnQOV2cnm_auoTR2U_JoIoaZb6ESfoN6nt_Z7ALPZ0txXsVGyHzWf95enwVAPstfLCpw. It may be down for maintenance or configured incorrectly.
Which I can't decipher.
I read in this forum where one can login using the details from the VCAP_VARIABLES which I was able to do successfully. Interestingly I have annother app on bluemix that also has a dashdb that was accessible but now isn't.
I have dropped the dashDB a couple of times and also created it but left it unbound all for no joy.
Any thoughts will be appreciated.
It looks like a bluemix problem as the dashdb is working fine from the Launch button and I can see the data I loaded when I logged in via the vcap variables.