You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by er...@apache.org on 2016/05/20 13:52:38 UTC

[1/3] airavata-docs git commit: Modifications to airavata-server.properties detail section. Fixe the URL for airavata-properties page.

Repository: airavata-docs
Updated Branches:
  refs/heads/master 9af1519b2 -> 35e3d46fa


Modifications to airavata-server.properties detail section. Fixe the URL for airavata-properties page.


Project: http://git-wip-us.apache.org/repos/asf/airavata-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata-docs/commit/c616d81c
Tree: http://git-wip-us.apache.org/repos/asf/airavata-docs/tree/c616d81c
Diff: http://git-wip-us.apache.org/repos/asf/airavata-docs/diff/c616d81c

Branch: refs/heads/master
Commit: c616d81c6bff1cfe58ab8b52ac1e55584da86343
Parents: 9af1519
Author: Eroma Abeysinghe <er...@gmail.com>
Authored: Thu May 19 16:32:46 2016 -0400
Committer: Eroma Abeysinghe <er...@gmail.com>
Committed: Thu May 19 16:32:46 2016 -0400

----------------------------------------------------------------------
 FAQ.md | 51 ++++++++++++++++++++++++++++++++-------------------
 1 file changed, 32 insertions(+), 19 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-docs/blob/c616d81c/FAQ.md
----------------------------------------------------------------------
diff --git a/FAQ.md b/FAQ.md
index f2a61f0..e8c03f4 100644
--- a/FAQ.md
+++ b/FAQ.md
@@ -13,7 +13,7 @@ email.based.monitor.store.protocol=imaps (either imaps or pop3)</pre></code>
 <br><br><b class="blue"> Q4.</b>  In my Airavata log I have error messages like
 <br>ERROR org.apache.airavata.api.server.handler.AiravataServerHandler  - Error occurred while retrieving SSH public keys for gateway
 <br>ERROR org.apache.airavata.credential.store.server.CredentialStoreServerHandler  - Error occurred while retrieving credentials
-<br>What should I do?
+<br></br>What should I do?<br>
 <br><b class="blue">Answer: </b> 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
 <pre><code>CREATE TABLE COMMUNITY_USER
 (
@@ -54,16 +54,16 @@ email.based.monitor.store.protocol=imaps (either imaps or pop3)</pre></code>
     <br><b class="blue">Answer: </b>If you are facing this behavior first check whether you have enabled mod_rewrite module in apache webserver.
     <br>And also check whether you have set AllowOverride All in the Vhost configuration file in apache web server. <br>(e.g file location is /etc/apache2/sites-available/default and there should be two places where you want to change)
 <br><pre><code>
-     <VirtualHost *:80>
-        ServerAdmin webmaster@dummy-host.example.com
-        DocumentRoot /var/www/html/portal/public
-        ServerName pga.example.com
-        <Directory "/var/www/html/portal/public">
-           AllowOverride all
-        </Directory>
-        ErrorLog logs/pga_error_log
-        CustomLog logs/pga--access_log common
-    </VirtualHost></code></pre>
+<VirtualHost *:80>
+    ServerAdmin webmaster@dummy-host.example.com
+    DocumentRoot /var/www/html/portal/public
+    ServerName pga.example.com
+    <Directory "/var/www/html/portal/public">
+       AllowOverride all
+    </Directory>
+    ErrorLog logs/pga_error_log
+    CustomLog logs/pga--access_log common
+</VirtualHost></code></pre>
     <br>
 <br><b class="blue"> Q8.</b> I get the Error message Permission Denied to app/storage directory.<br>
     <br><b class="blue">Answer: </b>Execute the following command and grant all permissions; <pre><code> sudo chmod -R 777 app/storage</code></pre>
@@ -71,13 +71,26 @@ email.based.monitor.store.protocol=imaps (either imaps or pop3)</pre></code>
 <br><b class="blue"> Q9.</b> In Ubuntu environment when executing sudo composer update it fails with message "Mcrypt PHP extension required".
  <br><b class="blue">Answer: </b>To fix this install PHP mcrypt extension by following the below steps;
  <pre><code>sudo apt-get install php5-mcrypt</code></pre>
-    use locate mcrypt.so ,to get its locaton
-    locate mcrypt.ini and open the mcrypt.ini file
-    sudo pico /etc/php5/mods-available/mcrypt.ini
-    change the at line a extension=<location of e mcrypt.so file> 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.
+  Locate mcrypt.so ,to get its location
+  Locate mcrypt.ini and open the mcrypt.ini file
+    <pre><code>sudo pico /etc/php5/mods-available/mcrypt.ini</code></pre>
+  Change the at line a extension=<location of the mcrypt.so file> eg:/usr/lib/php5/20121212/mcrypt.so Save changes.
+  Execute the command:  <pre><code>sudo php5enmod mcrypt</code></pre>
+  Now restart the apache server again and test PGA web-interface
 
 <br><b class="blue"> Q10.</b> 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...
-    <br><b class="blue">Answer: </b> 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
+    <br><b class="blue">Answer: </b> 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)
+    
+<br><b class="blue"> Q11.</b> If you are seeing an error similar to following in your airavata.log <br>
+Error: ERROR org.apache.airavata.registry.core.app.catalog.impl.StorageResourceImpl\u2002\u2002- 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.
+<br><b class="blue">Answer: </b> Add storage resource ID in to the pga_config.php in your gateway code/app/config directory.  
+         
+<br><b class="blue"> Q12.</b> I am getting error <br>
+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. <br>
+What should i do?
+<br><b class="blue">Answer: </b> Airavata cannot create database connection ebcause the mysql jar is not eixsting. Please follow step 8 of documentation in Installation --> Airavata --> Airavata Installation
+
+
+       
\ No newline at end of file


[3/3] airavata-docs git commit: Minor modification to installation steps

Posted by er...@apache.org.
Minor modification to installation steps


Project: http://git-wip-us.apache.org/repos/asf/airavata-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata-docs/commit/35e3d46f
Tree: http://git-wip-us.apache.org/repos/asf/airavata-docs/tree/35e3d46f
Diff: http://git-wip-us.apache.org/repos/asf/airavata-docs/diff/35e3d46f

Branch: refs/heads/master
Commit: 35e3d46fab7fd161d5a178f84fe12b2c3f71d6aa
Parents: 5fe83b6
Author: Eroma Abeysinghe <er...@gmail.com>
Authored: Fri May 20 09:52:25 2016 -0400
Committer: Eroma Abeysinghe <er...@gmail.com>
Committed: Fri May 20 09:52:25 2016 -0400

----------------------------------------------------------------------
 Airavata-Installation.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-docs/blob/35e3d46f/Airavata-Installation.md
----------------------------------------------------------------------
diff --git a/Airavata-Installation.md b/Airavata-Installation.md
index 12b6c2f..cde7117 100644
--- a/Airavata-Installation.md
+++ b/Airavata-Installation.md
@@ -78,7 +78,7 @@ OR
 7. Generate Credential store keystore file in the created local directory.
 <pre><code>	keytool -genseckey -alias airavata -keyalg AES -keysize 128 -storetype jceks -keystore airavata_sym.jks</code></pre>
 For more information visit <a href="https://cwiki.apache.org/confluence/display/AIRAVATA/Credential+Store+Configuration+Guide/" target="_blank">Credential Store Configuration Documentation</a>
-8. In order to copy mysql.jar file; navigate to Airavata lib directory
+8. In order to copy mysql jar file (always download the latest available); navigate to Airavata lib directory
 <pre><code>cd /LocalFolderPath/apache-airavata-server-0.16-SNAPSHOT/lib</code></pre>
 Now copy the mysql.jar to lib  directory (<a href="http://dev.mysql.com/downloads/connector/j/" target="_blank">Download mysql.jar</a>).
 9. Navigate to bin folder which contains file airavata-server.properties and open it;


[2/3] airavata-docs git commit: Modifications to airavata-server.properties detail section. Fixe the URL for airavata-properties page.

Posted by er...@apache.org.
Modifications to airavata-server.properties detail section. Fixe the URL for airavata-properties page.


Project: http://git-wip-us.apache.org/repos/asf/airavata-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata-docs/commit/5fe83b6e
Tree: http://git-wip-us.apache.org/repos/asf/airavata-docs/tree/5fe83b6e
Diff: http://git-wip-us.apache.org/repos/asf/airavata-docs/diff/5fe83b6e

Branch: refs/heads/master
Commit: 5fe83b6e6f9afd9684ce48771b02c40893b0bd1d
Parents: c616d81
Author: Eroma Abeysinghe <er...@gmail.com>
Authored: Thu May 19 16:33:01 2016 -0400
Committer: Eroma Abeysinghe <er...@gmail.com>
Committed: Thu May 19 16:33:01 2016 -0400

----------------------------------------------------------------------
 FAQ.md | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-docs/blob/5fe83b6e/FAQ.md
----------------------------------------------------------------------
diff --git a/FAQ.md b/FAQ.md
index e8c03f4..fa4ae7d 100644
--- a/FAQ.md
+++ b/FAQ.md
@@ -89,6 +89,7 @@ Error: ERROR org.apache.airavata.registry.core.app.catalog.impl.StorageResourceI
 <br><b class="blue"> Q12.</b> I am getting error <br>
 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. <br>
+
 What should i do?
 <br><b class="blue">Answer: </b> Airavata cannot create database connection ebcause the mysql jar is not eixsting. Please follow step 8 of documentation in Installation --> Airavata --> Airavata Installation