Re: application core dumps via cron



The application may also be expecting STDIN to be allocated.

I'm not 100% positive, but I don't think cron does that (or maybe I'm
thinking of Redhat).

===============================
Dave Annis, Unix System Administrator
Schneider National, Inc. (920) 592-8398



Mark Schlechte
<mschlechte@REGIN
A.CA> To
Sent by: IBM AIX aix-l@xxxxxxxxxxxxx
Discussion List cc
<aix-l@Princeton.
EDU> Subject
application core dumps via cron

09/26/2007 12:12
PM


Please respond to
IBM AIX
Discussion List
<aix-l@Princeton.
EDU>






Hey Guys,

I have an application that is set to stop and start via cron.
It stops fine but when it tries to start via a script it core dumps.
If I just execute the script it as the user it works properly.

My guess is that I am missing some environment variable that is not read
when executed via cron so I'll investigate that.
To get any information out of the core file do I use dump?

Mark



DISCLAIMER: The information transmitted is intended only for the addressee
and may contain confidential, proprietary and/or privileged material. Any
unauthorized review, distribution or other use of or the taking of any
action in reliance upon this information is prohibited. If you received
this in error, please contact the sender and delete or destroy this message
and any copies.



Relevant Pages

  • Re: Reading SCRIPT_FILENAME thru cron
    ... $sp1 is set correctly when I execute file.php thru the browser. ... when I run that script thru cron $sp1 is always null. ... $_SERVER is filled in by the web server - and it won't exist if you don't access the page though the server. ...
    (comp.lang.php)
  • Re: Strange problem with crond
    ... Now i don't have ORPHAN ... warning, but when times come, cron doesn't execute the script. ... I used crontab -u root -e to force cron to point root user, ... FYI If I put the same script under ...
    (Fedora)
  • Re: Reading SCRIPT_FILENAME thru cron
    ... $sp1 is set correctly when I execute file.php thru the browser. ... when I run that script thru cron $sp1 is always null. ...
    (comp.lang.php)
  • Possible problems with cron spawning new shell
    ... The strange thing is that the script hasn't been executed at all. ... This has led me to break the above cron entry into distinct portions: ... spawning the shell to execute the script in point. ...
    (comp.unix.questions)
  • Cron having possible problems spawning new shell.
    ... The strange thing is that the script hasn't been executed at all. ... This has led me to break the above cron entry into distinct portions: ... spawning the shell to execute the script in point. ...
    (comp.os.linux.misc)