Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 6th October 2010, 23:48
md@waw.co.uk md@waw.co.uk is offline
Junior Member
 
Join Date: May 2006
Posts: 25
Thanks: 3
Thanked 1 Time in 1 Post
Default vhosts issue after upgrading from 3.0.2 to 3.0.3 - no server

I have just upgraded to 3.0.3 (on a testing server)

Apache is not working

When I try to restart Apache2 I get this error message

*********** START MESSAGE ************

Restarting web server: apache2Syntax error on line 6 of /etc/apache2/sites-enabled/000-ispconfig.vhost:
Listen requires 1 or 2 arguments.

*********** END MESSAGE **************

This is the vhosts file


################################################## ####
# This virtual host contains the configuration
# for the ISPConfig controlpanel
################################################## ####

Listen apt-get install sudo

NameVirtualHost *:apt-get install sudo

<VirtualHost _default_:apt-get install sudo>
ServerAdmin webmaster@localhost

<IfModule mod_fcgid.c>
DocumentRoot /var/www/ispconfig/
SuexecUserGroup ispconfig ispconfig
<Directory /var/www/ispconfig/>
Options Indexes FollowSymLinks MultiViews +ExecCGI
AllowOverride AuthConfig Indexes Limit Options FileInfo
AddHandler fcgid-script .php
FCGIWrapper /var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter .php
Order allow,deny
Allow from all
</Directory>
</IfModule>

<IfModule mod_php5.c>
DocumentRoot /usr/local/ispconfig/interface/web/
AddType application/x-httpd-php .php
<Directory /usr/local/ispconfig/interface/web>
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
php_value magic_quotes_gpc 0
</Directory>
</IfModule>

# ErrorLog /var/log/apache2/error.log
# CustomLog /var/log/apache2/access.log combined
ServerSignature Off

<IfModule mod_security2.c>
SecRuleEngine Off
</IfModule>

# SSL Configuration
#SSLEngine On
#SSLCertificateFile /usr/local/ispconfig/interface/ssl/ispserver.crt
#SSLCertificateKeyFile /usr/local/ispconfig/interface/ssl/ispserver.key

</VirtualHost>

<Directory /var/www/php-cgi-scripts>
AllowOverride None
Order Deny,Allow
Deny from all
</Directory>

<Directory /var/www/php-fcgi-scripts>
AllowOverride None
Order Deny,Allow
Deny from all
</Directory>

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& END VHOST FILE

Can anyone kindly tell me what's wrong

thanks
Reply With Quote
Sponsored Links
  #2  
Old 7th October 2010, 00:29
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts
Default

Looks as if you typed in:

apt-get install sudo

as the updaterasked you for the ispconfig port. Replace every occurrence of "apt-get install sudo" with 8080 and restart apache.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 7th October 2010, 00:44
Torch_za Torch_za is offline
Junior Member
 
Join Date: Apr 2010
Posts: 19
Thanks: 0
Thanked 2 Times in 2 Posts
Default err .. not sure just how you did it but ..

it looks like to did a search and replace of :8080 with :apt-get install sudo

go back edit the file replacing the ":apt-get install sudo" with ":8080"
save and restart apache
Reply With Quote
  #4  
Old 7th October 2010, 14:02
md@waw.co.uk md@waw.co.uk is offline
Junior Member
 
Join Date: May 2006
Posts: 25
Thanks: 3
Thanked 1 Time in 1 Post
Default done that - now I get this

Thanks for your suggestion(s)

During the install I was not asked for the ISPconfig port... and I certainly didn't edit the file with a search & replace.

I've edited the file and now I get this message when I try to restart Apache (and Apache isn't starting)


server1:~# /etc/init.d/apache2 restart
Restarting web server: apache2[Thu Oct 07 11:51:50 2010] [warn] NameVirtualHost *:8080 has no VirtualHosts
[Thu Oct 07 11:51:50 2010] [warn] NameVirtualHost *:8080 has no VirtualHosts
(98)Address already in use: make_sock: could not bind to address [::]:8080
.
server1:~#


Any suggestions gratefully received
Reply With Quote
  #5  
Old 7th October 2010, 16:04
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

Please reboot the server.
__________________
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
  #6  
Old 7th October 2010, 16:29
md@waw.co.uk md@waw.co.uk is offline
Junior Member
 
Join Date: May 2006
Posts: 25
Thanks: 3
Thanked 1 Time in 1 Post
Default After a re-boot

Thank you for the fast reply - I have rebooted the server

still no Apache

this is the message I get when I try to restart


server1:~# /etc/init.d/apache2 restart
Restarting web server: apache2[Thu Oct 07 14:27:33 2010] [warn] NameVirtualHost *:8080 has no VirtualHosts
[Thu Oct 07 14:27:33 2010] [warn] NameVirtualHost *:8080 has no VirtualHosts
(98)Address already in use: make_sock: could not bind to address [::]:8080
.
server1:~#
Reply With Quote
  #7  
Old 7th October 2010, 22:05
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts
Default

you seem to run another software on port 8080. You can check with the command:

netstat -tap

which other software is running on that port. Then either reconfigure this software to run on another port or reconfigure ispconfig to run on another port.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
md@waw.co.uk (7th October 2010)
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
What can be wrong martin_rudowicz Installation/Configuration 10 1st December 2014 10:13
Debian 5 Ajax error + network interface always shutting down ev0css Installation/Configuration 3 5th June 2010 13:58
Sending mail ISPConfig 3 but not receivind catza Installation/Configuration 20 19th May 2010 13:47
FTP cannot open remote folder!?! andysm849 Server Operation 23 17th October 2008 00:34
The Perfect Setup Suse 9.3 - Postfix problems new_bee05 HOWTO-Related Questions 20 25th November 2005 03:30


All times are GMT +2. The time now is 14:11.


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