Fwd: what is the problem?
Forwarding to list.
----- Forwarded message from Yang Xiaolin yangxl@pumc.edu.cn -----
From: "Yang Xiaolin" yangxl@pumc.edu.cn To: "Modeller Caretaker" modeller-care@salilab.org Subject: what is the problem? Date: Sat, 27 Sep 2003 01:32:48 +0800 X-Mailer: Microsoft Outlook Express 6.00.2800.1106
Hi,all
I used the following sentence in a cgi script written by Perl. system("mod all.top"); The error information is:
sys_____214E> File probably does not exist. Perhaps you have to increase swap space size. Filename: 1064585746 Command : uname -rnsm > 1064585746 recover____E> ERROR_STATUS >= STOP_ON_ERROR: 1 1
Dynamically allocated memory at finish [B,kB,MB]: 0 0.000 0.000 Starting time : 2003/09/26 22:15:45.975 Closing time : 2003/09/26 22:15:46.135 Total CPU time [seconds] : 0.07
The command "mod all.top" can run smoothly as command line or the script was not run through web. How can I resolve this problem?
Thank you !
Sherin Yang
----- End forwarded message -----
On Fri, Sep 26, 2003 at 04:37:05PM -0700, Yang Xiaolin wrote: > Hi,all > > I used the following sentence in a cgi script written by Perl. > system("mod all.top"); > The error information is: > > sys_____214E> File probably does not exist. > Perhaps you have to increase swap space size. > Filename: 1064585746 > Command : uname -rnsm > 1064585746 > recover____E> ERROR_STATUS >= STOP_ON_ERROR: 1 1 > > Dynamically allocated memory at finish [B,kB,MB]: 0 0.000 0.000 > Starting time : 2003/09/26 22:15:45.975 > Closing time : 2003/09/26 22:15:46.135 > Total CPU time [seconds] : 0.07 > > > The command "mod all.top" can run smoothly as command line or the script > was not run through web. > How can I resolve this problem?
The problem is that Modeller calls the 'uname' program in order to determine your machine's hostname and other particulars, and writes this information into a temporary file (called 1064585746, in your case). This will fail if you do not have write access to the directory Modeller is running in (which is likely if you run via a CGI script, which is probably running as user 'nobody' or similar). Either make sure you put a suitable 'cd' command into your script before starting up Modeller, or ensure that the working directory is writeable by the CGI user. At any rate, if Modeller cannot create a temporary file, it won't be able to create any output files either!
Ben Webb, Modeller Caretaker
participants (1)
-
Modeller Caretaker