Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^4: Bad File Descriptor ( apache don't know how to spawn child process )

by Milti (Beadle)
on Oct 01, 2016 at 00:14 UTC ( [id://1173042]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Bad File Descriptor ( apache don't know how to spawn child process )
in thread Bad File Descriptor

As far as I can tell the file permissions are the same on all the cgi programs, i.e. everyone has the minimum of read & execute. I tried the different addressing suggested earlier and it didn't work. Same error message seemingly suggesting the #! was missing. The program being called in this case is one that retrieves data from a MySQL database. Another program which inserts data into the same database is executed when called and completes its task. That program has the same Shebang line as the one that fails. The programs are located in the same cgi-bin and have the same apparent permissions.

  • Comment on Re^4: Bad File Descriptor ( apache don't know how to spawn child process )

Replies are listed 'Best First'.
Re^5: Bad File Descriptor ( apache don't know how to spawn child process )
by Anonymous Monk on Oct 01, 2016 at 00:28 UTC
    what happens if you rename the file? and starta newfile.pl, copy paste the contents into that?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2024-09-17 22:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The PerlMonks site front end has:





    Results (22 votes). Check out past polls.

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.