Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2011-12-30 14:10:30

junk45
New Member
Registered: 2011-12-30
Posts: 6

Q [error] [client1.2.3.4] File does not exist: in error logs

Dear peeps,

I have installed v 4.4.1 onto Apache. It works well. However, I noticed a few errors that popped up in the apache error logs. How would I mend point i)

i) When ever I hit the site, or run the Diagnostics from the Admin page this appears in the logs:
[Fri Dec 30 14:56:12 2011] [error] [client 1.2.3.4] File does not exist: /w1/example.org/www/c6c916ae3d309c4e7670ef22bb8e86f2
[Fri Dec 30 14:56:50 2011] [error] [client1.2.3.4] File does not exist: /w1/example.org/www/f6b66a14cee2e7b356f3468a43ed752a

Note that the Diagnostics Clean URL test fails. Even though the site is up.

ii) I had to disable two rules from ModSec to get it to work:

[Fri Dec 30 14:55:28 2011] [error] [client 88.198.95.13] ModSecurity: Access denied with code 403 (phase 2). Operator EQ matched 0 at REQUEST_HEADERS. [file “/etc/apache2/modsec-crs/base_rules/modsecurity_crs_21_protocol_anomalies.conf”] [line “66”] [id “960009”] [rev “2.2.2”] [msg “Request Missing a User Agent Header”] [severity “NOTICE”] [tag “PROTOCOL_VIOLATION/MISSING_HEADER_UA”] [tag “WASCTC/WASC-21”] [tag “OWASP_TOP_10/A7”] [tag “PCI/6.5.10”] [hostname “www.example.org”] [uri “/2225afc66181c8d1eff7c5ebb1ef782e/”] [unique_id “Tv3C0FjGXw0AACSxFJQAAAAA”]

And

[Fri Dec 30 14:50:29 2011] [error] [client 88.198.95.13] ModSecurity: Access denied with code 403 (phase 2). Operator EQ matched 0 at REQUEST_HEADERS. [file “/etc/apache2/modsec-crs/base_rules/modsecurity_crs_21_protocol_anomalies.conf”] [line “47”] [id “960015”] [rev “2.2.2”] [msg “Request Missing an Accept Header”] [severity “CRITICAL”] [tag “PROTOCOL_VIOLATION/MISSING_HEADER_ACCEPT”] [tag “WASCTC/WASC-21”] [tag “OWASP_TOP_10/A7”] [tag “PCI/6.5.10”] [hostname “www.example.org”] [uri “/2eea048f165f33fe3a4e0670503a51f4/”] [unique_id “Tv3BpVjGXw0AACG4PmsAAAAF”]

I look forward to any help?

Best regards, J

Offline

#2 2011-12-30 14:17:26

junk45
New Member
Registered: 2011-12-30
Posts: 6

Re: Q [error] [client1.2.3.4] File does not exist: in error logs

I take my words back about the site working :D I misconfigured something. The links on the main page do not lead anywhere.

[Fri Dec 30 15:14:36 2011] [error] [client 1.2.3.4] File does not exist: /w1/example.org/www/about, referer: http://www.example.org/
[Fri Dec 30 15:14:42 2011] [error] [client 1.2.3.4] File does not exist: /w1/example.org/www/articles, referer: http://www.example.org/
[Fri Dec 30 15:14:49 2011] [error] [client 1.2.3.4] File does not exist: /w1/example.org/www/articles, referer: http://www.example.org/
[Fri Dec 30 15:14:52 2011] [error] [client 1.2.3.4] File does not exist: /w1/example.org/www/category, referer: http://www.example.org/

Offline

#3 2011-12-30 14:20:26

junk45
New Member
Registered: 2011-12-30
Posts: 6

Re: Q [error] [client1.2.3.4] File does not exist: in error logs

//EDIT
Re: [Fri Dec 30 14:56:12 2011] [error] [client 1.2.3.4] File does not exist: /w1/example.org/www/c6c916ae3d309c4e7670ef22bb8e86f2 I think I solved this by changign perms to 777, although I’d rather something a little securer than 777. Perhaps 700 and the uid of php and apache. Any clues?

however this did not solve the other problems.

Last edited by junk45 (2011-12-30 14:24:38)

Offline

#4 2011-12-30 14:23:53

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: Q [error] [client1.2.3.4] File does not exist: in error logs

Did you try to disable clean urls? You can do it by going to Admin > Preferences > Permanent link mode *


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#5 2011-12-30 14:36:43

junk45
New Member
Registered: 2011-12-30
Posts: 6

Re: Q [error] [client1.2.3.4] File does not exist: in error logs

Just disabled it and it works. I wonder how I can mend this so that clean URLs are enabled. It makes linking the URLs far nicer.

Last edited by junk45 (2011-12-30 14:41:04)

Offline

#6 2011-12-30 15:24:14

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: Q [error] [client1.2.3.4] File does not exist: in error logs

can you post your diagnostics?

Edit: That’s on Admin>Diagnostics

Last edited by colak (2011-12-30 16:28:57)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#7 2011-12-30 16:38:52

junk45
New Member
Registered: 2011-12-30
Posts: 6

Re: Q [error] [client1.2.3.4] File does not exist: in error logs

Apologies, but it’ll have to happen on Monday as I’ve left work and shall be away for the weekend, without access to the server.

Offline

#8 2012-01-02 08:58:41

junk45
New Member
Registered: 2011-12-30
Posts: 6

Re: Q [error] [client1.2.3.4] File does not exist: in error logs

Hi there,

Back from the weekend (there is no public holiday in the Netherlands for New years day nor Christmas day unless one counts the Saturday and Sunday, which of course no one works on anyway, and the shops are open on the weekend, so whats the point… grr).

Here is the output from the Diagnostics tab:-

Diagnostics are:

 Textpattern version: 4.4.1 (r3575)
Last Update: 2011-12-30 13:37:10/2011-06-18 06:17:13
Document root: /w1/example.org/www
$path_to_site: /w1/example.org/www
Textpattern path: /w1/example.org/www/textpattern
Permanent link mode: messy
Temporary directory path: /tmp
Site URL: www.example.org
PHP version: 5.3.8-1~dotdeb.2
GD Image Library: bundled (2.0.34 compatible); supported formats: GIF, JPG, PNG.
Server TZ: Europe/Berlin
Server Local Time: 2012-01-02 09:44:50
DST enabled?: 0
Automatically adjust DST setting?: 1
Time Zone:  (+3600)
MySQL: 5.5.19-1~dotdeb.1-log
Locale: en_GB.UTF-8
Server: Apache/2.2.16 (Debian)
Apache version: Apache/2.2.16 (Debian)
PHP Server API: apache2handler
RFC 2616 headers: 
Server OS: Linux 2.6.32-5-amd64
Admin-side theme: classic 4.4.1

.htaccess file contents: 
------------------------
#DirectoryIndex index.php index.html

#Options +FollowSymLinks
#Options -Indexes
#ErrorDocument 403 default

<IfModule mod_rewrite.c>
	RewriteEngine On
	#RewriteBase /relative/web/path/

	RewriteCond %{REQUEST_FILENAME} -f [OR]
	RewriteCond %{REQUEST_FILENAME} -d
	RewriteRule ^(.+) - [PT,L]

	RewriteCond %{REQUEST_URI} !=/favicon.ico
	RewriteRule ^(.*) index.php

	RewriteCond %{HTTP:Authorization}  !^$
	RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>

#php_value register_globals 0

------------------------

Charset (default/config): latin1/utf8
character_set_client: utf8
character_set_connection: utf8
character_set_database: latin1
character_set_filesystem: binary
character_set_results: utf8
character_set_server: latin1
character_set_system: utf8
character_sets_dir: /usr/share/mysql/charsets/
17 Tables: OK

10 Custom Fields: custom_1, custom_2, custom_3, custom_4, custom_5, custom_6, custom_7, custom_8, custom_9, custom_10 (10)

PHP extensions: Core/5.3.8-1~dotdeb.2, date/5.3.8-1~dotdeb.2, ereg, libxml, openssl, pcre, zlib/1.1, bcmath, bz2, calendar, ctype, dba, dom/20031129, hash/1.0, fileinfo/1.0.5-dev, filter/0.11.0, ftp, gettext, SPL/0.2, iconv, json/1.2.1, mbstring, session, standard/5.3.8-1~dotdeb.2, posix, Reflection/$Revision: 313665 $, Phar/2.0.1, shmop, SimpleXML/0.1, soap, sockets, exif/1.4 $Id: exif.c 314376 2011-08-06 14:47:44Z felipe $, sysvmsg, sysvsem, sysvshm, tokenizer/0.1, wddx, xml, xmlreader/0.1, xmlwriter/0.1, zip/1.9.1, mysqlnd/mysqlnd 5.0.8-dev - 20102224 - $Revision: 310735 $, apache2handler, curl, gd, imagick/3.0.1, imap, mcrypt, mysql/1.0, mysqli/0.1, PDO/1.0.4dev, pdo_mysql/1.0.2, pdo_sqlite/1.0.1, pspell, SQLite/2.0-dev, sqlite3/0.7-dev, suhosin/0.9.32.1, mhash

Apache modules: core, mod_log_config, mod_logio, prefork, http_core, mod_so, mod_alias, mod_auth_basic, mod_authn_file, mod_authz_default, mod_authz_groupfile, mod_authz_host, mod_authz_user, mod_autoindex, mod_bw, mod_cache, mod_cgi, mod_defensible, mod_deflate, mod_dir, mod_env, mod_expires, mod_fastcgi, mod_headers, mod_include, mod_mime, mod_evasive20, mod_chroot, mod_security2, mod_negotiation, mod_php5, mod_proxy, mod_proxy_http, mod_reqtimeout, mod_rewrite, mod_setenvif, mod_ssl, mod_status, mod_unique_id

/w1/example.org/www/index.php: 
	r3189 (5dfca604bf4976675f92222dd5628b0a)
/w1/example.org/www/css.php: 
	r3189 (b53deffeb21070b8d493af6846db8ac3)
/w1/example.org/www/textpattern/css.php: 
	r3189 (820df954c923979eabace541888feb4a)
/w1/example.org/www/textpattern/include/import/import_b2.php: 
	r3446 (7a044ad474fd04ae61063d0df15e05d8)
/w1/example.org/www/textpattern/include/import/import_blogger.php: 
	r3446 (4eade881581bd9932f05a7ff6e2a6e1f)
/w1/example.org/www/textpattern/include/import/import_mt.php: 
	r3446 (f0ab362246e60f37d3c52ef3f004e79d)
/w1/example.org/www/textpattern/include/import/import_mtdb.php: 
	r3488 (22628f6ba8d15645498ba09eb48bab32)
/w1/example.org/www/textpattern/include/import/import_wp.php: 
	r3488 (977d7be6fad569982ad175225e8e4df5)
/w1/example.org/www/textpattern/include/txp_admin.php: 
	r3570 (7925fc6a6c15f944ab255a0a7e239dab)
/w1/example.org/www/textpattern/include/txp_article.php: 
	r3560 (c12a042e5f56efeb4f5af57be4d42023)
/w1/example.org/www/textpattern/include/txp_auth.php: 
	r3571 (dea6f26aa1af3ef10a0dc002f3a397ea)
/w1/example.org/www/textpattern/include/txp_category.php: 
	r3534 (37ecab71b01c146dd58da97d9b5c6439)
/w1/example.org/www/textpattern/include/txp_css.php: 
	r3535 (8cbc6b0e164b1cb790bea0264e867915)
/w1/example.org/www/textpattern/include/txp_diag.php: 
	r3521 (fac584135850fcae546cb8c59bf94688)
/w1/example.org/www/textpattern/include/txp_discuss.php: 
	r3569 (9e1d3b6ab40fde25a41d192e5f573ef7)
/w1/example.org/www/textpattern/include/txp_file.php: 
	r3569 (a1848e934804174886ae3b57d418ebd2)
/w1/example.org/www/textpattern/include/txp_form.php: 
	r3560 (06f2ddc008dbc82ce8d50af615f5f1a0)
/w1/example.org/www/textpattern/include/txp_image.php: 
	r3569 (a77c218d6db978157ec9f289d561cd33)
/w1/example.org/www/textpattern/include/txp_import.php: 
	r3556 (f8187a926ca6a379c1b0dd79fc194bec)
/w1/example.org/www/textpattern/include/txp_link.php: 
	r3569 (412a2382de98901a535548e5cf2def96)
/w1/example.org/www/textpattern/include/txp_list.php: 
	r3569 (91d67b3a1576a5dee3a128a03cdf9f04)
/w1/example.org/www/textpattern/include/txp_log.php: 
	r3569 (fd8cd943143eb3537074563625521033)
/w1/example.org/www/textpattern/include/txp_page.php: 
	r3560 (180b3a6b8669add7dab51a67ec76f89b)
/w1/example.org/www/textpattern/include/txp_plugin.php: 
	r3551 (51152310c17015cf906fb26ddaa68275)
/w1/example.org/www/textpattern/include/txp_prefs.php: 
	r3555 (6e844f30b97b1454c3d201914a2464a9)
/w1/example.org/www/textpattern/include/txp_section.php: 
	r3552 (89aacca63f7afc9fe28dc111cb61fa5d)
/w1/example.org/www/textpattern/include/txp_tag.php: 
	r3560 (d22e90318bd6fdf006198ebd33c5e6b3)
/w1/example.org/www/textpattern/index.php: 
	r3575 (c2c7bf18468d74254c77570a9573b46b)
/w1/example.org/www/textpattern/jquery.js: 
	unknown (a34f78c3aecd182144818eb4b7303fda)
/w1/example.org/www/textpattern/lib/IXRClass.php: 
	r3394 (e0b53564e1504316b35872309780edab)
/w1/example.org/www/textpattern/lib/admin_config.php: 
	r3559 (52d8b15bbf633de98c565252b9ef8ceb)
/w1/example.org/www/textpattern/lib/class.thumb.php: 
	r3301 (78f52a89b91018c8fa00ddd73cd398f5)
/w1/example.org/www/textpattern/lib/classTextile.php: 
	r3566 (03d537017f6fc1f43535fa8d18f4cd48)
/w1/example.org/www/textpattern/lib/constants.php: 
	r3488 (aa0ea1b5749497d3b19f0ed07acccaa2)
/w1/example.org/www/textpattern/lib/taglib.php: 
	r2868 (5738c5e31820cda422f32701c71cb77e)
/w1/example.org/www/textpattern/lib/txplib_admin.php: 
	r3488 (e7f66b6f8cc7e5a51eb05555ad3cb6dc)
/w1/example.org/www/textpattern/lib/txplib_db.php: 
	r3389 (0e7462a104d815a33d25c5a6e775f84d)
/w1/example.org/www/textpattern/lib/txplib_forms.php: 
	r3531 (a4dbb070460ecc5698ab80bba2cdfe5b)
/w1/example.org/www/textpattern/lib/txplib_head.php: 
	r3560 (1a82941e28253d6df3735c05df5f7ebd)
/w1/example.org/www/textpattern/lib/txplib_html.php: 
	r3569 (84ee78759355041d1ebb2c36bf565d80)
/w1/example.org/www/textpattern/lib/txplib_misc.php: 
	r3569 (ea1314b56962fc9c67885691d977a3c5)
/w1/example.org/www/textpattern/lib/txplib_theme.php: 
	r3388 (51ad413813a10071873571304bea9f97)
/w1/example.org/www/textpattern/lib/txplib_update.php: 
	r2812 (52029367bf0aef18c1879d5ff2cf3d46)
/w1/example.org/www/textpattern/lib/txplib_wrapper.php: 
	r2931 (17472ff98d9ffb3dbcc9ebdf222d11ac)
/w1/example.org/www/textpattern/publish.php: 
	r3500 (e3bba9bec573b33dea759c0344db96a8)
/w1/example.org/www/textpattern/publish/atom.php: 
	r3399 (f4470b45eedc8e1ad4a48f8e74b45233)
/w1/example.org/www/textpattern/publish/comment.php: 
	r3395 (9e8596ada0a85ebdd52e1548fda81314)
/w1/example.org/www/textpattern/publish/log.php: 
	r3505 (8401dab65b91b1b1021fc876daf473bd)
/w1/example.org/www/textpattern/publish/rss.php: 
	r3399 (f8cb3ec280bffb8a15832ee3143f576c)
/w1/example.org/www/textpattern/publish/search.php: 
	r2812 (e2355f5b045bf80acc3a52ba32dddb1a)
/w1/example.org/www/textpattern/publish/taghandlers.php: 
	r3567 (6e87e8065d71acaa25512f8901d57938)
/w1/example.org/www/textpattern/textpattern.js: 
	r3560 (d0f6e8f931eb32d945112b712a45e32b)
/w1/example.org/www/textpattern/theme/classic/classic.php: 
	r3191 (f5337d226aef1552c4d4d99fe3bee912)
/w1/example.org/www/textpattern/update/_to_1.0.0.php: 
	r3047 (d631745cc332531712480f2bd6dfae29)
/w1/example.org/www/textpattern/update/_to_4.0.2.php: 
	r3462 (a08e1b95ea2256a33effab779989d1fd)
/w1/example.org/www/textpattern/update/_to_4.0.3.php: 
	r3047 (888328073220c66f316c1f04e5498692)
/w1/example.org/www/textpattern/update/_to_4.0.4.php: 
	r3047 (3da0f3b179ad98a49f8846c4e328cd0d)
/w1/example.org/www/textpattern/update/_to_4.0.5.php: 
	r2894 (e5150247c0e2d8882f65e24c938df1d6)
/w1/example.org/www/textpattern/update/_to_4.0.6.php: 
	r3047 (faeb0eaa7c042d18e79ded54ad3f68b3)
/w1/example.org/www/textpattern/update/_to_4.0.7.php: 
	r3014 (59dfb80496aa6f8bbcb486f26488f65d)
/w1/example.org/www/textpattern/update/_to_4.0.8.php: 
	r3057 (89382671f0509e1d880707bbd293f86c)
/w1/example.org/www/textpattern/update/_to_4.2.0.php: 
	r3480 (7bb41aac414aff7fa81cf960b5a42c1c)
/w1/example.org/www/textpattern/update/_to_4.3.0.php: 
	r3304 (59fcf5b4e1dc7870d6729c63b824e55f)
/w1/example.org/www/textpattern/update/_to_4.4.0.php: 
	r3498 (4b3bd3eadb29f3a9df6398126e137a87)
/w1/example.org/www/textpattern/update/_update.php: 
	r3575 (3386cdffb48e0b00c2b77e00ef57daec)

------------------------

Offline

Board footer

Powered by FluxBB