> >Is the request from cobbler back to the Apache/tomcat in Apache's log file?
> 
> >You might want to stick some debugging output to
> 
> >     /usr/lib/python2.*/site-packages/cobbler/modules/authn_spacewalk.py
> 
> >to see where exactly things fail.
> 
> 
> Tomcat log is attached..

We've already seen the tomcat log. You need to investigate the Apache logs 
because chances are the request never got to tomcat.

> How to add debugging output to authn_spacewalk.py ??

>  Edit the code directly.

Sorry my mistake, apache log is attached (debug level)

I don't know how to edit the code to get debugging output
[Sun Feb 05 04:02:12 2012] [notice] Digest: generating secret for digest 
authentication ...
[Sun Feb 05 04:02:12 2012] [notice] Digest: done
[Sun Feb 05 04:02:12 2012] [notice] mod_python: Creating 4 session mutexes 
based on 256 max processes and 0 max threads.
[Sun Feb 05 04:02:13 2012] [notice] Apache configured -- resuming normal 
operations
[Sun Feb 05 16:09:50 2012] [error] [client 10.228.6.30] File does not exist: 
/var/www/html/itassistant
[Mon Feb 06 16:10:02 2012] [error] [client 10.228.6.30] File does not exist: 
/var/www/html/itassistant
[Tue Feb 07 08:46:42 2012] [notice] caught SIGTERM, shutting down
[Tue Feb 07 08:47:47 2012] [notice] suEXEC mechanism enabled (wrapper: 
/usr/sbin/suexec)
[Tue Feb 07 08:47:48 2012] [notice] Digest: generating secret for digest 
authentication ...
[Tue Feb 07 08:47:48 2012] [notice] Digest: done
[Tue Feb 07 08:47:49 2012] [notice] mod_python: Creating 4 session mutexes 
based on 256 max processes and 0 max threads.
[Tue Feb 07 08:47:49 2012] [notice] Apache configured -- resuming normal 
operations
[Tue Feb 07 10:52:16 2012] [notice] caught SIGTERM, shutting down
[Tue Feb 07 10:53:05 2012] [notice] suEXEC mechanism enabled (wrapper: 
/usr/sbin/suexec)
[Tue Feb 07 10:53:06 2012] [notice] Digest: generating secret for digest 
authentication ...
[Tue Feb 07 10:53:06 2012] [notice] Digest: done
[Tue Feb 07 10:53:06 2012] [notice] mod_python: Creating 4 session mutexes 
based on 256 max processes and 0 max threads.
[Tue Feb 07 10:53:06 2012] [notice] Apache configured -- resuming normal 
operations
[Tue Feb 07 11:03:55 2012] [notice] caught SIGTERM, shutting down
[Tue Feb 07 11:04:44 2012] [notice] suEXEC mechanism enabled (wrapper: 
/usr/sbin/suexec)
[Tue Feb 07 11:04:45 2012] [notice] Digest: generating secret for digest 
authentication ...
[Tue Feb 07 11:04:45 2012] [notice] Digest: done
[Tue Feb 07 11:04:45 2012] [notice] mod_python: Creating 4 session mutexes 
based on 256 max processes and 0 max threads.
[Tue Feb 07 11:04:46 2012] [notice] Apache configured -- resuming normal 
operations
[Tue Feb 07 13:57:57 2012] [notice] caught SIGTERM, shutting down
[Tue Feb 07 13:58:56 2012] [notice] suEXEC mechanism enabled (wrapper: 
/usr/sbin/suexec)
[Tue Feb 07 13:58:56 2012] [info] Init: Seeding PRNG with 256 bytes of entropy
[Tue Feb 07 13:58:56 2012] [info] Init: Generating temporary RSA private keys 
(512/1024 bits)
[Tue Feb 07 13:58:56 2012] [info] Init: Generating temporary DH parameters 
(512/1024 bits)
[Tue Feb 07 13:58:56 2012] [info] Init: Initializing (virtual) servers for SSL
[Tue Feb 07 13:58:56 2012] [debug] ssl_engine_init.c(406): Creating new SSL 
context (protocols: SSLv2, SSLv3, TLSv1)
[Tue Feb 07 13:58:56 2012] [info] Server: Apache/2.2.3, Interface: 
mod_ssl/2.2.3, Library: OpenSSL/0.9.8e-fips-rhel5
[Tue Feb 07 13:58:57 2012] [notice] Digest: generating secret for digest 
authentication ...
[Tue Feb 07 13:58:57 2012] [notice] Digest: done
[Tue Feb 07 13:58:57 2012] [debug] util_ldap.c(2052): LDAP merging Shared Cache 
conf: shm=0x81fbdf0 rmm=0x81fbe20 for VHOST: skynet
[Tue Feb 07 13:58:57 2012] [debug] util_ldap.c(2052): LDAP merging Shared Cache 
conf: shm=0x81fbdf0 rmm=0x81fbe20 for VHOST: skynet
[Tue Feb 07 13:58:57 2012] [info] APR LDAP: Built with OpenLDAP LDAP SDK
[Tue Feb 07 13:58:57 2012] [info] LDAP: SSL support available
[Tue Feb 07 13:58:57 2012] [notice] mod_python: Creating 4 session mutexes 
based on 256 max processes and 0 max threads.
[Tue Feb 07 13:58:57 2012] [info] Init: Seeding PRNG with 256 bytes of entropy
[Tue Feb 07 13:58:57 2012] [info] Init: Generating temporary RSA private keys 
(512/1024 bits)
[Tue Feb 07 13:58:57 2012] [info] Init: Generating temporary DH parameters 
(512/1024 bits)
[Tue Feb 07 13:58:57 2012] [debug] ssl_scache_shmcb.c(374): shmcb_init 
allocated 512000 bytes of shared memory
[Tue Feb 07 13:58:57 2012] [debug] ssl_scache_shmcb.c(554): entered 
shmcb_init_memory()
[Tue Feb 07 13:58:57 2012] [debug] ssl_scache_shmcb.c(576): for 512000 bytes, 
recommending 4266 indexes
[Tue Feb 07 13:58:57 2012] [debug] ssl_scache_shmcb.c(619): shmcb_init_memory 
choices follow
[Tue Feb 07 13:58:57 2012] [debug] ssl_scache_shmcb.c(621): division_mask = 0x1F
[Tue Feb 07 13:58:57 2012] [debug] ssl_scache_shmcb.c(623): division_offset = 64
[Tue Feb 07 13:58:57 2012] [debug] ssl_scache_shmcb.c(625): division_size = 
15998
[Tue Feb 07 13:58:57 2012] [debug] ssl_scache_shmcb.c(627): queue_size = 1604
[Tue Feb 07 13:58:57 2012] [debug] ssl_scache_shmcb.c(629): index_num = 133
[Tue Feb 07 13:58:57 2012] [debug] ssl_scache_shmcb.c(631): index_offset = 8
[Tue Feb 07 13:58:57 2012] [debug] ssl_scache_shmcb.c(633): index_size = 12
[Tue Feb 07 13:58:57 2012] [debug] ssl_scache_shmcb.c(635): cache_data_offset = 
8
[Tue Feb 07 13:58:57 2012] [debug] ssl_scache_shmcb.c(637): cache_data_size = 
14386
[Tue Feb 07 13:58:57 2012] [debug] ssl_scache_shmcb.c(650): leaving 
shmcb_init_memory()
[Tue Feb 07 13:58:57 2012] [info] Shared memory session cache initialised
[Tue Feb 07 13:58:57 2012] [info] Init: Initializing (virtual) servers for SSL
[Tue Feb 07 13:58:57 2012] [debug] ssl_engine_init.c(406): Creating new SSL 
context (protocols: SSLv2, SSLv3, TLSv1)
[Tue Feb 07 13:58:57 2012] [info] Server: Apache/2.2.3, Interface: 
mod_ssl/2.2.3, Library: OpenSSL/0.9.8e-fips-rhel5
[Tue Feb 07 13:58:57 2012] [debug] proxy_util.c(1817): proxy: grabbed 
scoreboard slot 0 in child 9778 for worker http://localhost:25151/
[Tue Feb 07 13:58:57 2012] [debug] proxy_util.c(1930): proxy: initialized 
single connection worker 0 in child 9778 for (localhost)
[Tue Feb 07 13:58:57 2012] [debug] proxy_util.c(1817): proxy: grabbed 
scoreboard slot 1 in child 9778 for worker proxy:reverse
[Tue Feb 07 13:58:57 2012] [debug] proxy_util.c(1930): proxy: initialized 
single connection worker 1 in child 9778 for (*)
[Tue Feb 07 13:58:57 2012] [debug] proxy_util.c(1817): proxy: grabbed 
scoreboard slot 0 in child 9779 for worker http://localhost:25151/
[Tue Feb 07 13:58:57 2012] [debug] proxy_util.c(1836): proxy: worker 
http://localhost:25151/ already initialized
[Tue Feb 07 13:58:57 2012] [debug] proxy_util.c(1930): proxy: initialized 
single connection worker 0 in child 9779 for (localhost)
[Tue Feb 07 13:58:57 2012] [debug] proxy_util.c(1817): proxy: grabbed 
scoreboard slot 1 in child 9779 for worker proxy:reverse
[Tue Feb 07 13:58:57 2012] [debug] proxy_util.c(1836): proxy: worker 
proxy:reverse already initialized
[Tue Feb 07 13:58:57 2012] [debug] proxy_util.c(1930): proxy: initialized 
single connection worker 1 in child 9779 for (*)
[Tue Feb 07 13:58:57 2012] [debug] proxy_util.c(1817): proxy: grabbed 
scoreboard slot 0 in child 9780 for worker http://localhost:25151/
[Tue Feb 07 13:58:57 2012] [debug] proxy_util.c(1836): proxy: worker 
http://localhost:25151/ already initialized
[Tue Feb 07 13:58:57 2012] [debug] proxy_util.c(1930): proxy: initialized 
single connection worker 0 in child 9780 for (localhost)
[Tue Feb 07 13:58:57 2012] [debug] proxy_util.c(1817): proxy: grabbed 
scoreboard slot 1 in child 9780 for worker proxy:reverse
[Tue Feb 07 13:58:57 2012] [debug] proxy_util.c(1836): proxy: worker 
proxy:reverse already initialized
[Tue Feb 07 13:58:57 2012] [debug] proxy_util.c(1930): proxy: initialized 
single connection worker 1 in child 9780 for (*)
[Tue Feb 07 13:58:57 2012] [debug] proxy_util.c(1817): proxy: grabbed 
scoreboard slot 0 in child 9781 for worker http://localhost:25151/
[Tue Feb 07 13:58:57 2012] [debug] proxy_util.c(1836): proxy: worker 
http://localhost:25151/ already initialized
[Tue Feb 07 13:58:57 2012] [debug] proxy_util.c(1930): proxy: initialized 
single connection worker 0 in child 9781 for (localhost)
[Tue Feb 07 13:58:57 2012] [debug] proxy_util.c(1817): proxy: grabbed 
scoreboard slot 1 in child 9781 for worker proxy:reverse
[Tue Feb 07 13:58:57 2012] [debug] proxy_util.c(1836): proxy: worker 
proxy:reverse already initialized
[Tue Feb 07 13:58:57 2012] [debug] proxy_util.c(1930): proxy: initialized 
single connection worker 1 in child 9781 for (*)
[Tue Feb 07 13:58:57 2012] [debug] proxy_util.c(1817): proxy: grabbed 
scoreboard slot 0 in child 9782 for worker http://localhost:25151/
[Tue Feb 07 13:58:57 2012] [debug] proxy_util.c(1836): proxy: worker 
http://localhost:25151/ already initialized
[Tue Feb 07 13:58:57 2012] [debug] proxy_util.c(1930): proxy: initialized 
single connection worker 0 in child 9782 for (localhost)
[Tue Feb 07 13:58:57 2012] [debug] proxy_util.c(1817): proxy: grabbed 
scoreboard slot 1 in child 9782 for worker proxy:reverse
[Tue Feb 07 13:58:57 2012] [debug] proxy_util.c(1836): proxy: worker 
proxy:reverse already initialized
[Tue Feb 07 13:58:57 2012] [debug] proxy_util.c(1930): proxy: initialized 
single connection worker 1 in child 9782 for (*)
[Tue Feb 07 13:58:57 2012] [debug] proxy_util.c(1817): proxy: grabbed 
scoreboard slot 0 in child 9783 for worker http://localhost:25151/
[Tue Feb 07 13:58:57 2012] [debug] proxy_util.c(1836): proxy: worker 
http://localhost:25151/ already initialized
[Tue Feb 07 13:58:57 2012] [debug] proxy_util.c(1930): proxy: initialized 
single connection worker 0 in child 9783 for (localhost)
[Tue Feb 07 13:58:57 2012] [debug] proxy_util.c(1817): proxy: grabbed 
scoreboard slot 1 in child 9783 for worker proxy:reverse
[Tue Feb 07 13:58:57 2012] [debug] proxy_util.c(1836): proxy: worker 
proxy:reverse already initialized
[Tue Feb 07 13:58:57 2012] [debug] proxy_util.c(1930): proxy: initialized 
single connection worker 1 in child 9783 for (*)
[Tue Feb 07 13:58:57 2012] [debug] proxy_util.c(1817): proxy: grabbed 
scoreboard slot 0 in child 9784 for worker http://localhost:25151/
[Tue Feb 07 13:58:57 2012] [debug] proxy_util.c(1836): proxy: worker 
http://localhost:25151/ already initialized
[Tue Feb 07 13:58:57 2012] [debug] proxy_util.c(1930): proxy: initialized 
single connection worker 0 in child 9784 for (localhost)
[Tue Feb 07 13:58:57 2012] [debug] proxy_util.c(1817): proxy: grabbed 
scoreboard slot 1 in child 9784 for worker proxy:reverse
[Tue Feb 07 13:58:57 2012] [debug] proxy_util.c(1836): proxy: worker 
proxy:reverse already initialized
[Tue Feb 07 13:58:57 2012] [debug] proxy_util.c(1930): proxy: initialized 
single connection worker 1 in child 9784 for (*)
[Tue Feb 07 13:58:57 2012] [notice] Apache configured -- resuming normal 
operations
[Tue Feb 07 13:58:57 2012] [info] Server built: Oct 20 2011 17:00:12
[Tue Feb 07 13:58:57 2012] [debug] proxy_util.c(1817): proxy: grabbed 
scoreboard slot 0 in child 9785 for worker http://localhost:25151/
[Tue Feb 07 13:58:57 2012] [debug] prefork.c(996): AcceptMutex: sysvsem 
(default: sysvsem)
[Tue Feb 07 13:58:57 2012] [debug] proxy_util.c(1836): proxy: worker 
http://localhost:25151/ already initialized
[Tue Feb 07 13:58:57 2012] [debug] proxy_util.c(1930): proxy: initialized 
single connection worker 0 in child 9785 for (localhost)
[Tue Feb 07 13:58:57 2012] [debug] proxy_util.c(1817): proxy: grabbed 
scoreboard slot 1 in child 9785 for worker proxy:reverse
[Tue Feb 07 13:58:57 2012] [debug] proxy_util.c(1836): proxy: worker 
proxy:reverse already initialized
[Tue Feb 07 13:58:57 2012] [debug] proxy_util.c(1930): proxy: initialized 
single connection worker 1 in child 9785 for (*)
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to