Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Net::Amazon::EC2 loses pound-shebang when base64'd

by merlyn (Sage)
on Oct 06, 2009 at 14:09 UTC ( [id://799487]=note: print w/replies, xml ) Need Help??


in reply to Net::Amazon::EC2 loses pound-shebang when base64'd

Just a wild stab, but are you sure that the line-endings for /home/hesco/sandbox/EC2/trick_out_my_server.sh are correct? Not Windows line endings or something weird?

And are you sure the interpreter mentioned after "#!" exists in the AMI?

I'm asking this because something in the AMI startup is apparently being more picky than what your local box needs. Or, something is corrupting the base64 decode (are you exceeding the size? try something smaller).

-- Randal L. Schwartz, Perl hacker

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://799487]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (7)
As of 2024-04-26 08:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found