View Single Post
  #6  
Old 10th April 2009, 03:37
fhawk fhawk is offline
Member
 
Join Date: Mar 2009
Posts: 39
Thanks: 2
Thanked 11 Times in 9 Posts
Default

Quote:
Originally Posted by RomaSvcs View Post
After a clean (fresh) CentOS 5.3 install. Installing ISPConfig 3 failed.

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
Do you disable SELinux???
Reply With Quote