Difference between revisions of "Ubuntu 6.10 (Edgy Eft) Shell Changes"

Line 4: Line 4:
  
 
You will come across errors in your install log like:   
 
You will come across errors in your install log like:   
 
 
<tt>
 
 
  Creating SSL certificate...
 
  Creating SSL certificate...
 
  *** Running as zimbra user: cd /opt/zimbra; zmcreatecert  
 
  *** Running as zimbra user: cd /opt/zimbra; zmcreatecert  
Line 12: Line 9:
 
  /opt/zimbra/bin/zmcreatecert: 27: source: not found
 
  /opt/zimbra/bin/zmcreatecert: 27: source: not found
 
  Done
 
  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:
 
+
sudo mv /bin/sh /bin/sh-old
<tt>
+
sudo ln -s /bin/bash /bin/sh  
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:41, 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

Jump to: navigation, search