10.0 How to Configure Oracle Web Cache to Listen on Port <>
On most Unix platforms, a process without root privilege cannot listen on ports <>
- Through the Web Cache Manager, change process identity to the desired running process identity, such as nobody/nobody; change Oracle Web Cache listening port to the desired port, such as 80;
- log in as root;
- change the owner of the executable 'webcached' to root;
$ chown root /opt/oracle/webcache/bin/webcached
- change the group of the executable 'webcached' to the group id of the desired running process identity, such as nobody:
$ chgrp
- add set-user-id permission to the executable 'webcached';
$ chmod u+s /opt/oracle/webcache/bin/webcached
- exit from root;
- start Oracle Web Cache through webcachectl. Oracle Web Cache should be listening on the desired port with the desired process identity (nobody/nobody).
$ /opt/oracle/webcache/bin/webcachectl start
Note that NOT running Oracle Web Cache as root will limit the number of connection handles that Oracle Web Cache can use to the operating system's hard-coded file descriptor limit. See Also: Section 5.0.
Không có nhận xét nào:
Đăng nhận xét