in reply to Cannot launch perl packer binary from inetd
Welcome fergal1,
This isn't really a Perl problem! When you launch a script from the command line in *nix, the environmental variables have been set up via your login. When you launch a script from 'inetd' you must ensure that required environment is set up for the script to work.
This would be the same problem with any language (C, C++, etc.). What you could do to find the problem is in your test script open a file and dump your %ENV with a foreach loop. Move that file to a backup name and then call the script from 'inetd' and then compare the two files (can use 'diff' under *nix). It could be different users, protection problem, etc.
Good Luck!
"Well done is better than well said." - Benjamin Franklin
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Cannot launch perl packer binary from inetd
by fergal1 (Initiate) on Dec 12, 2012 at 15:25 UTC | |
|
Re^2: Cannot launch perl packer binary from inetd
by Anonymous Monk on Dec 13, 2012 at 16:43 UTC | |
by Anonymous Monk on Dec 14, 2012 at 09:47 UTC | |
by fergal1 (Initiate) on Dec 17, 2012 at 16:07 UTC |