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 3rd September 2005, 06:43
bosei bosei is offline
Member
 
Join Date: Aug 2005
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Cool webpages only display default site

Help.

For some reason I have just found that all my webs will only display the default host. e.g:
www.domain1.tld will only go to www.localhost:80. In other words, ISPConfig is creating the web and all files OK as I can see this under /srv/www/webX however I cannot see the site at all and can only see the default web created when appache was installed under SuSE. The only fix I can find for this is to use SuSEConfig to add a virtual host with it's docroot pointing to /srv/www/webX. Is there something wrong with the ISPConfig directives and they are not being included?

Tnx
bosei
Reply With Quote
Sponsored Links
  #2  
Old 3rd September 2005, 09:37
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,381
Thanks: 833
Thanked 5,482 Times in 4,316 Posts
Default

Quote:
Originally Posted by bosei
Help.

For some reason I have just found that all my webs will only display the default host. e.g:
www.domain1.tld will only go to www.localhost:80. In other words, ISPConfig is creating the web and all files OK as I can see this under /srv/www/webX however I cannot see the site at all and can only see the default web created when appache was installed under SuSE. The only fix I can find for this is to use SuSEConfig to add a virtual host with it's docroot pointing to /srv/www/webX. Is there something wrong with the ISPConfig directives and they are not being included?

Tnx
bosei
This loooks like a DNS-issue. The apache default host is always shown when the apache webserver does not have a vhost with the requested IP :: domain combination.

Does your DNS point to the correct IP?
If you are in a NAT enviroment, did you use the External IP of your router and not your private IP?
Does the websites have the correct IP?
If you are in a NAT enviroment, did you use the private IP for the websites and not the external IP?
Reply With Quote
  #3  
Old 6th September 2005, 19:52
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Quote:
Originally Posted by bosei
Help.

For some reason I have just found that all my webs will only display the default host. e.g:
www.domain1.tld will only go to www.localhost:80. In other words, ISPConfig is creating the web and all files OK as I can see this under /srv/www/webX however I cannot see the site at all and can only see the default web created when appache was installed under SuSE. The only fix I can find for this is to use SuSEConfig to add a virtual host with it's docroot pointing to /srv/www/webX. Is there something wrong with the ISPConfig directives and they are not being included?

Tnx
bosei
Does the file Vhosts_ispconfig.conf get written, or is it empty? Is it included in your httpd.conf?
__________________
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
  #4  
Old 7th September 2005, 18:49
bosei bosei is offline
Member
 
Join Date: Aug 2005
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation

Quote:
Originally Posted by falko
Does the file Vhosts_ispconfig.conf get written, or is it empty? Is it included in your httpd.conf?
Yes it is getting written and No, it is not included in httpd.conf. I have also checked /etc/sysconfig apache2 and it is not listed there also.

I seem to have messed things up

Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/admispconfig/ispconfig/lib/classes/ispconfig_db_mysql.lib.php on line 76

Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/admispconfig/ispconfig/lib/classes/ispconfig_db_mysql.lib.php on line 76

Warning: Cannot modify header information - headers already sent by (output started at /home/admispconfig/ispconfig/lib/classes/ispconfig_db_mysql.lib.php:76) in /home/admispconfig/ispconfig/web/login/login.php on line 56


as I tried to fix an issue with mysql and ftp services stopping at 23:30 every night (only thing happening at 23:00 is a backup using LONE-TAR, which ends at 23:15) by running:
apt-get install mysql mysql-client mysql-shared mysql-devel perl-DBD-mysql perl-DBI perl-Data-ShowTable.

This action has now introduced further errors:

Aug 7 10:18:09 netex01 postfix[9832]: fatal: parameter inet_interfaces: no local interface found for ::1

Sep 7 12:00:01 netex01 postfix/smtp[20864]: warning: connect to private/tlsmgr: No such file or directory
Sep 7 12:00:03 netex01 postfix/smtp[20864]: warning: connect to private/tlsmgr: No such file or directory
Sep 7 12:00:03 netex01 postfix/smtp[20864]: warning: problem talking to server private/tlsmgr: No such file or directory
Sep 7 12:00:03 netex01 postfix/smtp[20864]: warning: no entropy for TLS key generation: disabling TLS support
Sep 7 12:30:01 netex01 postfix/smtp[21401]: warning: connect to private/tlsmgr: No such file or directory
Sep 7 12:30:02 netex01 postfix/smtp[21401]: warning: connect to private/tlsmgr: No such file or directory
Sep 7 12:30:02 netex01 postfix/smtp[21401]: warning: problem talking to server private/tlsmgr: No such file or directory
Sep 7 12:30:02 netex01 postfix/smtp[21401]: warning: no entropy for TLS key generation: disabling TLS support
Sep 7 12:30:08 netex01 postfix/smtpd[21404]: warning: connect to private/tlsmgr: No such file or directory
Sep 7 12:30:09 netex01 postfix/smtpd[21404]: warning: connect to private/tlsmgr: No such file or directory
Sep 7 12:30:09 netex01 postfix/smtpd[21404]: warning: problem talking to server private/tlsmgr: No such file or directory
Sep 7 12:30:09 netex01 postfix/smtpd[21404]: warning: no entropy for TLS key generation: disabling TLS support
Sep 7 12:30:09 netex01 postfix/smtpd[21404]: warning: support for restriction "check_relay_domains" will be removed from Postfix; use "reject_unauth_destination" instead


I hope I do not have to delete and re-install the whole thing.

I notice there is an update feature in ISPConfig... What url should this be set to?

Last edited by bosei; 7th September 2005 at 18:54.
Reply With Quote
  #5  
Old 7th September 2005, 23:01
bosei bosei is offline
Member
 
Join Date: Aug 2005
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Angry

Ooohhhhhhh... do I... I do????

Shucks. seems to have gone strangely quiet.

Last edited by bosei; 7th September 2005 at 23:24.
Reply With Quote
  #6  
Old 8th September 2005, 02:30
bosei bosei is offline
Member
 
Join Date: Aug 2005
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Post resolved

Used yast to force postfix update and all seems to be fixed.

if anyone could help with the issue of ftp and mysql stopping I would be gratefull
Reply With Quote
  #7  
Old 8th September 2005, 10:46
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,381
Thanks: 833
Thanked 5,482 Times in 4,316 Posts
Default

Does the socket file: /var/lib/mysql/mysql.sock exists and did you get any errors when you restart mysql?
Reply With Quote
  #8  
Old 8th September 2005, 18:43
bosei bosei is offline
Member
 
Join Date: Aug 2005
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till
Does the socket file: /var/lib/mysql/mysql.sock exists and did you get any errors when you restart mysql?

Yep. It exists and there are no errors when starting by executing "/etc/init.d/mysql start".
Reply With Quote
  #9  
Old 9th September 2005, 17:54
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Quote:
Originally Posted by bosei
Yep. It exists and there are no errors when starting by executing "/etc/init.d/mysql start".
Any MySQL error messages in /var/log/messages or /var/log/syslog?
__________________
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
  #10  
Old 9th September 2005, 21:25
bosei bosei is offline
Member
 
Join Date: Aug 2005
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
 
Lightbulb

Quote:
Originally Posted by falko
Any MySQL error messages in /var/log/messages or /var/log/syslog?
Hi Falko

No error messages that I can see in /var/logs/messages

I have re-installed apache and updated mysql from yast so monitoring tonight.

Thanks
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
More robust default dns records jnoble Feature Requests 0 31st August 2005 18:41
Enable PHP in default directory ProTrooper Installation/Configuration 4 24th August 2005 18:26
can't delete a site KenMcGinnis Installation/Configuration 2 14th August 2005 15:02
my default webserver failed Venkatesh.S General 1 25th July 2005 10:11


All times are GMT +2. The time now is 03:18.


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