Current time: 11-29-2024, 12:14 PM Hello There, Guest! (LoginRegister)


Post Reply 
[SOLVED] websites down after update to 1.07
Author Message
marceloctec Offline
Junior Member
*

Posts: 20
Joined: Dec 2010
Reputation: 0
Post: #14
RE: websites down after update to 1.07
(12-08-2010 02:42 AM)fluser Wrote:  Please do this howto again. Something's wrong with your virtualhosts.
http://isp-control.net/documentation/how.../change_ip

Or post the text of /etc/apache2/sites-available/ispcp.conf or something like that

Best Regards
Fluser


Don't work...same error.

/etc/apache2/sites-available/ispcp.conf:

Quote: # httpd awstats support END.

# httpd dmn entry cgi support BEGIN.
# httpd dmn entry cgi support END.

<Directory /var/www/virtual/tecnomott.com.br/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/tecnomott.com.br/:/var/www/virtual/tecnomott.com.br/phptmp/:/usr/share/php/"
php_admin_value upload_tmp_dir "/var/www/virtual/tecnomott.com.br/phptmp/"
php_admin_value session.save_path "/var/www/virtual/tecnomott.com.br/phptmp/"
php_admin_value sendmail_path '/usr/sbin/sendmail -f vu2003 -t -i'
</IfModule>
<IfModule mod_fastcgi.c>
ScriptAlias /php5/ /var/www/fcgi/tecnomott.com.br/
<Directory "/var/www/fcgi/tecnomott.com.br">
AllowOverride None
Options +ExecCGI -MultiViews -Indexes
Order allow,deny
Allow from all
</Directory>
</IfModule>
<IfModule mod_fcgid.c>
<Directory /var/www/virtual/tecnomott.com.br/htdocs>
FCGIWrapper /var/www/fcgi/tecnomott.com.br/php5-fcgi-starter .php
Options +ExecCGI
</Directory>
<Directory "/var/www/fcgi/tecnomott.com.br">
AllowOverride None
Options +ExecCGI MultiViews -Indexes
Order allow,deny
Allow from all
</Directory>
</IfModule>
# httpd dmn entry PHP2 support END.

Include /etc/apache2/ispcp/tecnomott.com.br.conf

</VirtualHost>
# httpd [tecnomott.com.br] dmn entry END.

# httpd [tecnomott.com.br] dmn group entry END.

# httpd [certitec.com.br] dmn group entry BEGIN.

<IfModule mod_cband.c>
<CBandUser certitec.com.br>
# CBandUserLimit 0Mi
# CBandUserScoreboard /var/www/scoreboards/certitec.com.br
# CBandUserPeriod 4W
# CBandUserPeriodSlice 1W
# CBandUserExceededURL http://admin.server.tecnomott.com.br/err...eeded.html
</CBandUser>
</IfModule>


# httpd [bimsolutions.certitec.com.br] sub entry BEGIN.
<VirtualHost server2-ip:80>

#
#User vu2011
#Group vu2011
#

<IfModule suexec_module>
SuexecUserGroup vu2011 vu2011
</IfModule>

ServerAdmin webmaster@certitec.com.br
DocumentRoot /var/www/virtual/certitec.com.br/bimsolutions/htdocs

ServerName bimsolutions.certitec.com.br
ServerAlias http://www.bimsolutions.certitec.com.br bimsolutions.certitec.com.br

Alias /errors /var/www/virtual/certitec.com.br/errors/

RedirectMatch permanent ^/ftp[\/]?$ http://admin.server.tecnomott.com.br/ftp/
RedirectMatch permanent ^/pma[\/]?$ http://admin.server.tecnomott.com.br/pma/
RedirectMatch permanent ^/webmail[\/]?$ http://admin.server.tecnomott.com.br/webmail/
RedirectMatch permanent ^/ispcp[\/]?$ http://admin.server.tecnomott.com.br/

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 certitec.com.br
</IfModule>

# httpd sub entry redirect entry BEGIN.
# httpd sub entry redirect entry END.

# httpd sub entry cgi support BEGIN.
# httpd sub entry cgi support END.

<Directory /var/www/virtual/certitec.com.br/bimsolutions/htdocs>
# httpd sub entry PHP support BEGIN.
# httpd sub entry PHP support END.
Options -Indexes Includes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>

# httpd sub entry PHP2 support BEGIN.
<IfModule mod_php5.c>
php_admin_value open_basedir "/var/www/virtual/certitec.com.br/:/var/www/virtual/certitec.com.br/phptmp/:/usr/share/php/"
php_admin_value upload_tmp_dir "/var/www/virtual/certitec.com.br/phptmp/"
php_admin_value session.save_path "/var/www/virtual/certitec.com.br/phptmp/"
php_admin_value sendmail_path '/usr/sbin/sendmail -f vu2011 -t -i'
</IfModule>
<IfModule mod_fastcgi.c>
ScriptAlias /php5/ /var/www/fcgi/certitec.com.br/
<Directory "/var/www/fcgi/certitec.com.br">
AllowOverride None
Options +ExecCGI -MultiViews -Indexes
Order allow,deny
Allow from all
</Directory>
</IfModule>
<IfModule mod_fcgid.c>
<Directory /var/www/virtual/certitec.com.br/bimsolutions/htdocs>
FCGIWrapper /var/www/fcgi/certitec.com.br/php5-fcgi-starter .php
Options +ExecCGI
</Directory>
<Directory "/var/www/fcgi/certitec.com.br">
AllowOverride None
Options +ExecCGI MultiViews -Indexes
Order allow,deny
Allow from all
</Directory>
</IfModule>
# httpd sub entry PHP2 support END.

Include /etc/apache2/ispcp/bimsolutions.certitec.com.br.conf

</VirtualHost>
# httpd [bimsolutions.certitec.com.br] sub entry END.

# httpd [{SUB_NAME}] sub entry BEGIN.
# httpd [{SUB_NAME}] sub entry END.

# httpd [certitec.com.br] dmn entry BEGIN.
<VirtualHost server2-ip:80>

<IfModule suexec_module>
SuexecUserGroup vu2011 vu2011
</IfModule>

ServerAdmin webmaster@certitec.com.br
DocumentRoot /var/www/virtual/certitec.com.br/htdocs

ServerName certitec.com.br
ServerAlias http://www.certitec.com.br certitec.com.br vu2011.admin.server.tecnomott.com.br

Alias /errors /var/www/virtual/certitec.com.br/errors/

RedirectMatch permanent ^/ftp[\/]?$ http://admin.server.tecnomott.com.br/ftp/
RedirectMatch permanent ^/pma[\/]?$ http://admin.server.tecnomott.com.br/pma/
RedirectMatch permanent ^/webmail[\/]?$ http://admin.server.tecnomott.com.br/webmail/
RedirectMatch permanent ^/ispcp[\/]?$ http://admin.server.tecnomott.com.br/

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 certitec.com.br
</IfModule>

# httpd awstats support BEGIN.

# httpd awstats support END.

# httpd dmn entry cgi support BEGIN.
# httpd dmn entry cgi support END.

<Directory /var/www/virtual/certitec.com.br/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/certitec.com.br/:/var/www/virtual/certitec.com.br/phptmp/:/usr/share/php/"
php_admin_value upload_tmp_dir "/var/www/virtual/certitec.com.br/phptmp/"
php_admin_value session.save_path "/var/www/virtual/certitec.com.br/phptmp/"
php_admin_value sendmail_path '/usr/sbin/sendmail -f vu2011 -t -i'
</IfModule>
<IfModule mod_fastcgi.c>
ScriptAlias /php5/ /var/www/fcgi/certitec.com.br/
<Directory "/var/www/fcgi/certitec.com.br">
AllowOverride None
Options +ExecCGI -MultiViews -Indexes
Order allow,deny
Allow from all
</Directory>
</IfModule>
<IfModule mod_fcgid.c>
<Directory /var/www/virtual/certitec.com.br/htdocs>
FCGIWrapper /var/www/fcgi/certitec.com.br/php5-fcgi-starter .php
Options +ExecCGI
</Directory>
<Directory "/var/www/fcgi/certitec.com.br">
AllowOverride None
Options +ExecCGI MultiViews -Indexes
Order allow,deny
Allow from all
</Directory>
</IfModule>
# httpd dmn entry PHP2 support END.

Include /etc/apache2/ispcp/certitec.com.br.conf

</VirtualHost>
# httpd [certitec.com.br] dmn entry END.

# httpd [certitec.com.br] dmn group entry END.


# httpd [{ALS_NAME}] als entry BEGIN.
# httpd [{ALS_NAME}] als entry END.

# httpd [server2-ip] virtual host entry END.

# httpd [{IP}] virtual host entry BEGIN.
# httpd [{IP}] virtual host entry END.

# httpd Data END.


If I try reinstall 1.07 upgrade, the error appears.

/var/log/ispcp/setup/ispcp-update.log

Quote:sys_command('/usr/sbin/a2enmod suexec') | Ending...
sys_command() | Starting...
system() | [DEBUG] ERROR: Site ispcp.conf not properly enabled: /etc/apache2/sites-enabled/ispcp.conf is a real file, not touching it
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 1
getCmdExitValue() | Ending...
sys_command() | [ERROR] External command '/usr/sbin/a2ensite ispcp.conf' exited with value 1 !
exit_msg() | Starting...
exit_msg() | Ending...
del_file() | Starting...
del_file() | Ending...



Regards,
Marcelo
Fluser,

wher you see "server2-ip", is my server ip.

But, don't work...the same problem.

regards
(This post was last modified: 12-08-2010 03:38 AM by marceloctec.)
12-08-2010 03:18 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: websites down after update to 1.07 - marceloctec - 12-08-2010 03:18 AM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)