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 25th April 2010, 19:36
X-admin X-admin is offline
Member
 
Join Date: Jun 2009
Posts: 31
Thanks: 8
Thanked 0 Times in 0 Posts
Default Error when install ISPConfig 2 with components built from source

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. You can compile Apache and PHP the way you like
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 by X-admin; 25th April 2010 at 19:40.
Reply With Quote
Sponsored Links
  #2  
Old 25th April 2010, 20:52
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,059
Thanks: 826
Thanked 5,393 Times in 4,237 Posts
Default

Quote:
With ISPConfig 2.2.35 install folder, i execute file install.php
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.

Quote:
Before install ISPConfig, all my website running very well with my installations
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.

Quote:
Can i install ISPConfig with components built from scratch, what specification we will notice?
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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.

Last edited by till; 25th April 2010 at 20:57.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
X-admin (26th April 2010)
  #3  
Old 26th April 2010, 10:56
X-admin X-admin is offline
Member
 
Join Date: Jun 2009
Posts: 31
Thanks: 8
Thanked 0 Times in 0 Posts
Default

Many thanks Till
So, all i have to do is reinstall whole my server
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 by X-admin; 26th April 2010 at 11:04.
Reply With Quote
  #4  
Old 27th April 2010, 14:44
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Which distribution do you use?
__________________
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
  #5  
Old 28th April 2010, 10:19
X-admin X-admin is offline
Member
 
Join Date: Jun 2009
Posts: 31
Thanks: 8
Thanked 0 Times in 0 Posts
Default

Hi Falko!

I use Centos 5.4
Reply With Quote
  #6  
Old 30th April 2010, 13:22
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

Please use this guide to set up the server: http://www.howtoforge.com/perfect-se...64-ispconfig-2

I guess you used the ISPConfig 3 guide instead...
__________________
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
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
Frustrated with ISPConfig Install V2.2.29 bcaza Installation/Configuration 16 10th March 2009 10:39
ISPConfig installation into multiple OpenVZ containers letezo Installation/Configuration 11 3rd March 2009 22:47
can't help ispconfig to install please help steve51184 Installation/Configuration 17 20th February 2009 10:37
ISPConfig install error clabrown Installation/Configuration 6 4th January 2007 16:46
Upgrade from 2.2.0 to 2.2.1 successful but SSL and IMAP stopped working teleriddler Installation/Configuration 8 29th April 2006 14:25


All times are GMT +2. The time now is 12:53.


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