Datastax Enterprise 5.0 Installation Error after DSE removal - datastax-enterprise

The following error occurs during the startup of a node when Lifecycle Manager is used to provision a cluster:
ERROR 04:46:00,789 DseModule.java:98 - org/apache/hadoop/security/token/delegation/AbstractDelegationTokenSecretManager. Exiting...
This started to happen after I used a script meant for an older version of OptCenter to remove DSE:
https://docs.datastax.com/en/opscenter/5.1/opsc/online_help/opscRemovingPackages_t.html
Any advice is greatly appreciated.

I ended up terminating the AWS EC2 instances and starting from scratch.

Related

Why does self made(.NET) Worker Service as Windows Service give "Error 1067: The process terminated unexpectedly" while starting the serivce?

I created a worker service in .NET and I planned to deploy that service to windows machine so I created it as windows service.
When I started deploying the service (using sc.exe), everything went smoothly until I tried to start up the service and I got error: "Error 1067: The process terminated unexpectedly".
It did start up in my dev machine so the problem must be related with the target machine.
Answers from "googling" didn't help me much and were kind of disperse.
What might cause this error?
For me the solution was simple. My target machine was missing the directory that my service was trying to use. I added the proper directory and folder into my dev machine and the error was gone.

Sticky topshelf service that refuses to terminate

I have a project that includes a topshelf service and the deployment script uninstalls and reinstalls the newer version on the server.
This worked fine for a long time until last week when it started misbehaving for unknown reasons.
What happens now is the command:
D:/Deploy/current/net40/MyService.exe uninstall
Prints out these results:
The uninstall is beginning.
2017-03-06T11:21:07 [1] INFO Topshelf.Runtime.Windows.HostInstaller - Uninstalling MyService service
Removing EventLog source MyService.
Service MyService is being removed from the system...
Service MyService was successfully removed from the system.
Attempt to stop service Halcyon.
The uninstall has completed.
But MyService.exe is still running in TaskManager.
As a result
This command:
D:/Deploy/current/net40/MyService.exe install --manual
gives this (expected) error:
ERROR Topshelf.Hosts.InstallHost - The MyService service is already installed.
I tried updating Topshelf to the latest version.
Uninstalling and killing the service manually on the deployment server doesn't work either because of another bizarre error.
Beginning the Install phase of the installation.
2017-03-06T11:40:08 [1] INFO Topshelf.Runtime.Windows.HostInstaller - Installing MyService service
Installing service MyService...
Service MyService has been successfully installed.
The Install phase completed successfully, and the Commit phase is beginning.
The Commit phase completed successfully.
The transacted install has completed.
INFO MyService.Program - Exiting Main() - exitCode:Ok
INFO Dozo::Applications::Topshelf - Starting MyService
INFO Dozo::Applications::Topshelf - Changing MyService to start automatically
INFO Dozo::Dozo - sc config "MyService" start= auto
[SC] ChangeServiceConfig SUCCESS
INFO Dozo::Applications::Topshelf - Starting MyService
INFO Dozo::Dozo - net start "MyService"
The MyService service is starting........
The MyService service could not be started.
I just can't figure out why this is happening.
I tried adding more error logging but nothing has come up.
Anyone had this before? Any ideas how to get this "Sticky" service to stop running even after an uninstall?
Thanks
Hi have you tried to remove the service with windows commands?
Open a Command Prompt and enter
sc delete <service-name>
Maybe a bit late but I hope that someone else might find it useful.
When having issues like this you should look into Stop method in your Topshelf configuration. Make sure that everything is disposed in it. Like various connections are closed and file handles are disposed. This kind of stuff can make your service "Sticky".

TAO Notify service can't start in suse

Recently I built a ace tao in suse with the official documents successfully, and the Naming service run ok, but when I started Notify service, An error was occurred,
I started the service by following way,
$TAO_ROOT/orbsvcs/Naming Service/Naming_service
$TAO_ROOT/orbsvcs/Notify Service/Notify_service
error information:
Using 1 threads for each ConsumerAdmin. pure virtual method called
terminate called without an active exception Aborted (core dumped)
ACE and TAO version is 6.1.0, anybody who can help me?

Starting Neo4j Server failed: Component was successfully initialized, but server failed to start

I was given a graph db I must open with Neo4j. Installed community version Neo4j-2.2.0-M02 on Win7 Ultimate laptop successfully. When I tried to start the server, after pointing to the graph db, I get the following error:
Starting Neo4j Server failed:
Component org.neo4j.server.database.LifecycleManagingDatabase#325ce05c was successfully initialized, but failed to start. Please see attached cause exception.
Logged in as windows local admin. Windows FWall is off. There's no antivirus SW installed on the machine. Local admin has full perms on entire root drive. When I point to the default db, Neo4j server starts normally and I can browse http://localhost:7474/ without a problem.
Any lead will be appreciated.
The aforementioned error message was the result of using a Neo4j version different to the one the graph db was originally developed. In particular, the original graph db was developed in ver 2.0.4 Community that due to my lack of knowledge I was trying to run on an installation of Neo4j ver. 2.2.0-M02 (for development only).
The code owner enlightened me to the fact and an attempt to bring up the graph db on ver. 2.0.4 Community was successful.
Thanks for your support.
Delete the folder "c:\Users\Yourname\MyDocuments\Neo4j"
I removed the plugins that were loaded from <NEO4J_HOME>/plugins as they were also loaded from under <DATABASE_HOME>/plugins

launchctl start error: Bad file descriptor when trying to start NEO4J server

Yesterday neo4j was working as expected, and today it isn't. I'm getting the following error:
unknownc8e0eb17b72f% ./bin/neo4j status
Neo4j Server is not running
unknownc8e0eb17b72f% ./bin/neo4j start
Using additional JVM arguments: -server -XX:+DisableExplicitGC
Dorg.neo4j.server.properties=conf/neo4j-server.properties -
Djava.util.logging.config.file=conf/logging.properties -
Dlog4j.configuration=file:conf/log4j.properties -XX:+UseConcMarkSweepGC -
XX:+CMSClassUnloadingEnabled
Detected installation in launchd, starting it...
launchctl start error: Bad file descriptor
Running ./bin/neo4j console does not cause problems and I can see my graphs using the web tool on my localhost.
Perhaps related, I'm using jexp's batch-import tool to import my data and the labels aren't coming through.
I've tried restarting, deleting and redownloading, etc. I'm using the 2.0 RCI version of neo4j.
I saw the related questions from ~6 months ago but with the new 2.0 build and the fact that following the advice on that thread didn't work for me made me want to open a new question.
You have it installed as a service. See this answer for how to uninstall:
"launchctl start error: Bad file descriptor" when trying to start Neo4j server

Resources