As the title says, I cannot access APEX on localhost. The page is asking me for a username and password. I have followed the steps in this page: https://www.foxinfotech.in/2019/04/install-oracle-apex-19-1-in-eleven-easy-steps.html and I also made sure that APEX is already installed by running this query: SELECT STATUS FROM DBA_REGISTRY WHERE COMP_ID = 'APEX'.
I also tried using different port numbers by using dbms_xdb.sethttpport. I also made sure that it is the port being listened to through LSNRCTL STATUS. I also made sure that the ports that I was using are not used by other applications.
I don't know what else is causing this problem and I can't see anything online. Please help if you've already encountered this problem. Hints or suggestions that may lead me to the right solution are also welcome.
Update
Here's the screenshot of the prompt that asks me for username and password:
screenshot
Related
Some context: I'm setting up an environment to run some Ruby code our Lead wrote to connect to some remote Databases. I'm using Win10 and have WSL installed. I have installed SQL*Plus, docker, and Ruby, and am sure I have installed all the dependent gems (actually at this point I know for a fact its not a ruby problem). I'm using Docker to use a pre-built image of an Oracle Database, and I have populated it with data.
Obfuscated company DB information:
'Broken' DB (TNS no listener)
Username: W-WORK-DEV
Password: password
Host: host1
Port: 999
SID: W-WORK-DB.tech.company
'Working' DB (can connect just fine)
Username: C-OLD-DEV
Password: password
Host: host2
Port: 999
SID: C-OLD-DB.tech.company
Please note the names I have provided here are purely for obfuscation, they do not represent anything about age or even config. They are essentially the same, just different databases on different hosts. Also note this is a corporate company and would have a lot of base infrastructure for their internal network.
The issue I am having is that with the specific database I am working on, I cannot connect to it. I connect to the company intranet via a VPN (I work offsite) and have issues connecting to WORK-DB.tech.company, though I can connect to C-OLD-DB.tech.company. Methods I have tried to connect with:
Oracle SQL Developer
I have inputted all the correct jdbc strings and username / password. Have even asked other people to attempt to connect (at least 3 others). They can all access C-OLD-DB as well as W-WORK-DB. When using this method, I get The network adapter could not establish the connection.
Side note: I'm fairly sure I have connected to the DB just fine in the past, though I can't be certain because I'm fairly new to this team and have only accessed it once, if that.
SQL*Plus via WSL
I installed SQL*Plus because I think Ruby was accessing it in some capacity when running the script. I got to the point where the script was able to connect to my local docker Database, but when it tried to connect to the remote database, it would return TNS: no listener. I attempted this using sqlplus as well and got the same error.
Example:
sqlplus C-OLD-DEV/password#host2:999/C-OLD-DB.tech.company
This command works and connected to the DB jsut fine.
sqlplus W-WORK-DEV/password#host1:999/W-WORK-DB.tech.company
This command gave me TNS: no listener.
During my research I had found mentions about tnsnames.ora, sqlnet.ora, and listener.ora. I have found relevant files around the company intranet and attempted to use them in my own personal environment to no avail (one of the sqlnet.ora files actually stopped me from being able to connect to any) I found mention about a config/database.yml file related to ruby, but our code already has the database information set up and I seem to be getting to the same solution as the script when trying to manually connect via sqlplus.
Here are some relevant environment variables I have set up when doing these installs. I'm thinking that at some point when trying to set up my environment, I messed up some config that changed the way sqldeveloper or sql plus would connect to that database.
$ echo $ORACLE_HOME: /usr/lib/oracle/12.2/client64/
$ echo $TNS_ADMIN: /usr/lib/oracle/12.2/client64/network/admin
$ echo $LD_LIBRARY_PATH: /usr/lib/oracle/12.2/client64/lib
I hope I have provided all the information I have come across and have explained clearly what my issue is, if you have any questions feel free to comment about it so I can clear it up. Thank you for any and all your help.
So my problem ended up being a 'firewall/port' issue. In the end i found out that specific port I was connecting to was blocked, but I thought it was only on my system. Turns out the VPN I'm using was the issue blocking that port. Company has a Primary Data Center and a Secondary one, and apparently the SDC VPN was blocking that port from me. I switched to using the PDC VPN and it worked.
Are you using the 64 bit jdbc drivers?
I am trying to use MySQL Cluster 7.5 version , after opening the web browser and clicking on :create new MySQL cluster", and getting in the "define cluster" page , I write the IP of the remote data node in to the host list field ,but I get error which say "there were errors when connecting to the remote hosts, host 172.16.1.129: couldn't open socket to 172.16.1.129 ,press'ok to continue to the next page anyway, or cancel to stay in the previous page"
I turned off windows firewall options too, but no luck,
what is the cause of this error and how to solve it?
What are the essential steps to install/configure in remote pc (data node).?
Thanks a lot
https://www.mysql.com/support/supportedplatforms/cluster.html
Did you check this? if you OS supports?
This has nothing to do with supported platforms. My guess is the credentials you used to connect to nodes are bad. In that version of MySQL NDB Cluster autoinstaller you can provide only Cluster-wide credentials, i.e. one credentials for all the hosts. Those credentials could be a) private key without passphrase (idrsa in ~/.ssh) or b) ordinary username/password. Please see html help file that comes with Autoinstaller for details.
I've been looking over the last two days for a solution to this issue, but am, unfortunately, misereably failing. I've just installed Coda 2.5.11 and have a basic issue with its FTP its operations. That is, I'm not able to connect to my server.
The erros I get are:
[when using FTP] - Server said: login incorrect (which is not true)
[when using SFTP] - Server said: The user name or passowrd was not accepted by the server (d'oh)
I have found that similar issues had been reported earlier, but am not sure how to match it with my case:
https://groups.google.com/forum/#!topic/coda-users/ra-P5RZMKJ8
http://michael.grunewalder.com/2012/06/06/coda-2-connecting-with-sftp-finally/
And I have no idea how to adress it myself.
Just to add, the FTP server (login, password) works well when I login using webFTP.
Does your FTP username include an #-symbol?
In this case login is always incorrect. Coda uses OS X libs for connection to FTP-Servers, which fails escaping the #-symbol.
I already reported this issue to Coda support a few month ago.
I'm trying to log into my FTP account through Notepad++ but I cant get it to connect for the life of me. I know the password and hostname are correct because it works fine in filezilla.
I get the following info in the output:
-> TYPE I
Connecting
-> Quit
Unable to connect
Disconnected
I'm using
NPPv6.5.4
NppFTPv0.24.1
Incase it matters, the hostname is through awardspace.net dck.dx.am connection mode is passive, transfer mode is binary, everything else is default...
Thanks in advance for the help,
Dave
I'm getting the same results. The plugin worked before, it looks it is now broken. Starting as admin doesn't help, too. Maybe you can downgrade it to some older version and retry. If someone has time, he can fill a support request directly at NPP FTP homepage. As problems with this plugin are frequent, I switched to a different solution - see the second paragraph of that post.
EDIT: I've made some plugin diagnostics, please follow here.
Connecting
-> Quit
Unable to connect
No more explanation of the error.
The reason was, remote machine doesn’t allow FTP connections at all!
So Use sftp (select from connetion type)
this will work
Hi this may sound silly but honestly it should be a simple fix but can't figure out why this isn't working.
I have just setup an FTP account on Serv-U application and on testing, I am getting the following error:
**530 ftp is not allowed for this user account**
No logs anywhere, reset account password - same issue, my IP is allowed still same issue. Anyone come across this before?
OK silly me :), I managed to fix the problem. Basically if you using Serv-U as your FTP/FTPS/SFTP 3rd party application, then you run into this issue in future, go through the following steps to fix the problem:
- Open the properties of the affected account
- Click on Limits & Settings tab
- Locate the section 'Allow FTP and FTPS connections' and ensure the value is set to 'Yes'
There you are, issue fixed. Sorry for taking your time, i should have known this.