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 February 2012, 15:13
vclarine vclarine is offline
Junior Member
 
Join Date: Jul 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Ispconfig 2 on debian 6 squeeze Vhosts_ispconfig not created

Hello ervery body,

After a fresh install of Ispconfig 2 on my server debian 6, i think because of ispconfig Apache2 is not working and when i restart apache2 i got this :

" /etc/init.d/apache2 restart
apache2: Syntax error on line 280 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/vhosts/Vhosts_ispconfig.conf: No such file or directory
Action 'configtest' failed.
failed! "
Also i noticed that the file Vhosts_ispconfig.conf is not created but in the
in /etc/apache2/vhost/ directory i got many files like : Vhosts_ispconfig.conf_23-02-12_13-08-37
Vhosts_ispconfig.conf_25-02-12_13-08-37
Vhosts_ispconfig.conf_xx-xx-xx-xx-xx-xx
.......

and no file like Vhosts_ispconfig.conf.

In In my Ispconfig panel i got Web-Server still Offline

May i reinstall Ispconfig 2 ?

Please help me.

Many thanks.
Reply With Quote
Sponsored Links
  #2  
Old 26th February 2012, 13:01
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,748 Times in 2,579 Posts
Default

Take a look here: http://www.howtoforge.com/forums/sho...26&postcount=4

You have some directives in Vhosts_ispconfig.conf that are not supported (probably because you don't have to required modules enabled), and therefore Vhosts_ispconfig.conf is renamed to Vhosts_ispconfig.conf_<date>. Rename the latest of these files back to Vhosts_ispconfig.conf and run
Code:
httpd -t
.
__________________
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
  #3  
Old 26th February 2012, 17:42
vclarine vclarine is offline
Junior Member
 
Join Date: Jul 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Ispconfig 2 on debian 6 squeeze Vhosts_ispconfig not created

Thanks Mr Falko,

I rename the latest file Vhosts_ispconfig.conf_<date>. back to Vhosts_ispconfig.conf and every thing seems to work; about the command
httpd -t gives the following output

/etc/apache2# httpd -t

httpd: bad user name ${APACHE_RUN_USER}

Even if i want to restart apache2 by doing this i got the messages
/etc/init.d/apache2 restart

Restarting web server: apache2[Sun Feb 26 16:22:58 2012] [warn] NameVirtualHost 192.168.36.212:80 has no VirtualHosts
... waiting [Sun Feb 26 16:22:59 2012] [warn] NameVirtualHost 192.168.36.212:80 has no VirtualHosts

Thanks.
Reply With Quote
  #4  
Old 27th February 2012, 18:28
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,748 Times in 2,579 Posts
 
Default

Quote:
Originally Posted by vclarine View Post
/etc/apache2# httpd -t

httpd: bad user name ${APACHE_RUN_USER}
Try
Code:
./etc/apache2/envvars && httpd -t
__________________
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

Tags
ispconfig 2, vhosts_ispconfig, web server off

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
ISPConfig 3.0.3.3 fresh instalation - email tab is empty artur_gib Installation/Configuration 14 28th January 2014 20:02
Upgrading Debian Lenny ISPConfig2 server to Debian Squeeze. Hans Installation/Configuration 1 13th February 2011 13:18
ISPConfig installation into multiple OpenVZ containers letezo Installation/Configuration 11 3rd March 2009 23:47
Ispconfig + awstats on debian etch Dennis Installation/Configuration 1 19th April 2008 23:57
e-mail problem!!! Debian 3.1 maroonworks Installation/Configuration 18 6th December 2005 15:42


All times are GMT +2. The time now is 08:33.


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