sqlplus 一次奇葩问题 HTTP proxy setting has incorrect value

时间:2022-10-05 06:51:12

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

说明:之前一直好用,运行sqlplus出现以上问题。
查看环境变量
y@y:~$ printenv | grep proxy
no_proxy=localhost,127.0.0.0/8,::1
y@y:~$

没有配置http_proxy这一项。

回想了一下今天上午对系统做了那些设置?
中午时在对网络进行测试时,点击了一下网络代理设置,记得当时选择了手动,然后打开网络设置
选中网络代理选择无-》应用到整个系统。

再次输入sqlplus界面终于正常了!
y@y:~$ sqlplus /nolog

SQL*Plus: Release 11.2.0.1.0 Production on Mon Nov 17 17:45:54 2014

Copyright (c) 1982, 2009, Oracle. All rights reserved.

SQL>

Ubuntu信息:
y@y:~$ lsb_release -a
LSB Version: core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:core-4.1-amd64:core-4.1-noarch:cxx-3.0-amd64:cxx-3.0-noarch:cxx-3.1-amd64:cxx-3.1-noarch:cxx-3.2-amd64:cxx-3.2-noarch:cxx-4.0-amd64:cxx-4.0-noarch:cxx-4.1-amd64:cxx-4.1-noarch:security-4.0-amd64:security-4.0-noarch:security-4.1-amd64:security-4.1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 14.04 LTS
Release: 14.04
Codename: trusty
y@y:~$