Environment
Novell iPrint for Linux
Open Enterprise Server Support Pack 3
Situation
iPrint migration appears to have completed successfully, however the following error is seen on the terminal.
sh: -c: line 0: syntax error near unexpected token `)'
sh: -c: line 0: `/opt/novell/oes-install/util/getSSCert -a myserver.mydomain.com -t myTree -u myadmin.organization -x mypassword'
Resolution
Steps to resolve this issue:
- Open the /opt/novell/bin/iprintmig file in an editor.
- Search for "getSSCert"
- At the end of the line containing "getSSCert" change to the following:
Current:
`/opt/novell/oes-install/util/getSSCert -a $opts{'src'} -t $src_tree_name -u $src_dn_name -x $opts{'src-pass'}`;
Corrected:
`/opt/novell/oes-install/util/getSSCert -a $opts{'src'} -t $src_tree_name -u $src_dn_name -x "$opts{'src-pass'}"`; - Save the file.
- Restart the migration and the problem should be solved.