After update to 1.0.2 from 1.0.0 i can't make sites runing - kleidi - 09-22-2009 10:49 PM
Hello there !
From two days i'm looking around how to restore my sites after update but i can't. I have tried in many ways, but no success.
I have made the update/upgrade step by step from this url http://www.isp-control.net/documentation/doku.php?id=start:upgrade:rc , but, after update i can't access any of my sites and can't access neither the ftp.
I mentioned that, at step 3 , does not appear any of those screens.
I'm using Debian Lenyy :
Code:
Distributor ID: Debian
Description: Debian GNU/Linux 5.0.3 (lenny)
Release: 5.0.3
Codename: lenny
Can anyone help me?
RE: After update to 1.0.2 from 1.0.0 i can't make sites runing - gOOvER - 09-22-2009 11:16 PM
And what does the logs say?
RE: After update to 1.0.2 from 1.0.0 i can't make sites runing - kleidi - 09-22-2009 11:22 PM
i dunno how to check them ![Sad Sad](images/smilies/sad.gif)
How can i check them, please?
RE: After update to 1.0.2 from 1.0.0 i can't make sites runing - gOOvER - 09-22-2009 11:46 PM
/var/logs
RE: After update to 1.0.2 from 1.0.0 i can't make sites runing - kleidi - 09-23-2009 03:59 AM
Code:
(root@W003)-(/var/log) $ ls -al
total 9340
drwxr-xr-x 8 root root 4096 Sep 22 06:26 .
drwxr-xr-x 14 root root 4096 Mar 30 09:16 ..
drwxr-x--- 4 root adm 20480 Sep 21 19:52 apache2
drwxr-xr-x 2 root root 4096 Sep 1 06:25 apt
-rw-r--r-- 1 root root 0 Sep 22 06:25 aptitude
-rw-r--r-- 1 root root 474 Sep 21 21:49 aptitude.1.gz
-rw-r----- 1 root adm 59227 Sep 22 19:56 auth.log
-rw-r----- 1 root adm 5538227 Sep 22 06:25 auth.log.0
-rw-r----- 1 root adm 597426 Sep 21 21:49 auth.log.1.gz
-rw-r----- 1 root adm 139250 Sep 21 21:49 auth.log.2.gz
-rw-r----- 1 root adm 68840 Sep 21 21:49 auth.log.3.gz
-rw-r----- 1 root adm 127331 Sep 21 21:49 auth.log.4.gz
-rw-r----- 1 root adm 503441 Sep 21 21:49 auth.log.5.gz
-rw-r----- 1 root adm 110093 Sep 21 21:49 auth.log.6.gz
-rw-r----- 1 root adm 0 Sep 21 21:49 boot
-rw-rw---- 1 root utmp 0 Sep 21 21:49 btmp
-rw-rw---- 1 root utmp 0 Sep 21 21:49 btmp.1
-rw-r--r-- 1 root root 8292 Sep 21 21:49 chkrootkit.log
-rw-r----- 1 root adm 59784 Sep 22 19:46 daemon.log
-rw-r----- 1 root adm 54878 Sep 21 21:49 daemon.log.0
-rw-r----- 1 root adm 12772 Sep 21 21:49 daemon.log.1.gz
-rw-r----- 1 root adm 7170 Sep 21 21:49 daemon.log.2.gz
-rw-r----- 1 root adm 7299 Sep 21 21:49 daemon.log.3.gz
-rw-r----- 1 root adm 12508 Sep 21 22:58 debug
-rw-r----- 1 root adm 1020 Sep 21 21:49 debug.0
-rw-r----- 1 root adm 1424 Sep 21 21:49 debug.1.gz
-rw-r----- 1 root adm 147 Sep 21 21:49 debug.2.gz
-rw-r----- 1 root adm 1196 Sep 21 21:49 debug.3.gz
-rw-r----- 1 root adm 20171 Sep 22 01:00 dmesg
-rw-r----- 1 root adm 20172 Sep 21 21:49 dmesg.0
-rw-r----- 1 root adm 6835 Sep 21 21:49 dmesg.1.gz
-rw-r----- 1 root adm 6612 Sep 21 21:49 dmesg.2.gz
-rw-r----- 1 root adm 6421 Sep 21 21:49 dmesg.3.gz
-rw-r----- 1 root adm 28 Sep 21 21:49 dmesg.4.gz
-rw-r----- 1 root adm 20370 Sep 21 21:49 dpkg.log
-rw-r----- 1 root adm 19177 Sep 21 21:49 dpkg.log.1
-rw-r----- 1 root adm 1558 Sep 21 21:49 dpkg.log.2.gz
-rw-r----- 1 root adm 1456 Sep 21 21:49 dpkg.log.3.gz
-rw-r----- 1 root adm 10001 Sep 21 21:49 dpkg.log.4.gz
-rw-r--r-- 1 root root 64128 Sep 21 22:42 faillog
drwxr-xr-x 2 root root 4096 Mar 26 18:12 fsck
drwxr-xr-x 3 root root 12288 Sep 22 06:25 ispcp
-rw-r----- 1 root adm 65749 Sep 22 11:52 kern.log
-rw-r----- 1 root adm 1020 Sep 21 21:49 kern.log.0
-rw-r----- 1 root adm 7763 Sep 21 21:49 kern.log.1.gz
-rw-r----- 1 root adm 195 Sep 21 21:49 kern.log.2.gz
-rw-r----- 1 root adm 150 Sep 21 21:49 kern.log.3.gz
-rw-rw-r-- 1 root utmp 585168 Sep 22 19:56 lastlog
-rw-r--r-- 1 root root 0 Sep 21 21:49 lpr.log
-rw-r----- 1 root adm 0 Sep 21 21:49 mail.err
-rw-r----- 1 root adm 402 Sep 21 21:49 mail.err.0
-rw-r----- 1 root adm 5608 Sep 21 21:49 mail.err.1.gz
-rw-r----- 1 root adm 143 Sep 21 21:49 mail.err.2.gz
-rw-r----- 1 root adm 530 Sep 21 21:49 mail.err.3.gz
-rw-r----- 1 root adm 132543 Sep 22 15:23 mail.info
-rw-r----- 1 root adm 76570 Sep 21 21:49 mail.info.0
-rw-r----- 1 root adm 4483 Sep 21 21:49 mail.info.1.gz
-rw-r----- 1 root adm 5240 Sep 21 21:49 mail.info.2.gz
-rw-r----- 1 root adm 13907 Sep 21 21:49 mail.info.3.gz
-rw-r----- 1 root adm 6705 Sep 21 21:49 mail.info.4.gz
-rw-r----- 1 root adm 19607 Sep 21 21:49 mail.info.5.gz
-rw-r----- 1 root adm 6431 Sep 21 21:49 mail.info.6.gz
-rw-r----- 1 root adm 341596 Sep 22 15:23 mail.log
-rw-r----- 1 root adm 96089 Sep 21 21:49 mail.log.0
-rw-r----- 1 root adm 4532 Sep 21 21:49 mail.log.1.gz
-rw-r----- 1 root adm 5514 Sep 21 21:49 mail.log.2.gz
-rw-r----- 1 root adm 26806 Sep 21 21:49 mail.log.3.gz
-rw-r----- 1 root adm 6950 Sep 21 21:49 mail.log.4.gz
-rw-r----- 1 root adm 38268 Sep 21 21:49 mail.log.5.gz
-rw-r----- 1 root adm 6524 Sep 21 21:49 mail.log.6.gz
-rw-r----- 1 root adm 982 Sep 22 01:00 mail.warn
-rw-r----- 1 root adm 956 Sep 21 21:49 mail.warn.0
-rw-r----- 1 root adm 821 Sep 21 21:49 mail.warn.1.gz
-rw-r----- 1 root adm 528 Sep 21 21:49 mail.warn.2.gz
-rw-r----- 1 root adm 419 Sep 21 21:49 mail.warn.3.gz
-rw-r----- 1 root adm 58256 Sep 22 19:38 messages
-rw-r----- 1 root adm 16906 Sep 21 21:49 messages.0
-rw-r----- 1 root adm 7653 Sep 21 21:49 messages.1.gz
-rw-r----- 1 root adm 1518 Sep 21 21:49 messages.2.gz
-rw-r----- 1 root adm 1358 Sep 21 21:49 messages.3.gz
drwxr-s--- 2 mysql adm 4096 Mar 30 09:16 mysql
-rw-r----- 1 mysql adm 0 Sep 21 21:49 mysql.err
-rw-r----- 1 mysql adm 0 Sep 22 06:25 mysql.log
-rw-r----- 1 mysql adm 20 Sep 21 21:49 mysql.log.1.gz
-rw-r----- 1 mysql adm 20 Sep 21 21:49 mysql.log.2.gz
-rw-r----- 1 mysql adm 20 Sep 21 21:49 mysql.log.3.gz
-rw-r----- 1 mysql adm 20 Sep 21 21:49 mysql.log.4.gz
-rw-r----- 1 mysql adm 20 Sep 21 21:49 mysql.log.5.gz
-rw-r----- 1 mysql adm 20 Sep 21 21:49 mysql.log.6.gz
-rw-r----- 1 mysql adm 20 Sep 21 21:49 mysql.log.7.gz
drwxr-xr-x 2 root root 4096 Sep 22 06:25 proftpd
-rw------- 1 root root 101501 Sep 22 06:26 rkhunter.log
-rw------- 1 vu2000 root 96385 Sep 21 21:49 rkhunter.log.old
-rw-r----- 1 root adm 36546 Sep 22 19:50 syslog
-rw-r----- 1 root adm 490388 Sep 22 06:26 syslog.0
-rw-r----- 1 root adm 6941 Sep 21 21:49 syslog.1.gz
-rw-r----- 1 root adm 6515 Sep 21 21:49 syslog.2.gz
-rw-r----- 1 root adm 7025 Sep 21 21:49 syslog.3.gz
-rw-r----- 1 root adm 9646 Sep 21 21:49 syslog.4.gz
-rw-r----- 1 root adm 5916 Sep 21 21:49 syslog.5.gz
-rw-r----- 1 root adm 6888 Sep 21 21:49 syslog.6.gz
-rw-r--r-- 1 root root 0 Sep 21 21:49 user.log
-rw-r--r-- 1 root root 0 Sep 21 21:49 uucp.log
-rw-rw-r-- 1 root utmp 35712 Sep 22 19:56 wtmp
-rw-rw-r-- 1 root utmp 4224 Sep 21 21:49 wtmp.1
(root@W003)-(/var/log) $
Which of those???
Do u want to check them by yourself, please?
Thank you
RE: After update to 1.0.2 from 1.0.0 i can't make sites runing - kleidi - 09-24-2009 05:35 AM
Any help?
RE: After update to 1.0.2 from 1.0.0 i can't make sites runing - kilburn - 09-24-2009 06:35 AM
You don't provide any useful info so we can help. Please ask the following questions:
1. What happens if try to open any of your domains? Do you get an error? Do you get the panel page?
2. Post your /etc/apache2/sites-enabled/ispcp and /etc/apache2/sites-enabled/00-master.conf files please
3. When (re)starting proftpd (/etc/init.d/proftpd restart), do you get any error?
4. If you don't, which error do you get when trying to connect to it?
RE: After update to 1.0.2 from 1.0.0 i can't make sites runing - kleidi - 09-24-2009 09:46 AM
Thx for your reply.
1. When i tried to access my domains i receive a 404 error (pertegjithe.com). I can access control panel without problems. But, after update i have tried to add again one of my old domains (viterinat.com) bcz i thought that in this way, the control panel will add all settings like old ones, but i was wrong. Now, for that domain i receive 500 error and i think that what i did is not the way to resolve this issue.
2. - /etc/apache2/sites-enabled/ispcp.conf ![Wink Wink](images/smilies/wink.gif)
xxx.xxx.xxx.xxx is my server ip and is modified by me at this post anyway it appears in other txt here ![Wink Wink](images/smilies/wink.gif)
Code:
# httpd Data BEGIN.
#
# wget-hack prevention
#
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} ^LWP::Simple
RewriteRule ^/.* http://%{REMOTE_ADDR}/ [L,E=nolog:1]
</IfModule>
#
# Log processing.
#
LogFormat "%B" traff
LogFormat "%v %b %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" ispcplog
CustomLog "| /var/www/ispcp/engine/ispcp-apache-logger" ispcplog
ErrorLog "| /var/www/ispcp/engine/ispcp-apache-logger -e"
#
# mod_cband configuration
#
<IfModule mod_cband.c>
CBandScoreFlushPeriod 10
CBandRandomPulse On
</IfModule>
#
# let the customer decide what charset he likes to use
#
AddDefaultCharset Off
#
# Header End
#
# httpd [xxx.xxx.xxx.xxx] virtual host entry BEGIN.
NameVirtualHost xxx.xxx.xxx.xxx:80
# httpd [{DMN_GRP}] dmn group entry BEGIN.
# httpd [{DMN_GRP}] dmn group entry END.
# httpd [viterinat.com] dmn group entry BEGIN.
<IfModule mod_cband.c>
<CBandUser viterinat.com>
# CBandUserLimit 0Mi
# CBandUserScoreboard /var/www/scoreboards/viterinat.com
# CBandUserPeriod 4W
# CBandUserPeriodSlice 1W
# CBandUserExceededURL http://server2.albmania.com:2408/errors/bw_exceeded.html
</CBandUser>
</IfModule>
# httpd [{SUB_NAME}] sub entry BEGIN.
# httpd [{SUB_NAME}] sub entry END.
# httpd [viterinat.com] dmn entry BEGIN.
<VirtualHost xxx.xxx.xxx.xxx:80>
<IfModule suexec_module>
SuexecUserGroup vu2001 vu2001
</IfModule>
ServerAdmin webmaster@viterinat.com
DocumentRoot /var/www/virtual/viterinat.com/htdocs
ServerName viterinat.com
ServerAlias www.viterinat.com viterinat.com *.viterinat.com
Alias /errors /var/www/virtual/viterinat.com/errors/
RedirectMatch permanent ^/ftp([\/]?) http://server2.albmania.com:2408/ftp/
RedirectMatch permanent ^/pma([\/]?) http://server2.albmania.com:2408/pma/
RedirectMatch permanent ^/webmail([\/]?) http://server2.albmania.com:2408/webmail/
ErrorDocument 401 /errors/401.html
ErrorDocument 403 /errors/403.html
ErrorDocument 404 /errors/404.html
ErrorDocument 500 /errors/500.html
ErrorDocument 503 /errors/503.html
<IfModule mod_cband.c>
CBandUser viterinat.com
</IfModule>
# httpd awstats support BEGIN.
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /stats http://localhost/stats/viterinat.com
ProxyPassReverse /stats http://localhost/stats/viterinat.com
<Location /stats>
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^(.+)\?config=([^\?\&]+)(.*) $1\?config=viterinat.com&$3 [NC,L]
</IfModule>
AuthType Basic
AuthName "Statistics for domain viterinat.com"
AuthUserFile /var/www/virtual/viterinat.com/.htpasswd
AuthGroupFile /var/www/virtual/viterinat.com/.htgroup
Require group statistics
</Location>
# httpd awstats support END.
# httpd dmn entry cgi support BEGIN.
ScriptAlias /cgi-bin/ /var/www/virtual/viterinat.com/cgi-bin/
<Directory /var/www/virtual/viterinat.com/cgi-bin>
AllowOverride AuthConfig
#Options ExecCGI
Order allow,deny
Allow from all
</Directory>
# httpd dmn entry cgi support END.
<Directory /var/www/virtual/viterinat.com/htdocs>
# httpd dmn entry PHP support BEGIN.
# httpd dmn entry PHP support END.
Options -Indexes Includes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
# httpd dmn entry PHP2 support BEGIN.
<IfModule mod_php5.c>
php_admin_value open_basedir "/var/www/virtual/viterinat.com/:/var/www/virtual/viterinat.com/phptmp/:/usr/share/php/"
php_admin_value upload_tmp_dir "/var/www/virtual/viterinat.com/phptmp/"
php_admin_value session.save_path "/var/www/virtual/viterinat.com/phptmp/"
php_admin_value sendmail_path '/usr/sbin/sendmail -f vu2001 -t -i'
</IfModule>
<IfModule mod_fastcgi.c>
ScriptAlias /php5/ /var/www/fcgi/viterinat.com/
<Directory "/var/www/fcgi/viterinat.com">
AllowOverride None
Options +ExecCGI -MultiViews -Indexes
Order allow,deny
Allow from all
</Directory>
</IfModule>
<IfModule mod_fcgid.c>
Include /etc/apache2/mods-enabled/fcgid_ispcp.conf
<Directory /var/www/virtual/viterinat.com/htdocs>
FCGIWrapper /var/www/fcgi/viterinat.com/php5-fcgi-starter .php
Options +ExecCGI
</Directory>
<Directory "/var/www/fcgi/viterinat.com">
AllowOverride None
Options +ExecCGI MultiViews -Indexes
Order allow,deny
Allow from all
</Directory>
</IfModule>
# httpd dmn entry PHP2 support END.
Include /etc/apache2/ispcp/viterinat.com.conf
</VirtualHost>
# httpd [viterinat.com] dmn entry END.
# httpd [viterinat.com] dmn group entry END.
# httpd [{ALS_NAME}] als entry BEGIN.
# httpd [{ALS_NAME}] als entry END.
# httpd [xxx.xxx.xxx.xxx] virtual host entry END.
# httpd [{IP}] virtual host entry BEGIN.
# httpd [{IP}] virtual host entry END.
# httpd Data END.
- /etc/apache2/sites-enabled/00-master.conf
Code:
#
# ispCP Ď^É (OMEGA) a Virtual Hosting Control System
#
# @copyright 2001-2006 by moleSoftware GmbH
# @copyright 2006-2008 by ispCP | http://isp-control.net
# @version SVN: $Id$
# @link http://isp-control.net
# @author ispCP Team
#
# @license
# This program is free software; you can redistribute it and/or modify it under
# the terms of the MPL General Public License as published by the Free Software
# Foundation; either version 1.1 of the License, or (at your option) any later
# version.
# You should have received a copy of the MPL Mozilla Public License along with
# this program; if not, write to the Open Source Initiative (OSI)
# http://opensource.org | osi@opensource.org
#
################################################################################
#
# Master Begin
#
<VirtualHost 212.117.174.121:2408>
ServerAdmin admin@albmania.com
DocumentRoot /var/www/ispcp/gui
ServerName server2.albmania.com:2408
Alias /errors /var/www/ispcp/gui/errordocs/
ErrorDocument 401 /errors/401.html
ErrorDocument 403 /errors/403.html
ErrorDocument 404 /errors/404.html
ErrorDocument 500 /errors/500.html
ErrorDocument 503 /errors/503.html
Alias /pma /var/www/ispcp/gui/tools/pma/
Alias /webmail /var/www/ispcp/gui/tools/webmail/
Alias /ftp /var/www/ispcp/gui/tools/filemanager/
<IfModule suexec_module>
SuexecUserGroup vu2000 vu2000
</IfModule>
<Directory /var/www/ispcp/gui>
Options -Indexes Includes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<IfModule mod_fcgid.c>
<Directory /var/www/ispcp/gui>
FCGIWrapper /var/www/fcgi/master/php5-fcgi-starter .php
Options +ExecCGI
</Directory>
<Directory "/var/www/fcgi/master">
AllowOverride None
Options +ExecCGI MultiViews -Indexes
Order allow,deny
Allow from all
</Directory>
</IfModule>
<IfModule mod_fcgid.c>
<Directory /var/www/ispcp/gui>
FCGIWrapper /var/www/fcgi/master/php5-fcgi-starter .php
Options +ExecCGI
</Directory>
<Directory "/var/www/fcgi/master">
AllowOverride None
Options +ExecCGI MultiViews -Indexes
Order allow,deny
Allow from all
</Directory>
</IfModule>
<IfModule mod_fastcgi.c>
ScriptAlias /php5/ /var/www/fcgi/master/
<Directory "/var/www/fcgi/master">
AllowOverride None
Options +ExecCGI MultiViews -Indexes
Order allow,deny
Allow from all
</Directory>
</IfModule>
<IfModule mod_php5.c>
<Directory /var/www/ispcp/gui>
php_admin_value open_basedir "/var/www/ispcp/gui/:/etc/ispcp/:/var/run/ispcp.lock:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/$
php_admin_value session.save_path "/var/www/ispcp/gui/phptmp/"
php_admin_value upload_tmp_dir "/var/www/ispcp/gui/phptmp/"
</Directory>
</IfModule>
</VirtualHost>
#
# Master End
#
3. When restarting proft i get this msg that seems to be OK:
Code:
(root@W003)-(/etc/apache2/sites-enabled) $ /etc/init.d/proftpd restart
Stopping ftp server: proftpd.
Starting ftp server: proftpd - processing configuration directory '/etc/proftpd/ispcp'
.
(root@W003)-(/etc/apache2/sites-enabled) $
4. When i tried to connect to ftp with old logins i get this error from filezilla:
- to viterinat.com:
Code:
Status: Resolving address of ftp.viterinat.com
Status: Connection attempt failed with "EAI_NONAME - Neither nodename nor servname provided, or not known".
Error: Could not connect to server
Status: Waiting to retry...
Status: Resolving address of ftp.viterinat.com
Status: Connection attempt failed with "EAI_NONAME - Neither nodename nor servname provided, or not known".
Error: Could not connect to server
Status: Waiting to retry...
- to pertegjithe.com
Code:
Status: Resolving address of pertegjithe.com
Status: Connecting to 212.117.174.122:21...
Status: Connection established, waiting for welcome message...
Error: Connection closed by server
Error: Could not connect to server
Status: Waiting to retry...
Status: Resolving address of pertegjithe.com
Status: Connecting to 212.117.174.122:21...
Status: Connection established, waiting for welcome message...
Error: Connection closed by server
Error: Could not connect to server
Status: Waiting to retry...
Hope that i was clear! Thx again!
RE: After update to 1.0.2 from 1.0.0 i can't make sites runing - kleidi - 09-25-2009 06:07 PM
I have restored my backups that was at /var/www/ispcp/backups and i have restored my database too but sites are still unvailable with 404 error :
Code:
Not Found
The requested URL / was not found on this server.
Apache/2.2.9 (Debian) Server at pertegjithe.com Port 80
Any help, please ?
RE: After update to 1.0.2 from 1.0.0 i can't make sites runing - kleidi - 09-26-2009 08:20 AM
Resolved.
U can close this thread.
Thx!
|