![]() |
Unable to install ISPConfig
Hello,
I am following "The Perfect Server - CentOS 5.2" tutorial except I have CentOS 5.3 installed. I'm at the final steps of installing ISPConfig and when i attempt to run install.php I get the following errors before the install breaks: Code:
PHP Notice: Undefined variable: distver in /tmp/ispconfig3_install/install/lib/install.lib.php on line 135 |
Try this:
1) Run: rm -rf /tmp/trunk 2) Download ISPConfig3 again, and run the uninstall.php script (it's in the isntall folder to remove the failed install) 3) Run the install.php script. |
edit /tmp/ispconfig3_install/install/lib/install.lib.php
find this: Quote:
Quote:
|
Thank you, fhawk. That worked perfectly!
|
Installing ISPconfig3 (Centos5.3)
Quote:
The steps done were: Download ISPConfig 3xxxx from http://www.ispconfig.org/downloads.htm rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY* yum update yum groupinstall 'Development Tools' yum groupinstall 'Development Libraries' # Disable the firewall: system-config-securitylevel-tui for Centos5.3: i get an error because of the centos version. edit ispconfig3_install/install/lib/install.lib.php find this: Quote: if(stristr($content,'CentOS release 5.2 (Final)')) { $distname = 'CentOS'; $distver = '5.2'; $distid = 'centos52'; $distbaseid = 'fedora'; swriteln("Operating System: CentOS 5.2 or compatible\n"); } add after: Quote: if(stristr($content,'CentOS release 5.3 (Final)')) { $distname = 'CentOS'; $distver = '5.3'; $distid = 'centos53'; $distbaseid = 'fedora'; swriteln("Operating System: CentOS 5.3 or compatible\n"); } then copy and rename ispconfig3_install/install/dist/conf/centos52.conf.php to ispconfig3_install/install/dist/conf/centos53.conf.php copy and rename ispconfig3_install/install/dist/lib/centos52.lib.php to ispconfig3_install/install/dist/lib/centos53.lib.php Now you can install it!!! cd /ispconfig3_install/install php -q install.php after i got: # answer all questions... error: Select language (en,de) [en]: enter Installation mode (standard,expert) [standard]: enter Full qualified hostname (FQDN) of the server, eg server1.domain.tld []: server1.example.com MySQL server hostname [localhost]: enter MySQL root username [root]: enter MySQL root password []: xxxxxxxxx MySQL database to create [dbispconfig]: enter MySQL charset [utf8]: enter ERROR: Unable to load SQL-Dump into database table. I check if root can connect to mySQL Data Base: mysql -h remote.host.tld -u root -p mysql -h server1.example.com -u root -p also root can connect using phpmyadmin. I think the problem is @ : line 160 /install/lib/installer_base.lib.php It can create the DB but not the ispconfig user or any tables in the ISPconfig DBase! The options @ /tmp/trunk/install/options.conf.php need to be in an install script somehow ? Thanks |
Quote:
|
|
ISPconfig 3 (centos 5.3) ERROR: Unable to load SQL-Dump into database table.
Yes it is disabled since the begining!
|
Quote:
1) Run: rm -rf /tmp/trunk 2) Download ISPConfig3 again, and run the uninstall.php script (it's in the isntall folder to remove the failed install) 3) Run the install.php script. __________________ |
You can drop the database of named dbispconfig。
and Then configure the insallation #mysql_secure_installation install ispconfig3 again!! |
| All times are GMT +2. The time now is 05:48. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.