WebMO - Computational chemistry on the WWW
Recent news

WebMO 10.0 is now available for free download!

WebMO 10.0 Pro and Enterprise have a variety of additional features and is available for purchase.

WebMO can now be installed on Windows, Mac, and Unix servers!

August 23, 2019

CGI open of tmpfile: Permission denied Log Out | Topics | Search
Moderators | Edit Profile

WebMO Support Forum » Running WebMO Jobs » Other » CGI open of tmpfile: Permission denied « Previous Next »

Author Message
Fa-Gung Fan
Unregistered guest
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 -

Software error:
CGI open of tmpfile: Permission denied

Software error:
[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.
JR Schmidt
Moderator
Username: Schmidt

Post Number: 136
Registered: 11-2006
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.
Fa-Gung Fan
Unregistered guest
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.
JR Schmidt
Moderator
Username: Schmidt

Post Number: 137
Registered: 11-2006
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,
OR
2) Making the Apache cgi-bin\webmo directory writable by all users

make fix the problem.

Add Your Message Here
Post:
Username: Posting Information:
This is a public posting area. Enter your username and password if you have an account. Otherwise, enter your full name as your username and leave the password blank. Your e-mail address is optional.
Password:
E-mail:
Options: Post as "Anonymous"
Enable HTML code in message
Automatically activate URLs in message
Action:

Topics | Last Day | Last Week | Tree View | Search | Help/Instructions | Program Credits Administration