You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Виталий Фадеев <ru...@gmail.com> on 2015/11/03 12:05:27 UTC

[users@httpd] Cannot find request by error log id

Hi!

I modify access and error log formats by add %L parameter.

In my error log i get this:
[Tue Nov 03 02:55:33.635958 2015] [VjiEkn8AAAEAAHuBfzkAAABB] [-:error]
[pid 31617:tid [client IP:PORT] PHP Warning:
unlink(/tmp/file_name.txt): No such file or directory in
/var/www/file_test.php on line 1, referer REFERER

If i try to find this ID in access logs - nothing found.

If i search request by referer, pid, ip and port combination - there
is also no ID

Why? Is this some limitations?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Cannot find request by error log id

Posted by Russel Van Tuyl <ru...@gmail.com>.
unsubscribe

On Tue, Mar 29, 2016 at 6:45 AM, Виталий Фадеев <ru...@gmail.com> wrote:

> May be we need to get help from php team?
>
> 2015-11-13 13:54 GMT+06:00 Kurtis Rader <kr...@skepticism.us>:
> > On Tue, Nov 3, 2015 at 3:05 AM, Виталий Фадеев <ru...@gmail.com>
> wrote:
> >>
> >> I modify access and error log formats by add %L parameter.
> >>
> >> In my error log i get this:
> >> [Tue Nov 03 02:55:33.635958 2015] [VjiEkn8AAAEAAHuBfzkAAABB] [-:error]
> >> [pid 31617:tid [client IP:PORT] PHP Warning:
> >> unlink(/tmp/file_name.txt): No such file or directory in
> >> /var/www/file_test.php on line 1, referer REFERER
> >>
> >> If i try to find this ID in access logs - nothing found.
> >>
> >> If i search request by referer, pid, ip and port combination - there
> >> is also no ID
> >
> >
> > I tested this on my system.  The value logged by %L in the access log
> cannot
> > be found in the error log. The %L value is clearly a hash of some sort
> > (e.g., SHA1 value of the incoming IP address and port) converted to
> ASCII.
> > This looks like a bug to me.
> >
> > --
> > Kurtis Rader
> > Caretaker of the exceptional canines Junior and Hank
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


-- 
Respectfully,
Russel Van Tuyl

“If you don’t go after what you want, you’ll never have it. If you don’t
ask, the answer is always no. If you don’t step forward, you’re always in
the same place.” -- Nora Roberts, author

Re: [users@httpd] Cannot find request by error log id

Posted by Виталий Фадеев <ru...@gmail.com>.
May be we need to get help from php team?

2015-11-13 13:54 GMT+06:00 Kurtis Rader <kr...@skepticism.us>:
> On Tue, Nov 3, 2015 at 3:05 AM, Виталий Фадеев <ru...@gmail.com> wrote:
>>
>> I modify access and error log formats by add %L parameter.
>>
>> In my error log i get this:
>> [Tue Nov 03 02:55:33.635958 2015] [VjiEkn8AAAEAAHuBfzkAAABB] [-:error]
>> [pid 31617:tid [client IP:PORT] PHP Warning:
>> unlink(/tmp/file_name.txt): No such file or directory in
>> /var/www/file_test.php on line 1, referer REFERER
>>
>> If i try to find this ID in access logs - nothing found.
>>
>> If i search request by referer, pid, ip and port combination - there
>> is also no ID
>
>
> I tested this on my system.  The value logged by %L in the access log cannot
> be found in the error log. The %L value is clearly a hash of some sort
> (e.g., SHA1 value of the incoming IP address and port) converted to ASCII.
> This looks like a bug to me.
>
> --
> Kurtis Rader
> Caretaker of the exceptional canines Junior and Hank

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Cannot find request by error log id

Posted by Виталий Фадеев <ru...@gmail.com>.
Hello!
I will check it on live system.

BTW, why does   %{c}L  not documented?

2016-03-29 19:31 GMT+06:00 Eric Covener <co...@gmail.com>:
> On Fri, Nov 13, 2015 at 2:54 AM, Kurtis Rader <kr...@skepticism.us> wrote:
>>> In my error log i get this:
>>> [Tue Nov 03 02:55:33.635958 2015] [VjiEkn8AAAEAAHuBfzkAAABB] [-:error]
>>> [pid 31617:tid [client IP:PORT] PHP Warning:
>>> unlink(/tmp/file_name.txt): No such file or directory in
>>> /var/www/file_test.php on line 1, referer REFERER
>>>
>>> If i try to find this ID in access logs - nothing found.
>>>
>>> If i search request by referer, pid, ip and port combination - there
>>> is also no ID
>>
>>
>> I tested this on my system.  The value logged by %L in the access log cannot
>> be found in the error log. The %L value is clearly a hash of some sort
>> (e.g., SHA1 value of the incoming IP address and port) converted to ASCII.
>> This looks like a bug to me.
>
> The particular error log entry looks like it might not pass the
> request object, just the connection object.
>
> The mod_log_config code seems to accept %{c}L for the connection-level
> log ID. Does that match for you?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Cannot find request by error log id

Posted by Eric Covener <co...@gmail.com>.
On Fri, Nov 13, 2015 at 2:54 AM, Kurtis Rader <kr...@skepticism.us> wrote:
>> In my error log i get this:
>> [Tue Nov 03 02:55:33.635958 2015] [VjiEkn8AAAEAAHuBfzkAAABB] [-:error]
>> [pid 31617:tid [client IP:PORT] PHP Warning:
>> unlink(/tmp/file_name.txt): No such file or directory in
>> /var/www/file_test.php on line 1, referer REFERER
>>
>> If i try to find this ID in access logs - nothing found.
>>
>> If i search request by referer, pid, ip and port combination - there
>> is also no ID
>
>
> I tested this on my system.  The value logged by %L in the access log cannot
> be found in the error log. The %L value is clearly a hash of some sort
> (e.g., SHA1 value of the incoming IP address and port) converted to ASCII.
> This looks like a bug to me.

The particular error log entry looks like it might not pass the
request object, just the connection object.

The mod_log_config code seems to accept %{c}L for the connection-level
log ID. Does that match for you?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Cannot find request by error log id

Posted by Kurtis Rader <kr...@skepticism.us>.
On Tue, Nov 3, 2015 at 3:05 AM, Виталий Фадеев <ru...@gmail.com> wrote:

> I modify access and error log formats by add %L parameter.
>
> In my error log i get this:
> [Tue Nov 03 02:55:33.635958 2015] [VjiEkn8AAAEAAHuBfzkAAABB] [-:error]
> [pid 31617:tid [client IP:PORT] PHP Warning:
> unlink(/tmp/file_name.txt): No such file or directory in
> /var/www/file_test.php on line 1, referer REFERER
>
> If i try to find this ID in access logs - nothing found.
>
> If i search request by referer, pid, ip and port combination - there
> is also no ID
>

I tested this on my system.  The value logged by %L in the access log
cannot be found in the error log. The %L value is clearly a hash of some
sort (e.g., SHA1 value of the incoming IP address and port) converted to
ASCII. This looks like a bug to me.

-- 
Kurtis Rader
Caretaker of the exceptional canines Junior and Hank

Re: [users@httpd] Cannot find request by error log id

Posted by Виталий Фадеев <ru...@gmail.com>.
What steps i must done and what more info  provide to you, to help
debug this problem?

2015-11-12 20:42 GMT+06:00 Rich Bowen <rb...@rcbowen.com>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
>
> On 11/03/2015 06:05 AM, Виталий Фадеев wrote:
>> Hi!
>>
>> I modify access and error log formats by add %L parameter.
>>
>> In my error log i get this: [Tue Nov 03 02:55:33.635958 2015]
>> [VjiEkn8AAAEAAHuBfzkAAABB] [-:error] [pid 31617:tid [client
>> IP:PORT] PHP Warning: unlink(/tmp/file_name.txt): No such file or
>> directory in /var/www/file_test.php on line 1, referer REFERER
>>
>> If i try to find this ID in access logs - nothing found.
>>
>> If i search request by referer, pid, ip and port combination -
>> there is also no ID
>>
>> Why? Is this some limitations?
>>
> I've seen cases where requests encounter a problem in php-land and the
> request never makes it to the logging phase, although I don't know
> that I was ever able to track it down to a specific root cause.
>
> That said, we'd probably need a *lot* more detail to begin to figure
> out what's going on in your particular situation.
>
> - --Rich
>
>
> - --
> Rich Bowen - rbowen@rcbowen.com - @rbowen
> http://apachecon.com/ - @apachecon
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2
>
> iEYEARECAAYFAlZEpWYACgkQXP03+sx4yJOqwACfTyekfqxf1siyKU0crRCS4gDn
> rYkAn3/spjMXdOKMZi59nNrcp+VJ/T31
> =3z7b
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Cannot find request by error log id

Posted by Rich Bowen <rb...@rcbowen.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



On 11/03/2015 06:05 AM, Виталий Фадеев wrote:
> Hi!
> 
> I modify access and error log formats by add %L parameter.
> 
> In my error log i get this: [Tue Nov 03 02:55:33.635958 2015]
> [VjiEkn8AAAEAAHuBfzkAAABB] [-:error] [pid 31617:tid [client
> IP:PORT] PHP Warning: unlink(/tmp/file_name.txt): No such file or
> directory in /var/www/file_test.php on line 1, referer REFERER
> 
> If i try to find this ID in access logs - nothing found.
> 
> If i search request by referer, pid, ip and port combination -
> there is also no ID
> 
> Why? Is this some limitations?
> 
I've seen cases where requests encounter a problem in php-land and the
request never makes it to the logging phase, although I don't know
that I was ever able to track it down to a specific root cause.

That said, we'd probably need a *lot* more detail to begin to figure
out what's going on in your particular situation.

- --Rich


- -- 
Rich Bowen - rbowen@rcbowen.com - @rbowen
http://apachecon.com/ - @apachecon
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlZEpWYACgkQXP03+sx4yJOqwACfTyekfqxf1siyKU0crRCS4gDn
rYkAn3/spjMXdOKMZi59nNrcp+VJ/T31
=3z7b
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org