in reply to Re^5: perl script not working after moved to new host
in thread perl script not working after moved to new host

no, getting this error

Software error:

system error: 256 at /usr/local/nagios/stat/raksan/cgi-bin/ngcf.pl line 33.

For help, please send mail to the webmaster (root@localhost), giving this error message and the time and date of the error.

error lines point to here
my $status = system("/home/nagios/stat/scripts/ng_rrd2img.sh $target z +oylotest dig $recenttimes now 300 130 > $wwwrealpath/tmp/$tmpgraph"); if ($status) { die "system error: $?" #<<<<<HERE<<<<<

this error point here <<HERE<<<

Replies are listed 'Best First'.
Re^7: perl script not working after moved to new host
by Corion (Patriarch) on Jan 25, 2016 at 14:06 UTC

    This means that the following command fails:

    system("/home/nagios/stat/scripts/ng_rrd2img.sh $target zoylotest dig +$recenttimes now 300 130 > $wwwrealpath/tmp/$tmpgraph");

    Maybe try to find out what command your script is trying to run there and find out why it might fail.

      Thanks its best clue for to dig to next step

      it was permission issue on specific path give,

      I corrected now, but I can run same system(bash script) from shell(terminal)it runs without any issue as same user without any permission issues and its creating files........, from browser it is not creating files

      What causes to stop or not generating when it runs from browser or perl mode execution