|Posted on Thursday, January 14, 2010 - 11:09 pm: |
I installed Apache and WebMO 10 on a Windows XP Professional laptop. Everything seemed to work fine until I created a new job and wanted to import molecule, then it said -
CGI open of tmpfile: Permission denied
[Thu Jan 14 22:52:10 2010] import_molecule.cgi: CGI open of tmpfile: Permission denied
Compilation failed in require at C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin/webmo/import_molecule.cgi line 12.
Where might be the problem and how to fix it? Thanks.
Post Number: 136
|Posted on Friday, January 15, 2010 - 5:57 pm: |
Can you explain when the error happens? Is it when you click the 'Import Molecule' button on the 'Build Molecule' page? Or after you actually try and import the molecule? Please be as precise as possible in your explanation, as I am having trouble reproducing the problem.
|Posted on Friday, January 15, 2010 - 11:16 pm: |
I'd chosen the format, checked generate bonds, and selected the file. Then, when I clicked Import Molecule, this error message showed in the pop-up window. Thanks.
Post Number: 137
|Posted on Saturday, January 16, 2010 - 10:35 am: |
This error occurs during file uploads, if the webserver is not able to write to any of the directories where temporary files are normally stored. The error is generated by a library (not my code) so I can't do much to fix it, but the documentation suggests that either:
1) Create a c:\temp directory writable by all users,
2) Making the Apache cgi-bin\webmo directory writable by all users
make fix the problem.