Jon
Jon

Reputation: 757

Help explaining CGI::Header error, involving BIND from CGI.pm

I've tried searching but I can't find the following error found in my error_log:

[Fri Jun 24 16:39:34 2011] [error] [client ::1] CGI::header: Can't upgrade BIND (1) to 9 at /Library/WebServer/CGI-Executables/adjsearch.cgi line 428

Refers to the CGI.pm command: LINE 428 print header(); Line 429 print start_html();

Can someone please tell me what it means? Even just what BIND is?

Thanks a lot!

Upvotes: 0

Views: 162

Answers (2)

Mark
Mark

Reputation: 1304

Following on from my comment above, I hit this message, and how I fixed it might be instructive although I'm still not exactly sure what it means. The code I was working on was some fairly tricky XS code (ie. implementing perl functions in C) and I wasn't properly restoring the stack pointer.

Of course with stack pointer bugs, the bug often shows up later - in this case in some perl code that was using @_ (which under certain circumstances is a simple gateway to the stack).

So basically, this message appears to be triggered by a corrupt stack pointer, but exactly what it means I don't know. grepping the perl source may prove instructive.

Upvotes: 0

mob
mob

Reputation: 118605

BIND is system software for domain name lookups.

A handful of BIND error messages in your webserver logs is indicative of a network glitch, not necessarily anything wrong with the code for your website.

Upvotes: 1

Related Questions