Page 1 of 1

error in mysql.server

PostPosted: 28. October 2006 04:47
by yatin
I am using kubuntu... I had xampp 1.5.3a installed in kubuntu 6.06 without problems.

then i upgraded to kubuntu 6.10 (i did a complete reinstall).

i tried to install xampp 1.5.4a (following the directions on the xampp website and doing it as root).. However, now i get this error:

Code: Select all
root@yatin-desktop:~# /opt/lampp/lampp start
Starting XAMPP for Linux 1.5.4a...
XAMPP: Starting Apache with SSL (and PHP5)...
/opt/lampp/bin/mysql.server: 84: source: not found
XAMPP: Starting MySQL...
XAMPP: Starting ProFTPD...
XAMPP for Linux started.
root@yatin-desktop:~# /opt/lampp/bin/mysql.server: 334: log_success_msg: not found

root@yatin-desktop:~#


after this, when i go to localhost and click on status, it says mysql is activated, so i dont know if this is a false error message or not.

i tried installing 1.5.3a on the kubuntu 6.10 with the same error...
any help is appreciated

thank you

PostPosted: 30. October 2006 12:22
by Loic78
sudo gedit /opt/lampp/bin/mysql.server

change
#!/bin/sh

to
#!/bin/bash

PostPosted: 31. October 2006 11:49
by Kristian Marcroft
Hi,

the Ubuntu Developers have changed the edfault Symlink from /bin/sh to /bin/dash (prior it was /bin/bash).

Due to this major change, alot of Scripts that have /bin/sh as a SheBang no longer work.

There are two ways to solve this:

1.) change all the SheBang's of all scripts to /bin/bash
2.) remove the Symlink to /bin/dash and replace it with a link to /bin/bash

The next release will have a fix for this issue.

Regards,

problem solved

PostPosted: 01. November 2006 00:08
by yatin
Thanks to both Kristian Marcroft and Loic78.
THe problem is now solved :)

PostPosted: 04. December 2006 14:19
by sf
Thanks for sloving this for me! i had the same problem :) luckly i found this page fast on goolge.