Re: Perl/Cron Conflict



Kris wrote:
I apologize beforehand for lack of information/details.  I have a cron
with an entry that looks like this:

2,17,32,47 * * * * /sds/force/custom/cronrep /sds/force/custom/Vine.pl
1>/dev/null 2>>&1

I'm running this on AIX 5.3.  This worked fine before an upgrade from
4.3.  The cronrep is a wrapper that sets the environment and the
Vine.pl file runs off that.  This creates a file in a directory called
Vineout.  If I run the command manually, ie: /sds/force/custom/cronrep
/sds/force/custom/Vine.pl, it creates the file just fine.  However when
cron runs it, I get the following error:

No -I allowed while running setgid.

I believe the -I option is something with Perl.  We're running perl5
5.8.0.  Are there permissions that I need to change on a file?
Anywhere to start looking?  If any additional information is needed,
I'll give you what I can.  Thanks.

Kris

I have had some problems running perl and expect scripts from cron.

I took the easy way out ( hold on while I don my fireproof suit ) and create a one-line shell script which runs the perl or expect - this seems have stopped my problem.
.




Relevant Pages

  • Re: Forged mail addresses
    ... fully Vista compliant. ... If using XP is going to break our engineers, ... Companies should upgrade when it is in their interest to ... We're talking about the IT environment in which it is being employed. ...
    (rec.arts.anime.misc)
  • RE: Live Upgrade for Linux
    ... > to and then just reboot off the new environment without having to ... Subject: Live Upgrade for Linux ... Maybe I need a little clarification of what Live Upgrade does. ... Then you can apply patches etc to this other boot environment and boot ...
    (Focus-Linux)
  • Re: new forest
    ... everyone over using ADMT v2 to the 'in-between' environment, create the new, ... follow the upgrade route. ... simply add the Dells as WIN2003 Domain Controllers. ... > confident it is all working, we will use the original forests dc's as dc's> for the new forest. ...
    (microsoft.public.win2000.active_directory)
  • Horrendous Performance on AIX w/ D3 7.4.2
    ... Has anyone else done a migration after running for a long time on an older D3 release including an upgrade to new hardware and noticed "disappointing" performance? ... the machine seems unable to sustain performance much above 3Mb/Sec from within the D3 environment. ... Raining Data support fooled with the machine for several hours and could find nothing wrong with the configuration as it was set up. ...
    (comp.databases.pick)
  • Re: Things to watch out for during 9.0->9.1 upgrade?
    ... and it is downright dangerous to just do the upgrade. ... second machine until it is proved that it works. ... while it still in a production environment. ... the backup/test machine can be used as live while the old ...
    (alt.os.linux.suse)