I am installing the software version of the gateway and portal. The gateway (9.1) is installed on Solaris 10 and the portal (3.5) is to be installed on RHEL. When trying to integrate the gateway with portal, I executed the setup-ssg-3.5.sh script after modifying shebang to point to bash shell in solaris. Now, I noticed that all the commands, file path etc. are meant to be run on an appliance gateway with Linux and hence at the end of the script no assertions were installed and the setup process was a failure (Although the script exited with an usual setup complete message). I am pasting the output here for reference. Is there any script that is written specific to a software gateway (Solaris) that I can use or have someone come across a similar issue and found a solution? Any help is much appreciated.
Output:
API Developer Portal 3.5 Gateway Installation
===================================
Checking version...
done
Found version 9.1.x
Pre-install checks are complete.
Do you want to proceed with the install [y/n]? y
Starting installation...
Stopping gateway...
./setup-ssg-3.5.sh: line 258: service: command not found
Creating backup & copying new files...
chmod: WARNING: can't access /opt/SecureSpan/Gateway/runtime/modules/assertions//ApiPortalIntegrationAssertion-9.1.00.aar
chown: /opt/SecureSpan/Gateway/runtime/modules/assertions//ApiPortalIntegrationAssertion-9.1.00.aar: No such file or directory
chmod: WARNING: can't access /opt/SecureSpan/Gateway/runtime/modules/assertions//ApiPortalDataLensAssertion-9.1.00.aar
chown: /opt/SecureSpan/Gateway/runtime/modules/assertions//ApiPortalDataLensAssertion-9.1.00.aar: No such file or directory
mv: cannot access ApiPortal-9.1.zip
Starting gateway...
./setup-ssg-3.5.sh: line 375: service: command not found
Setup complete.
Please see Setup Guide for configuring Portal Metrics