When I run sqlplus I get the following error:

Error 46 initializing SQL*Plus  
HTTP proxy setting has incorrect value  
SP2-1502: The HTTP proxy server specified by http_proxy is not accessible

I've just installed the oracle instant client on fedora 12 by doing the following:

I downloaded the rpms from http://www.oracle.com/technetwork/topics/linuxsoft-082809.html

  • oracle-instantclient11.2-basic-
  • oracle-instantclient11.2-devel-
  • oracle-instantclient11.2-jdbc-
  • oracle-instantclient11.2-odbc-
  • oracle-instantclient11.2-sqlplus-
  • oracle-instantclient11.2-tools-

I then installed them all using rpm

In addition I added this to my /etc/bashrc file and restarted the shell:

export ORACLE_HOME=/usr/lib/oracle/11.2/client  
export LD_LIBRARY=/usr/lib/oracle/11.2/client/lib/  

OS: Fedora 12,

This is a VMWare vm - that doesn't have access to the internet.

Perhaps I be using the i686 versions?

Thanks SF

3 Answers 3


The only thing that worked for me was to set http_proxy to blank:

export http_proxy=

Then run SQL Plus


sqlplus uses the http_proxy and no_proxy environment variables to determine if proxy is used. To bypass the proxy settings then both these values need to be unset.

unset http_proxy
unset no_proxy


export http_proxy=
export no_proxy=

Turns out I had set my password to the wrong value in profile.d/proxy.sh

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.