Return-Path: X-Original-To: apmail-airavata-commits-archive@www.apache.org Delivered-To: apmail-airavata-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 02870196A6 for ; Fri, 4 Mar 2016 20:28:25 +0000 (UTC) Received: (qmail 28725 invoked by uid 500); 4 Mar 2016 20:28:24 -0000 Delivered-To: apmail-airavata-commits-archive@airavata.apache.org Received: (qmail 28678 invoked by uid 500); 4 Mar 2016 20:28:24 -0000 Mailing-List: contact commits-help@airavata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airavata.apache.org Delivered-To: mailing list commits@airavata.apache.org Received: (qmail 28669 invoked by uid 99); 4 Mar 2016 20:28:24 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Mar 2016 20:28:24 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id B2457DFF30; Fri, 4 Mar 2016 20:28:24 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: eroma@apache.org To: commits@airavata.apache.org Message-Id: <3fea023183ab41dca3b8758ba524a35d@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: airavata-docs git commit: Changed the color of 'Question' and 'Answer' Date: Fri, 4 Mar 2016 20:28:24 +0000 (UTC) Repository: airavata-docs Updated Branches: refs/heads/master e21a5838b -> b251db615 Changed the color of 'Question' and 'Answer' Project: http://git-wip-us.apache.org/repos/asf/airavata-docs/repo Commit: http://git-wip-us.apache.org/repos/asf/airavata-docs/commit/b251db61 Tree: http://git-wip-us.apache.org/repos/asf/airavata-docs/tree/b251db61 Diff: http://git-wip-us.apache.org/repos/asf/airavata-docs/diff/b251db61 Branch: refs/heads/master Commit: b251db6150b7f0de9291f72da85fe507ddb8edcb Parents: e21a583 Author: Eroma Abeysinghe Authored: Fri Mar 4 15:28:20 2016 -0500 Committer: Eroma Abeysinghe Committed: Fri Mar 4 15:28:20 2016 -0500 ---------------------------------------------------------------------- FAQ.md | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/airavata-docs/blob/b251db61/FAQ.md ---------------------------------------------------------------------- diff --git a/FAQ.md b/FAQ.md index 0fb3bcc..f2a61f0 100644 --- a/FAQ.md +++ b/FAQ.md @@ -1,20 +1,20 @@ ## Troubleshooting FAQ
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' => ['xxx@xxx.com','yyy@yyy.com']. Here you can add one or many.
-

Q3. I am not receiving email notifications from compute resoures for job status changes. What should I do?
-Answer: In airavata-server.properties please locate and set your email account information. +
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' => ['xxx@xxx.com','yyy@yyy.com']. Here you can add one or many.
+

Q3. I am not receiving email notifications from compute resoures for job status changes. What should I do?
+Answer: In airavata-server.properties please locate and set your email account information.
email.based.monitor.host=imap.gmail.com
 email.based.monitor.address=airavata-user@kuytje.nl
 email.based.monitor.password=zzzz
 email.based.monitor.folder.name=INBOX
 email.based.monitor.store.protocol=imaps (either imaps or pop3)
-

Q4. In my Airavata log I have error messages like +

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 +
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
CREATE TABLE COMMUNITY_USER
 (
         GATEWAY_ID VARCHAR(256) NOT NULL,
@@ -34,24 +34,24 @@ email.based.monitor.store.protocol=imaps (either imaps or pop3)
PRIMARY KEY (GATEWAY_ID, TOKEN_ID) ); -

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
+

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. +
Q6. When installing PGA in MAC i got below error after updating the composer.
- Error
Mcrypt PHP extension required.
Script php artisan clear-compiled handling the post-update-cmd event returned with an error
[RuntimeException]
Error Output: -
Answer: +
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. +
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)

      
@@ -65,11 +65,11 @@ email.based.monitor.store.protocol=imaps (either imaps or pop3)
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
+
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; +
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;
sudo apt-get install php5-mcrypt
use locate mcrypt.so ,to get its locaton locate mcrypt.ini and open the mcrypt.ini file @@ -79,5 +79,5 @@ email.based.monitor.store.protocol=imaps (either imaps or pop3) 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) \ No newline at end of file +
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) \ No newline at end of file