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 17th April 2006, 18:34
mebusybody mebusybody is offline
Junior Member
 
Join Date: Apr 2006
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default After adding "Include vhosts/Vhosts_ispconfig.conf" httpd won;t startup

Hi folk
1. After adding Include vhosts/Vhosts_ispconfig.conf at the end of httpd.conf, httpd wont startup.
no error in /var/log/httpd/error_log


2. I commented off everthing related to my newly added site its was eable to startup.

3. Ucomment the entires for the newly added site, except for enteries related to errors, I was able restart http server.

4. Accessing www.nooo.cc (the new web site )
I have persmission deny.
/var/log/httpd/error_log has "[Tue Apr 18 00:22:42 2006] [error] [client 192.9.200.198] (13)Permission denied: access to / denied"

5. Executed chmod -R a+rw /home/www, restart httpd, same problem

The /etc/httpd/vhosts/Vhosts_ispconfig.conf below.

Any ideal what the cause ?

###################################
#
# ISPConfig vHost Configuration File
# Version 1.0
#
###################################
#
NameVirtualHost 192.9.200.198:80
<VirtualHost 192.9.200.198:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
</VirtualHost>
NameVirtualHost 192.9.200.198:80
<VirtualHost 192.9.200.198:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
</VirtualHost>
#
#
#
######################################
# Vhost: www.nooo.cc:80
######################################
#
#
<VirtualHost 192.9.200.198:80>
ServerName www.nooo.cc:80
ServerAdmin webmaster@nooo.cc
DocumentRoot /home/www/web3/web
#ServerAlias nooo.cc
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
ScriptAlias /cgi-bin/ /home/www/web3/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
#ErrorLog /home/www/web3/log/error.log
#Alias /error/ "/home/www/web3/web/error/"
#ErrorDocument 400 /error/invalidSyntax.html
#ErrorDocument 401 /error/authorizationRequired.html
#ErrorDocument 403 /error/forbidden.html
#ErrorDocument 404 /error/fileNotFound.html
#ErrorDocument 405 /error/methodNotAllowed.html
#ErrorDocument 500 /error/internalServerError.html
#ErrorDocument 503 /error/overloaded.html
#AliasMatch ^/~([^/]+)(/(.*))? /home/www/web3/user/$1/web/$3
#AliasMatch ^/users/([^/]+)(/(.*))? /home/www/web3/user/$1/web/$3
</VirtualHost>
#
#
Reply With Quote
Sponsored Links
  #2  
Old 18th April 2006, 10:58
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
Default

Quote:
Originally Posted by mebusybody
Hi folk
1. After adding Include vhosts/Vhosts_ispconfig.conf at the end of httpd.conf, httpd wont startup.
no error in /var/log/httpd/error_log
Why did you do this? The ISPConfig installer should have done this, unless something went wrong during your installation...
Anyway, please try the full path in your httpd.conf:
Code:
Include /etc/httpd/vhosts/Vhosts_ispconfig.conf
and restart Apache.
__________________
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 18th April 2006, 11:13
mebusybody mebusybody is offline
Junior Member
 
Join Date: Apr 2006
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
Why did you do this? The ISPConfig installer should have done this, unless something went wrong during your installation...
Anyway, please try the full path in your httpd.conf:
Code:
Include /etc/httpd/vhosts/Vhosts_ispconfig.conf
and restart Apache.
Some how it was missing, tried included the fullpath. The problem now is /var/log/httpd/error_log has "[Tue Apr 18 00:22:42 2006] [error] [client 192.9.200.198] (13)Permission denied: access to / denied"

I was your reply in thread http://www.howtoforge.com/forums/sho...nied%3A+access post 10,
The <Directory /home/www/*/web>... etc was not httpd.conf. I added them but still have the error.

Any suggestion.
thanks
Reply With Quote
  #4  
Old 18th April 2006, 11:47
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
Default

It seems that your ISPConfig installation went totally wrong. You should try to make a clean install. This will save you time instead of trying to figure out what is wrong on your system.
__________________
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 19th April 2006, 09:27
mebusybody mebusybody is offline
Junior Member
 
Join Date: Apr 2006
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy

Quote:
Originally Posted by falko
It seems that your ISPConfig installation went totally wrong. You should try to make a clean install. This will save you time instead of trying to figure out what is wrong on your system.
Sight this is driving me nuts. I uninstall ISPConfig and apache, and re-install them again.
Configuring virtual webserver should not be so difficult I did it manually!

1. The /etc/httpd/conf/httpd.conf does not have "Include /etc/httpd/vhosts/Vhosts_ispconfig.conf" after creating a site.
Code:
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
#<VirtualHost *:80>
#    ServerAdmin webmaster@dummy-host.example.com
#    DocumentRoot /www/docs/dummy-host.example.com
#    ServerName dummy-host.example.com
#    ErrorLog logs/dummy-host.example.com-error_log
#    CustomLog logs/dummy-host.example.com-access_log common
#</VirtualHost>
2. /etc/httpd/vhosts/Vhosts_ispconfig.conf is zero byte. But /etc/httpd/vhosts/Vhosts_ispconfig.conf~ has the configuration data.
Code:
-rw-r--r--  1 root root 1544 Apr 19 10:49 Vhosts_ispconfig.conf~
-rw-r--r--  1 root root    0 Apr 19 10:49 Vhosts_ispconfig.conf
3. ls /home/www has the virtual webserver that is www.nooo.cc
Code:
drwxr-xr-x  3 root root 4096 Apr  8 16:47 httpsd
lrwxrwxrwx  1 root root   14 Apr 14 10:30 www.it-destination.com -> /home/www/web1
lrwxrwxrwx  1 root root   14 Apr 17 23:34 www.nooo.cc -> /home/www/web3
drwxr-xr-x  9 root web1 4096 Apr 18 02:05 web3
drwxr-xr-x  9 root web1 4096 Apr 19 14:48 web1
Please help!!
Reply With Quote
  #6  
Old 19th April 2006, 14:51
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
Default

Quote:
Originally Posted by mebusybody
2. /etc/httpd/vhosts/Vhosts_ispconfig.conf is zero byte. But /etc/httpd/vhosts/Vhosts_ispconfig.conf~ has the configuration data.
Code:
-rw-r--r--  1 root root 1544 Apr 19 10:49 Vhosts_ispconfig.conf~
-rw-r--r--  1 root root    0 Apr 19 10:49 Vhosts_ispconfig.conf
This means that there is probably some module missing in your Apache.
Please do this:
Code:
mv /etc/httpd/vhosts/Vhosts_ispconfig.conf~ /etc/httpd/vhosts/Vhosts_ispconfig.conf
httpd -t
What's the output?
__________________
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
  #7  
Old 19th April 2006, 15:43
mebusybody mebusybody is offline
Junior Member
 
Join Date: Apr 2006
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
This means that there is probably some module missing in your Apache.
Please do this:
Code:
mv /etc/httpd/vhosts/Vhosts_ispconfig.conf~ /etc/httpd/vhosts/Vhosts_ispconfig.conf
httpd -t
What's the output?
nothing, no output
Reply With Quote
  #8  
Old 19th April 2006, 19:23
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,446
Thanks: 813
Thanked 5,213 Times in 4,088 Posts
Default

Is the file /etc/httpd/vhosts/Vhosts_ispconfig.conf empty?

If yes, do you have copies of this file with a date appended to the name that are not empty?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #9  
Old 20th April 2006, 03:46
mebusybody mebusybody is offline
Junior Member
 
Join Date: Apr 2006
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till
Is the file /etc/httpd/vhosts/Vhosts_ispconfig.conf empty?

If yes, do you have copies of this file with a date appended to the name that are not empty?
No, is NOT empty now. I did "mv /etc/httpd/vhosts/Vhosts_ispconfig.conf~ /etc/httpd/vhosts/Vhosts_ispconfig.c"

and httpd -t has no output
Reply With Quote
  #10  
Old 20th April 2006, 17:13
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
 
Default

Maybe you should really consider a clean reinstall.
__________________
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
Howto suggestion suse PhP ver 4 + Ver 5 wwparrish Suggest HOWTO 11 7th August 2006 13:29
Location of ISPConfig startup command cchamb2 General 3 6th April 2006 00:02
Perfect Setup - Fedora Core 3 - saslauthd problem Median Installation/Configuration 28 29th January 2006 18:51


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


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