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 21st September 2005, 11:59
Hellbound Hellbound is offline
Senior Member
 
Join Date: Sep 2005
Posts: 116
Thanks: 4
Thanked 1 Time in 1 Post
Default mysql password during installation

hi guys
my first installation of ispconfig failed however the /home/admispconfig is exist which seems to be incompleted, at least its missing spamassasin,

anyhow I tried to re-install the ispconfig and it doesn't ask the mysql password second time as I can't re-enter the installaiton will lead to failure as below.

I'm a total newbie in linux enviroment so may be something very simple for you.

thanks

Code:
########## INSTALLATION ##########

Preparing files. Please wait a moment...
cp: cannot stat `/home/admispconfig/ispconfig/lib/config.inc.php': No such file or directory
cp: cannot stat `/home/admispconfig/ispconfig/users': No such file or directory
cp: cannot stat `/home/admispconfig/ispconfig/adminmail.txt': No such file or directory
All prerequisites are fulfilled.
Here we go...


Warning: main(config.inc.php): failed to open stream: No such file or directory in /home/mohd/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/mohd/install_ispconfig/install.php on line 624

Warning: mysql_connect(): Access denied for user 'root'@'localhost' (using password: NO) in /home/mohd/install_ispconfig/install.php on line 634
Could not connect to db
Restarting some services...
httpd not running, trying to start
(98)Address already in use: make_sock: could not bind to address [::]:80
no listening sockets available, shutting down
Unable to open logs
./setup2: line 883: [: ==: unary operator expected
./setup2: line 901: /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.

[root@host install_ispconfig]#
Reply With Quote
Sponsored Links
  #2  
Old 21st September 2005, 12:07
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,041
Thanks: 826
Thanked 5,384 Times in 4,231 Posts
Default

Before you can reinstall ISPConfig, you must delete the failed installation parts.

rm -rf /root/ispconfig
rm -rf /home/admispconfig

The unpack the installer tar.gz file again and run the setup script.
Reply With Quote
  #3  
Old 21st September 2005, 12:10
Hellbound Hellbound is offline
Senior Member
 
Join Date: Sep 2005
Posts: 116
Thanks: 4
Thanked 1 Time in 1 Post
Default

thanks dude,
will do now.
Reply With Quote
  #4  
Old 21st September 2005, 18:47
c0d3x42 c0d3x42 is offline
Junior Member
 
Join Date: Sep 2005
Location: Earth
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to c0d3x42
Default password not accepted

I had a similar problem, and re-installing did not help. In the end i had to temporarily set the mysql root users password to an empty string. Then i started the install from scratch again and it worked fine.

FYI, the neccessary SQL on my Debian/sarge box was:

update user set password='' where user='root' and host='localhost';
flush privileges;
I would recommend setting this back to a sane and secure value afterwards. You'll also need to edit the ispconfig files to reflect this change.
Reply With Quote
  #5  
Old 21st September 2005, 18:52
Hellbound Hellbound is offline
Senior Member
 
Join Date: Sep 2005
Posts: 116
Thanks: 4
Thanked 1 Time in 1 Post
 
Default

thanks dude
the issue was solved after deleting those two folder, ispconfig is runing now

thanks.
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
Installation: in-putting your website bosei Installation/Configuration 16 20th November 2008 13:35
MySQL issue during install of ISPConfig ricbax Installation/Configuration 4 16th September 2005 09:41
ERROR: The URL is not reachable! The installation routine stops here! shart Installation/Configuration 4 2nd September 2005 09:07
Changing values on ISPConfig installation Luciano Installation/Configuration 4 16th August 2005 23:32
Mysql ejs Installation/Configuration 5 12th August 2005 07:01


All times are GMT +2. The time now is 10:17.


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