启动HTTP Server服务 运行oracle isqlplus

来源:互联网 发布:营销软件三金网络 编辑:程序博客网 时间:2024/04/30 16:27
 

一般缺省设置的端口及协议是:http 7778端口 / https 4443端口。
对于非默认配置,可以直接到$oracle_home/apahe/apache目录下查看ports.ini文件,其中记录了端口配置信息。
[Ports]
s_apachePort = 7778
s_apapcePortSSL = 4443
s_jservPort = 8007
其中,s_apachePort指http协议端口,s_apachePortSSL指https协议端口。

如果需要修改端口信息,可修改$oracle_home/apache/apace/conf/httpd.conf配置文件。
#
# Port: The port to which the standalone server listens.  Certain firewall
# products must be configured before Apache can listen to a specific port.
# Other running httpd servers will also interfere with this port.  Disable
# all firewall, security, and other services if you encounter problems.
# To help diagnose problems use the Windows NT command NETSTAT -a
#
Port 7778

##
##  SSL Support
##
##  When we also provide SSL we have to listen to the
##  standard HTTP port (see above) and to the HTTPS port
##

Listen 7778
Listen 4443

启动iSQLPlus
通过在浏览器输入:http://machine_name.domain:port/isqlplus,就可以启动iSQLPlus.

以Sysdba的身份登录
以Sysdba的身份登录,需要运行:http://machine_name.domain:7778/iSQLPlusdba.
这需要先输入http server的口令,这个不同于数据库认证。
创建认证口令文件:
D:/oracle/ora92/Apache/Apache/bin>htpasswd D:/oracle/ora92/sqlplus/admin/iplusdba.pw admin
Automatichally using MD5 format on Windows
New password:******
Re-type new password:******
Adding password for user admin
然后可以用这个用户通过身份认证。

常见问题说明:
在NT上,有时候启动Apache服务可能会遇到以下错误:
Error on line 92 of Oracle_HOME/sqlplus/admin/iSQLPlus.conf
Failed to create FASTCGI application accept mutex
如果遇到类似的错误,可以尝试在服务里把HTTPServer设置为手动启动,然后重新启动机器,使用命令行方式启动Apache Server,一般就可以解决问题。