Neo4j usually crashes when I close ssh connection - database

I am using Neo4j in my graduation project.Everything works fine in neo4j database.But, I have problem about the crashing database.I tried to fix that problem in the following segment of command:
/var/lib/neo4j/bin/neo4j console
When I run this command neo4j is working fine but when I close ssh connection, It will crash again.How can I fix that problem?
Thanks, Kind regards

Use bin/neo4j start to start it in the background
Actually you should install it as a service on your system. Something like
sudo bin/neo4j install
Then it keeps running after you started it until you stop it again.

Related

Transform Classes With Dex For Debug is making Windows crash

I'm building a React Native app. Everything was working fine but now when I try to run on Android it gets to the task :app:transformClassesWithDexForDebug, it hangs for 30-60 seconds and then Windows shuts down.
I tried to setup multidex as mentioned here: https://stackoverflow.com/a/56875424 but the result is the same.
I'm not getting any error message, the computer just shuts down abruptly and I have to turn it on again.
Any advice is much appreciated.
In the end, it was two problems mixed:
I was using the new Windows Terminal which is still in beta so I guess the shutdown problem was something to do with it, because I changed to normal good ol' cmd and the shutdown problem disappeared.
The actual error in the compilation process was actually the setup of multidex. I was not extending the MultiDexApplication class.
Thank you all.

CakePHP: command cake server hangs on xampp

I have a basic XAMPP install on windows 10, and I've installed cakePHP, with no errors.
When I run bin/cake server in the xampp terminal, it tells me it's started on localhost:8765, and that I can press CTRL-C to return. It hangs here, shell goes unresponsive, and trying to hit localhost:8765 in the browser hangs indefinitely.
I can view the apache page at localhost:80, with no issue. Any help would be greatly appreciated.
Im almost definetly sure, that you have debugging turned on somewhere, and PHP script hangs on first line. Do you have any IDE opened during that procedure? If so, close it, restart php server and try again. It should work now.
I had similar WTFs working with PHPStorm, that unwanted debugging sessions was paused on "script first line" exposing behavior you have described.

Launch PostgreSQL GUI

I have installed PostgreSQL v9.6 on Windows 7 using my user (PC-Admin), the problem is when I start Pgadmin4.exe the application shows that it is starting then freeze without showing the GUI , taking the following notes into consideration:
it is working fine for other users on the PC even if not in admin group.
I tried to uninstall it , delete registry folders for local machine & local user and also delete the temp folder and Apps roaming , also the folder of the program in c:/ drive and then re-install it again and problem has not been solved.
I believe that something went wrong during first time installation for my user
but I could not figure it out.
Please help me, what to do in order to clear my installation profile and then having the GUI launched after short while from starting the Pgadmin4.exe
Regards
Solved and GUI started ! just by disconnecting PC from internet before opening the application.
pgAdmin4 hosts desktop application on 127.0.0.1:(Random_Port) when started, So if you have proxy setup then upgrade to pgAdmin4 version1.6, It has resolved the this proxy related issue. (Link)

How do I stop CouchDB from running on startup?

I installed CouchDB on Windows7 a while back to try it out. But it's always running on port 5984 on startup. How do I stop this?
Edit: Nevermind I found an uninstaller!
You can also disable the Windows Service for Apache CouchDB. If you'd prefer to just run it when you need it.

Flash drive webserver

Hopefully someone here can help me out.
Currently I have a small AngularJS app. I want to put this on an USB drive and make it very easy to run. The idea is someone can just plug in the drive click a file and run the app. I've been thinking about using node for this and then make a little script that would start the server and app. So people can click the script and the app runs. The problem is however (afaik) you need to have node installed on the computer which can't be done.
The client hasn't got his webserver running and still want to run the app. So please don't tell me why would you make an angular app and wanna run it without webserver.
Hopefully anyone has any solution or idea to make this work.
So in short:
AngularJS Application on USB
Plug in the USB, click a file and run the app in the browser.
Thanks for reading and thinking with me.
Have you considered running a standard web server on the USB Stick?
I see that you have suggested Node, but another alternative could be to use XAMPP?
XAMPP is a completely free, easy to install Apache distribution containing MariaDB, PHP, and Perl. The XAMPP open source package has been set up to be incredibly easy to install and to use.

Resources