Perl scripts on napoleon.dreamhost.com?

Perl scripts on napoleon.dreamhost.com?

Posted by: iansealy
Posted on: 2006-08-06 22:47:00

Hi,

Is anyone else on napoleon.dreamhost.com? If so, are you having problems running Perl scripts or is it just me?

Everything was working OK, but suddenly something simple like:

#!/usr/bin/perl

print "Content-type: text/htmlnn";
print "OK";

gives a 500 error. Nothing useful in the logs and the same script works OK on another machine.

Cheers,
Ian

Re: Perl scripts on napoleon.dreamhost.com?

Posted by: iansealy
Posted on: 2006-08-07 05:11:00

Finally figured it out. The Perl script was in a secondary group, not the user's primary group. I've no idea why that stopped the script working though. Anyone seen anything similar?

Re: Perl scripts on napoleon.dreamhost.com?

Posted by: sdayman
Posted on: 2006-08-07 06:13:00

Please see my response in the other thread where you cross-posted the same question.

-Scott

Re: Perl scripts on napoleon.dreamhost.com?

Posted by: iansealy
Posted on: 2006-08-07 06:33:00

Yeah, sorry about that. I couldn't decide whether or not to cross-post, but in the end decided it was relevant to both threads. For other people reading this, the other thread is here.

Tags: perl scriptsdreamhostnapoleonscript worksusrcheerslogsrunning