Home > Archive > PERL CGI Beginners > January 2006 > Can't run scripts on Brinkster Linux server
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Can't run scripts on Brinkster Linux server
|
|
| googlepostingonly@hotmail.com 2006-01-17, 9:55 pm |
| Hi, does anyone here run perl scripts on a Brinkster Linux server? I
can't get my scripts to work, even though they worked in the past on
previous systems. I keep getting "premature end of script headers." On
a Brinkster forum someone posted that you need to set the permissions
to 750, but I tried that and it didn't work. Has anyone been able to
run scripts on Brinkster?
| |
| usenet@DavidFilmer.com 2006-01-18, 3:55 am |
| googlepostingonly@hotmail.com wrote:
> Hi, does anyone here run perl scripts on a Brinkster Linux server?
> can't get my scripts to work, even though they worked in the past on
> previous systems.
You need a little basic troubleshooting.
Have you somehow copied your scripts from one system to this one (and
maybe you have line ending differences)...
Is the Perl binary on the new system in the same path as stipulated on
your shebang line?
If you create a brand-new simple script on the new system, will it run?
| |
| googlepostingonly@hotmail.com 2006-01-18, 6:55 pm |
| The whole problem is that Brinkster isn't providing me any info in this
regard. I don't know that the perl path is, so I don't know if my
shebang line is correct. I don't know what the permissions on the
scripts should be -- 755 doesn't work, and neither does 750, as someone
suggested. I've done some troubleshooting, like changing the line
endings, to no avail. Before I go further I'd like to find out what the
perl path is, and what my permissions should be. That's why I'd like to
know if anyone has been running scripts successfully on brinkster, so
maybe I can get the info from them. The support people at brinkster
were no help whatsoever.
Say, here's another question: let's say I dump brinkster and choose
another hosting company. What's a good company for running perl scripts
-- one which has a few code examples, and provides you with information
like the perl path (unlike brinkster). Any recommendations?
| |
| usenet@DavidFilmer.com 2006-01-18, 9:55 pm |
| googlepostingonly@hotmail.com wrote:
> The whole problem is that Brinkster isn't providing me any info in this
> regard. I don't know that the perl path is...
You have access to a UNIX shell, right? Do you know anything about
UNIX? You ought to be able to type
which perl
and (hopefully) find out where Perl is... (assuming it's in your path,
which is usually true).
| |
| Eric Martin 2006-01-18, 9:55 pm |
| googlepostingonly@hotmail.com wrote:
> The whole problem is that Brinkster isn't providing me any info in this
> regard. I don't know that the perl path is, so I don't know if my
> shebang line is correct. I don't know what the permissions on the
> scripts should be -- 755 doesn't work, and neither does 750, as someone
> suggested. I've done some troubleshooting, like changing the line
> endings, to no avail. Before I go further I'd like to find out what the
> perl path is, and what my permissions should be. That's why I'd like to
> know if anyone has been running scripts successfully on brinkster, so
> maybe I can get the info from them. The support people at brinkster
> were no help whatsoever.
>
I saw in their *forums* that the scripts have to be set to 750 to work.
I also saw somewhere that they do have shell access, so do as David
suggested and log in and type:
which perl
> Say, here's another question: let's say I dump brinkster and choose
> another hosting company. What's a good company for running perl scripts
> -- one which has a few code examples, and provides you with information
> like the perl path (unlike brinkster). Any recommendations?
>
Try hostgator.com.
Thanks,
Eric
| |
| usenet@DavidFilmer.com 2006-01-19, 3:55 am |
| Eric Martin wrote:
> Try hostgator.com.
Hmm. Good prices, nice specs... but no shell access :(
| |
| Paul Lalli 2006-01-19, 6:55 pm |
| googlepostingonly@hotmail.com wrote:
> Say, here's another question: let's say I dump brinkster and choose
> another hosting company. What's a good company for running perl scripts
> -- one which has a few code examples, and provides you with information
> like the perl path (unlike brinkster). Any recommendations?
I've thus far been very happy with Dreamhost. Shell and FTP access,
unlimited domains and subdomains, 20Gb storage (increases by 160Mb
every w !)... they're good stuff.
http://www.dreamhost.com/shared/comparison.html for a listing of their
plans.
Use code MRITTY50 to save $50, if you'd like (yes, this will make me
your referrer - I'm not trying to scam anyone).
(Oh, and to answer your question:
https://panel.dreamhost.com/kbase/i...47&keyword=perl :-)
)
Paul Lalli
| |
| Eric Martin 2006-01-19, 6:55 pm |
| usenet@DavidFilmer.com wrote:
> Eric Martin wrote:
>
>
> Hmm. Good prices, nice specs... but no shell access :(
>
Yeah, I know. It's one of the main reasons I decided to go with a
dedicated server :) However, if you can live without shell access, they
are a great option.
-Eric
|
|
|
|
|