作者:dongwei_6688 的 关于”Oracle 10g绿色客户端与PL/SQL Developer-搭建的Oracle使用环境 “的问题补充...

本文介绍使用PLSQL Developer连接Oracle 10g过程中遇到的问题及解决办法。主要问题包括连接超时错误ORA-12170及字符集不匹配导致的显示问题。文章提供了关闭防火墙解决连接超时的方法,并给出了调整本地字符集设置以解决中文显示问题的具体步骤。
一直想单独使用pl/sql developer这个工具连接oracle,因为本机安装orcle跑起来犹如老牛犁地,网上一搜,有很多相关标题,基本复制,看到 dongwei_6688作者写的比较详细,就按照步骤老老实实做完,但还是连不上,描述如下:

[b]工具:[/b]
A,B 两台PC
DB:oracle 10g (B-PC)
PLSQL Developer715 (A-PC)


[b]步骤:[/b]
按照dongwei_6688作者的帖子:“Oracle 10g绿色客户端与PL/SQL Developer-搭建的Oracle使用环境”;


[b]问题:[/b]
PLSQL 提示:ORA-12170: TNS:Connect timeout occurred

[b]解决:[/b]
关掉 B-PC 上的防火墙

作者原创:[url]http://dongwei.iteye.com/blog/262095[/url]

关于作者提到 字符集不支持中文的问题:

问题描述:当按照作者帖子描述配置完后,pl/sql连接远程数据库时,如果提示“Database character set (AL32UTF8) and Client character set (ZHS16GBK) are different” 或者 “Database character set (UTF8) and Client character set (ZHS16GBK) are different” 时则说明pl/sql运行的这一端和oracle存储数据的字符集不一致。

解决方法是:

按照提示“Database character set (AAAAA) and Client character set (BBBBB) are different”,则修改方法

“我的电脑”-》属性-》高级-》环境变量-》设置如图:
[img]http://dl.iteye.com/upload/picture/pic/59887/bc416fca-4046-380e-88a1-928ceb0b19c6.png[/img]
dongwei@dongwei-virtual-machine:~/demo1/demo1_ws$ ros2 launch fishbot_description gazebo.launch.py [INFO] [launch]: All log files can be found below /home/dongwei/.ros/log/2025-07-01-16-14-06-055332-dongwei-virtual-machine-3376 [INFO] [launch]: Default logging verbosity is set to INFO [ERROR] [launch]: Caught exception in launch (see debug for traceback): "package 'gazebo_ros2' not found, searching: ['/home/dongwei/demo1/demo1_ws/install/fishbot_description', '/opt/ros/humble']" dongwei@dongwei-virtual-machine:~/demo1/demo1_ws$ ^C dongwei@dongwei-virtual-machine:~/demo1/demo1_ws$ ros2 launch fishbot_description gazebo.launch.py [INFO] [launch]: All log files can be found below /home/dongwei/.ros/log/2025-07-01-16-15-07-142073-dongwei-virtual-machine-3499 [INFO] [launch]: Default logging verbosity is set to INFO [ERROR] [launch]: Caught exception in launch (see debug for traceback): "package 'gazebo_ros2' not found, searching: ['/home/dongwei/demo1/demo1_ws/install/fishbot_description', '/opt/ros/humble']" dongwei@dongwei-virtual-machine:~/demo1/demo1_ws$ source install/setup.bash dongwei@dongwei-virtual-machine:~/demo1/demo1_ws$ ros2 launch fishbot_description gazebo.launch.py [INFO] [launch]: All log files can be found below /home/dongwei/.ros/log/2025-07-01-16-15-15-682635-dongwei-virtual-machine-3555 [INFO] [launch]: Default logging verbosity is set to INFO [ERROR] [launch]: Caught exception in launch (see debug for traceback): "package 'gazebo_ros2' not found, searching: ['/home/dongwei/demo1/demo1_ws/install/fishbot_description', '/opt/ros/humble']" dongwei@dongwei-virtual-machine:~/demo1/demo1_ws$ colcon build --packages-select fishbot_description Starting >>> fishbot_description Finished <<< fishbot_description [0.17s] Summary: 1 package finished [0.64s] dongwei@dongwei-virtual-machine:~/demo1/demo1_ws$ source install/setup.bash dongwei@dongwei-virtual-machine:~/demo1/demo1_ws$ ros2 launch fishbot_description gazebo.launch.py [INFO] [launch]: All log files can be found below /home/dongwei/.ros/log/2025-07-01-16-15-37-039038-dongwei-virtual-machine-3621 [INFO] [launch]: Default logging verbosity is set to INFO [INFO] [gazebo-1]: process started with pid [3622] [INFO] [spawn_entity.py-2]: process started with pid [3624] [gazebo-1] Gazebo multi-robot simulator, version 11.10.2 [gazebo-1] Copyright (C) 2012 Open Source Robotics Foundation. [gazebo-1] Released under the Apache 2 License. [gazebo-1] http://gazebosim.org [gazebo-1] [gazebo-1] Gazebo multi-robot simulator, version 11.10.2 [gazebo-1] Copyright (C) 2012 Open Source Robotics Foundation. [gazebo-1] Released under the Apache 2 License. [gazebo-1] http://gazebosim.org [gazebo-1] [spawn_entity.py-2] [INFO] [1751357738.214872101] [spawn_entity]: Spawn Entity started [spawn_entity.py-2] [INFO] [1751357738.215270633] [spawn_entity]: Loading entity XML from file /home/dongwei/demo1/demo1_ws/install/fishbot_description/share/fishbot_description/urdf/fishbot.urdf [gazebo-1] [Wrn] [gazebo_ros_init.cpp:178] [gazebo-1] # # ####### ####### ### ##### ####### [gazebo-1] ## # # # # # # # # [gazebo-1] # # # # # # # # # [gazebo-1] # # # # # # # # ##### [gazebo-1] # # # # # # # # # [gazebo-1] # ## # # # # # # # [gazebo-1] # # ####### # ### ##### ####### [gazebo-1] [gazebo-1] This version of Gazebo, now called Gazebo classic, reaches end-of-life [gazebo-1] in January 2025. Users are highly encouraged to migrate to the new Gazebo [gazebo-1] using our migration guides (https://gazebosim.org/docs/latest/gazebo_classic_migration?utm_source=gazebo_ros_pkgs&utm_medium=cli) [gazebo-1] [gazebo-1] [spawn_entity.py-2] Traceback (most recent call last): [spawn_entity.py-2] File "/opt/ros/humble/lib/gazebo_ros/spawn_entity.py", line 372, in <module> [spawn_entity.py-2] main() [spawn_entity.py-2] File "/opt/ros/humble/lib/gazebo_ros/spawn_entity.py", line 367, in main [spawn_entity.py-2] exit_code = spawn_entity_node.run() [spawn_entity.py-2] File "/opt/ros/humble/lib/gazebo_ros/spawn_entity.py", line 143, in run [spawn_entity.py-2] self.get_logger().error('Error: specified file %s does not exist', self.args.file) [spawn_entity.py-2] TypeError: RcutilsLogger.error() takes 2 positional arguments but 3 were given [ERROR] [spawn_entity.py-2]: process has died [pid 3624, exit code 1, cmd '/opt/ros/humble/lib/gazebo_ros/spawn_entity.py -entity fishbot -file /home/dongwei/demo1/demo1_ws/install/fishbot_description/share/fishbot_description/urdf/fishbot.urdf --ros-args']. [gazebo-1] [Msg] Waiting for master. [gazebo-1] [Msg] Connected to gazebo master @ http://127.0.0.1:11345 [gazebo-1] [Msg] Publicized address: 192.168.242.128 [gazebo-1] context mismatch in svga_surface_destroy [gazebo-1] context mismatch in svga_surface_destroy 如何修改
最新发布
07-02
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值