OAM Webgate installation issue: Troubleshooting

Hi, I would like to share my experience with issue in webgate installation which I faced during SSO integration in one of the target system.

Environment Details:
In the target system the webserver was installed as root and the user/group was specified as nobody/nobody. When I tried to install the webgate it was not letting me proceed after specifying the webgate installation path. The error which was stopping me to proceed was nobody/nobody does not have read/execute privileges on some files in /u01/Webgate/access[webgate installed location].

Note:Since the webserver was running on port 80 I had to start the service as root.

Options tried are as follows.
Option 1:
I did try to grant privelages to non-root user but failed to start the webserver.
Option 2:
Specify the user/group of webserver as root/system during webgate installation. This helped me to surpass the privileges issue but installer  failed to update the webserver conf file automatically.I tried to manually update the webserver conf with webgate info. After restarting webserver found the following error in webserver error log.
Oblix_OBWebGate_AuthnAndAuthz:  Error: WebGate: Language initialization failed. Please check your
Option 3:
Change the owner of the webserver folder to a non-root user but start and stop the service as root. With option 3 I was able to install webgate but when tried to access the application found the following error in webserver error log.
Oblix_OBWebGate_AuthnAndAuthz:  Error: WebGate: Language initialization failed. Please check your

Work Around:

1. I changed the ownership of the Webserver home folder to a valid user/group Eg: web/staff.
2. Change the webserver port from 80 to Eg: 8080
3. Next step is to start the webserver service with web user.
4. Install the webgate.
5. Modify the webserver port back to 80 but don’t change the owner of the file.
6. Start the webserver as root user.
7. Use configureWebGate tool and reconfigure the webgate.
8. Restart the webserver.

About the Author Atul Kumar

Leave a Comment:

1 comments
Anonymous says October 31, 2012

Can you explain the steps more in detail? Its not quite clear what you did here to solve the issue

Reply
Add Your Reply

Not found