#1  
Old 17th January 2007, 07:41
Roger Huston Roger Huston is offline
Junior Member
 
Join Date: Jan 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Just trying to install

Hello,

Obviously, I am a new Linux user. I have been struggling for the past two weeks to try and setup a LAMP system using Fedora Core 6. I followed the tutorial on this board (except I am using DHCP instead of a static IP) and got through the first steps just fine.

Next I tried installing ISPConfig and the first time it went through it got to the mysql part and it would not recognize my root password. Kept coming back and saying root@localhost not valid.

I went on the internet and searched for ways to redo it. I can get into mysql using mysql -u root -p on the command line just fine.

Now I have tried to rerun the IPConfig installer and it blows up at the same place:

All prerequisites are fulfilled.
Here we go....

Warning: include(config.inc.php): failed to open stream: No such file or directory ih /usr/local/src/install_ispconfig/install.php on line 665.

Then a couple more warnings one of them again mysql_connect(): Access denied for user 'root' @ 'localhost' (usihg password: NO)

Now, here is the strange part. I am installing from /usr/local/src and when I try and go back to the ipconfig_install directory there, nothing exists! It is like half way through the installer it deleted the entire install directory. I never get as far as trying to type in my mysql info again.

I am wondering what to do. I spent most of the day installing the OS (yum update). Should I try removing mysql and reinstalling?

- Roger
Reply With Quote
Sponsored Links
  #2  
Old 17th January 2007, 09:24
martinfst martinfst is offline
Senior Member
 
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 18 Times in 17 Posts
Send a message via MSN to martinfst Send a message via Skype™ to martinfst
Default

If the setup process of ISPConfig 'breaks', terminates with an error or similar, the setup will clean (wipe-out) the install directory. The developers did this on purpose, so did I understand.

If ISPConfig setup crashes, remove the directories /root/ispconfig and /var/www/admispconfig (the latter if you did not do expert mode install - and did not use another name for /var/www default) and remove manually the database. There are many threads here describing the precise commands. Then extract the .tar again and start from scratch.
Reply With Quote
  #3  
Old 17th January 2007, 10:02
Roger Huston Roger Huston is offline
Junior Member
 
Join Date: Jan 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you for taking the time to post. I know how to remove the directories and I will search for the command to drop the database.

- Roger
Reply With Quote
  #4  
Old 17th January 2007, 11:35
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,395
Thanks: 833
Thanked 5,490 Times in 4,322 Posts
Default

Quote:
Originally Posted by Roger Huston
Thank you for taking the time to post. I know how to remove the directories and I will search for the command to drop the database.
An easy wa to drop the database is by deeleting the database directory. Go to /var/lib/mysql/, there must be a directory with the name of your database. If you delete this directory, your database is removed.

(I know that you can do it with mysql commands too, but deleting the directory is faster
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 17th January 2007, 18:40
Roger Huston Roger Huston is offline
Junior Member
 
Join Date: Jan 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I figured it out. During my installation I used some !@# characters in my MySQL password. While it allows me to login using mysql - u root -p and typing the password in the line, when used in scripts I get a command line substitution that will break the script.

This is easy to see, when you enter your mysql password on the command line using mysql -u root -pZAQ!2wsx for example. Hit the up arrow to see if the password is the same in your history. If not, you have a problem.

Once I was able to change the root password using [A-Z][a-z][0-9] characters only, the install went perfectly.

It would be nice if in the instructions for MySQL installation that someone should mention this limitation so new people like me won't have such a hard time.

-Roger
Reply With Quote
  #6  
Old 17th January 2007, 20:31
martinfst martinfst is offline
Senior Member
 
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 18 Times in 17 Posts
Send a message via MSN to martinfst Send a message via Skype™ to martinfst
Default

Can't hurt to repeat this warning. I know there are 'at least' 5 threads with this warning recently.
Reply With Quote
  #7  
Old 17th January 2007, 20:46
Roger Huston Roger Huston is offline
Junior Member
 
Join Date: Jan 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Well, I checked through the first 5 pages before posting, I couldn't find anything. Maybe someone could update the "How To" guide at the MySQL point. I am sure that would save a lot of newbie type of questions.

- Roger
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
problem install perl modules Cirox Installation/Configuration 10 16th May 2007 16:04
VMWare Server Free License - Invalid bardgd HOWTO-Related Questions 6 19th November 2006 17:50
install Net::DNS chrno Installation/Configuration 4 5th September 2006 17:01
/usr/bin/make install install HTML::Parser -- NOT OK oddo Installation/Configuration 4 14th March 2006 18:32
Mandriva 10.2 Perfect Setup Install Problems... ctroyp Installation/Configuration 12 30th December 2005 16:04


All times are GMT +2. The time now is 00:18.


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