Discussion:
[cricket-users] grapher.cgi - Apache fails with Premature end of script headers
Bret Hester
2009-04-18 08:53:00 UTC
Permalink
Hello All,

I have followed the "Installing Cricket for the Complete Beginner" guide.

But I can't get past the below in the apache error log;

[Sat Apr 18 09:32:52 2009] [error] [client 192.168.2.130] Premature end of
script headers: /opt/csw/apache/htdocs/cricket/grapher.cgi

Causing;

Internal Server Error
The server encountered an internal error or misconfiguration and was unable
to complete your request.

If I run the grapher.cgi script as the web server user I can redirect to a
html file that displays correctly.
It seems though that the stderror output is what is confusing Apache - I've
tried both apache2 and apache 1.3 and both can not handle this output.

[***@fugly] $ ./grapher.cgi > /dev/null
[18-Apr-2009 09:40:57*] Found unknown tag 'interface-desc' during expansion
of '%interface-desc%'.
[18-Apr-2009 09:40:57*] Found unknown tag 'swname' during expansion of
'%swname%: %inter...'.
[18-Apr-2009 09:40:57*] Found unknown tag 'interface-desc' during expansion
of '!swname!: %inter...'.
[18-Apr-2009 09:40:57*] Found unknown tag 'swname' during expansion of
'public@%swname%:%...'.
[18-Apr-2009 09:40:57*] Found unknown tag 'swname' during expansion of
'%swname%'.
[18-Apr-2009 09:40:57*] Found unknown tag 'InterfaceID' during expansion of
'%InterfaceID%'.
[18-Apr-2009 09:40:57*] Found unknown tag 'router' during expansion of
'public@%router%:%...'.
[18-Apr-2009 09:40:57*] Found unknown tag 'router' during expansion of
'%router%'.
[18-Apr-2009 09:40:57*] Found unknown tag 'inst' during expansion of
'/home/cricket/cri...'.
[18-Apr-2009 09:40:57*] Found unknown tag 'domain' during expansion of
'***@routing.%d...'.
[18-Apr-2009 09:40:57*] Found unknown tag 'domain' during expansion of
'routing.%domain%'.
[18-Apr-2009 09:40:57*] Found unknown tag 'inst' during expansion of
'/home/cricket/cri...'.

Can anyone please help.

Thanks,

Bret

Loading...