开发者

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

开发者 https://www.devze.com 2023-03-15 02:12 出处:网络
I\'ve tried searching but I can\'t find the following error found in my error_log: [Fri J开发者_如何学运维un 24 16:39:34 2011] [error] [client ::1] CGI::header: Can\'t upgrade BIND (1) to 9 at /Libra

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

[Fri J开发者_如何学运维un 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!


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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消