Adding errata or cloning a channel in Satellite web UI fails with Internal Server Error

Solution Verified - Updated -


  • Red Hat Satellite 5.x


  • HTTP 500 (Internal Server Error) when trying to add errata or clone a channel with all errata
  • Following errors observed in /var/log/httpd/error_log:
[Thu Mar 01 11:36:16 2012] [error] (70007)The timeout specified has expired: ajp_ilink_receive() can't receive header
  • Deleting a clone channel fails with:
503 Service Temporarily Unavailable
  • Cloning the channel fails with time out error on Satellte WebUi.


  • In /etc/httpd/conf/httpd.conf, increase the Timeout directive:
Timeout 500
  • Increase Tomcat's session_timeout field, by editing /var/lib/tomcat6/webapps/rhn/WEB-INF/web.xml:
  • Modify the AJP timeout by editing the file '/etc/httpd/conf.d/zz-spacewalk-www.conf':
   ProxyTimeout 1800
  • Restart Satellite services:
# rhn-satellite restart

Root Cause

  • httpd timed out while waiting for a response from Tomcat.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.


for us only this additional change did finally prevent the timeout:

mod_proxy_ajp timeout fix

[root@satellite ~]# cp -ai /etc/httpd/conf.d/zz-spacewalk-www.conf{,.save1};
[root@satellite ~]# grep -i -- '^ProxyTimeout' /etc/httpd/conf.d/zz-spacewalk-www.conf;
ProxyTimeout 210
[root@satellite ~]# sed -i 's%^ProxyTimeout .*%ProxyTimeout 600%' /etc/httpd/conf.d/zz-spacewalk-www.conf;
[root@satellite ~]# grep -i -- '^ProxyTimeout' /etc/httpd/conf.d/zz-spacewalk-www.conf;
ProxyTimeout 600

[root@satellite ~]# rhn-satellite restart;