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 30th January 2009, 00:34
anushanw anushanw is offline
Junior Member
 
Join Date: Jan 2009
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Red face Installation errors: no apache, apache2, etc. & fsockopen()

I was installing ISPConfig3. I was able to complete all of the required
steps until I actually start to install ispconfig from install.php file.
When I type in the command "php -q install.php" it gives me the following
errors.

which: no apache in
(/sbin:/user/sbin:/usr/local/sbin:/root/bin:/urs/local/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/opt/kde3/bin:/usr/lib/jv,/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin)

also I get the same error repeated with the following in the place of
"apache" and the same paths as mentioned above
apache2, httpd, couriertcpd, saslauthd, amavisd-new, jk_chrootsh.

when I continue with the installation it lets me enter the necessary
information then it installs it but gives me the following error.

PHP Warning: call-time pass-by-referance has been deprecated; If you would
like to pass it by reference, modify the declaration of fsockopen(). if you
would like to enable call-time pass-by-reference, you can set
allow_call-time_pass_reference to true in your INI files in
/usr/local/ispconfig/server/mods-available/monitor_core_module.inc.php on
line 1236
this message is repeated again and then it is repeated twice again with the
line number 1248

when I restart my computer it shows an error on xconsole saying "error
connecting to MySQL server at localhost: can't connect to local MySQL server
through socket '/var/lib/mysql/mysql.sock' (2) (errno=2)

I have zero clue what's going on.
Reply With Quote
Sponsored Links
  #2  
Old 30th January 2009, 11:58
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,083
Thanks: 826
Thanked 5,397 Times in 4,241 Posts
Default

This means that you dont have apache installed and some other deamons like mysql are missing too. Please follow exactly the installation instructions for ispconfig 3 which can be found in the ispconfig3 tar.gz file to prepare your server befor you try to install ispconfig 3.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 30th January 2009, 17:27
anushanw anushanw is offline
Junior Member
 
Join Date: Jan 2009
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Till,
Thanks a lot for taking time to help me out.
As you mentioned I have installed all those mentioned missing stuff. When i look for the status of them they indicate as "Running". So I doubt that it is the problem.
However when I installed pam_mysql and tried to setup the password as mentioned in the tutorial, it gave me some error.
when i typed in "mysqladmin -u root password mypassword" and "mysqladmin -h ispconfig.local -root password mypassword" it gave me an error saying cannot connect.
Does this have to do anything with the above mentioned?
Do you happen to know a better tutorial than the Installation Instruction document provided with ISPConfig 3 by any chance?
Reply With Quote
  #4  
Old 31st January 2009, 13:49
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 are you using? What's the output of
Code:
netstat -tap
?
__________________
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 31st January 2009, 20:46
anushanw anushanw is offline
Junior Member
 
Join Date: Jan 2009
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

here's what i get for "netstat -tap"
Active internet connections (servers and establishes)
Proto - have tcp for all lines
Recv-Q - have 0 for all lines
Send-Q - have 0 for all lines
Local Address - *:mysql , *.sunrpc , *:ssh , localhost:ipp , localhost:smtp , *:imaps , *op3s , *op3 , *:imap , *:ssh , *:ssh , localhost:ipp , localhost:smtp

Foreign address - have *:* for all the lines
State - LISTEN for all lines

PID/Program Name have - 5214/mysqld , 2842/portmap , 2805/sshd , 2856/cupsd , 4508/master , 5374/couriertcpd , 5348/couriertcpd , 5303/couriertcpd , 5318/couriertcpd , 2805/sshd , 4508/master

I also started a new installation from scartch. here's the error that i have been getting when i typed in "mysqladmin -h ispconfig.local -u root password abc123"
the error is : "mysqladmin: connect to server at 'ispconfig.local' failed.
error: 'Lost connection to MySql server at 'reading initial communication packet', system error: 110' "

when i continue the installation process ignoring the above message i get the following at when i try to start pure-ftpd
when i type in "/etc/init.d/pure-ftpd start" the following error comes up
starting pure-ftpd421 unknown authentication method: pam
startproc: exit status of parent of /usr/sbin/pure-ftpd: 252
failed

Last edited by anushanw; 31st January 2009 at 21:39.
Reply With Quote
  #6  
Old 31st January 2009, 21:46
anushanw anushanw is offline
Junior Member
 
Join Date: Jan 2009
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i have attached some of the screen shots at www.anushanw.info/images/ispconfig/

thanks for all the help
Reply With Quote
  #7  
Old 31st January 2009, 21:49
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,083
Thanks: 826
Thanked 5,397 Times in 4,241 Posts
 
Default

Quote:
Do you happen to know a better tutorial than the Installation Instruction document provided with ISPConfig 3 by any chance?
No. The installation instructions are complete and correct, they include every nescessary step.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Tags
ispconfig 3

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
Ubuntu 8.04 server edition ISPconfig installation error malinens Installation/Configuration 4 30th July 2008 07:30
CENTOS 5 Ping Problem gAnDo Server Operation 11 28th March 2008 20:58
ispconfig installation errors kcmohan Installation/Configuration 1 9th April 2007 20:14
i am getting glibc errors after installation agelospanagiotakis Installation/Configuration 1 20th June 2006 14:12
Problem with the installation of Dokeos (LMS) in ISPConfig jofranco General 4 28th April 2006 00:45


All times are GMT +2. The time now is 06:31.


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