You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jose María Sánchez de Ocaña <js...@evolucy.com> on 2006/10/20 03:07:54 UTC
[users@httpd] Can't get mod_dumpio to work
Hello,
I've just downloaded & compiled the latest stable release of the 2.2.3
apache server, because I wanted to be able to use mod_dumpio to help
debug my web app.
It took me a good 2 hours to get everything running again (I was
upgrading from apache 2.0.something). Anyway, after all, I haven't
managed to get mod_dumpio to work :( . And I've tried mostly everything
that could come up to my mind...
- googling
- enabling dumpio as a shared module
- building apache with dumpio preloaded
- tweaking all sorts of LogLevel options
- placing the "DumpIOOutput On" directive at different places of my
/etc/apache2/apache2.conf file and /etc/apache2/sites-available/*.conf
files (I'm running Debian)
- more googling :(
I know dumpio is not supported, but if anyone has any experience or can
help me try anything else, I'll appreciate it very much.
About my box...
localhost:/etc/apache2# uname -a
Linux localhost 2.6.15-1-686-smp #2 SMP Thu Feb 2 18:39:24 UTC 2006 i686
GNU/Linux
localhost:/etc/apache2# apache2 -vl
Server version: Apache/2.2.3
Server built: Oct 20 2006 02:36:18
localhost:/etc/apache2# apache2 -l
Compiled in modules:
core.c
mod_dumpio.c
mod_log_config.c
mod_logio.c
worker.c
http_core.c
mod_so.c
Thanks,
JSO
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Can't get mod_dumpio to work
Posted by Jose María Sánchez de Ocaña <js...@evolucy.com>.
OK, I finally got it working...
What finally worked was:
- Define an ErrorLog at the server level
- Define the "DumpIOOUtput On" at the server level (that is clearly
stated in the manual)
- Define just one LogLevel directive, at the server level (WIPE OUT all
LogLevel directives at all of my VirtualHosts), and set it to "debug" (I
believe THIS ONE did the trick)
I also have other ErrorLog's defined at the VirtualHosts, but dumpio
won't take that into account, and just dump the output for ALL of the
VirtualHosts at the ErrorLog defined at the server level.
Thanks Vincent & Jim for your help.
BIG thumbs up for the apache community!
BTW I'll take a good look at the other debugging tools Vincent suggested...
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Re: [users@httpd] Can't get mod_dumpio to work
Posted by Vincent Bray <no...@gmail.com>.
On 10/20/06, Jose María Sánchez de Ocaña <js...@evolucy.com> wrote:
> What I actually did was: I built apache 2.2 (mod_dumpio included) and
> installed that replacing my debian apache 2.0 package. Thus, I used the
> debian filesystem layout. My config.nice right now looks like this:
Wow, this is certainly extensive! My config.nice looks like:
#! /bin/sh
#
# Created by configure
"./configure" \
"--enable-mods-shared=all ssl cache proxy" \
"$@"
And mod_dumpio works just fine. The only major difference I can see is
that you're running the worker mpm, though I don't know if that would
have any effect.
In general though I find mod_dumpio to be less than optimally useful
as it doesn't allow for dumping requests to separate files (like
mod_security), doesn't allow for selecting which requests to dump and
doesn't allow for context specific (location/directory/vhost)
configuration. Perhaps wireshark (formerly ethereal) or tcpflow would
help?
noodl
> -----------------------------
> #! /bin/sh
> #
> # Created by configure
>
> CFLAGS=" -pipe -I/usr/include/xmltok -I/usr/include/openssl -Wall -O2";
> export CFLAGS
> LDFLAGS="-ldl -lexpat -lcrypt -ldb-4.3"; export LDFLAGS
> "./configure" \
> "--srcdir=." \
> "--enable-layout=Debian" \
> "--enable-so" \
> "--with-program-name=apache2" \
> "--with-ldap=yes" \
> "--with-ldap-include=/usr/include" \
> "--with-ldap-lib=/usr/lib" \
> "--with-suexec-caller=www-data" \
> "--with-suexec-bin=/usr/lib/apache2/suexec" \
> "--with-suexec-docroot=/var/www" \
> "--with-suexec-userdir=public_html" \
> "--with-suexec-logfile=/var/log/apache2/suexec.log" \
> "--enable-authz_host=shared" \
> "--enable-dumpio" \
> "--enable-suexec=shared" \
> "--enable-authx-host=shared" \
> "--enable-authn-alias=shared" \
> "--enable-authnz-ldap=shared" \
> "--enable-disk-cache=shared" \
> "--enable-cache=shared" \
> "--enable-mem-cache=shared" \
> "--enable-file-cache=shared" \
> "--enable-charset-lite=shared" \
> "--enable-cgi=shared" \
> "--enable-dav-lock=shared" \
> "--enable-log-forensic=shared" \
> "--enable-log-config" \
> "--enable-logio" \
> "--enable-ldap=shared" \
> "--enable-proxy=shared" \
> "--enable-proxy-connect=shared" \
> "--enable-proxy-ftp=shared" \
> "--enable-proxy-http=shared" \
> "--enable-proxy-ajp=shared" \
> "--enable-proxy-balancer=shared" \
> "--enable-ssl=shared" \
> "--enable-authn-dbm=shared" \
> "--enable-authn-anon=shared" \
> "--enable-authn-dbd=shared" \
> "--enable-authn-file=shared" \
> "--enable-authn-default=shared" \
> "--enable-authz-host=shared" \
> "--enable-authz-groupfile=shared" \
> "--enable-authz-user=shared" \
> "--enable-authz-dbm=shared" \
> "--enable-authz-owner=shared" \
> "--enable-authnz-ldap=shared" \
> "--enable-authz-default=shared" \
> "--enable-auth-basic=shared" \
> "--enable-auth-digest=shared" \
> "--enable-dbd=shared" \
> "--enable-deflate=shared" \
> "--enable-include=shared" \
> "--enable-filter=shared" \
> "--enable-env=shared" \
> "--enable-mime-magic=shared" \
> "--enable-expires=shared" \
> "--enable-headers=shared" \
> "--enable-ident=shared" \
> "--enable-usertrack=shared" \
> "--enable-unique-id=shared" \
> "--enable-setenvif=shared" \
> "--enable-version=shared" \
> "--enable-status=shared" \
> "--enable-autoindex=shared" \
> "--enable-asis=shared" \
> "--enable-info=shared" \
> "--enable-cgid=shared" \
> "--enable-dav=shared" \
> "--enable-dav-fs=shared" \
> "--enable-vhost-alias=shared" \
> "--enable-negotiation=shared" \
> "--enable-dir=shared" \
> "--enable-imagemap=shared" \
> "--enable-actions=shared" \
> "--enable-speling=shared" \
> "--enable-userdir=shared" \
> "--enable-alias=shared" \
> "--enable-rewrite=shared" \
> "--enable-mime=shared" \
> "--with-apr=/usr/bin/apr-1-config" \
> "--with-apr-util=/usr/bin/apu-1-config" \
> "--with-pcre=yes" \
> "--with-mpm=worker" \
> "$@"
> -----------------------------
>
> >
> >> I know dumpio is not supported, but if anyone has any experience or can
> >> help me try anything else, I'll appreciate it very much.
> >>
> >
> > What errors do you see when you try to start you server? Using "httpd
> > -e debug" (or apache2 or whatever other thing debian calls the server
> > binary) might help too.
> >
> I see no errors when starting apache. Actually apache is working fine,
> just that I can't see any output in my error log file coming from
> mod_dumpio.
> -----------------------------
> localhost:/etc/apache2# apache2 -v
> Server version: Apache/2.2.3
> Server built: Oct 20 2006 02:36:18
> localhost:/etc/apache2# apache2 -e debug
> [Fri Oct 20 13:41:46 2006] [debug] mod_so.c(246): loaded module alias_module
> [Fri Oct 20 13:41:46 2006] [debug] mod_so.c(246): loaded module
> auth_basic_module
> [Fri Oct 20 13:41:46 2006] [debug] mod_so.c(246): loaded module
> authn_file_module
> [Fri Oct 20 13:41:46 2006] [debug] mod_so.c(246): loaded module
> authz_groupfile_module
> [Fri Oct 20 13:41:46 2006] [debug] mod_so.c(246): loaded module
> authz_host_module
> [Fri Oct 20 13:41:46 2006] [debug] mod_so.c(246): loaded module
> authz_owner_module
> [Fri Oct 20 13:41:46 2006] [debug] mod_so.c(246): loaded module
> authz_user_module
> [Fri Oct 20 13:41:46 2006] [debug] mod_so.c(246): loaded module
> autoindex_module
> [Fri Oct 20 13:41:46 2006] [debug] mod_so.c(246): loaded module cgi_module
> [Fri Oct 20 13:41:46 2006] [debug] mod_so.c(246): loaded module dir_module
> [Fri Oct 20 13:41:46 2006] [debug] mod_so.c(246): loaded module mime_module
> [Fri Oct 20 13:41:46 2006] [debug] mod_so.c(246): loaded module
> negotiation_module
> [Fri Oct 20 13:41:46 2006] [debug] mod_so.c(246): loaded module php4_module
> [Fri Oct 20 13:41:46 2006] [debug] mod_so.c(246): loaded module
> rewrite_module
> [Fri Oct 20 13:41:46 2006] [debug] mod_so.c(246): loaded module
> setenvif_module
> [Fri Oct 20 13:41:46 2006] [warn] NameVirtualHost *:80 has no VirtualHosts
> [Fri Oct 20 13:41:46 2006] [warn] NameVirtualHost *:80 has no VirtualHosts
> [Fri Oct 20 13:41:46 2006] [warn] NameVirtualHost *:80 has no VirtualHosts
> [Fri Oct 20 13:41:46 2006] [warn] NameVirtualHost *:80 has no VirtualHosts
> [Fri Oct 20 13:41:46 2006] [warn] NameVirtualHost *:80 has no VirtualHosts
> -----------------------------
> >> About my box...
> >> localhost:/etc/apache2# uname -a
> >> Linux localhost 2.6.15-1-686-smp #2 SMP Thu Feb 2 18:39:24 UTC 2006 i686
> >> GNU/Linux
> >> localhost:/etc/apache2# apache2 -vl
> >> Server version: Apache/2.2.3
> >> Server built: Oct 20 2006 02:36:18
> >> localhost:/etc/apache2# apache2 -l
> >> Compiled in modules:
> >> core.c
> >> mod_dumpio.c
> >> mod_log_config.c
> >> mod_logio.c
> >> worker.c
> >> http_core.c
> >> mod_so.c
> >
> > Perhaps you should consider upgrading to a distro that packages apache
> > 2.2 and one that does so without turning the configuration in to a
> > confusing mess.
> >
> Yes, i guess you are right. Well, if only the debian guys had included
> mod_dumpio in their build, then I might be good... Anyway, just in case,
> here is a fragment of my current .conf file with the related logging
> directives:
>
> -----------------------------
> [...]
> # Order allow,deny
> # Allow from all
> # </Directory>
>
> ErrorLog /var/log/apache2/ibergourdes.com_error.log
>
> # Possible values include: debug, info, notice, warn, error, crit,
> # alert, emerg.
> # LogLevel warn
> LogLevel debug
> DumpIOOutput On
>
> CustomLog /var/log/apache2/ibergourdes.com_access.log combined
> ServerSignature On
> [...]
> -----------------------------
>
> So, if I understood mod_dumpio doc. right, I would expect apache dumping
> full output (as it actually is delivered to browsers) at the
> /var/log/apache2/ibergourdes.com_error.log file, but it just doesn't
> happen. No extra logging at the error log.
>
> Thanks again for your time,
>
> JSO
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
--
noodl
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Can't get mod_dumpio to work
Posted by Jose María Sánchez de Ocaña <js...@evolucy.com>.
Sorry, that .conf file fragment was actually inside a VirtualHost,
whereas I recall mod_dumpio directives must be at the server config. level.
Actually, if I comment those and write this right on top of my
apache2.conf file...
----------------------
# Based upon the NCSA server configuration files originally by Rob McCool.
# Changed extensively for the Debian package by Daniel Stone
<da...@sfarc.net>
# and also by Thom May <th...@debian.org>.
ErrorLog /var/log/apache2/error.log
LogLevel debug
DumpIOOutput On
#DumpIOInput On
# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.
[...]
---------------------
... I still dont get any data from dumpio on that
/var/log/apache2/error.log file
Thanks again,
JSO
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Can't get mod_dumpio to work
Posted by Jose María Sánchez de Ocaña <js...@evolucy.com>.
Thanks for your help, Vincent; i'll try to help you help me !
Vincent Bray wrote:
> On 10/20/06, Jose María Sánchez de Ocaña <js...@evolucy.com> wrote:
>> Hello,
>
> Hi,
>
>> I've just downloaded & compiled the latest stable release of the 2.2.3
>> apache server, because I wanted to be able to use mod_dumpio to help
>> debug my web app.
>> It took me a good 2 hours to get everything running again (I was
>> upgrading from apache 2.0.something). Anyway, after all, I haven't
>> managed to get mod_dumpio to work :( . And I've tried mostly everything
>> that could come up to my mind...
>> - googling
>> - enabling dumpio as a shared module
>> - building apache with dumpio preloaded
>> - tweaking all sorts of LogLevel options
>> - placing the "DumpIOOutput On" directive at different places of my
>> /etc/apache2/apache2.conf file and /etc/apache2/sites-available/*.conf
>> files (I'm running Debian)
>> - more googling :(
>
> It's somewhat unclear from this how you compiled apache as the paths
> look simillar to those used by the debian 'package'. Are you trying to
> use mod_dumpio from apache 2.2 with the debian 2.0?
What I actually did was: I built apache 2.2 (mod_dumpio included) and
installed that replacing my debian apache 2.0 package. Thus, I used the
debian filesystem layout. My config.nice right now looks like this:
-----------------------------
#! /bin/sh
#
# Created by configure
CFLAGS=" -pipe -I/usr/include/xmltok -I/usr/include/openssl -Wall -O2";
export CFLAGS
LDFLAGS="-ldl -lexpat -lcrypt -ldb-4.3"; export LDFLAGS
"./configure" \
"--srcdir=." \
"--enable-layout=Debian" \
"--enable-so" \
"--with-program-name=apache2" \
"--with-ldap=yes" \
"--with-ldap-include=/usr/include" \
"--with-ldap-lib=/usr/lib" \
"--with-suexec-caller=www-data" \
"--with-suexec-bin=/usr/lib/apache2/suexec" \
"--with-suexec-docroot=/var/www" \
"--with-suexec-userdir=public_html" \
"--with-suexec-logfile=/var/log/apache2/suexec.log" \
"--enable-authz_host=shared" \
"--enable-dumpio" \
"--enable-suexec=shared" \
"--enable-authx-host=shared" \
"--enable-authn-alias=shared" \
"--enable-authnz-ldap=shared" \
"--enable-disk-cache=shared" \
"--enable-cache=shared" \
"--enable-mem-cache=shared" \
"--enable-file-cache=shared" \
"--enable-charset-lite=shared" \
"--enable-cgi=shared" \
"--enable-dav-lock=shared" \
"--enable-log-forensic=shared" \
"--enable-log-config" \
"--enable-logio" \
"--enable-ldap=shared" \
"--enable-proxy=shared" \
"--enable-proxy-connect=shared" \
"--enable-proxy-ftp=shared" \
"--enable-proxy-http=shared" \
"--enable-proxy-ajp=shared" \
"--enable-proxy-balancer=shared" \
"--enable-ssl=shared" \
"--enable-authn-dbm=shared" \
"--enable-authn-anon=shared" \
"--enable-authn-dbd=shared" \
"--enable-authn-file=shared" \
"--enable-authn-default=shared" \
"--enable-authz-host=shared" \
"--enable-authz-groupfile=shared" \
"--enable-authz-user=shared" \
"--enable-authz-dbm=shared" \
"--enable-authz-owner=shared" \
"--enable-authnz-ldap=shared" \
"--enable-authz-default=shared" \
"--enable-auth-basic=shared" \
"--enable-auth-digest=shared" \
"--enable-dbd=shared" \
"--enable-deflate=shared" \
"--enable-include=shared" \
"--enable-filter=shared" \
"--enable-env=shared" \
"--enable-mime-magic=shared" \
"--enable-expires=shared" \
"--enable-headers=shared" \
"--enable-ident=shared" \
"--enable-usertrack=shared" \
"--enable-unique-id=shared" \
"--enable-setenvif=shared" \
"--enable-version=shared" \
"--enable-status=shared" \
"--enable-autoindex=shared" \
"--enable-asis=shared" \
"--enable-info=shared" \
"--enable-cgid=shared" \
"--enable-dav=shared" \
"--enable-dav-fs=shared" \
"--enable-vhost-alias=shared" \
"--enable-negotiation=shared" \
"--enable-dir=shared" \
"--enable-imagemap=shared" \
"--enable-actions=shared" \
"--enable-speling=shared" \
"--enable-userdir=shared" \
"--enable-alias=shared" \
"--enable-rewrite=shared" \
"--enable-mime=shared" \
"--with-apr=/usr/bin/apr-1-config" \
"--with-apr-util=/usr/bin/apu-1-config" \
"--with-pcre=yes" \
"--with-mpm=worker" \
"$@"
-----------------------------
>
>> I know dumpio is not supported, but if anyone has any experience or can
>> help me try anything else, I'll appreciate it very much.
>>
>
> What errors do you see when you try to start you server? Using "httpd
> -e debug" (or apache2 or whatever other thing debian calls the server
> binary) might help too.
>
I see no errors when starting apache. Actually apache is working fine,
just that I can't see any output in my error log file coming from
mod_dumpio.
-----------------------------
localhost:/etc/apache2# apache2 -v
Server version: Apache/2.2.3
Server built: Oct 20 2006 02:36:18
localhost:/etc/apache2# apache2 -e debug
[Fri Oct 20 13:41:46 2006] [debug] mod_so.c(246): loaded module alias_module
[Fri Oct 20 13:41:46 2006] [debug] mod_so.c(246): loaded module
auth_basic_module
[Fri Oct 20 13:41:46 2006] [debug] mod_so.c(246): loaded module
authn_file_module
[Fri Oct 20 13:41:46 2006] [debug] mod_so.c(246): loaded module
authz_groupfile_module
[Fri Oct 20 13:41:46 2006] [debug] mod_so.c(246): loaded module
authz_host_module
[Fri Oct 20 13:41:46 2006] [debug] mod_so.c(246): loaded module
authz_owner_module
[Fri Oct 20 13:41:46 2006] [debug] mod_so.c(246): loaded module
authz_user_module
[Fri Oct 20 13:41:46 2006] [debug] mod_so.c(246): loaded module
autoindex_module
[Fri Oct 20 13:41:46 2006] [debug] mod_so.c(246): loaded module cgi_module
[Fri Oct 20 13:41:46 2006] [debug] mod_so.c(246): loaded module dir_module
[Fri Oct 20 13:41:46 2006] [debug] mod_so.c(246): loaded module mime_module
[Fri Oct 20 13:41:46 2006] [debug] mod_so.c(246): loaded module
negotiation_module
[Fri Oct 20 13:41:46 2006] [debug] mod_so.c(246): loaded module php4_module
[Fri Oct 20 13:41:46 2006] [debug] mod_so.c(246): loaded module
rewrite_module
[Fri Oct 20 13:41:46 2006] [debug] mod_so.c(246): loaded module
setenvif_module
[Fri Oct 20 13:41:46 2006] [warn] NameVirtualHost *:80 has no VirtualHosts
[Fri Oct 20 13:41:46 2006] [warn] NameVirtualHost *:80 has no VirtualHosts
[Fri Oct 20 13:41:46 2006] [warn] NameVirtualHost *:80 has no VirtualHosts
[Fri Oct 20 13:41:46 2006] [warn] NameVirtualHost *:80 has no VirtualHosts
[Fri Oct 20 13:41:46 2006] [warn] NameVirtualHost *:80 has no VirtualHosts
-----------------------------
>> About my box...
>> localhost:/etc/apache2# uname -a
>> Linux localhost 2.6.15-1-686-smp #2 SMP Thu Feb 2 18:39:24 UTC 2006 i686
>> GNU/Linux
>> localhost:/etc/apache2# apache2 -vl
>> Server version: Apache/2.2.3
>> Server built: Oct 20 2006 02:36:18
>> localhost:/etc/apache2# apache2 -l
>> Compiled in modules:
>> core.c
>> mod_dumpio.c
>> mod_log_config.c
>> mod_logio.c
>> worker.c
>> http_core.c
>> mod_so.c
>
> Perhaps you should consider upgrading to a distro that packages apache
> 2.2 and one that does so without turning the configuration in to a
> confusing mess.
>
Yes, i guess you are right. Well, if only the debian guys had included
mod_dumpio in their build, then I might be good... Anyway, just in case,
here is a fragment of my current .conf file with the related logging
directives:
-----------------------------
[...]
# Order allow,deny
# Allow from all
# </Directory>
ErrorLog /var/log/apache2/ibergourdes.com_error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
# LogLevel warn
LogLevel debug
DumpIOOutput On
CustomLog /var/log/apache2/ibergourdes.com_access.log combined
ServerSignature On
[...]
-----------------------------
So, if I understood mod_dumpio doc. right, I would expect apache dumping
full output (as it actually is delivered to browsers) at the
/var/log/apache2/ibergourdes.com_error.log file, but it just doesn't
happen. No extra logging at the error log.
Thanks again for your time,
JSO
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Can't get mod_dumpio to work
Posted by Vincent Bray <no...@gmail.com>.
On 10/20/06, Jose María Sánchez de Ocaña <js...@evolucy.com> wrote:
> Hello,
Hi,
> I've just downloaded & compiled the latest stable release of the 2.2.3
> apache server, because I wanted to be able to use mod_dumpio to help
> debug my web app.
> It took me a good 2 hours to get everything running again (I was
> upgrading from apache 2.0.something). Anyway, after all, I haven't
> managed to get mod_dumpio to work :( . And I've tried mostly everything
> that could come up to my mind...
> - googling
> - enabling dumpio as a shared module
> - building apache with dumpio preloaded
> - tweaking all sorts of LogLevel options
> - placing the "DumpIOOutput On" directive at different places of my
> /etc/apache2/apache2.conf file and /etc/apache2/sites-available/*.conf
> files (I'm running Debian)
> - more googling :(
It's somewhat unclear from this how you compiled apache as the paths
look simillar to those used by the debian 'package'. Are you trying to
use mod_dumpio from apache 2.2 with the debian 2.0?
> I know dumpio is not supported, but if anyone has any experience or can
> help me try anything else, I'll appreciate it very much.
>
What errors do you see when you try to start you server? Using "httpd
-e debug" (or apache2 or whatever other thing debian calls the server
binary) might help too.
> About my box...
> localhost:/etc/apache2# uname -a
> Linux localhost 2.6.15-1-686-smp #2 SMP Thu Feb 2 18:39:24 UTC 2006 i686
> GNU/Linux
> localhost:/etc/apache2# apache2 -vl
> Server version: Apache/2.2.3
> Server built: Oct 20 2006 02:36:18
> localhost:/etc/apache2# apache2 -l
> Compiled in modules:
> core.c
> mod_dumpio.c
> mod_log_config.c
> mod_logio.c
> worker.c
> http_core.c
> mod_so.c
Perhaps you should consider upgrading to a distro that packages apache
2.2 and one that does so without turning the configuration in to a
confusing mess.
--
noodl
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Can't get mod_dumpio to work
Posted by Jim Jagielski <ji...@jaguNET.com>.
Actually, it *is* supported.
DumpIO only logs at the DEBUG loglevel, so if the main server
error log is not setup at that level, you want see
anything. Also, it's best to enable it at
the top server level, outside of any vhosts.
On Oct 19, 2006, at 9:07 PM, Jose María Sánchez de Ocaña wrote:
> Hello,
>
> I've just downloaded & compiled the latest stable release of the
> 2.2.3 apache server, because I wanted to be able to use mod_dumpio
> to help debug my web app.
>
> It took me a good 2 hours to get everything running again (I was
> upgrading from apache 2.0.something). Anyway, after all, I haven't
> managed to get mod_dumpio to work :( . And I've tried mostly
> everything that could come up to my mind...
> - googling
> - enabling dumpio as a shared module
> - building apache with dumpio preloaded
> - tweaking all sorts of LogLevel options
> - placing the "DumpIOOutput On" directive at different places of
> my /etc/apache2/apache2.conf file and /etc/apache2/sites-available/
> *.conf files (I'm running Debian)
> - more googling :(
>
> I know dumpio is not supported, but if anyone has any experience or
> can help me try anything else, I'll appreciate it very much.
>
>
> About my box...
> localhost:/etc/apache2# uname -a
> Linux localhost 2.6.15-1-686-smp #2 SMP Thu Feb 2 18:39:24 UTC 2006
> i686 GNU/Linux
> localhost:/etc/apache2# apache2 -vl
> Server version: Apache/2.2.3
> Server built: Oct 20 2006 02:36:18
> localhost:/etc/apache2# apache2 -l
> Compiled in modules:
> core.c
> mod_dumpio.c
> mod_log_config.c
> mod_logio.c
> worker.c
> http_core.c
> mod_so.c
>
> Thanks,
> JSO
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org