Windows 10: WSL - is it intended to run a database, such as Neo4j?

Discus and support WSL - is it intended to run a database, such as Neo4j? in Windows 10 Gaming to solve the problem; Hi, I'm trying to understand what are the expected / non-expected uses for WSL.I'm trying to install neo4j database which I've done 100 times in linux... Discussion in 'Windows 10 Gaming' started by Sam Longley, Jan 31, 2025 at 1:17 PM.

  1. WSL - is it intended to run a database, such as Neo4j?


    Hi, I'm trying to understand what are the expected / non-expected uses for WSL.I'm trying to install neo4j database which I've done 100 times in linux vms. Install is successful, db runs successfully, and I can connect from my "guest" ubuntu shell using the neo4j-included cypher-shell application. But what I can't do is connect from my windows host web browser.Normally, I can use this address on a simple vm server to get to the database connection.http://localhost:7474/browser/The 2 ports used by neo4j are 7474 and 7687, which I have opened in my firewall.An alternate solution would be to

    :)
     
  2. DRDNA Win User

    Recover access database

    Did you try this yet? http://support.microsoft.com/kb/283849

    Run the Compact and Repair utility. To do so, follow these steps:
    • If the database is open, close it.
    • On the Tools menu, point to Database Utilities, and then click Compact and Repair Database.
    • In the Database to Compact From dialog box, select the file that you want to compact, and then click Compact.
    • In the Compact Database Into dialog box, enter a new file name, and then click Save.

      If the compact and repair does not succeed, you will receive a message stating so. This means the damage is so severe that it cannot be corrected.
     
  3. WSL is blocked by SAC ?

    Hello,

    I'm reaching out to the community for assistance with a persistent WSL issue. Upon attempting to launch WSL, I'm encountering the following error:

    WslLaunchInteractive failed with error: 0x800711e6 - System Integrity policy has been violated. Explicit denied file.

    Steps Taken:

    1. I have reset the Ubuntu Linux distribution.
    2. I have uninstalled and reinstalled WSL.
    Despite these efforts, the issue persists. I am running Windows 11 build no: 22631.2715 with WSL 2.0.9.0, and the error occurs every time I try to start WSL.

    Has anyone faced a similar issue? Specifically, I'm seeking guidance on navigating the System Integrity policy that's seemingly causing the block. Any insights into how Smart App Control impacts WSL's functionality and possible configurations to mitigate this would be greatly appreciated.

    Thank you in advance for your time and help.
     
    shreesh gupta, Jan 31, 2025 at 1:22 PM
    #3
  4. Brink Win User

    WSL - is it intended to run a database, such as Neo4j?

    Systemd support is now available in WSL

    Many popular distributions run systemd by default, such as Ubuntu, Debian and more. This change means that WSL will be even more similar to using your favorite Linux distros on a bare metal machine, and will let you use software that depends on systemd support. A few examples of Linux applications that depend on systemd are:
    • snap
      • A handy binary that allows you to install and manage software inside Ubuntu.
      • Try running: snap install spotify or snap install postman
    • microk8s
    • systemctl
      • A tool that’s part of systemd, interact with services on your Linux machine
      • Try systemctl list-units --type=service to see which services are available and their status
    How is this change possible in WSL? Supporting systemd required changes to the WSL architecture. As systemd requires PID 1, the WSL init process started within the Linux distribution becomes a child process of the systemd. Because the WSL init process is responsible for providing the infrastructure for communication between the Linux and Windows components, changing this hierarchy required rethinking some of the assumptions made with the WSL init process. Additional modifications had to be made to ensure a clean shutdown (as that shutdown is controlled by systemd now) and to have compatibility with WSLg, It is also important to note that with these change, systemd services will NOT keep your WSL instance alive. Your WSL instance will stay alive in the same way it did before, which you can read more about here. Given that this changes how WSL behaves when booting up, we wanted to be careful about applying this to user’s already existing WSL distros. So currently you need to opt-in to enable systemd for a specific WSL distro, and we will monitor feedback and investigate making this behavior by default in the future. How can you get systemd on your machine? To get started, you will need to do these two things: – Ensure you are running the right version of WSL: Version 0.67.6 and above – Set the systemd flag set in your WSL distro settings Ensuring you are on the right WSL version This change is only available in the Microsoft Store version of WSL version 0.67.6 and higher. You can check your version number by running wsl --version. If that command fails then you are running the in-Windows version of WSL and need to upgrade to the Store version. This version of WSL is now available in the Microsoft Store to users on Windows Insiders build for initial testing, and then after a few weeks we will make it available to all users to ensure quality. You can run wsl --update to check for any WSL updates. If you are not on Windows Insiders and want to use it immediately, you can download the latest release from the WSL release page. Set the systemd flag set in your WSL distro settings You will need to edit the wsl.conf file to ensure systemd starts up on boot. Add these lines to the /etc/wsl.conf (note you will need to run your editor with sudo privileges, e.g: sudo nano /etc/wsl.conf): Code:
    And close out of the nano editor using CTRL+O to save and CTRL+X to exit. Final steps With the above steps done, close your WSL distro Windows and run wsl.exe --shutdown from PowerShell to restart your WSL instances. Upon launch you should have systemd running. You can check this with the command systemctl list-unit-files --type=service which should show your services’ status. Acknowledgements and Feedback! Thank you to the Canonical team for working with us to deliver this feature! Check out Canonical’s blog post here. For any technical issues please file them on the Microsoft/WSL Github repo. You can follow up with WSL team members, or with me on Twitter. Lastly, learn more about WSL, including how to set up common development tools like Git, VS Code, Docker containers, databases, GPU acceleration for machine learning, and more, by visiting the WSL documentation. Source: https://devblogs.microsoft.com/comma...ilable-in-wsl/ Microsoft Store: https://www.elevenforum.com/t/instal...indows-11.377/
     
Thema:

WSL - is it intended to run a database, such as Neo4j?

Loading...
  1. WSL - is it intended to run a database, such as Neo4j? - Similar Threads - WSL intended run

  2. WSL - is it intended to run a database, such as Neo4j?

    in Windows 10 Software and Apps
    WSL - is it intended to run a database, such as Neo4j?: Hi, I'm trying to understand what are the expected / non-expected uses for WSL.I'm trying to install neo4j database which I've done 100 times in linux vms. Install is successful, db runs successfully, and I can connect from my "guest" ubuntu shell using the neo4j-included...
  3. Is Service on wsl running on background ?

    in Windows 10 Gaming
    Is Service on wsl running on background ?: Hello I am new on wsl / wsl2 here, currently I am using win 11, if I'm using wsl2 on my windows, let say using ubuntu distro, and I'm running service on my wsl ubuntu like postgre, mongo, mysql, docker, rabbit-mq, will these services run in the background? even if I don't...
  4. Is Service on wsl running on background ?

    in Windows 10 Software and Apps
    Is Service on wsl running on background ?: Hello I am new on wsl / wsl2 here, currently I am using win 11, if I'm using wsl2 on my windows, let say using ubuntu distro, and I'm running service on my wsl ubuntu like postgre, mongo, mysql, docker, rabbit-mq, will these services run in the background? even if I don't...
  5. Cannot run the WSL ubuntu in windows

    in Windows 10 Software and Apps
    Cannot run the WSL ubuntu in windows: When I run wsl --install ubuntu it shows Ubunutu is already installedLounching ubuntu ... And then it appears a new terminal that looks like this:The enabled windows features are:...
  6. Run Brasero on WSL?

    in Windows 10 Ask Insider
    Run Brasero on WSL?: So, I am a Linux user right now(actually, I have a Windows PC, but it's old and never gets used), I am thinking about going back to Windows because of the better gaming experience at this time. One program I use, Brasero, is not available on Windows natively. Is it possible...
  7. iperf cannot run in WSL Ubuntu

    in Windows 10 Network and Sharing
    iperf cannot run in WSL Ubuntu: I have installed WSL 2 and Ubuntu. I want to run iperf from this Ubuntu to connect to a linux server on my LAN. I get connection refused error from iperf- $ iperf -c 192.168.2.45 connect failed: Connection refused ssh [email protected] works fine. I suspect port 5001 is...
  8. WSL run commands on boot as sudo

    in Windows 10 Support
    WSL run commands on boot as sudo: I have pihole installed on ubuntu linux. It works fine except i have to manually run couple of commands on windows boot. I am running windows 10 home 18363.836. I want those commands to run on windows boot and if it can happen even before i logon to windows would be best. And...
  9. Cannot run Ubuntu with WSL

    in Windows 10 Installation and Upgrade
    Cannot run Ubuntu with WSL: I have Windows 10 Education build 18272.rs_prerelease.181026-1425. I have turned on Windows Subsystem for Linux, but I cannot run Ubuntu. I have tried installing the apps "Ubuntu" and later "Ubuntu 18.04 LTS" from the Windows store and running them. Upon installing either app...
  10. Running Access databases

    in Windows 10 Support
    Running Access databases: Hey guys, I hope I'm in the right section but, here's my problem. I bought this tablet with 10 already installed. I then installed Office 2007. OK no problem so far (my spreadsheets run fine). But then I transferred over a couple of my Access 2007 databases. Each seemed to...