Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 9th January 2006, 17:06
Nejko Nejko is offline
Senior Member
 
Join Date: Jan 2006
Posts: 132
Thanks: 0
Thanked 0 Times in 0 Posts
Default MySQL installation roblem [/me sad]

Hey all!

First i would like to say huge thnx to all developers of ISPConfig!

Now my little problem

I'm runnin' FC4 (fedora core 4) wit xampp. I download ispconfig, unrar it, go to shell and write ./setup . It asks me couple questions... etc etc, everything ok, till it comes to mysql chech. I have definly installed mysq on my server, it's just that ISPConfig installation do not recognize it. It gie this error:

########## MYSQL SERVER ##########

Checking for package MySQL...
which: no mysql in
(/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/
bin:/usr/bin:/usr/X11R6/bin:/usr/local/libexec)
ERROR: mysql not found!
[root@localhost kontrola]#

I guess problem is in the file which checks for mysql. It is searching dir's where default(spelling? :S)

(/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/
bin:/usr/bin:/usr/X11R6/bin:/usr/local/libexec)

My mysql is in /opt/lampp/etc...

Where can i fix my problem?

Thanx for all your answers!


//Nejc
Reply With Quote
Sponsored Links
  #2  
Old 9th January 2006, 18:56
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

The problem is that you have a non-standard installation.

You can try to create a symlink to your mysql binary like this:

Code:
ln -s /path/to/mysql /usr/bin/mysql
I don't know if this helps. I'd recommend that you have a look at this tutorial: http://www.howtoforge.com/perfect_setup_fedora_core_4
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 9th January 2006, 19:15
Nejko Nejko is offline
Senior Member
 
Join Date: Jan 2006
Posts: 132
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hey, tnx for reply!

But i don't know what u mean with that symlink i'm quite a newbie to whole linux scene, so i raither installed xampp, which does all the dirty work. Can u be plz more specific about symlink stuff?

Keep up good work!

edit: i don't work

Last edited by Nejko; 9th January 2006 at 20:06.
Reply With Quote
  #4  
Old 9th January 2006, 20:51
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,202
Thanks: 829
Thanked 5,420 Times in 4,262 Posts
Default

The problem with packages like xampp is, that they install linux applications in uncommon places. It might be that you encounter other errors later.

The best way to install ISPConfig is to follow one of the howtos on howtoforge that prepare your linux server for ISPConfig. They where written as copy and paste howtos so that even beginners can follow them easily.

To your problem with the symlink, if i understand the xampp docs right, the symlink must be:

Code:
ln -s /opt/lampp/bin/mysql /usr/bin/mysql
But its untested because i dont have xampp installed.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 9th January 2006, 21:12
Nejko Nejko is offline
Senior Member
 
Join Date: Jan 2006
Posts: 132
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i did it as u said, but still not working
Reply With Quote
  #6  
Old 9th January 2006, 21:22
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,202
Thanks: 829
Thanked 5,420 Times in 4,262 Posts
Default

ISPConfig has been never tested with xampp. I recommend that you setup your server again with one of the howtos. You can find a list at the bottom of this page:

http://www.ispconfig.org/documentation.htm

Someone who is really familar with linux might get xampp to work with ISPCOnfig, but for beginners the howtos are the better and easier way.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 10th January 2006, 06:26
Nejko Nejko is offline
Senior Member
 
Join Date: Jan 2006
Posts: 132
Thanks: 0
Thanked 0 Times in 0 Posts
Default

so there's no way to get this working? cuz everything now worrks ok, so don't wan't to reinstall
Reply With Quote
  #8  
Old 10th January 2006, 11:00
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,202
Thanks: 829
Thanked 5,420 Times in 4,262 Posts
Default

Quote:
Originally Posted by Nejko
so there's no way to get this working? cuz everything now worrks ok, so don't wan't to reinstall
How did you know that everything works ok with ISPConfig or will be at least working with ISPConfig at all before you got ISPConfig installed? The problematic part is in most cases the postfix setup, not mySQL and apache. And the paths to all config files are incorrect when you install the files with xampp so you will have to tweak the ISPConfig settings to get everything to work properly.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #9  
Old 10th January 2006, 13:22
Nejko Nejko is offline
Senior Member
 
Join Date: Jan 2006
Posts: 132
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hmm, is there any file, where can i change where to look for mysql?
Reply With Quote
  #10  
Old 10th January 2006, 13:49
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,202
Thanks: 829
Thanked 5,420 Times in 4,262 Posts
 
Default

install_isconfig/setup and install_isconfig/setup2
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mandriva 10.2 Perfect Setup Install Problems... ctroyp Installation/Configuration 12 30th December 2005 16:04
Installation failing on mysql benkong2 Installation/Configuration 1 5th November 2005 00:24
Problem installing ISPConfig, then with MySQL... ctroyp Installation/Configuration 7 26th September 2005 16:37
mysql password during installation Hellbound Installation/Configuration 4 21st September 2005 18:52
MySQL issue during install of ISPConfig ricbax Installation/Configuration 4 16th September 2005 09:41


All times are GMT +2. The time now is 09:23.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.