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 2008, 18:35
Check Check is offline
Member
 
Join Date: Feb 2007
Posts: 76
Thanks: 4
Thanked 1 Time in 1 Post
Default Sites are up, but none show in ispconfig

During my attempt to upgrade to .19 i ran into all the error that other people were getting. Then i tried the solution and that did not fix the issue.

I ended up installing .18 and unlike what i wanted instead of doing the upgrade (when it recognizes something is installed) it did a clean install. Afterword I tested all the site and ftp's and everything works fine, But when i log into ispc now no sites or resellers or anything is set up. Is there something i can do to have it detect this? There is nothing in there and it looks like a clean install. If I were to re set everything up would it get into error since the folders and file enteries already exist?

Does anyone have any tips to get everything working again.

Man i wish i knew more linux...im getting there...
Reply With Quote
Sponsored Links
  #2  
Old 30th January 2008, 18:50
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,256
Thanks: 212
Thanked 648 Times in 294 Posts
Send a message via Skype™ to Hans
Default

Which Linux distribution do you use?
__________________
Hans

BB-Hosting | Quality Web Hosting since 2005
Reply With Quote
  #3  
Old 30th January 2008, 19:13
Check Check is offline
Member
 
Join Date: Feb 2007
Posts: 76
Thanks: 4
Thanked 1 Time in 1 Post
Default

Sorry,

Im running ubuntu lts 6.06, using the perfect ubuntu server setup from howtoforge
Reply With Quote
  #4  
Old 31st January 2008, 20:28
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

What's at the end of /etc/apache2/apache2.conf? What's in /etc/apache2/vhosts/Vhosts_ispconfig.conf?
Any errors in Apache's error log?
__________________
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 2008, 20:50
Check Check is offline
Member
 
Join Date: Feb 2007
Posts: 76
Thanks: 4
Thanked 1 Time in 1 Post
Default

Code:
NameVirtualHost *
<VirtualHost *>
        ServerName remote.snippetcreator.com
        DocumentRoot /var/www/
        ProxyRequests Off

        <Proxy *>
          Order deny,allow
          Allow from all
        </Proxy>

        ProxyPass / http://remote.snippetcreator.com:81/
        ProxyPassReverse / http://remote.snippetcreator.com:81/
</VirtualHost>

# Include the virtual host configurations:
Include /etc/apache2/sites-enabled/

<Directory /var/www/sharedip>
    Options +Includes -Indexes
    AllowOverride None
    AllowOverride Indexes AuthConfig Limit FileInfo
    Order allow,deny
    Allow from all
    <Files ~ "^\.ht">
    Deny from all
    </Files>
</Directory>

###############ispconfig_log###############
LogFormat "%v||||%b||||%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined_ispconfig
CustomLog "|/root/ispconfig/cronolog --symlink=/var/log/httpd/ispconfig_access_log /var/log/httpd/ispconfig_access_log_%Y_%m_
%d" combined_ispconfig

<Directory /var/www/*/web>
    Options +Includes -Indexes
    AllowOverride None
    AllowOverride Indexes AuthConfig Limit FileInfo
    Order allow,deny
    Allow from all
    <Files ~ "^\.ht">
    Deny from all
    </Files>
</Directory>

<Directory /var/www/*/user/*/web>
    Options +Includes -Indexes
    AllowOverride None
    AllowOverride Indexes AuthConfig Limit FileInfo
    Order allow,deny
    Allow from all
    <Files ~ "^\.ht">
    Deny from all
    </Files>
</Directory>

<Directory /var/www/*/cgi-bin>
    Options ExecCGI -Indexes
    AllowOverride None
    AllowOverride Indexes AuthConfig Limit FileInfo
    Order allow,deny
    Allow from all
    <Files ~ "^\.ht">
    Deny from all
    </Files>
</Directory>

Include /etc/apache2/vhosts/Vhosts_ispconfig.conf


<Directory /var/www/sharedip>
    Options +Includes -Indexes
    AllowOverride None
    AllowOverride Indexes AuthConfig Limit FileInfo
    Order allow,deny
    Allow from all
    <Files ~ "^\.ht">
    Deny from all
    </Files>
</Directory>

###############ispconfig_log###############
LogFormat "%v||||%b||||%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined_ispconfig
CustomLog "|/root/ispconfig/cronolog --symlink=/var/log/httpd/ispconfig_access_log /var/log/httpd/ispconfig_access_log_%Y_%m_
%d" combined_ispconfig

<Directory /var/www/*/web>
    Options +Includes -Indexes
    AllowOverride None
    AllowOverride Indexes AuthConfig Limit FileInfo
    Order allow,deny
    Allow from all
    <Files ~ "^\.ht">
    Deny from all
    </Files>
</Directory>

<Directory /var/www/*/user/*/web>
    Options +Includes -Indexes
    AllowOverride None
    AllowOverride Indexes AuthConfig Limit FileInfo
    Order allow,deny
    Allow from all
    <Files ~ "^\.ht">
    Deny from all
    </Files>
</Directory>

<Directory /var/www/*/cgi-bin>
    Options ExecCGI -Indexes
    AllowOverride None
    AllowOverride Indexes AuthConfig Limit FileInfo
    Order allow,deny
    Allow from all
    <Files ~ "^\.ht">
    Deny from all
    </Files>
</Directory>

Include /etc/apache2/vhosts/Vhosts_ispconfig.conf
Reply With Quote
  #6  
Old 31st January 2008, 20:52
Check Check is offline
Member
 
Join Date: Feb 2007
Posts: 76
Thanks: 4
Thanked 1 Time in 1 Post
Default

The last file you asked about has what looks like all the domains listed...i can post it in sections if needed, but its pretty long. This seems to be correct.

Should i look in /root/ispconfig/httpd/log for the errors or is there a different log file?

Last edited by Check; 31st January 2008 at 20:55.
Reply With Quote
  #7  
Old 1st February 2008, 16: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

You have this section:

Code:
<Directory /var/www/sharedip>
    Options +Includes -Indexes
    AllowOverride None
    AllowOverride Indexes AuthConfig Limit FileInfo
    Order allow,deny
    Allow from all
    <Files ~ "^\.ht">
    Deny from all
    </Files>
</Directory>

###############ispconfig_log###############
LogFormat "%v||||%b||||%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined_ispconfig
CustomLog "|/root/ispconfig/cronolog --symlink=/var/log/httpd/ispconfig_access_log /var/log/httpd/ispconfig_access_log_%Y_%m_
%d" combined_ispconfig

<Directory /var/www/*/web>
    Options +Includes -Indexes
    AllowOverride None
    AllowOverride Indexes AuthConfig Limit FileInfo
    Order allow,deny
    Allow from all
    <Files ~ "^\.ht">
    Deny from all
    </Files>
</Directory>

<Directory /var/www/*/user/*/web>
    Options +Includes -Indexes
    AllowOverride None
    AllowOverride Indexes AuthConfig Limit FileInfo
    Order allow,deny
    Allow from all
    <Files ~ "^\.ht">
    Deny from all
    </Files>
</Directory>

<Directory /var/www/*/cgi-bin>
    Options ExecCGI -Indexes
    AllowOverride None
    AllowOverride Indexes AuthConfig Limit FileInfo
    Order allow,deny
    Allow from all
    <Files ~ "^\.ht">
    Deny from all
    </Files>
</Directory>

Include /etc/apache2/vhosts/Vhosts_ispconfig.conf
twice in your /etc/apache2/apache2.conf. Please remove one of them and restart Apache.

Quote:
Originally Posted by Check
The last file you asked about has what looks like all the domains listed...i can post it in sections if needed, but its pretty long. This seems to be correct.
I think a part from the beginning is ok.

Quote:
Originally Posted by Check
Should i look in /root/ispconfig/httpd/log for the errors or is there a different log file?
Apache's error log is in /var/log/apache2.
__________________
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
  #8  
Old 4th February 2008, 15:21
Check Check is offline
Member
 
Join Date: Feb 2007
Posts: 76
Thanks: 4
Thanked 1 Time in 1 Post
Default

Ok i made the change and got these warnings when restarting apache. Nothing big i dont think... ***EDIT*** I removed the dupe vars. They were for ispconfig.

I logged into the web app and everything works fine (or so it seems) but still none of my sites are listed. They were also orginized into folders and those folders are there either. So, that change didnt seem to make a difference, at least with this problem.


Code:
root@server1:/etc/apache2#  /etc/init.d/apache2 restart
 * Forcing reload of apache 2.0 web server...                                                                                [Mon Feb 04 09:07:11 2008] [warn] The Alias directive in /etc/apache2/apache2.conf at line 136 will probably never match because it overlaps an earlier Alias.
[Mon Feb 04 09:07:11 2008] [warn] The Alias directive in /etc/apache2/apache2.conf at line 140 will probably never match because it overlaps an earlier Alias.
[Mon Feb 04 09:07:12 2008] [warn] The Alias directive in /etc/apache2/apache2.conf at line 136 will probably never match because it overlaps an earlier Alias.
[Mon Feb 04 09:07:12 2008] [warn] The Alias directive in /etc/apache2/apache2.conf at line 140 will probably never match because it overlaps an earlier Alias.
Here is the first part of
Code:
###################################
#
# ISPConfig vHost Configuration File
#         Version 1.0
#
###################################
#
NameVirtualHost 192.168.1.70:80
<VirtualHost 192.168.1.70:80>
  ServerName localhost
  ServerAdmin root@localhost
  DocumentRoot /var/www/sharedip
</VirtualHost>
#
#
######################################
# Vhost: www.snippetcreator.com:80
######################################
#
#
<VirtualHost 192.168.1.70:80>
ServerName www.snippetcreator.com:80
ServerAdmin webmaster@snippetcreator.com
DocumentRoot /var/www/web1/web
ServerAlias snippetcreator.com
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Defau
lt.htm default.htm
ScriptAlias  /cgi-bin/ /var/www/web1/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /var/www/web1/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
<Files *.php>
    SetOutputFilter PHP
    SetInputFilter PHP
</Files>
<Files *.php3>
    SetOutputFilter PHP
    SetInputFilter PHP
</Files>
<Files *.php4>
    SetOutputFilter PHP
    SetInputFilter PHP

</Files>
<Files *.php5>
    SetOutputFilter PHP
    SetInputFilter PHP
</Files>
php_admin_flag safe_mode Off
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Alias /error/ "/var/www/web1/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 ^/~([^/]+)(/(.*))? /var/www/web1/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web1/user/$1/web/$3
</VirtualHost>
#
#
#
######################################
# Vhost: beta.snippetcreator.com:80
######################################
#
#
<VirtualHost 192.168.1.70:80>
ServerName beta.snippetcreator.com:80
ServerAdmin webmaster@snippetcreator.com
DocumentRoot /var/www/web8/web
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Defau
lt.htm default.htm
ScriptAlias  /cgi-bin/ /var/www/web8/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /var/www/web8/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
<Files *.php>
    SetOutputFilter PHP
    SetInputFilter PHP
</Files>
<Files *.php3>

    SetOutputFilter PHP
    SetInputFilter PHP
</Files>
<Files *.php4>
    SetOutputFilter PHP
    SetInputFilter PHP
</Files>
<Files *.php5>
    SetOutputFilter PHP
    SetInputFilter PHP
</Files>
php_admin_flag safe_mode Off
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Alias /error/ "/var/www/web8/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 ^/~([^/]+)(/(.*))? /var/www/web8/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web8/user/$1/web/$3
</VirtualHost>
#
#
#
######################################
# Vhost: monitor.snippetcreator.com:80
######################################
#
#
<VirtualHost 192.168.1.70:80>
ServerName monitor.snippetcreator.com:80
ServerAdmin webmaster@snippetcreator.com
DocumentRoot /var/www/web7/web
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Defau
lt.htm default.htm
ScriptAlias  /cgi-bin/ /var/www/web7/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /var/www/web7/log/error.log
If you need more i can get it but this is the first 25%

Lastly, about the logs...There were a bunch labeled with numbers (error.log1-32) so i just took error.log and viewed that

It was mostly filled with
Code:
[Sun Feb 03 19:57:49 2008] [error] an unknown filter was not added: PHP
[Sun Feb 03 19:57:50 2008] [error] an unknown filter was not added: PHP
[Sun Feb 03 19:57:50 2008] [error] an unknown filter was not added: PHP
[Sun Feb 03 19:57:50 2008] [error] an unknown filter was not added: PHP
[Sun Feb 03 19:57:50 2008] [error] an unknown filter was not added: PHP
[Sun Feb 03 19:57:51 2008] [error] an unknown filter was not added: PHP
[Sun Feb 03 19:57:51 2008] [error] an unknown filter was not added: PHP
[Sun Feb 03 19:57:51 2008] [error] an unknown filter was not added: PHP
[Sun Feb 03 19:57:51 2008] [error] an unknown filter was not added: PHP
[Sun Feb 03 19:57:51 2008] [error] an unknown filter was not added: PHP
[Sun Feb 03 19:57:51 2008] [error] an unknown filter was not added: PHP
[Sun Feb 03 19:57:52 2008] [error] an unknown filter was not added: PHP
[Sun Feb 03 19:57:52 2008] [error] an unknown filter was not added: PHP
[Sun Feb 03 19:57:52 2008] [error] an unknown filter was not added: PHP
[Sun Feb 03 19:57:52 2008] [error] an unknown filter was not added: PHP
[Sun Feb 03 19:57:53 2008] [error] an unknown filter was not added: PHP
[Sun Feb 03 19:57:53 2008] [error] an unknown filter was not added: PHP
[Sun Feb 03 19:57:53 2008] [error] an unknown filter was not added: PHP
[Sun Feb 03 19:57:53 2008] [error] an unknown filter was not added: PHP
[Sun Feb 03 19:57:53 2008] [error] an unknown filter was not added: PHP
[Sun Feb 03 19:57:53 2008] [error] an unknown filter was not added: PHP
There were hundreds of these. Besides that there were these errors...
Code:
[Mon Feb 04 09:07:11 2008] [notice] caught SIGTERM, shutting down
[Mon Feb 04 09:07:12 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec2)
[Mon Feb 04 09:07:12 2008] [notice] Apache/2.0.55 (Ubuntu) PHP/5.1.2 mod_ssl/2.0.55 OpenSSL/0.9.8a configured -- resuming nor
mal operations
And

Code:
[error] [client 61.97.55.59] client sent HTTP/1.1 request without hostname (see RFC2616 section 14
.23): /w00tw00t.at.ISC.SANS.DFind:)
Thanks for your continued support!

Last edited by Check; 4th February 2008 at 15:27.
Reply With Quote
  #9  
Old 4th February 2008, 17:57
wr19026 wr19026 is offline
Senior Member
 
Join Date: Jan 2006
Posts: 172
Thanks: 7
Thanked 1 Time in 1 Post
Default

I had to roll back to a previous version as well (as documented in another thread). My version of choice was 2.2.17 on an Ubuntu 6.06.2 server and I do not experience the problem that you describe. Everything (including phpmyadmin and roundcubemail) are still there and functional.
Reply With Quote
  #10  
Old 4th February 2008, 19:18
Check Check is offline
Member
 
Join Date: Feb 2007
Posts: 76
Thanks: 4
Thanked 1 Time in 1 Post
 
Default

oh oh, I may have found it.
In checking to see if my phpMyAdmin still works correctly i notice there are 2 dbs related to ispc.

Im guessing i chose the wrong name when i did the install and it created a new database instead of using the existing one.

Is there a way to point it to the correct database?
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
fastcgi and php with ispconfig tosser Installation/Configuration 14 18th January 2009 13:41
How to move existing sites (4) to ISPconfig JFBray HOWTO-Related Questions 1 15th July 2007 13:31
Migrating to ISPConfig, where to put my sites PranK Installation/Configuration 2 8th July 2007 10:36
ISPCONFIG - JOOMLA - extensions (images) issue grazman HOWTO-Related Questions 11 9th June 2007 12:11
FC4 Setup DNS and ISPCONFIG issues The General Installation/Configuration 7 15th May 2006 09:45


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


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