#1  
Old 10th August 2005, 05:01
latcarf latcarf is offline
Senior Member
 
Join Date: Jul 2005
Posts: 215
Thanks: 0
Thanked 1 Time in 1 Post
Default Where to Install

I reinstalled FC4 and then proceeded to install ISPConfig but it experienced problems at the end
Code:
Warning: main(config.inc.php): failed to open stream: No such file or directory in /home/install_ispconfig/install.php on line 624

Warning: main(): Failed opening 'config.inc.php' for inclusion (include_path='.:/root/ispconfig/php/lib/php') in /home/install_ispconfig/install.php on line 624

Warning: mysql_connect(): Access denied for user 'root'@'localhost' (using password: NO) in /home/install_ispconfig/install.php on line 634
Could not connect to db
Restarting some services...
./setup2: line 831: [: ==: unary operator expected
./setup2: line 849: /etc/rc.d/init.d/ispconfig_server: No such file or directory
Congratulations! Your ISPConfig system is now installed. If you had to install quota, please take the steps described in the installation manual. Otherwise your system is now available without reboot.
Despite the last line it won't go to the login page. It worked on the previous install but I think I may have installed it from the wrong directory this time.

What directory should ISPConfig be installed from/on?

Will #apt-get remove ispconfig# remove the current intall?
Reply With Quote
Sponsored Links
  #2  
Old 10th August 2005, 08:45
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts
Default

Quote:
Originally Posted by latcarf
I reinstalled FC4 and then proceeded to install ISPConfig but it experienced problems at the end
Code:
Warning: main(config.inc.php): failed to open stream: No such file or directory in /home/install_ispconfig/install.php on line 624

Warning: main(): Failed opening 'config.inc.php' for inclusion (include_path='.:/root/ispconfig/php/lib/php') in /home/install_ispconfig/install.php on line 624

Warning: mysql_connect(): Access denied for user 'root'@'localhost' (using password: NO) in /home/install_ispconfig/install.php on line 634
Could not connect to db
Restarting some services...
./setup2: line 831: [: ==: unary operator expected
./setup2: line 849: /etc/rc.d/init.d/ispconfig_server: No such file or directory
Congratulations! Your ISPConfig system is now installed. If you had to install quota, please take the steps described in the installation manual. Otherwise your system is now available without reboot.
Despite the last line it won't go to the login page. It worked on the previous install but I think I may have installed it from the wrong directory this time.

What directory should ISPConfig be installed from/on? ?
You can install it from any directory, as long as you first enter the install_ispconfig directory and then start the setup like this
Code:
./setup
from inside the directory.

I assume you got this error because you tried to install ISPConfig before and that install was interrupted and you dont have extracted the installer tar.gz again.

Quote:
Originally Posted by latcarf
Will #apt-get remove ispconfig# remove the current intall?
To uninstall ISPConfig, run the following script:

Code:
/root/ispconfig/uninstall
If the uninstall script is not there, you can delete the following directorys manually:

Code:
rm -rf /root/ispconfig
rm -rf /home/admispconfig
Reply With Quote
  #3  
Old 10th August 2005, 10:53
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

Quote:
Originally Posted by till
I assume you got this error because you tried to install ISPConfig before and that install was interrupted and you dont have extracted the installer tar.gz again.
Yes, don't do a second install from the same install_ispconfig directory. Delete this install_ispconfig directory, and then you _must_ unpack the ISPConfig tar.gz again. Then go to the new install_ispconfig and run

Code:
./setup
__________________
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
  #4  
Old 10th August 2005, 12:40
latcarf latcarf is offline
Senior Member
 
Join Date: Jul 2005
Posts: 215
Thanks: 0
Thanked 1 Time in 1 Post
Default

thanks till, falko...

Lance
Reply With Quote
  #5  
Old 11th August 2005, 01:05
latcarf latcarf is offline
Senior Member
 
Join Date: Jul 2005
Posts: 215
Thanks: 0
Thanked 1 Time in 1 Post
Default

My ISPConfig keeps stopping at the mySQL login ;
Code:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
ERROR: The provided MySQL password is wrong! The installation routine stops here!
Should my mySQL user be "server1" since that is the subdomain name for this computer?

I don't recall setting a user name specific to MySQL when Ioaded it. I did write down the passwords, keys, passes, and challenges so I am sure I have that part correct.

I enetered localhost for MySQL server: and root for MySQL user;. When I log into the console as root it is shows as [root@server1].

Lance

p.s. can I use #mysqladmin -u root password mypassword
to reset the password just in case...

Last edited by latcarf; 11th August 2005 at 01:14.
Reply With Quote
  #6  
Old 11th August 2005, 02:04
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

Quote:
Originally Posted by latcarf
My ISPConfig keeps stopping at the mySQL login ;
Code:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
ERROR: The provided MySQL password is wrong! The installation routine stops here!
Should my mySQL user be "server1" since that is the subdomain name for this computer?

I don't recall setting a user name specific to MySQL when Ioaded it. I did write down the passwords, keys, passes, and challenges so I am sure I have that part correct.

I enetered localhost for MySQL server: and root for MySQL user;. When I log into the console as root it is shows as [root@server1].
User root should be correct, but you need a password for the MySQL user root (which is different from the system user root!).


Quote:
Originally Posted by latcarf
p.s. can I use #mysqladmin -u root password mypassword
to reset the password just in case...
Code:
mysqladmin -u root password mypassword
works only if you haven't set a password before. Otherwise it's
Code:
mysqladmin -u root -pcurrentpassword password mypassword
so you need your password again...
__________________
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
  #7  
Old 11th August 2005, 02:22
latcarf latcarf is offline
Senior Member
 
Join Date: Jul 2005
Posts: 215
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by falko
User root should be correct, but you need a password for the MySQL user root (which is different from the system user root!).




Code:
mysqladmin -u root password mypassword
works only if you haven't set a password before. Otherwise it's
Code:
mysqladmin -u root -pcurrentpassword password mypassword
so you need your password again...
well I wrote it down and it is familar to me but it does not seem to be working I did a restart on mysqld and it stopped ok but starting timed out and failed. Is it possible to uninstall MySQL and reinstall?
Reply With Quote
  #8  
Old 11th August 2005, 04:54
latcarf latcarf is offline
Senior Member
 
Join Date: Jul 2005
Posts: 215
Thanks: 0
Thanked 1 Time in 1 Post
Default

p.s. the command line to uninstall would help! Then I should be able to reinstall using the HowTo, correct?
Reply With Quote
  #9  
Old 11th August 2005, 10:58
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

Quote:
Originally Posted by latcarf
p.s. the command line to uninstall would help! Then I should be able to reinstall using the HowTo, correct?
You could try
Code:
yum remove mysql mysql-devel mysql-server
and then
Code:
yum install mysql mysql-devel mysql-server
but I don't know if this will work for you...
__________________
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
  #10  
Old 11th August 2005, 23:18
latcarf latcarf is offline
Senior Member
 
Join Date: Jul 2005
Posts: 215
Thanks: 0
Thanked 1 Time in 1 Post
 
Default

well that uninstalled it, at least 4 components as the console stated. I reinstalled but got the same error when I used

# mysqladmin -u root password ********

got this

# Access denied for user 'root'@'localhost' (using password: NO)

Difference is (using password; NO) said (using password; YES) when I was installing ISPConfig.

I am now doing a fresh install of FC4. If all else fails I will be very proficient at installing FC4

Just to be sure, when using The Perfect Install of FC4 HowTo and we enter

# mysqladmin -u root password yourrootsqlpassword

the only thing we need to change is "yourrootsqlpassword"?

"localhost" will always work for mySQL server name, and

"root" will always work for mySQL user on a fresh install of FC4 and ISPConfig?
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
Error trying to install - on RH9 bgarlock Installation/Configuration 7 17th August 2005 11:43
Fresh Install of FC4 using Perfect Install HowTo latcarf HOWTO-Related Questions 21 10th August 2005 23:55
Why install from source instead of debian packages? TheMike HOWTO-Related Questions 3 27th July 2005 11:40
can i install horde/imp with ispconfig Venkatesh.S Installation/Configuration 1 26th July 2005 20:54
Install Debian Sarge with Kernel 2.6 root Installation/Configuration 4 10th May 2005 11:51


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


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