Issue:
Swung Domino install to a new server running Ubuntu. Installed all prerequisites, Domino runs fine if started manually, but the domino service (/etc/init.d/domino) doesn't start or stop successfully. The paths are updated correctly in the file and the empty password file has been "touched". The error message says something very similar to:
syntax error ( expected
This means that the wrong shell and awk is configured for the script. Assuming you don't want to rewrite the domino init script, here is a work-around that is working for us
(Test on a non production machine before implementing.)
1. Change the default shell (back) to Bash.
$ cd /bin
$ cp sh sh-old
$ sudo rm -i sh
$ sudo ln -s bash sh
2. This Domino script is using /bin/gawk instead of a generic /bin/awk, or the Ubuntu /bin/mawk, we can fix it with another symbolic link.
$ cd /usr/bin
$ cp mawk mawk-old
$ sudo ln -s mawk gawk
domino
previous page
|