Error encountered in starting Kafka zookeeper application start script - apache-kafka

I am seeing an error when I am starting Zookeeper service on windows using command prompt in admin mode. Can somebody assist with this error.
Running the following command in the bin folder:
zookeeper-server-start.sh config/zookeeper.properties
Results in the below error:
"this file does not have an app associated with it for performing this
action . Please install an app or, if one is already installed ,
create an association in the default apps settings page"

You must use zookeeper-server-start.bat on Windows.

Related

Keycloak start failed: org.eclipse.microprofile.context-propagation.microprofile-context-propagation-api-1.2.jar does not exist

I follow this Keycloak guide to start Keycloak on my server. I am receiving the next exception when running the bin/kc.sh start-dev command:
ERROR: Failed to run 'build' command.
ERROR: java.lang.IllegalArgumentException: /srv/keycloak/lib/lib/main/org.eclipse.microprofile.context-propagation.microprofile-context-propagation-api-1.2.jar does not exist
ERROR: /srv/keycloak/lib/lib/main/org.eclipse.microprofile.context-propagation.microprofile-context-propagation-api-1.2.jar does not exist
ERROR: /srv/keycloak/lib/lib/main/org.eclipse.microprofile.context-propagation.microprofile-context-propagation-api-1.2.jar
For more details run the same command passing the '--verbose' option. Also you can use '--help' to see the details about the usage of the particular command.
The Keycloak version is 18.0.1, the installed JDK version is 11.0.15, the OS is Debian 11
Can anyone tell me how to solve it? Thanks
It turned out that some of the jars were missing after extracting the loaded Keycloak 18.0.2 tar.gz file on the server. After replacing the jars under keycloak/lib/lib/main and keycloak/lib/lib/deployment I was able to start the Keycloak. To do that, I extracted Keycloak 18.0.2 tar.gz on my local machine and uploaded corresponding jars to the server machine.

Jboss 7 CLI - unable to start interactive mode but gui mode works

The jboss CLI does not seem to start when it was working a few hours back. I was using the CLI to setup JNDI data source and setting up two way SSL for certificate based authentication using the elytron framework.
kerth#ubuntu:~/jboss-eap-7.1/bin$ ./jboss-cli.sh
You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands.
[disconnected /]
kerth#ubuntu:~/jboss-eap-7.1/bin$ echo $?
0
Starting the Jboss CLI with -c or --connect also does not enter the interactive mode. It just exits with a exit code 0 without any error.
kerth#ubuntu:~/jboss-eap-7.1/bin$ ./jboss-cli.sh -c
[standalone#localhost:9990 /]
kerth#ubuntu:~/jboss-eap-7.1/bin$ echo $?
0
The gui mode of the CLI(./jboss-cli.sh --gui) however works. Not sure if i am missing something.
Enabling the Jboss CLI logging does not have any ERROR or WARN logs.
Using a freshly downloaded installation zip of jboss 7.1 and trying to start the CLI also does not work(No environment variables set). A freshly downloaded Jboss 7.2 CLI however works.
Any help is appreciated. Thanks
I am using the default interfaces,
Jboss version - 7.1 update 4,
OS - Ubuntu 18
Either your code pasted is wrong or I think you are missing "connect" before you connect you can't work with the CLI.
Execute the cli with ./jboss-cli.sh
type "connect" withouth the quotation marks.
Execute the desired commands
type "exit"
or alternatively you could do ./jboss-cli.sh -c to connect as well.

Apache Kafka Zookeeper silently failing to start

I downloaded the file kafka_2.11-2.1.0 from the Kafka website, unzipped it, and as instructed, ran the command to start the built-in Zookeeper server. But when I do so, nothing happens:
$ ./bin/zookeeper-server-start.sh ./config/zookeeper.properties
$
No error is shown, simply nothing happens.
I'm doing this on macOS Mojave.
I tried rebooting. Not sure what else to try, as there's simply no error message to google for. Any ideas?

Spring XD - Unable to undeploy & destroy stream through --cmdfile option

Today i have started automating certain Spring-XD tasks like, stream creation, deployment, and undeploying the same.
For this, all my undeploy and destroy commands sit in one file, but when i run the following
$xd-shell --cmdfile auto_cleanup_14032016_235706.txt
I'm getting the following output:
WARNING: Command 'stream destroy --name ingestion_14032016_235706_<>' was found but is not currently available (type 'help' then ENTER to learn about this command)
But When i run the same command inside the interactive shell xd-shell -- It seems to work fine. :(
You will notice this Warning when xd-shell fails to connect to Spring XD admin. Unless specified xd-shell assumes the admin server to be on localhost.
Add below statement to the top of your cmdfile.
admin config server http://spring-xd-admin-server:9393
Also provide the credentials to spring xd admin if required.

Solr 5.2.1 Access denied when trying to startup through powershell

I have Solr version 5.2.1 normally it starts up fine with no issues, this morning I attempted to start Solr and I got the following issue:
Starting Solr on port 8983 from C:\solr-5.2.1\solr-5.2.1\solr-5.2.1\server
Access is denied.
Access is denied.
Direct your Web browser to http://localhost:8983/solr to visit the Solr Admin UI
I restarted the computer yet I still get this access denied issue, which I have not encountered before does anyone have the insight into why this is happening? Thanks
The issue was that full control windows permissions were required to be set for the directory Solr was in.
Just update java version to java 8
Run command:
sudo bin/solr start
For example:
Vostro-3550:/opt/solr-6.0.0$ sudo bin/solr start
Then Open Browser and the past:
http://localhost:8983/solr/