Ubuntu 6.10 (Edgy Eft) Shell Changes: Difference between revisions
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
Creating SSL certificate... | Creating SSL certificate... | ||
<tt> Running as zimbra user: cd /opt/zimbra; zmcreatecert | <tt> | ||
Running as zimbra user: cd /opt/zimbra; zmcreatecert | |||
/opt/zimbra/bin/zmcreatecert: 27: source: not found | /opt/zimbra/bin/zmcreatecert: 27: source: not found | ||
Done </tt> | Done | ||
</tt> | |||
Change to using 'bash' and run install.sh and things should work: | Change to using 'bash' and run install.sh and things should work: | ||
<tt> sudo mv /bin/sh /bin/sh-old | <tt> | ||
sudo ln -s /bin/bash /bin/sh <tt> | sudo mv /bin/sh /bin/sh-old | ||
sudo ln -s /bin/bash /bin/sh | |||
</tt> | |||
(You can also rm /bin/sh according to others) | (You can also rm /bin/sh according to others) |
Revision as of 21:40, 8 March 2007
The Zimbra install scripts use 'source'.
Newer versions of Ubuntu (I think Edgy was the first) use 'dash' as the shell which doesn't have 'source'.
You will come across errors in your install log like:
Creating SSL certificate...
Running as zimbra user: cd /opt/zimbra; zmcreatecert
/opt/zimbra/bin/zmcreatecert: 27: source: not found Done
Change to using 'bash' and run install.sh and things should work:
sudo mv /bin/sh /bin/sh-old sudo ln -s /bin/bash /bin/sh
(You can also rm /bin/sh according to others)
Thanks to dudes on this forum post: http://www.zimbra.com/forums/showthread.php?t=6969&highlight=Initializing+ldap+TLS+error