HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=15)
-   -   Power failiure (http://www.howtoforge.com/forums/showthread.php?t=10760)

Wwamphyri 21st February 2007 09:17

Power failiure
 
this morning i woke up to find we had a power failure

Index of /

Name Last modified Size Description

[DIR] Parent Directory 12-Dec-2006 18:00 -
[DIR] apache2-default/ 10-Feb-2007 09:49 -
[DIR] chroot/ 12-Dec-2006 18:15 -
[DIR] localhost/ 11-Feb-2007 00:30 -
[DIR] phpmyadmin/ 11-Feb-2007 15:41 -
[DIR] sharedip/ 10-Feb-2007 10:27 -
[DIR] sites/ 03-Feb-2007 14:49 -
[DIR] sqwebmail/ 10-Feb-2007 07:18 -
[DIR] web1/ 11-Feb-2007 17:08 -
[DIR] web4/ 11-Feb-2007 04:00 -
[DIR] web5/ 10-Feb-2007 15:48 -
[DIR] web6/ 21-Feb-2007 03:14 -
[DIR] webalizer/ 01-Feb-2007 06:25 -
[DIR] www.******.net/ 10-Feb-2007 15:48 -
[DIR] www.******.net/ 11-Feb-2007 00:30 -
[DIR] www.*****.com/ 11-Feb-2007 04:00 -
[DIR] www.******.com/ 21-Feb-2007 03:14 -

Apache/1.3.33 Server at *******.com Port 80


thats all i see for all my sites

till 21st February 2007 10:02

Are you able to login in the ISPConfig controlpanel? If yes, please change the settings of one of your sites to let ISPConfig rewrite the config files. Is the IP in the website settings correct for the websites or does your IP may have changed trough the power failure (if you use DHCP)?

Wwamphyri 21st February 2007 21:31

ip is still the same, i have gone as far as removing a site and relisting it in the ispconfig panel, and it still comes up the same

falko 21st February 2007 23:57

What's in Vhosts_ispconfig.conf? What's the output of
Code:

ls -la /root/ispconfig
? Any errors in /home/admispconfig/ispconfig/ispconfig.log?

Wwamphyri 23rd February 2007 08:05

This is /etc/apache2/vhosts/Vhosts_ispconfig.conf
Code:

###################################
#
# ISPConfig vHost Configuration File
#        Version 1.0
#
###################################
#
NameVirtualHost 72.38.195.48:80
<VirtualHost 72.38.195.48:80>
  ServerName localhost
  ServerAdmin root@localhost
  DocumentRoot /var/www/sharedip
</VirtualHost>
#
#
######################################
# Vhost: www.loyalty.kicks-ass.net:80
######################################
#
#
<VirtualHost 72.38.195.48:80>
ServerName www.loyalty.kicks-ass.net:80
ServerAdmin webmaster@loyalty.kicks-ass.net
DocumentRoot /var/www/web1/web
ServerAlias loyalty.kicks-ass.net
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 i
ndex.shtml index.cgi index.pl index.jsp Default.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: www.wecfamilies.com:80
######################################
#
#
<VirtualHost 72.38.195.48:80>
ServerName www.wecfamilies.com:80
ServerAdmin webmaster@wecfamilies.com
DocumentRoot /var/www/web6/web
ServerAlias wecfamilies.com
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 i
ndex.shtml index.cgi index.pl index.jsp Default.htm default.htm
ScriptAlias  /cgi-bin/ /var/www/web6/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /var/www/web6/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/web6/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/web6/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web6/user/$1/web/$3
</VirtualHost>
#
#
#
######################################
# Vhost: www.illicitdesign.net:80
######################################
#
#
<VirtualHost 72.38.195.48:80>
ServerName www.illicitdesign.net:80
ServerAdmin webmaster@illicitdesign.net
DocumentRoot /var/www/web5/web
ServerAlias illicitdesign.net
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 i
ndex.shtml index.cgi index.pl index.jsp Default.htm default.htm
ScriptAlias  /cgi-bin/ /var/www/web5/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /var/www/web5/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/web5/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/web5/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web5/user/$1/web/$3
</VirtualHost>
#
#
#
######################################
# Vhost: www.nulledphp.com:80
######################################
#
#
<VirtualHost 72.38.195.48:80>
ServerName www.nulledphp.com:80
ServerAdmin webmaster@nulledphp.com
DocumentRoot /var/www/web4/web
ServerAlias nulledphp.com
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 i
ndex.shtml index.cgi index.pl index.jsp Default.htm default.htm
ScriptAlias  /cgi-bin/ /var/www/web4/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /var/www/web4/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/web4/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/web4/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web4/user/$1/web/$3
</VirtualHost>
#
#
#

this is the ispconfig.log
Code:

22.02.2007 - 23:59:06 => INFO - /root/ispconfig/scripts/shell/ftp_logs.php, Line 121: rm -f /var/log/xferlog.www.illicitdesign.net
22.02.2007 - 23:59:06 => INFO - /root/ispconfig/scripts/shell/ftp_logs.php, Line 96: cat /dev/null > /var/log/xferlog.www.nulledphp.com
22.02.2007 - 23:59:06 => INFO - /root/ispconfig/scripts/shell/ftp_logs.php, Line 121: rm -f /var/log/xferlog.www.nulledphp.com
22.02.2007 - 23:59:06 => INFO - /root/ispconfig/scripts/shell/ftp_logs.php, Line 124: rm -f /var/log/xferlog.22-02-07_23-59-01

and this is the output of ls -la /root/ispconfig
Code:

drwxr-xr-x  9 root root  4096 Feb 21 03:14 .
drwxr-xr-x  13 root root  4096 Feb 21 02:55 ..
-rw-r--r--  1 root root    8 Feb 21 03:14 .old_path_httpd_root
-rwxr-xr-x  1 root root 54016 Feb 21 02:54 cronolog
-rwxr-xr-x  1 root root  9673 Feb 21 02:54 cronosplit
drwxr-xr-x  12 root root  4096 Feb 21 02:46 httpd
drwxr-xr-x  14 root root  4096 Feb 21 02:54 isp
drwxr-xr-x  6 root root  4096 Feb 21 02:41 openssl
drwxr-xr-x  6 root root  4096 Feb 21 02:51 php
drwxr-xr-x  4 root root  4096 Feb 21 02:54 scripts
drwxr-xr-x  4 root root  4096 Feb 21 02:54 standard_cgis
drwxr-xr-x  2 root root  4096 Feb 21 02:54 sv
-rwx------  1 root root  9389 Feb 21 02:54 uninstall


falko 24th February 2007 14:22

Looks ok. Is /etc/apache2/vhosts/Vhosts_ispconfig.conf included in your main Apache configuration file?
What's the output of
Code:

ifconfig
?

Wwamphyri 24th February 2007 21:21

i ended up doing a complete backup of all the sites and dbases and resinstalling the os and ispconfig :)


All times are GMT +2. The time now is 06:39.

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