Error when install ISPConfig 2 with components built from source

Discussion in 'Installation/Configuration' started by X-admin, Apr 25, 2010.

  1. X-admin

    X-admin New Member

    Hi all!

    I'm very confuse when install ISPConfig with MySQL (install with RPM packages for RHEL on dev.mysql.com ), Apche (built from source with layout=RedHat), PHP (built with apxs, mysql and some packages for another php modules)

    With ISPConfig 2.2.35 install folder, i execute file install.php
    Code:
    /usr/local/bin/php install.php
    
    and it shows alot of errors
    Code:
    PHP Warning:  fopen(mysql_config): failed to open stream: No such file or directory in /tmp/install_ispconfig/install.php on line 91
    PHP Warning:  filesize(): stat failed for mysql_config in /tmp/install_ispconfig/install.php on line 92
    PHP Warning:  fclose() expects parameter 1 to be resource, boolean given in /tmp/install_ispconfig/install.php on line 97
    PHP Notice:  Undefined offset: 10 in /tmp/install_ispconfig/install.php on line 340
    PHP Notice:  Undefined offset: 9 in /tmp/install_ispconfig/install.php on line 340
    PHP Notice:  Undefined offset: 8 in /tmp/install_ispconfig/install.php on line 340
    PHP Notice:  Undefined offset: 7 in /tmp/install_ispconfig/install.php on line 340
    PHP Notice:  Undefined offset: 6 in /tmp/install_ispconfig/install.php on line 340
    PHP Notice:  Undefined offset: 5 in /tmp/install_ispconfig/install.php on line 340
    PHP Notice:  Undefined offset: 4 in /tmp/install_ispconfig/install.php on line 340
    PHP Notice:  Undefined offset: 3 in /tmp/install_ispconfig/install.php on line 340
    PHP Notice:  Undefined offset: 2 in /tmp/install_ispconfig/install.php on line 340
    PHP Notice:  Undefined offset: 1 in /tmp/install_ispconfig/install.php on line 340
    PHP Warning:  fopen(/root/ispconfig/dist.info): failed to open stream: No such file or directory in /tmp/install_ispconfig/install.php on line 91
    PHP Warning:  filesize(): stat failed for /root/ispconfig/dist.info in /tmp/install_ispconfig/install.php on line 92
    PHP Warning:  fclose() expects parameter 1 to be resource, boolean given in /tmp/install_ispconfig/install.php on line 97
    <?
    
    ?>PHP Notice:  Undefined variable: dist_passwd in /tmp/install_ispconfig/install.php on line 360
    PHP Notice:  Undefined variable: dist_shadow in /tmp/install_ispconfig/install.php on line 361
    PHP Notice:  Undefined variable: dist_group in /tmp/install_ispconfig/install.php on line 362
    PHP Notice:  Undefined variable: dist_init_scripts in /tmp/install_ispconfig/install.php on line 366
    PHP Notice:  Undefined variable: dist_init_scripts in /tmp/install_ispconfig/install.php on line 367
    PHP Warning:  fopen(): Filename cannot be empty in /tmp/install_ispconfig/install.php on line 91
    PHP Warning:  fclose() expects parameter 1 to be resource, boolean given in /tmp/install_ispconfig/install.php on line 97
    PHP Warning:  fopen(): Filename cannot be empty in /tmp/install_ispconfig/install.php on line 91
    PHP Warning:  fclose() expects parameter 1 to be resource, boolean given in /tmp/install_ispconfig/install.php on line 97
    PHP Notice:  Undefined variable: uids in /tmp/install_ispconfig/install.php on line 493
    PHP Warning:  fopen(): Filename cannot be empty in /tmp/install_ispconfig/install.php on line 91
    PHP Warning:  fclose() expects parameter 1 to be resource, boolean given in /tmp/install_ispconfig/install.php on line 97
    PHP Notice:  Undefined variable: gids in /tmp/install_ispconfig/install.php on line 509
    PHP Warning:  fopen(): Filename cannot be empty in /tmp/install_ispconfig/install.php on line 91
    PHP Warning:  fclose() expects parameter 1 to be resource, boolean given in /tmp/install_ispconfig/install.php on line 97
    PHP Warning:  fopen(): Filename cannot be empty in /tmp/install_ispconfig/install.php on line 91
    PHP Warning:  fclose() expects parameter 1 to be resource, boolean given in /tmp/install_ispconfig/install.php on line 97
    PHP Warning:  fopen(): Filename cannot be empty in /tmp/install_ispconfig/install.php on line 110
    PHP Warning:  fwrite() expects parameter 1 to be resource, boolean given in /tmp/install_ispconfig/install.php on line 111
    PHP Warning:  fclose() expects parameter 1 to be resource, boolean given in /tmp/install_ispconfig/install.php on line 112
    PHP Warning:  fopen(): Filename cannot be empty in /tmp/install_ispconfig/install.php on line 91
    PHP Warning:  fclose() expects parameter 1 to be resource, boolean given in /tmp/install_ispconfig/install.php on line 97
    PHP Notice:  Undefined variable: new_lines in /tmp/install_ispconfig/install.php on line 140
    PHP Warning:  fopen(): Filename cannot be empty in /tmp/install_ispconfig/install.php on line 103
    PHP Warning:  fwrite() expects parameter 1 to be resource, boolean given in /tmp/install_ispconfig/install.php on line 104
    PHP Warning:  fclose() expects parameter 1 to be resource, boolean given in /tmp/install_ispconfig/install.php on line 105
    PHP Warning:  fopen(): Filename cannot be empty in /tmp/install_ispconfig/install.php on line 110
    PHP Warning:  fwrite() expects parameter 1 to be resource, boolean given in /tmp/install_ispconfig/install.php on line 111
    PHP Warning:  fclose() expects parameter 1 to be resource, boolean given in /tmp/install_ispconfig/install.php on line 112
    PHP Warning:  fopen(): Filename cannot be empty in /tmp/install_ispconfig/install.php on line 91
    PHP Warning:  fclose() expects parameter 1 to be resource, boolean given in /tmp/install_ispconfig/install.php on line 97
    PHP Warning:  fopen(): Filename cannot be empty in /tmp/install_ispconfig/install.php on line 91
    PHP Warning:  fclose() expects parameter 1 to be resource, boolean given in /tmp/install_ispconfig/install.php on line 97
    PHP Warning:  fopen(): Filename cannot be empty in /tmp/install_ispconfig/install.php on line 110
    PHP Warning:  fwrite() expects parameter 1 to be resource, boolean given in /tmp/install_ispconfig/install.php on line 111
    PHP Warning:  fclose() expects parameter 1 to be resource, boolean given in /tmp/install_ispconfig/install.php on line 112
    PHP Warning:  fopen(): Filename cannot be empty in /tmp/install_ispconfig/install.php on line 91
    PHP Warning:  fclose() expects parameter 1 to be resource, boolean given in /tmp/install_ispconfig/install.php on line 97
    PHP Notice:  Undefined variable: new_lines in /tmp/install_ispconfig/install.php on line 140
    PHP Warning:  fopen(): Filename cannot be empty in /tmp/install_ispconfig/install.php on line 103
    PHP Warning:  fwrite() expects parameter 1 to be resource, boolean given in /tmp/install_ispconfig/install.php on line 104
    PHP Warning:  fclose() expects parameter 1 to be resource, boolean given in /tmp/install_ispconfig/install.php on line 105
    PHP Warning:  fopen(): Filename cannot be empty in /tmp/install_ispconfig/install.php on line 110
    PHP Warning:  fwrite() expects parameter 1 to be resource, boolean given in /tmp/install_ispconfig/install.php on line 111
    PHP Warning:  fclose() expects parameter 1 to be resource, boolean given in /tmp/install_ispconfig/install.php on line 112
    PHP Warning:  fopen(): Filename cannot be empty in /tmp/install_ispconfig/install.php on line 91
    PHP Warning:  fclose() expects parameter 1 to be resource, boolean given in /tmp/install_ispconfig/install.php on line 97
    PHP Notice:  Undefined variable: new_lines in /tmp/install_ispconfig/install.php on line 140
    PHP Warning:  fopen(): Filename cannot be empty in /tmp/install_ispconfig/install.php on line 103
    PHP Warning:  fwrite() expects parameter 1 to be resource, boolean given in /tmp/install_ispconfig/install.php on line 104
    PHP Warning:  fclose() expects parameter 1 to be resource, boolean given in /tmp/install_ispconfig/install.php on line 105
    PHP Warning:  fopen(): Filename cannot be empty in /tmp/install_ispconfig/install.php on line 110
    PHP Warning:  fwrite() expects parameter 1 to be resource, boolean given in /tmp/install_ispconfig/install.php on line 111
    PHP Warning:  fclose() expects parameter 1 to be resource, boolean given in /tmp/install_ispconfig/install.php on line 112
    PHP Warning:  fopen(): Filename cannot be empty in /tmp/install_ispconfig/install.php on line 91
    PHP Warning:  fclose() expects parameter 1 to be resource, boolean given in /tmp/install_ispconfig/install.php on line 97
    PHP Notice:  Undefined variable: uids in /tmp/install_ispconfig/install.php on line 493
    PHP Warning:  fopen(): Filename cannot be empty in /tmp/install_ispconfig/install.php on line 91
    PHP Warning:  fclose() expects parameter 1 to be resource, boolean given in /tmp/install_ispconfig/install.php on line 97
    PHP Notice:  Undefined variable: gids in /tmp/install_ispconfig/install.php on line 509
    PHP Warning:  fopen(): Filename cannot be empty in /tmp/install_ispconfig/install.php on line 91
    PHP Warning:  fclose() expects parameter 1 to be resource, boolean given in /tmp/install_ispconfig/install.php on line 97
    groupadd: group ispconfigend exists
    PHP Warning:  fopen(): Filename cannot be empty in /tmp/install_ispconfig/install.php on line 91
    PHP Warning:  fclose() expects parameter 1 to be resource, boolean given in /tmp/install_ispconfig/install.php on line 97
    useradd: user ispconfigend exists
    PHP Notice:  Undefined variable: dist in /tmp/install_ispconfig/install.php on line 639
    PHP Warning:  include(config.inc.php): failed to open stream: No such file or directory in /tmp/install_ispconfig/install.php on line 679
    PHP Warning:  include(): Failed opening 'config.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /tmp/install_ispconfig/install.php on line 679
    PHP Notice:  Undefined variable: go_info in /tmp/install_ispconfig/install.php on line 697
    PHP Notice:  Undefined variable: go_info in /tmp/install_ispconfig/install.php on line 698
    PHP Notice:  Undefined index: scheme in /tmp/install_ispconfig/install.php on line 700
    PHP Notice:  Undefined variable: go_info in /tmp/install_ispconfig/install.php on line 702
    PHP Notice:  Undefined variable: go_info in /tmp/install_ispconfig/install.php on line 703
    PHP Notice:  Undefined variable: go_info in /tmp/install_ispconfig/install.php on line 704
    PHP Notice:  Undefined variable: go_info in /tmp/install_ispconfig/install.php on line 705
    PHP Warning:  mysql_connect(): Access denied for user 'root'@'localhost' (using password: NO) in /tmp/install_ispconfig/install.php on line 706
    Could not connect to db 
    
    Before install ISPConfig, all my website running very well with my installations
    Mysql 5.1.45
    Apache 2.2.15
    php 5.3.2
    I have serach and found that:
    Code:
    The ISPConfig Apche webserver is installed in parallel with your existing Apache installation. The ISPConfig apache is only used for the controlpanel. The hosted webpages are served by the Apache that ships with your linux distribution.
    
    This means you do not have to compile special modules into your Apache in order to work with ISPConfig. [I][COLOR="Red"]You can compile Apache and PHP the way you like[/COLOR][/I]
    
    So i have a questions: Can i install ISPConfig with components built from scratch, what specification we will notice?
    Thanks for any suggest, i have spent too much time for this
     
    Last edited: Apr 25, 2010
  2. till

    till Super Moderator

    You can not install ispconfig like this. Please follow the installation instructions, ispconfig 2 is installed by executing the "setup" shell script and not by running any of the php files manually.

    ISPConfig can not be installed on systems that host already websites. Please format the server and reinstall it by following exactly the perfect server guide for ispconfig 2.

    As long as your packages use 100% exactly the same paths for binarys locations and config file locations then the ones that the linux distribution delivers, then you can compile them manually of course. But it does not really make sense to compile them then of course.

    For example PHP in /usr/local/bin/php is a no go, as the php of the linux distribution is normally not in that place.
     
    Last edited: Apr 25, 2010
  3. X-admin

    X-admin New Member

    Many thanks Till
    So, all i have to do is reinstall whole my server:confused:
    But i want to know if i make all MySQL, APache, PHP as RPM packages, and install them as the guide in perfect server
    Could I install them with ISPConfig
     
    Last edited: Apr 26, 2010
  4. falko

    falko Super Moderator

    Which distribution do you use?
     
  5. X-admin

    X-admin New Member

    Hi Falko!

    I use Centos 5.4
     
  6. falko

    falko Super Moderator

Share This Page