What a strange error...

Tosh Cooey <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Organization Twelve Hundred Group LLC
Message-ID <[email protected]>
I have an application with a program called [mailfile.pl] which runs 
under MP::Registry and is accessed via some mod_rewrites.

Today I pushed a new version from my DEV server to the WWW server using 
rsync.  Obviously it was working perfectly on DEV.

However the new [mailfile.pl] died with an error on WWW:

[error] (2)No such file or directory: exec of 
'/srv/www/htdocs/b2b/mailfile.pl' failed
[error] Premature end of script headers: mailfile.pl, referer: http://www...

I have no idea why that is happening, and here is where things get 
strange:  I copied [mailfile.pl] to [mailfile2.pl] and rolled back to 
the previous working version of [mailfile.pl] so now everything is back 
to how it was before.  Now if I make a call to [mailfile2.pl] (broken as 
mailfile.pl) that works like a charm.

So to recap:  [mailfile.pl] = old version, [mailfile2.pl] = new.

Both of the above work.  Rename [mailfile2.pl] to [mailfile.pl] then it 
dies with the above error.

Naturally this was all accompanied by generous stopping and starting of 
Apache.

Has anyone come across anything like this before?  Any ideas where to 
start looking for a solution other than just mod_rewrite mailfile.pl 
mailfile2.pl ?

Thanks!


-- 
McIntosh Cooey - Twelve Hundred Group LLC - http://www.1200group.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.