Satellite complains about syntax errors in kickstart files - kickstart file contains html code

Solution Verified - Updated -

Issue

  • Satellite complains about syntax errors in kickstart files - kickstart file contains html code

  • The apache error log showing the following error message

[Mon Feb 25 15:26:40 2013] [error] [client xx.xx.xx.xx] mod_wsgi (pid=31551): Target WSGI script '/var/www/cobbler/svc/services.py' cannot be loaded as Python module.
[Mon Feb 25 15:26:40 2013] [error] [client xx.xx.xx.xx] mod_wsgi (pid=31551): Exception occurred processing WSGI script '/var/www/cobbler/svc/services.py'.
[Mon Feb 25 15:26:40 2013] [error] [client xx.xx.xx.xx] Traceback (most recent call last):
[Mon Feb 25 15:26:40 2013] [error] [client xx.xx.xx.xx]   File "/var/www/cobbler/svc/services.py", line 15, in <module>
[Mon Feb 25 15:26:40 2013] [error] [client xx.xx.xx.xx]     from mod_python import apache
[Mon Feb 25 15:26:40 2013] [error] [client xx.xx.xx.xx] ImportError: No module named mod_python

Environment

  • Red Hat Network (RHN) Satellite 5.5
  • Red Hat Enterprise Linux 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.