I wrote a CGI program years ago that gathers input from a user, querys a DB, plots the results in gnuplot using a system call and displays the results to the browser.
Life was good, the program worked, I got paid, there was much rejoicing.
Now the proplem... New SA, new web server (IIS6), new configuration.
Now the program don't work, and the old boss is calling me.
I can track the problem down to the system call to gnuplot. I don't have access to the server however, so as far as I can tell gnuplot can't create the .gif file (the gif is created by File::Temp). System returns, and my program displays an empty .gif image. I believe there is no way to get an error message from gnuplot in batch mode. I don't do windows, but it seems that there is a file permision issue. So my questions are simply
-
What can I tell this *system administator* to help him find the problem
- Can I do something to work around his configuration issues
- Would there be any use in looking into something like Win32::Process
- Is there any way to make windows just go away?
Sorry if this post is somewhat off topic (and ill tempered).
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.