Installation FAQs Configuration FAQs User FAQs
Q1. I have setup my own gateway and Airavata. When I log into the gateway I cannot create Compute resources. What should I do? Answer: In your pga_config.php (in folder .../testdrive/app/config) under heading ‘Portal Related Configurations’ set ‘super-admin-portal’ => false, to true.
Q2. I don‘t get notifications when users create new accounts in my gateway. Why? Answer: That’s because you have not defined an email address in
‘admin-emails’ => [‘email@example.com’,‘firstname.lastname@example.org’]. Here you can add one or many.
Q3. I am not receiving email notifications from compute resources for job status changes. What should I do? Answer: In airavata-server.properties please locate and set your email account information.
Q4. In my Airavata log I have error messages like
ERROR org.apache.airavata.api.server.handler.AiravataServerHandler - Error occurred while retrieving SSH public keys for gateway
ERROR org.apache.airavata.credential.store.server.CredentialStoreServerHandler - Error occurred while retrieving credentials
What should I do?
Answer: This could be due to missing tables in your credential store database. Check whether CREDENTIALS and COMMUNITY_USER tables exits. If not create then using
Q5. I cannot login to my Compute Resource and launch jobs from Airavata using the SSH key I generated. What should I do?
Answer: Steps to use generated SSH key
- Generate SSH key + token using Credential Store
- Add the generated token to your resource through PGA --> Admin Dashboard --> Gateway Preferences
- Add the generated SSH key
Q6. When installing PGA in MAC i got below error after updating the composer.
Mcrypt PHP extension required.
Script php artisan clear-compiled handling the post-update-cmd event returned with an error
Answer: Install mcrypt installation; mcrypt Installation Steps
Q7. After following the required steps only the home page is working and some images are not shown properly.
Answer: If you are facing this behavior first check whether you have enabled mod_rewrite module in apache webserver.
And also check whether you have set AllowOverride All in the Vhost configuration file in apache web server.
(e.g file location is /etc/apache2/sites-available/default and there should be two places where you want to change)
<VirtualHost *:80> ServerAdmin email@example.com DocumentRoot /var/www/html/portal/public ServerName pga.example.com <Directory “/var/www/html/portal/public”> AllowOverride all ErrorLog logs/pga_error_log CustomLog logs/pga--access_log common
Q8. I get the Error message Permission Denied to app/storage directory.
Answer: Execute the following command and grant all permissions; sudo chmod -R 777 app/storage
Q9. In Ubuntu environment when executing sudo composer update it fails with message “Mcrypt PHP extension required”.
Answer: To fix this install PHP mcrypt extension by following the below steps;
Locate mcrypt.so ,to get its location Locate mcrypt.ini and open the mcrypt.ini file sudo pico /etc/php5/mods-available/mcrypt.ini Change the at line a extension= eg:/usr/lib/php5/20121212/mcrypt.so Save changes. Execute the command: sudo php5enmod mcrypt Now restart the apache server again and test PGA web-interface
Q10. When tried to login or create a new user account an Error is thrown which is similar to PHP Fatal error: SOAP-ERROR: Parsing WSDL: Couldn't load from...
Answer: If you face this kind of an error first check whether you have enabled PHP SOAP and OpenSSL extensions. If even after enabling them the issue is still occurring try updating the PHP OpenSSL extension. (Using command like yum update openssl)
Q11. If you are seeing an error similar to following in your airavata.log
Error: ERROR org.apache.airavata.registry.core.app.catalog.impl.StorageResourceImpl - Error while retrieving storage resource... javax.persistence.NoResultException: Query “SELECT p FROM StorageResource p WHERE p.storageResourceId =:param0” selected no result, but expected unique result.
Answer: Add storage resource ID in to the pga_config.php in your gateway code/app/config directory.
Q12. I am getting error
2016-05-19 16:17:08,225 [main] ERROR org.apache.airavata.server.ServerMain - Server Start Error: java.lang.RuntimeException: Failed to create database connection pool.
What should i do?
Answer: Airavata cannot create database connection because the mysql jar is not existing. Please follow step 8 of documentation in Installation --> Airavata --> Airavata Installation
Q1 What each application input property mean? Answer: - Name: Identifier of the application input - Value: This could be a STRING value or it can also be used to set input file name. - Type: Input type, List contain STRING, INTEGER, FLOAT, URI, STDOUT and STDERR - Application Arguments: These are are the characters you would want on commandline in job execution for each input file or character input. - Standard Input: Futuristic property and not in real use at the moment - User Friendly Description: A description about the input to the gateway user. This will be displayed for users at experiment creation. - Input Order: this is a number field. This will be the order inputs displayed in experiment creation. - Data is Staged: - Is the Input Required: Futuristic property and not in real use at the moment. Whether set to true or false all inputs are currently treated as mandatory. - Required in Commandline: When this is set to true the arguments and the input file or the value will be available in job execution commandline in job script. - Meta Data:
Q2 Application Output Properties Answer: Add Application Output - Name: This is the label for the output. - Value: This would be the actual name of the output airavata brings back to the PGA. - Type: Tye of the output. This is mostly depended on the application. To troubleshoot for almost all applications define STDOUT and STDERR - Application Argument: This would be arguments for outputs need to be in commandline. - Data Movement: Futuristic property and not in real use at the moment. Whether set to true or false all outputs are currently brought back to PGA. - Is the Output required?: - Required on command line?: When this is set to true the arguments and the output file or the value will be available in job execution commandline in job script. - Location: - Search Query:
Q3 How to make input file available as an executable? Answer:
- Input files defined are copied to the experiment working directory. - Input files will be available in commandline when ‘Required on Commandline’ = true - To add a commandline argument for a input file add ‘Application Argument’ for each input file. This will also define the order of files in commandline.
Q4 In Application Interface what is the use of ‘Enable Optional File Inputs’ Answer: - By setting ‘Enable Optional File Inputs’ = true user can add none or many input files at experiment creation. - In Airavata any input file required for the application to execute need to be defined as a separate input. - When inputs are defined they are treated as ‘Mandatory’ inputs.
Q5 Where do I add remote resource execution commands? Answer: In Admin Dashboard --> Application Deployment
Q1 What is the Project? Answer: - Project is simply a collection of experiments. - When creating an experiment it will be under the project you select. - Projects can be shared with fellow gateway users. - When the project is shared all experiments in the project will be shared as well.
Q2 Where can I get test inputs?
Answer: If you need test inputs try downloading from Test Input Files
Q3 Do I need to provide values for wall-time, node count and CPU count? OR can I go ahead with the given default values?
Answer: Default values are given to make life little easy for users. But depending on the job you should change the values. E.g.: If you need only two or less cores than 16 better to change. If you need more wall-time change it, etc....
Q4 What can I do with email Notifications in experiment?
Answer: Submitting a job from PGA does not guarantee job getting executed in the remote resource right away. If you add your email address, when the job starts and completes an email will be sent to you from the remote resource.
Q5 Why ‘Save’ and ‘Save and Launch’?
Answer: User has the option of either create and ‘Save’ the experiment for later launch at remote resource
can directly ‘Save and Launch’ at once.
Q6 How do I monitor progress?
Answer: When the experiment is launched navigate to Experiment Summary Page. There the experiment and job status will be present. You can monitor the experiment and job status changes. Refresh the status using ‘Refresh’ icon on top of the summary page.
Q7 How do I view/download my outputs?
Answer: Same way you monitor the experiment progress!
For each experiment inputs can be downloaded from
- Experiment Summary page
- From ‘Storage’ at the top menu. Here you need to know the Project the experiment belongs to.
Once you locate the project you can browse for your experiment.
Q8 I want to bring back all the outputs generated by my job. How?
Answer: You need to request your gateway admin to simply set Archive to ‘true’ in respective application interface in Admin Dashboard. Then all the files in the working directory will be brought back to PGA. This flag is set at gateway level not at individual user level.
Q9 I want to cancel my experiment. How?
Answer: Navigate to experiment Summary and click ‘Cancel’ button. Experiments only in operation (LAUNCHED, EXECUTING experiment statuses) can be cancelled.
Q10 2. When I cancel do I still receive any outputs generated?
Answer: Files will be not transferred from the remote resource if the experiment is cancelled. However, if the output files were transferred to PGA data directories prior to the cancel request then they will be displayed.
Q11 How can I run same application with different different inputs?
Answer: Simply clone an existing experiment and change the input files and launch.
Q12 I want to change the wall-time of my experiment before launch. How can I do?
Answer: Experiments in CREATED state can be modified through Experiment Summary page. Click ‘Edit’ change values and Save or Save and Launch.