Steve’s Ubuntu Weblog

Mainly (but not only) about Ubuntu

XAMPP in Ubuntu. “/opt/lampp/bin/mysql.server: 84: source: not found.”

I am having a problem installing XAMPP because I have an Apache server already running, I will give details of how I get around this after I have fixed it. Meanwhile every time I started XAMPP with sudo /opt/lampp/lampp restart I got the following warning:

/opt/lampp/bin/mysql.server: 84: source: not found.

It turns out to be the old dash/bash problem that I wrote about over 3 years ago here

The solution is to change #!/bin/sh to #!/bin/bash in /opt/lampp/bin/mysql.server using Gedit sudo gedit /opt/lampp/bin/mysql.server

21 November, 2010 Posted by | Ubuntu | , , , , , , , | 6 Comments