If you run the Sun N1 Service Provisioning System scripts in a Bourne shell, the installation fails. An error message similar to the following is displayed.
cr_cli_solaris_sparc_pkg_6.0.sh: /: cannot execute Usage: grep -hblcnsviw pattern file . . . |
Workaround: Follow these steps.
Assign execution permissions to the installer script.
# chmod +x installer-script |
Where installer-script refers to the following scripts.
cr_ms_solaris_sparc_pkg_6.0.sh
cr_ms_solaris_x86__pkg_6.0.sh
cr_cli_solaris_sparc_pkg_6.0.sh
cr_cli_solaris_x86_pkg_6.0.sh
cr_ld_solaris_sparc_6.0.sh
cr_ld_solaris_x86_6.0.sh
cr_ra_solaris_sparc_6.0.sh
cr_ra_solaris_x86_6.0.sh
Launch the installer.
For the master server, type the appropriate command.
For SPARC systems:
# ./ksh cr_ms_solaris_sparc_pkg_6.0.sh |
For x86 systems:
# ./ksh cr_ms_solaris_x86_pkg_6.0.sh |
For the CLI client, type the appropriate command.
For SPARC systems:
# ksh cr_cli_solaris_sparc_pkg_6.0.sh |
For x86 systems:
# ksh cr_cli_solaris_x86_pkg_6.0.sh |
For the local distributor, type the appropriate command.
For SPARC systems:
# ksh cr_ld_solaris_sparc_6.0.sh |
For x86 systems:
# ksh cr_ld_solaris_x86_6.0.sh |
For the remote agent, type the appropriate command.
For SPARC systems:
# ksh cr_ra_solaris_sparc_6.0.sh |
For x86 systems:
# ksh cr_ra_solaris_x86_6.0.sh |