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 29th December 2005, 00:33
PorkFat PorkFat is offline
Junior Member
 
Join Date: Dec 2005
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default MySQL headers not in /usr directory - I just installed them!

ISPConfig is giving me a headache! I have Madriva 2006 and I have installed all the prerequisites properly using urpmi. But ISPConfig keeps complaining that the mysql headers aren't in the /usr directory. The installation program doesn't put them there, of course they're not going to be there! I have mysql server, client and devel installed but it's still not good enough.

What am I supposed to do? I've urpmi EVERYTHING that's required but I need the headers in the /usr. Please help!
Reply With Quote
Sponsored Links
  #2  
Old 29th December 2005, 00:41
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,986
Thanks: 840
Thanked 5,647 Times in 4,457 Posts
Default

Is this a 32bit or 64bit linux installation?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 29th December 2005, 00:44
PorkFat PorkFat is offline
Junior Member
 
Join Date: Dec 2005
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till
Is this a 32bit or 64bit linux installation?
This is 32bit.

Another thing is I could not do certain things in the Howto on my system:

For one, I cannot run mysqld unless it's in safe mode, or I use the "service mysqld start" command. The How to says to just type "mysqld" to make it work. But it doesn't work. It gives some error about reading a manual to learn how to run mysql as root. So I just ran the service.

I also can't do "/etc/init.d/network restart" because "network" is not even in that directory! I rebooted instead.

Also, the way they have this step: "Restart Apache: /etc/init.d/httpd restart" doesn't work! I have to type "httpd -k restart"

Why would my system be so different with the same operation system installed?

I've verified mysql installed properly, I've logged in and seen the default database is available so it's good to go. It just didn't put it's headers in /usr. I don't know how to do it.

Last edited by PorkFat; 29th December 2005 at 00:52.
Reply With Quote
  #4  
Old 29th December 2005, 00:48
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,986
Thanks: 840
Thanked 5,647 Times in 4,457 Posts
Default

Have you done all the steps in the howto as root user? Dont use sudo or any other user.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 29th December 2005, 00:51
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

Did you have a look at this tutorial? http://www.howtoforge.com/perfect_setup_mandriva_2006

It describes everything that is needed to prepare your system for the installation of ISPConfig.
__________________
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
  #6  
Old 29th December 2005, 00:52
PorkFat PorkFat is offline
Junior Member
 
Join Date: Dec 2005
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
Did you have a look at this tutorial? http://www.howtoforge.com/perfect_setup_mandriva_2006

It describes everything that is needed to prepare your system for the installation of ISPConfig.
That's exactly what I used to get this far! Unfortunately, it's no help when I do everything EXACTLY as the howto says, but it doesn't end up right.
Reply With Quote
  #7  
Old 29th December 2005, 01:09
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

Quote:
Originally Posted by PorkFat
That's exactly what I used to get this far! Unfortunately, it's no help when I do everything EXACTLY as the howto says, but it doesn't end up right.
Maybe you made some typos somewhere? Because that is exactly the setup I used, and I never had problems with it...
__________________
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
  #8  
Old 29th December 2005, 01:58
PorkFat PorkFat is offline
Junior Member
 
Join Date: Dec 2005
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
Maybe you made some typos somewhere? Because that is exactly the setup I used, and I never had problems with it...

I had no typos. I did however have an already operational mysql running before I tried to install ISPConfig. I rebooted and voila! The headers were where they were supposed to be and the install went swimmingly until...

Whammo enter your MySQL database:

I enter: mysql
But the damn thing doesn't accept my password!

It of course destroys the entire half hour setup and kicks me out. SON OF A!

I test my mysql password out right after that:

mysql -u root -p
enter password: *****

Bingo, starts right up. So why would ISPConfig not take it? There's no special characters, just a simple word.

This install is killing me! Taking up a half a day and counting and still starts back to ground zero.

*edit* Apparantly I messed this one up myself upon second look. I should have said localhost then root, then password. Another 30 minutes to go until I get back to where I was...

Last edited by PorkFat; 29th December 2005 at 02:07.
Reply With Quote
  #9  
Old 29th December 2005, 02:57
PorkFat PorkFat is offline
Junior Member
 
Join Date: Dec 2005
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Man this sucks! Now the install script thinks I'm installing an upgrade and it's calling on the WRONG password I supplied the first time and the ./setup script is completely blowing up with only 4 lines left. It tells me the install went fine even though it threw 4 huge errors right before. It can't log in to the DB because it's trying to use the wrong password and now I have to hunt down where it's storing it to change it...

Anybody know where it's kept?

ISPconfig is looking for config.inc.php, but it's not there sine the first install didn't work. Now I can't reinstall it because it was partially installed and it thinks it's upgrading. So it looks for config.inc.php and it isn't there then it errors out and the cycle begins anew...

Anyone know where I can get a config.inc.php file and edit it with the correct db_name and password?

*edit* Ah, this is EXACTLY my problem. I hope it helps my errors:

http://www.howtoforge.com/forums/showthread.php?t=182

Last edited by PorkFat; 29th December 2005 at 05:48.
Reply With Quote
  #10  
Old 29th December 2005, 10:10
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,986
Thanks: 840
Thanked 5,647 Times in 4,457 Posts
 
Default

Please read the installation manual. It is described there which directories have to be removed to reinstall ISPConfig on an unfinished prior installation.
__________________
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
Mail System doesnt work! crichton Installation/Configuration 3 18th September 2007 00:49
ERROR: The PHP binary coming with ISPConfig does not work properly on your system! qvindesland Installation/Configuration 22 21st May 2007 17:05
error while installing..... securitywonks Installation/Configuration 1 23rd December 2005 13:07
Problem installing ISPConfig, then with MySQL... ctroyp Installation/Configuration 7 26th September 2005 17:37
apache user/group won't create directory weedguy Installation/Configuration 6 20th September 2005 00:40


All times are GMT +2. The time now is 04:43.


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