Archive

Posts Tagged ‘permissions’

Oracle forms – webutil: error 302000: non-ORACLE exception

June 1, 2011 3 comments

We have an application in Oracle Forms 10g release 2 that uses webutil to generate a plain text file on a local folder of the application server.

We’re getting this error:


302000: non-ORACLE exception

The problem is due to permissions in the destination folder. The user that runs the forms servlet (or  its group) must have write permissions on that folder.

 

 

Advertisements

Localhost: “Falied to open stream”

If you ever find this error in localhost:


Warning: require_once(xajax_core/xajax.inc.php): failed to open stream: Permission denied in /home/mike/eclipse_workspace/web/src/main.php on line 2 Fatal error: require_once(): Failed opening required 'xajax_core/xajax.inc.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/mike/eclipse_workspace/web/src/main.php on line 2

it’s due to a permission error. Today I’ve copied a backup copy from one computer to another and I’ve overwritten the folder’s content.

I resolved it with a chgrp & chmod:


$ chgrp -R www-data application

$ chmod -R 775 application