HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   error 404 - no pictures and files can be loaded (http://www.howtoforge.com/forums/showthread.php?t=62083)

DUCKFACE 4th June 2013 16:47

error 404 - no pictures and files can be loaded
 
i have really strange error 404.
on new created server i copy the clientX from another server. clients, groups and users are the same. file permitions are the same.
when i reach index.php site is opening but no css support no pictures. just plain text. when i try to reach css or picture file directly i got error 404.
another bad thing is that mysql server is "offline" .. but i can actualy work on it.

here is the apache error.log
[Tue Jun 04 17:45:23 2013] [notice] Graceful restart requested, doing restart
[Tue Jun 04 17:45:23 2013] [warn] NameVirtualHost *:80 has no VirtualHosts
[Tue Jun 04 17:45:23 2013] [notice] Digest: generating secret for digest authentication ...
[Tue Jun 04 17:45:23 2013] [notice] Digest: done
[Tue Jun 04 17:45:23 2013] [notice] FastCGI: process manager initialized (pid 18663)
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/ming.ini on line 1 in Unknown on line 0
[Tue Jun 04 17:45:24 2013] [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
[Tue Jun 04 17:45:24 2013] [notice] mod_python: using mutex_directory /tmp
[Tue Jun 04 17:45:24 2013] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Tue Jun 04 17:45:24 2013] [warn] RSA server certificate CommonName (CN) `Nikolay Konstantinov' does NOT match server name!?
[Tue Jun 04 17:45:24 2013] [notice] Apache/2.2.22 (Ubuntu) DAV/2 mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_fcgid/2.3.7 PHP/5.4.9-4ubuntu2 mod_python/3.3.1 Python/2.7.4 mod_ruby/1.2.6 Ruby/1.8.7(2012-02-08) mod_ssl/2.2.22 OpenSSL/1.0.1c configured -- resuming normal operations
[Tue Jun 04 17:45:24 2013] [warn] long lost child came home! (pid 18508)


edit again ..
here is the log for the site
(13)Permission denied: file permissions deny server access: /var/www/clients/client4/web4/web/
but for ls -ld /var/www/clients/client4/web4/web/ i have
drwx--x--- 9 web4 client4 4096 Jun 4 17:10 /var/www/clients/client4/web4/web/

any help will be great.

monkfish 5th June 2013 12:56

Duckface,

I would perhaps suggest you fix your sql problems first - see your other post.

Don't forget that the whole ispconfig interface and operation relies on a good working sql backend - in simple terms updates are entered as SQL records then the cron job queries and applies those records as changes to the system.

You may find, if you look at your job queue, you have a lot of outstanding jobs. You may also find if you still have SQL access issues the job queue cannot be processed.

Once you've fixed that, perhaps a "resync" of websites from the tools menu, you may find operation of a website a lot better.

HTH

DUCKFACE 6th June 2013 13:49

im checking now the problem with mysql ... thanks monkfish :)

but the rest of the problems stil exists. i can make certificates .. but when i look at the apache error log i see
Code:

[Thu Jun 06 13:56:16 2013] [notice] caught SIGTERM, shutting down
[Thu Jun 06 13:56:17 2013] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu Jun 06 13:56:17 2013] [warn] RSA server certificate CommonName (CN) `Nikolay Konstantinov' does NOT match server name!?
[Thu Jun 06 13:56:17 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Thu Jun 06 13:56:17 2013] [notice] Digest: generating secret for digest authentication ...
[Thu Jun 06 13:56:17 2013] [notice] Digest: done
[Thu Jun 06 13:56:17 2013] [notice] FastCGI: process manager initialized (pid 17798)
PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/ming.ini on line 1 in Unknown on line 0
[Thu Jun 06 13:56:17 2013] [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
[Thu Jun 06 13:56:17 2013] [notice] mod_python: using mutex_directory /tmp
[Thu Jun 06 13:56:18 2013] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu Jun 06 13:56:18 2013] [warn] RSA server certificate CommonName (CN) `Nikolay Konstantinov' does NOT match server name!?
[Thu Jun 06 13:56:18 2013] [notice] Apache/2.2.22 (Ubuntu) DAV/2 mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_fcgid/2.3.7 PHP/5.4.9-4ubuntu2 mod_python/3.3.1 Python/2.7.4 mod_ruby/1.2.6 Ruby/1.8.7(2012-02-08) mod_ssl/2.2.22 OpenSSL/1.0.1c configured -- resuming normal operations
PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/cgi/conf.d/ming.ini on line 1 in Unknown on line 0

the error in the sire log is :
Code:

[Thu Jun 06 14:10:43 2013] [error] [client 209.85.238.157] (13)Permission denied: file permissions deny server access: /var/www/clients/client4/web4/web/bss_engine/javascripts/jquery.js
[Thu Jun 06 14:10:43 2013] [error] [client 209.85.238.157] File does not exist: /var/www/xyz.com/web/error/403.php

and here is .htaccess for the site
Code:

RewriteCond %{HTTP:VIA}                !^$ [OR]
RewriteCond %{HTTP:FORWARDED}          !^$ [OR]
RewriteCond %{HTTP:USERAGENT_VIA}      !^$ [OR]
RewriteCond %{HTTP:X_FORWARDED_FOR}    !^$ [OR]
RewriteCond %{HTTP:PROXY_CONNECTION}    !^$ [OR]
RewriteCond %{HTTP:XPROXY_CONNECTION}  !^$ [OR]
RewriteCond %{HTTP:HTTP_PC_REMOTE_ADDR} !^$ [OR]
RewriteCond %{HTTP:XROXY_CONNECTION}    !^$ [OR]
RewriteCond %{HTTP:X-FORWARDED-FOR}    !^$ [OR]
RewriteCond %{HTTP:FORWARDED-FOR}      !^$ [OR]
RewriteCond %{HTTP:X-FORWARDED}        !^$ [OR]
RewriteCond %{HTTP:HTTP_CLIENT_IP}      !^$
RewriteRule ^(.*)$ - [F]
# 70 1@0C7J@ IE6 8;8 ?>-AB0@ ?@5=0A>G20 :J< /old
RewriteCond %{HTTP_USER_AGENT} MSIE\ [1-6]
RewriteRule !^old(/.*)?$ /old%{REQUEST_URI} [QSA,L]
# !?8@0 MultiViews (70 40 <>65 /abc 40 3> BJ@A8 :0B> /abc.ext ?@548 /abc/)
Options +FollowSymLinks -MultiViews
DirectoryIndex index.php
# !?8@0 mod_dir, 70 40 =5 4>102O =0:;>=5=0 G5@B0 2 :@0O.
DirectorySlash Off
RewriteEngine On
# :> BJ@A8 /index 8;8 /index.php
RewriteCond %{THE_REQUEST} \ /(.+/)?index(\.php)?(\?.*)?\  [NC]
# 3> 87B@820 8 >AB02O A0<> /
RewriteRule ^(.+/)?index(\.php)?$ /%1 [R=301,L]
# >102O =0:;>=5=0 G5@B0 2 :@0O =0 48@5:B>@8O, 0:> =O<0 D09; A .html
# :> BJ@A8 48@5:B>@8O
RewriteCond %{SCRIPT_FILENAME}/ -d
# 8 =O<0 php D09; A B0:>20 8<5
RewriteCond %{SCRIPT_FILENAME}.php !-f
# 8 =O<0 =0:;>=5=0 G5@B0, O 4>102O.
RewriteRule [^/]$ %{REQUEST_URI}/ [R=301,L]
# 7B@820 HTML @07H8@5=8O
# :> B>20 5 70O2:0 >B 1@0C7J@ (0 =5 >B Apache/mod_rewrite)
RewriteCond %{ENV:REDIRECT_STATUS} ^$
# 8 70O2:0B0 8<0 HTML @07H8@5=85, 3> 87B@820.
RewriteRule ^(.+)\.php$ /$1 [R=301,L]
# :> 2 70O2:0B0 8<0 .html @07H8@5=85
RewriteCond %{SCRIPT_FILENAME}.php -f
# 8 =O<0 =0:;>=5=0 G5@B0, 4>102O .php
RewriteRule [^/]$ %{REQUEST_URI}.php [QSA,L]
#!J:@0I020=5 =0 04@5A8
#RewriteRule ^sec/([0-9]+)/cat/([0-9]+)/?$ /index.php?id_object=$1&id_multimedia=$2 [QSA,L]
#0:> =0?8H5H http://domain.com/clients.html I5 1J45 ?>BJ@A5= D09;0 /clients.php
RewriteRule ^([--/0-OA-Za-z0-9_]+)\.html$ /$1.php [QSA,L]
php_value upload_max_filesize 20M
php_value post_max_size 20M
php_value max_execution_time 200
php_value max_input_time 200



All times are GMT +2. The time now is 05:19.

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