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

解决方案:

http://kr.forums.oracle.com/forums/thread.jspa?threadID=623267

 

Permlink 댓글: 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님의 질문에 답변 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님의 질문에 답변 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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值