到ohs服務(wù)器路徑
/oracle/fmwhome/Oracle/Middleware/Oracle_Home/user_projects/domains/ohs_domain/config/fmwconfig/components/OHS/instances/ohs1
下更改httpd.conf配置文件:
Listen 7777 更改為 Listen 80
ServerName ohs1.xxxx.cn:7777 更改為 ServerName ohs1.xxxx.cn:80
# The Listen directive below has a comment preceding it that is used
# by tooling which updates the configuration. Do not delete the comment.
#[Listen] OHS_LISTEN_PORT
Listen 80
# ServerName gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
# If your host doesn't have a registered DNS name, enter its IP address here.
ServerName ohs1.xxxx.cn:80
保存更改,退出vi編輯
到ohs服務(wù)器路徑
/oracle/fmwhome/Oracle/Middleware/Oracle_Home/ohs/bin/
以root用戶執(zhí)行以下命令
[root@ohs1 bin]# chown root launch
[root@ohs1 bin]# chmod 4750 launch
重啟服務(wù)器
到ohs服務(wù)器路徑
/oracle/fmwhome/Oracle/Middleware/Oracle_Home/user_projects/domains/ohs_domain/bin
關(guān)閉ohs1實例
[oracle@ohs1 bin]$ ./stopComponent.sh ohs1
開啟ohs1實例
[oracle@ohs1 bin]$ ./startComponent.sh ohs1
?? ohs1實例啟動,建議使用非root用戶