Yes can you try creating it and give permission so that apache user can
write to it.

On Tue, Apr 25, 2017 at 1:26 PM, Sale, Jeff <[email protected]> wrote:

> Well, the problem is the directory does not exist. I can create it but I
> was thinking that maybe the Airavata server created it during the creation
> of the Experiment and just needed permission. Should I create it manually?
>
> Jeff
>
> ------------------------------
> *From:* Supun Nakandala [[email protected]]
> *Sent:* Tuesday, April 25, 2017 10:23 AM
>
> *To:* [email protected]
> *Subject:* Re: Permission Denied error for Local Echo test
>
> Hi Jeff,
>
> What is the directory-level permission for this directory "/var/www/
> experimentData"?
>
> On Tue, Apr 25, 2017 at 12:21 PM, Sale, Jeff <[email protected]> wrote:
>
>> Eroma,
>>
>> I got the Permission Denied error immediately after I tried to create my
>> first Experiment. It was displayed in the browser in the multi-panel gui.
>> Now all I see is the Not Found error and the url it browses to is:
>>
>> http://localhost/experiment/create
>>
>> Sorry I didn't check the logs sooner. I don't see anything in the
>> airavata logs but the laravel.log file includes the following which seems
>> to indicate a permissions error for /var/www/experimentData/jsale37. I
>> tried to change permissions on my var directory to 777 but that didn't
>> help. The var directory is actually under /private/var on my mac and a
>> symbolic link exists in the root directory.
>>
>> The error was timestamped yesterday, but the first error occurred on
>> April 21. Now I'm not sure how to recreate it so it is timestamped for
>> today.
>>
>> [2017-04-24 17:13:23] production.ERROR: exception 'ErrorException' with
>> message 'file_get_contents(/var/www/experimentData/jsale37): failed to
>> open stream: No such file or directory' in /Library/WebServer/Documents/a
>> iravata-php-gateway/app/controllers/FilemanagerController.php:43
>>
>> Stack trace:
>>
>> #0 [internal function]: Illuminate\Exception\Handler->handleError(2,
>> 'file_get_conten...', '/Library/WebSer...', 43, Array)
>>
>> #1 /Library/WebServer/Documents/airavata-php-gateway/app/contro
>> llers/FilemanagerController.php(43): file_get_contents('/var/www/ex
>> peri...')
>>
>> #2 [internal function]: FilemanagerController->get()
>>
>> #3 /Library/WebServer/Documents/airavata-php-gateway/vendor/lar
>> avel/framework/src/Illuminate/Routing/Controller.php(231):
>> call_user_func_array(Array, Array)
>>
>> #4 /Library/WebServer/Documents/airavata-php-gateway/vendor/lar
>> avel/framework/src/Illuminate/Routing/ControllerDispatcher.php(93):
>> Illuminate\Routing\Controller->callAction('get', Array)
>>
>> #5 /Library/WebServer/Documents/airavata-php-gateway/vendor/lar
>> avel/framework/src/Illuminate/Routing/ControllerDispatcher.php(62):
>> Illuminate\Routing\ControllerDispatcher->call(Object(FilemanagerController),
>> Object(Illuminate\Routing\Route), 'get')
>>
>> #6 /Library/WebServer/Documents/airavata-php-gateway/vendor/lar
>> avel/framework/src/Illuminate/Routing/Router.php(967):
>> Illuminate\Routing\ControllerDispatcher->dispatch(Object(Illuminate\Routing\Route),
>> Object(Illuminate\Http\Request), 'FilemanagerCont...', 'get')
>>
>> #7 [internal function]: Illuminate\Routing\Router->Ill
>> uminate\Routing\{closure}()
>>
>> #8 /Library/WebServer/Documents/airavata-php-gateway/vendor/lar
>> avel/framework/src/Illuminate/Routing/Route.php(109):
>> call_user_func_array(Object(Closure), Array)
>>
>> #9 /Library/WebServer/Documents/airavata-php-gateway/vendor/lar
>> avel/framework/src/Illuminate/Routing/Router.php(1033):
>> Illuminate\Routing\Route->run(Object(Illuminate\Http\Request))
>>
>> #10 /Library/WebServer/Documents/airavata-php-gateway/vendor/lar
>> avel/framework/src/Illuminate/Routing/Router.php(1001):
>> Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate
>> \Http\Request))
>>
>> #11 /Library/WebServer/Documents/airavata-php-gateway/vendor/lar
>> avel/framework/src/Illuminate/Foundation/Application.php(781):
>> Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request))
>>
>> #12 /Library/WebServer/Documents/airavata-php-gateway/vendor/lar
>> avel/framework/src/Illuminate/Foundation/Application.php(745):
>> Illuminate\Foundation\Application->dispatch(Object(Illuminat
>> e\Http\Request))
>>
>> #13 /Library/WebServer/Documents/airavata-php-gateway/vendor/lar
>> avel/framework/src/Illuminate/Session/Middleware.php(72):
>> Illuminate\Foundation\Application->handle(Object(Illuminate\Http\Request),
>> 1, true)
>>
>> #14 /Library/WebServer/Documents/airavata-php-gateway/vendor/lar
>> avel/framework/src/Illuminate/Cookie/Queue.php(47):
>> Illuminate\Session\Middleware->handle(Object(Illuminate\Http\Request),
>> 1, true)
>>
>> #15 /Library/WebServer/Documents/airavata-php-gateway/vendor/lar
>> avel/framework/src/Illuminate/Cookie/Guard.php(51):
>> Illuminate\Cookie\Queue->handle(Object(Illuminate\Http\Request), 1, true)
>>
>> #16 /Library/WebServer/Documents/airavata-php-gateway/vendor/sta
>> ck/builder/src/Stack/StackedHttpKernel.php(23):
>> Illuminate\Cookie\Guard->handle(Object(Illuminate\Http\Request), 1, true)
>>
>> #17 /Library/WebServer/Documents/airavata-php-gateway/vendor/lar
>> avel/framework/src/Illuminate/Foundation/Application.php(641):
>> Stack\StackedHttpKernel->handle(Object(Illuminate\Http\Request))
>>
>> #18 /Library/WebServer/Documents/airavata-php-gateway/public/index.php(51):
>> Illuminate\Foundation\Application->run()
>>
>> #19 {main} [] []
>> ------------------------------
>> *From:* Eroma Abeysinghe [[email protected]]
>> *Sent:* Monday, April 24, 2017 10:26 AM
>>
>> *To:* [email protected]
>> *Subject:* Re: Permission Denied error for Local Echo test
>>
>> Hi Jeff,
>>
>> When you try to save or save & launch a new experiment do you see any
>> error messages in PGA?
>> Or in your airavata.log ?
>>
>> If you do can you please share? Also where do you see 'Permission
>> denied.............' error?
>> Were you able to launch any experiments in the past?
>>
>> Thanks,
>> Eroma
>>
>>
>> On Mon, Apr 24, 2017 at 1:14 PM, Sale, Jeff <[email protected]> wrote:
>>
>>> Marcus,
>>>
>>> Yes, I can still login. The url is:
>>>
>>> http://localhost/airavata-php-gateway/public/
>>>
>>> The Project I created containing the Experiment I tried to create does
>>> not list any Experiments.
>>>
>>> I still see the warning at the top, "Unable to Connect to the Airavata
>>> Server instance!" but it goes away when I click something. I can still
>>> create a new Project, but not an Experiment.
>>>
>>> Jeff
>>>
>>>
>>> ------------------------------
>>> *From:* Christie, Marcus Aaron [[email protected]]
>>> *Sent:* Monday, April 24, 2017 6:03 AM
>>> *To:* [email protected]
>>> *Subject:* Re: Permission Denied error for Local Echo test
>>>
>>>
>>> On Apr 21, 2017, at 3:25 PM, Sale, Jeff <[email protected]> wrote:
>>>
>>> I am getting a Permission Denied error for the Application Executable
>>> Path when I try to run the Local Echo test. The instructions specify a path
>>> of /home/airavata/ECHO/echo_wrapper.sh (or Local to where airavata is
>>> installed). I am on a mac and it is unclear what this should be for my
>>> local machine. I have tried a few different things with no luck. For
>>> example, I tried
>>>
>>> /Users/jsale/ECHO/echo_wrapper.sh
>>>
>>> and I manually created the shell script in this location. Maybe I am
>>> misunderstanding how this is supposed to work.I think I have messed
>>> something up, because now when I try to create a new Experiment i get the
>>> following error:
>>> Not Found
>>>
>>> The requested URL /experiment/create was not found on this server.
>>>
>>>
>>> I have restarted apache and mysql and airavata but nothing has changed.
>>> I am unable to create a new Experiment.
>>>
>>>
>>> Jeff
>>>
>>>
>>>
>>> Jeff
>>>
>>>
>>>
>>> Jeff,
>>>
>>> Are you able to log into PGA?  What is the URL of your PGA?
>>>
>>> Thanks,
>>>
>>> Marcus
>>>
>>
>>
>>
>> --
>> Thank You,
>> Best Regards,
>> Eroma
>>
>
>
>
> --
> Thank you
> Supun Nakandala
> Dept. Computer Science and Engineering
> University of Moratuwa
>



-- 
Thank you
Supun Nakandala
Dept. Computer Science and Engineering
University of Moratuwa

Reply via email to