Euca CC initlization issue - mysql

After manual installation of EUCA-CC, When try to initialize cloud -clcadmin-initialize-cloud- Getttng the error-
ERROR | initdb: directory "/var/lib/eucalyptus/db/data" exists but is not empty ERROR | If you want to create a new database system, either remove or empty directory "/var/lib/eucalyptus/db/data" or run intdb
ERROR | initdb: directory "/var/lib/eucalyptus/db/data" exists but is not empty
ERROR | If you want to create a new database system, either remove or empty
ERROR | the directory "/var/lib/eucalyptus/db/data" or run initdb
ERROR | with an argument other than "/var/lib/eucalyptus/db/data".
ERROR | java.lang.RuntimeException: java.lang.RuntimeException: Database initialization failed with error code: 1
java.lang.RuntimeException: Database initialization failed with error code: 1
Any pointers are appreciated!
tried deleting db file and downgraded Java from 11 to 8.

Related

Error in sonarqube configuration using command prompt

wrapper | --> Wrapper Started as Console
wrapper | Launching a JVM...
jvm 1 | Error: Could not create the Java Virtual Machine.
jvm 1 | Error: A fatal exception has occurred. Program will exit.
jvm 1 | Unrecognized option: --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED
wrapper | JVM exited while loading the application.
wrapper | JVM Restarts disabled. Shutting down.
wrapper | <-- Wrapper Stopped
note the jdk path and that in sonarqube config file
then open command prompt and add ----------Sonarstart

Failed to open file, Error 2 - MySQL Import

I'm trying to import a MySQL Database via command line (Terminal). The file's path seems to be correct, but I keep getting an error message that is most likely showing that, the path of the SQL file I'm importing is not correct. Below is the sample of the command line I'm using and the error I'm getting...
NOTE: Linux Server, Centos 7 - MariaDB
source C:/Users/localcomputerUser/SQLFileFolder/SQLFile.sql
source C:/Users/localcomputerUser/SQLFileFolder/SQLFile.sql
Failed to open file 'C:/Users/localcomputerUser/SQLFileFolder/SQLFile.sql
', error: 2
Thanks for your support.

Class 'DebugBarFilter' not found in cakephp3 for server

My client project is working in localhost environment but in client server, it is giving the following fatal error:
Error: Class 'DebugBarFilter' not found
File /home/pantaid8/public_html/vendor/cakephp/debug_kit/config/bootstrap.php
Line: 2
yes code is in 21 line but message is coming same what I mentioned.

GGTS: Grails errors during making project org.codehaus.groovy.control.MultipleCompilationErrorsException

I know that this question have been discussed many time, but i didn't find solution for resolve my situation.. here is: I had started a new project in GGTS 3.4. I used Java JRE 7. In Preferences of GGTS, Java (Installed JREs) has this location:
C:\Program Files\Java\jdk1.7.0_51 and tools.jar included in jre's.
Also I have those settings in my Environment Variables:
C:\grails-2.2.4
C:\Program Files\Groovy\Groovy-2.2.1
c:\Program Files\Java\jdk1.7.0_51
PATH: %GROOVY_HOME%\bin;C:\grails-2.2.4\bin;%JAVA_HOME%\bin
startGrails.bat have been started using console
So, when I tried to make new project by File - New -Grails Project, I had an error:
Loading Grails 2.2.4 | Configuring classpath | Error
org.codehaus.groovy.control.MultipleCompilationErrorsException:
startup failed:
_CreateApp: 1: unexpected char: 0x0 # line 1, column 1. 1 error | Error at
org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:309)
| Error at
org.codehaus.groovy.control.ErrorCollector.addFatalError(ErrorCollector.java:149)
| Error at
org.codehaus.groovy.control.ErrorCollector.addError(ErrorCollector.java:119)
| Error at
org.codehaus.groovy.control.ErrorCollector.addError(ErrorCollector.java:131)
| Error at
org.codehaus.groovy.control.SourceUnit.addError(SourceUnit.java:359) |
Error at
org.codehaus.groovy.antlr.AntlrParserPlugin.transformCSTIntoAST(AntlrParserPlugin.java:137)
| Error at
org.codehaus.groovy.antlr.AntlrParserPlugin.parseCST(AntlrParserPlugin.java:108)
| Error at
org.codehaus.groovy.control.SourceUnit.parse(SourceUnit.java:236) |
Error at
org.codehaus.groovy.control.CompilationUnit$1.call(CompilationUnit.java:162)
| Error at
org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:903)
| Error at
org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:566)
| Error at
org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:542)
| Error at
org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:519)
| Error at
org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:498)bla
bla bla
please, provide a solution for resolve this problem.
Cheers!

Error 310: Staging failed deploying - Grails app in Cloud Foundry

I'm trying to deploy my grails app to Cloud Foundry and I'm getting the eror below.
I'm wondering if my mysql datasource is correctly configured in DataSource.groovy and this could be causing the issue or I'm missing something else.
====> /logs/staging.log <====
Uploading Application:
Checking for available resources: OK
Processing resources: OK
Packing application: OK
Uploading (116K): OK
Push Status: OK
Staging Application: ..Error 310: Staging failed: 'Staging plugin failed staging application:
/var/vcap/packages/stager/stager/vendor/bundle/ruby/1.9.1/gems/vcap_staging-0.1.44/lib/vcap/staging/plugin/java_web/plugin.rb:25:in block in stage_application': Web application staging failed: web.xml not found (RuntimeError)
from /var/vcap/packages/stager/stager/vendor/bundle/ruby/1.9.1/gems/vcap_staging-0.1.44/lib/vcap/staging/plugin/java_web/plugin.rb:19:inchdir'
from /var/vcap/packages/stager/stager/vendor/bundle/ruby/1.9.1/gems/vcap_staging-0.1.44/lib/vcap/staging/plugin/java_web/plugin.rb:19:in stage_application'
from /var/vcap/packages/stager/stager/bin/run_plugin:19:in'
'
I tried to run grails cf-list-files to check tomcat logs but I got the following error:
| Environment set to development.....
Error: 400 Bad Request
| Error org.cloudfoundry.client.lib.CloudFoundryException: 400 Bad Request (Operation not permitted on a stopped app)
| Error at org.cloudfoundry.client.lib.CloudFoundryClient$ErrorHandler.handleError(CloudFoundryClient.java:78)
| Error at org.cloudfoundry.client.lib.CloudFoundryClient.getFile(CloudFoundryClient.java:463)
As tomas posted on 3/27,
grails install-plugin cloud-foundry followed by grails cf-push