您的位置:首页 > 数据库 > SQL

sqldeveloper 调试时出现“ocal host machine does not have an IP address ”错误

2009-12-01 18:05 197 查看
解决方案:
http://kr.forums.oracle.com/forums/thread.jspa?threadID=623267


댓글:

2

-

페이지:

1

-

마지막 글
:

2008-2-27 上午6:09

최종 작성자: kennethahn

kennethahn



글:
3

등록일:
02-05-13

Can not start debugger due to "No IP address"

게시일:
2008-2-27 上午3:34





댓글
I'm using SqlDeveloper 1.2.1.32.13 (latest non-beta), on Ubuntu 7.10.

When I try to debug a function or procedure by first compiling for
debug, and then pressing the beetle icon in the editor pane, I get the
following message in the debugging log window:

The target TESTPROC could not be started because the local host machine does not have an IP address.

Naturally the machine has an IP address, since I am connected to the DB server.

The problem is the same whether I connect to Oracle v9 or v10 servers.

Any clue would be appreciated.

Cheers,

Kenneth
Jim Smith



글:
1,782

등록일:
98-09-26

Re: Can not start debugger due to "No IP address"

게시일:
2008-2-27 上午5:01



kennethahn
님의 질문에 답변





댓글
It probably means the server can't determine the ip address.

Try checking 'Prompt for debugger host for database debugging' in Tools->Preferences->Debugger
kennethahn



글:
3

등록일:
02-05-13

Re: Can not start debugger due to "No IP address"

게시일:
2008-2-27 上午6:09



Jim Smith
님의 질문에 답변





댓글
Thank you.

Checking the box didn't solve the problem in itself, but I found out
that the JRE threw an java.net.UnknownHostException because it couldn't
resolve my hostname to an IP, so I ent
ered "hostname 127.0.0.1" in
/etc/hosts


-
and that did the trick.

Thank you so very much.


Cheers,

Kenneth
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐