Last active
April 29, 2018 15:10
-
-
Save andrewmiller1/52dbcaa275577b80d3259ffcbf7a6104 to your computer and use it in GitHub Desktop.
neo4j
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ config, lib, pkgs, ... }: | |
with lib; | |
{ | |
imports = | |
[ | |
/nix/var/nix/profiles/containers/graph.nix | |
]; | |
boot.isContainer = true; | |
networking.hostName = mkDefault "cashflow"; | |
networking.useDHCP = false; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@cashflow:/var/lib/neo4j/data]# nix-info --markdown --host-os --debug | |
+ DEBUG=1 | |
+ shift | |
+ true | |
+ case "${1:-}" in | |
+ break | |
++ desc_system | |
++ nixev '(import <nixpkgs> {}).system' | |
++ nix-instantiate --eval --strict -E '(import <nixpkgs> {}).system' | |
error: opening lock file '/nix/var/nix/db/big-lock': Read-only file system | |
+ fact system '' | |
+ name=system | |
+ value=0 | |
+ last=1 | |
+ '[' 1 -eq 0 ']' | |
+ printf ' - %s: `%s`\n' system 0 | |
- system: `0` | |
+ '[' 1 -eq 0 ']' | |
+ '[' 1 -eq 1 ']' | |
++ desc_host_os | |
+++ uname -sr | |
++ printf %s 'Linux 4.14.36' | |
++ '[' no = yes ']' | |
++ '[' -f /etc/os-release ']' | |
++ . /etc/os-release | |
+++ NAME=NixOS | |
+++ ID=nixos | |
+++ VERSION='18.03.132155.b50443b5c4a (Impala)' | |
+++ VERSION_CODENAME=impala | |
+++ VERSION_ID=18.03.132155.b50443b5c4a | |
+++ PRETTY_NAME='NixOS 18.03.132155.b50443b5c4a (Impala)' | |
+++ HOME_URL=https://nixos.org/ | |
+++ SUPPORT_URL=https://nixos.org/nixos/support.html | |
+++ BUG_REPORT_URL=https://github.com/NixOS/nixpkgs/issues | |
++ printf ', %s, %s' NixOS '18.03.132155.b50443b5c4a (Impala)' | |
+ fact 'host os' 'Linux 4.14.36, NixOS, 18.03.132155.b50443b5c4a (Impala)' | |
+ name='host os' | |
+ value='Linux 4.14.36, NixOS, 18.03.132155.b50443b5c4a (Impala)' | |
+ last=1 | |
+ '[' 1 -eq 0 ']' | |
+ printf ' - %s: `%s`\n' 'host os' 'Linux 4.14.36, NixOS, 18.03.132155.b50443b5c4a (Impala)' | |
- host os: `Linux 4.14.36, NixOS, 18.03.132155.b50443b5c4a (Impala)` | |
+ '[' 1 -eq 0 ']' | |
++ desc_multi_user | |
++ nix-build --no-out-link /nix/store/hjbv2s4jcxpvq07lxl4dna860rsdd3qf-multiuser.nix | |
++ debuglog | |
++ '[' 1 -eq 1 ']' | |
++ cat | |
error: opening lock file '/nix/var/nix/db/big-lock': Read-only file system | |
++ printf no | |
+ fact 'multi-user?' no | |
+ name='multi-user?' | |
+ value=no | |
+ last=1 | |
+ '[' 1 -eq 0 ']' | |
+ printf ' - %s: `%s`\n' 'multi-user?' no | |
- multi-user?: `no` | |
+ '[' 1 -eq 0 ']' | |
+ '[' 1 -eq 1 ']' | |
++ desc_sandbox | |
++ nix-build --no-out-link /nix/store/xrhk3sx3dyhy9vq8pqh740nd0bhf0d1r-sandbox.nix | |
++ debuglog | |
++ '[' 1 -eq 1 ']' | |
++ cat | |
error: opening lock file '/nix/var/nix/db/big-lock': Read-only file system | |
++ nix-build --no-out-link /nix/store/4rd3hzbjjiwpm91a87qb4qk2ppqsgnj9-relaxedsandbox.nix | |
++ debuglog | |
++ '[' 1 -eq 1 ']' | |
++ cat | |
error: opening lock file '/nix/var/nix/db/big-lock': Read-only file system | |
++ printf yes | |
+ fact sandbox yes | |
+ name=sandbox | |
+ value=yes | |
+ last=1 | |
+ '[' 1 -eq 0 ']' | |
+ printf ' - %s: `%s`\n' sandbox yes | |
- sandbox: `yes` | |
+ '[' 1 -eq 0 ']' | |
++ nix-env --version | |
error: opening lock file '/nix/var/nix/db/big-lock': Read-only file system | |
+ fact version '' | |
+ name=version | |
+ value=0 | |
+ last=1 | |
+ '[' 1 -eq 0 ']' | |
+ printf ' - %s: `%s`\n' version 0 | |
- version: `0` | |
+ '[' 1 -eq 0 ']' | |
+ channel_facts | |
+ find /nix/var/nix/profiles/per-user -mindepth 2 -maxdepth 2 -name channels -print0 | |
+ IFS= | |
+ read -r -d '' userchannelset | |
++ desc_nixpkgs_path | |
++ nixev '<nixpkgs>' | |
++ nix-instantiate --eval --strict -E '<nixpkgs>' | |
error: opening lock file '/nix/var/nix/db/big-lock': Read-only file system | |
+ last_fact nixpkgs '' | |
+ fact nixpkgs '' 0 | |
+ name=nixpkgs | |
+ value=0 | |
+ last=0 | |
+ '[' 1 -eq 0 ']' | |
+ printf ' - %s: `%s`\n' nixpkgs 0 | |
- nixpkgs: `0` | |
+ '[' 0 -eq 0 ']' | |
+ echo '' | |
[root@cashflow:/var/lib/neo4j/data]# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@cashflow:/var/lib/neo4j/data]# neo4j console | |
/nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/bin/neo4j: line 246: compgen: command not found | |
Active database: graph.db | |
Directories in use: | |
home: /nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j | |
config: /nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/conf | |
logs: /nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/logs | |
plugins: /nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/plugins | |
import: /nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/import | |
data: /nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/data | |
certificates: /nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/certificates | |
run: /nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/run | |
Starting Neo4j. | |
WARNING: Max 1024 open files allowed, minimum of 40000 recommended. See the Neo4j manual. | |
2018-04-29 14:11:15.708+0000 INFO ======== Neo4j 3.3.2 ======== | |
2018-04-29 14:11:15.735+0000 INFO Starting... | |
2018-04-29 14:11:15.761+0000 ERROR Failed to start Neo4j: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@704921a5' was successfully initialized, but failed to start. Please see the attached cause exception "/nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/logs/debug.log (Read-only file system)". Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@704921a5' was successfully initialized, but failed to start. Please see the attached cause exception "/nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/logs/debug.log (Read-only file system)". | |
org.neo4j.server.ServerStartupException: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@704921a5' was successfully initialized, but failed to start. Please see the attached cause exception "/nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/logs/debug.log (Read-only file system)". | |
at org.neo4j.server.exception.ServerStartupErrors.translateToServerStartupError(ServerStartupErrors.java:68) | |
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:219) | |
at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:111) | |
at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:79) | |
at org.neo4j.server.CommunityEntryPoint.main(CommunityEntryPoint.java:32) | |
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.server.database.LifecycleManagingDatabase@704921a5' was successfully initialized, but failed to start. Please see the attached cause exception "/nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/logs/debug.log (Read-only file system)". | |
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:466) | |
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107) | |
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:211) | |
... 3 more | |
Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: /nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/logs/debug.log (Read-only file system) | |
at org.neo4j.kernel.impl.factory.PlatformModule.createLogService(PlatformModule.java:287) | |
at org.neo4j.kernel.impl.factory.PlatformModule.<init>(PlatformModule.java:157) | |
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.createPlatform(GraphDatabaseFacadeFactory.java:244) | |
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.initFacade(GraphDatabaseFacadeFactory.java:158) | |
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.newFacade(GraphDatabaseFacadeFactory.java:126) | |
at org.neo4j.server.CommunityNeoServer.lambda$static$0(CommunityNeoServer.java:58) | |
at org.neo4j.server.database.LifecycleManagingDatabase.start(LifecycleManagingDatabase.java:88) | |
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:445) | |
... 5 more | |
Caused by: java.io.FileNotFoundException: /nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/logs/debug.log (Read-only file system) | |
at java.io.FileOutputStream.open0(Native Method) | |
at java.io.FileOutputStream.open(FileOutputStream.java:270) | |
at java.io.FileOutputStream.<init>(FileOutputStream.java:213) | |
at org.neo4j.io.fs.DefaultFileSystemAbstraction.openAsOutputStream(DefaultFileSystemAbstraction.java:76) | |
at org.neo4j.io.file.Files.createOrOpenAsOuputStream(Files.java:51) | |
at org.neo4j.logging.RotatingFileOutputStreamSupplier.openOutputFile(RotatingFileOutputStreamSupplier.java:336) | |
at org.neo4j.logging.RotatingFileOutputStreamSupplier.<init>(RotatingFileOutputStreamSupplier.java:135) | |
at org.neo4j.logging.RotatingFileOutputStreamSupplier.<init>(RotatingFileOutputStreamSupplier.java:119) | |
at org.neo4j.kernel.impl.logging.StoreLogService.<init>(StoreLogService.java:180) | |
at org.neo4j.kernel.impl.logging.StoreLogService.<init>(StoreLogService.java:44) | |
at org.neo4j.kernel.impl.logging.StoreLogService$Builder.build(StoreLogService.java:124) | |
at org.neo4j.kernel.impl.factory.PlatformModule.createLogService(PlatformModule.java:283) | |
... 12 more | |
2018-04-29 14:11:15.763+0000 INFO Neo4j Server shutdown initiated by request | |
[root@cashflow:/var/lib/neo4j/data]# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[#####@nixos:~]$ nix-info | |
system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 2.0.1, channels(root): "nixos-18.03", channels(#####): "nixos-18.03.132083.06c576b0525", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs | |
[#####@nixos:~]$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ config, lib, pkgs, ... }: | |
with lib; | |
{ services.neo4j = { | |
enable = true; | |
}; | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[#####@nixos:~]$ sudo -i | |
[root@nixos:~]# neo4j console | |
/nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/bin/neo4j: line 246: compgen: command not found | |
Active database: graph.db | |
Directories in use: | |
home: /nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j | |
config: /nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/conf | |
logs: /nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/logs | |
plugins: /nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/plugins | |
import: /nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/import | |
data: /nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/data | |
certificates: /nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/certificates | |
run: /nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/run | |
Starting Neo4j. | |
WARNING: Max 1024 open files allowed, minimum of 40000 recommended. See the Neo4j manual. | |
2018-04-29 14:54:16.504+0000 INFO ======== Neo4j 3.3.2 ======== | |
2018-04-29 14:54:16.531+0000 INFO Starting... | |
2018-04-29 14:54:16.560+0000 ERROR Failed to start Neo4j: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@5c18298f' was successfully initialized, but failed to start. Please see the attached cause exception "/nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/logs/debug.log (Read-only file system)". Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@5c18298f' was successfully initialized, but failed to start. Please see the attached cause exception "/nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/logs/debug.log (Read-only file system)". | |
org.neo4j.server.ServerStartupException: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@5c18298f' was successfully initialized, but failed to start. Please see the attached cause exception "/nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/logs/debug.log (Read-only file system)". | |
at org.neo4j.server.exception.ServerStartupErrors.translateToServerStartupError(ServerStartupErrors.java:68) | |
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:219) | |
at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:111) | |
at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:79) | |
at org.neo4j.server.CommunityEntryPoint.main(CommunityEntryPoint.java:32) | |
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.server.database.LifecycleManagingDatabase@5c18298f' was successfully initialized, but failed to start. Please see the attached cause exception "/nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/logs/debug.log (Read-only file system)". | |
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:466) | |
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107) | |
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:211) | |
... 3 more | |
Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: /nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/logs/debug.log (Read-only file system) | |
at org.neo4j.kernel.impl.factory.PlatformModule.createLogService(PlatformModule.java:287) | |
at org.neo4j.kernel.impl.factory.PlatformModule.<init>(PlatformModule.java:157) | |
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.createPlatform(GraphDatabaseFacadeFactory.java:244) | |
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.initFacade(GraphDatabaseFacadeFactory.java:158) | |
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.newFacade(GraphDatabaseFacadeFactory.java:126) | |
at org.neo4j.server.CommunityNeoServer.lambda$static$0(CommunityNeoServer.java:58) | |
at org.neo4j.server.database.LifecycleManagingDatabase.start(LifecycleManagingDatabase.java:88) | |
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:445) | |
... 5 more | |
Caused by: java.io.FileNotFoundException: /nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/logs/debug.log (Read-only file system) | |
at java.io.FileOutputStream.open0(Native Method) | |
at java.io.FileOutputStream.open(FileOutputStream.java:270) | |
at java.io.FileOutputStream.<init>(FileOutputStream.java:213) | |
at org.neo4j.io.fs.DefaultFileSystemAbstraction.openAsOutputStream(DefaultFileSystemAbstraction.java:76) | |
at org.neo4j.io.file.Files.createOrOpenAsOuputStream(Files.java:51) | |
at org.neo4j.logging.RotatingFileOutputStreamSupplier.openOutputFile(RotatingFileOutputStreamSupplier.java:336) | |
at org.neo4j.logging.RotatingFileOutputStreamSupplier.<init>(RotatingFileOutputStreamSupplier.java:135) | |
at org.neo4j.logging.RotatingFileOutputStreamSupplier.<init>(RotatingFileOutputStreamSupplier.java:119) | |
at org.neo4j.kernel.impl.logging.StoreLogService.<init>(StoreLogService.java:180) | |
at org.neo4j.kernel.impl.logging.StoreLogService.<init>(StoreLogService.java:44) | |
at org.neo4j.kernel.impl.logging.StoreLogService$Builder.build(StoreLogService.java:124) | |
at org.neo4j.kernel.impl.factory.PlatformModule.createLogService(PlatformModule.java:283) | |
... 12 more | |
2018-04-29 14:54:16.561+0000 INFO Neo4j Server shutdown initiated by request | |
[root@nixos:~]# neo4j status | |
/nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/bin/neo4j: line 246: compgen: command not found | |
Neo4j is not running | |
[root@nixos:~]# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[#####@nixos:~]$ sudo su | |
[root@nixos:/home/#####]# neo4j console | |
/nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/bin/neo4j: line 246: compgen: command not found | |
Active database: graph.db | |
Directories in use: | |
home: /nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j | |
config: /nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/conf | |
logs: /nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/logs | |
plugins: /nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/plugins | |
import: /nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/import | |
data: /nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/data | |
certificates: /nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/certificates | |
run: /nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/run | |
Starting Neo4j. | |
WARNING: Max 1024 open files allowed, minimum of 40000 recommended. See the Neo4j manual. | |
2018-04-29 14:53:54.266+0000 INFO ======== Neo4j 3.3.2 ======== | |
2018-04-29 14:53:54.295+0000 INFO Starting... | |
2018-04-29 14:53:54.324+0000 ERROR Failed to start Neo4j: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@5c18298f' was successfully initialized, but failed to start. Please see the attached cause exception "/nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/logs/debug.log (Read-only file system)". Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@5c18298f' was successfully initialized, but failed to start. Please see the attached cause exception "/nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/logs/debug.log (Read-only file system)". | |
org.neo4j.server.ServerStartupException: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@5c18298f' was successfully initialized, but failed to start. Please see the attached cause exception "/nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/logs/debug.log (Read-only file system)". | |
at org.neo4j.server.exception.ServerStartupErrors.translateToServerStartupError(ServerStartupErrors.java:68) | |
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:219) | |
at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:111) | |
at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:79) | |
at org.neo4j.server.CommunityEntryPoint.main(CommunityEntryPoint.java:32) | |
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.server.database.LifecycleManagingDatabase@5c18298f' was successfully initialized, but failed to start. Please see the attached cause exception "/nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/logs/debug.log (Read-only file system)". | |
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:466) | |
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107) | |
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:211) | |
... 3 more | |
Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: /nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/logs/debug.log (Read-only file system) | |
at org.neo4j.kernel.impl.factory.PlatformModule.createLogService(PlatformModule.java:287) | |
at org.neo4j.kernel.impl.factory.PlatformModule.<init>(PlatformModule.java:157) | |
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.createPlatform(GraphDatabaseFacadeFactory.java:244) | |
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.initFacade(GraphDatabaseFacadeFactory.java:158) | |
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.newFacade(GraphDatabaseFacadeFactory.java:126) | |
at org.neo4j.server.CommunityNeoServer.lambda$static$0(CommunityNeoServer.java:58) | |
at org.neo4j.server.database.LifecycleManagingDatabase.start(LifecycleManagingDatabase.java:88) | |
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:445) | |
... 5 more | |
Caused by: java.io.FileNotFoundException: /nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/logs/debug.log (Read-only file system) | |
at java.io.FileOutputStream.open0(Native Method) | |
at java.io.FileOutputStream.open(FileOutputStream.java:270) | |
at java.io.FileOutputStream.<init>(FileOutputStream.java:213) | |
at org.neo4j.io.fs.DefaultFileSystemAbstraction.openAsOutputStream(DefaultFileSystemAbstraction.java:76) | |
at org.neo4j.io.file.Files.createOrOpenAsOuputStream(Files.java:51) | |
at org.neo4j.logging.RotatingFileOutputStreamSupplier.openOutputFile(RotatingFileOutputStreamSupplier.java:336) | |
at org.neo4j.logging.RotatingFileOutputStreamSupplier.<init>(RotatingFileOutputStreamSupplier.java:135) | |
at org.neo4j.logging.RotatingFileOutputStreamSupplier.<init>(RotatingFileOutputStreamSupplier.java:119) | |
at org.neo4j.kernel.impl.logging.StoreLogService.<init>(StoreLogService.java:180) | |
at org.neo4j.kernel.impl.logging.StoreLogService.<init>(StoreLogService.java:44) | |
at org.neo4j.kernel.impl.logging.StoreLogService$Builder.build(StoreLogService.java:124) | |
at org.neo4j.kernel.impl.factory.PlatformModule.createLogService(PlatformModule.java:283) | |
... 12 more | |
2018-04-29 14:53:54.325+0000 INFO Neo4j Server shutdown initiated by request | |
[root@nixos:/home/#####]# neo4j status | |
/nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/bin/neo4j: line 246: compgen: command not found | |
Neo4j is not running | |
[root@nixos:/home/#####]# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[#####@nixos:~]$ neo4j console | |
/nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/bin/neo4j: line 246: compgen: command not found | |
Active database: graph.db | |
Directories in use: | |
home: /nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j | |
config: /nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/conf | |
logs: /nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/logs | |
plugins: /nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/plugins | |
import: /nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/import | |
data: /nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/data | |
certificates: /nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/certificates | |
run: /nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/run | |
Starting Neo4j. | |
WARNING: Max 1024 open files allowed, minimum of 40000 recommended. See the Neo4j manual. | |
2018-04-29 14:53:33.203+0000 INFO ======== Neo4j 3.3.2 ======== | |
2018-04-29 14:53:33.232+0000 INFO Starting... | |
2018-04-29 14:53:33.259+0000 ERROR Failed to start Neo4j: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@5c18298f' was successfully initialized, but failed to start. Please see the attached cause exception "/nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/logs/debug.log (Read-only file system)". Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@5c18298f' was successfully initialized, but failed to start. Please see the attached cause exception "/nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/logs/debug.log (Read-only file system)". | |
org.neo4j.server.ServerStartupException: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@5c18298f' was successfully initialized, but failed to start. Please see the attached cause exception "/nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/logs/debug.log (Read-only file system)". | |
at org.neo4j.server.exception.ServerStartupErrors.translateToServerStartupError(ServerStartupErrors.java:68) | |
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:219) | |
at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:111) | |
at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:79) | |
at org.neo4j.server.CommunityEntryPoint.main(CommunityEntryPoint.java:32) | |
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.server.database.LifecycleManagingDatabase@5c18298f' was successfully initialized, but failed to start. Please see the attached cause exception "/nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/logs/debug.log (Read-only file system)". | |
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:466) | |
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107) | |
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:211) | |
... 3 more | |
Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: /nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/logs/debug.log (Read-only file system) | |
at org.neo4j.kernel.impl.factory.PlatformModule.createLogService(PlatformModule.java:287) | |
at org.neo4j.kernel.impl.factory.PlatformModule.<init>(PlatformModule.java:157) | |
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.createPlatform(GraphDatabaseFacadeFactory.java:244) | |
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.initFacade(GraphDatabaseFacadeFactory.java:158) | |
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.newFacade(GraphDatabaseFacadeFactory.java:126) | |
at org.neo4j.server.CommunityNeoServer.lambda$static$0(CommunityNeoServer.java:58) | |
at org.neo4j.server.database.LifecycleManagingDatabase.start(LifecycleManagingDatabase.java:88) | |
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:445) | |
... 5 more | |
Caused by: java.io.FileNotFoundException: /nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/logs/debug.log (Read-only file system) | |
at java.io.FileOutputStream.open0(Native Method) | |
at java.io.FileOutputStream.open(FileOutputStream.java:270) | |
at java.io.FileOutputStream.<init>(FileOutputStream.java:213) | |
at org.neo4j.io.fs.DefaultFileSystemAbstraction.openAsOutputStream(DefaultFileSystemAbstraction.java:76) | |
at org.neo4j.io.file.Files.createOrOpenAsOuputStream(Files.java:51) | |
at org.neo4j.logging.RotatingFileOutputStreamSupplier.openOutputFile(RotatingFileOutputStreamSupplier.java:336) | |
at org.neo4j.logging.RotatingFileOutputStreamSupplier.<init>(RotatingFileOutputStreamSupplier.java:135) | |
at org.neo4j.logging.RotatingFileOutputStreamSupplier.<init>(RotatingFileOutputStreamSupplier.java:119) | |
at org.neo4j.kernel.impl.logging.StoreLogService.<init>(StoreLogService.java:180) | |
at org.neo4j.kernel.impl.logging.StoreLogService.<init>(StoreLogService.java:44) | |
at org.neo4j.kernel.impl.logging.StoreLogService$Builder.build(StoreLogService.java:124) | |
at org.neo4j.kernel.impl.factory.PlatformModule.createLogService(PlatformModule.java:283) | |
... 12 more | |
2018-04-29 14:53:33.260+0000 INFO Neo4j Server shutdown initiated by request | |
[pirateking@nixos:~]$ neo4j status | |
/nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/bin/neo4j: line 246: compgen: command not found | |
Neo4j is not running | |
[pirateking@nixos:~]$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[#####@nixos:~]$ sudo neo4j console | |
/nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/bin/neo4j: line 246: compgen: command not found | |
Active database: graph.db | |
Directories in use: | |
home: /nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j | |
config: /nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/conf | |
logs: /nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/logs | |
plugins: /nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/plugins | |
import: /nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/import | |
data: /nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/data | |
certificates: /nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/certificates | |
run: /nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/run | |
Starting Neo4j. | |
WARNING: Max 1024 open files allowed, minimum of 40000 recommended. See the Neo4j manual. | |
2018-04-29 14:54:28.180+0000 INFO ======== Neo4j 3.3.2 ======== | |
2018-04-29 14:54:28.210+0000 INFO Starting... | |
2018-04-29 14:54:28.238+0000 ERROR Failed to start Neo4j: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@5c18298f' was successfully initialized, but failed to start. Please see the attached cause exception "/nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/logs/debug.log (Read-only file system)". Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@5c18298f' was successfully initialized, but failed to start. Please see the attached cause exception "/nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/logs/debug.log (Read-only file system)". | |
org.neo4j.server.ServerStartupException: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@5c18298f' was successfully initialized, but failed to start. Please see the attached cause exception "/nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/logs/debug.log (Read-only file system)". | |
at org.neo4j.server.exception.ServerStartupErrors.translateToServerStartupError(ServerStartupErrors.java:68) | |
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:219) | |
at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:111) | |
at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:79) | |
at org.neo4j.server.CommunityEntryPoint.main(CommunityEntryPoint.java:32) | |
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.server.database.LifecycleManagingDatabase@5c18298f' was successfully initialized, but failed to start. Please see the attached cause exception "/nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/logs/debug.log (Read-only file system)". | |
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:466) | |
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107) | |
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:211) | |
... 3 more | |
Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: /nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/logs/debug.log (Read-only file system) | |
at org.neo4j.kernel.impl.factory.PlatformModule.createLogService(PlatformModule.java:287) | |
at org.neo4j.kernel.impl.factory.PlatformModule.<init>(PlatformModule.java:157) | |
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.createPlatform(GraphDatabaseFacadeFactory.java:244) | |
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.initFacade(GraphDatabaseFacadeFactory.java:158) | |
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.newFacade(GraphDatabaseFacadeFactory.java:126) | |
at org.neo4j.server.CommunityNeoServer.lambda$static$0(CommunityNeoServer.java:58) | |
at org.neo4j.server.database.LifecycleManagingDatabase.start(LifecycleManagingDatabase.java:88) | |
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:445) | |
... 5 more | |
Caused by: java.io.FileNotFoundException: /nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/logs/debug.log (Read-only file system) | |
at java.io.FileOutputStream.open0(Native Method) | |
at java.io.FileOutputStream.open(FileOutputStream.java:270) | |
at java.io.FileOutputStream.<init>(FileOutputStream.java:213) | |
at org.neo4j.io.fs.DefaultFileSystemAbstraction.openAsOutputStream(DefaultFileSystemAbstraction.java:76) | |
at org.neo4j.io.file.Files.createOrOpenAsOuputStream(Files.java:51) | |
at org.neo4j.logging.RotatingFileOutputStreamSupplier.openOutputFile(RotatingFileOutputStreamSupplier.java:336) | |
at org.neo4j.logging.RotatingFileOutputStreamSupplier.<init>(RotatingFileOutputStreamSupplier.java:135) | |
at org.neo4j.logging.RotatingFileOutputStreamSupplier.<init>(RotatingFileOutputStreamSupplier.java:119) | |
at org.neo4j.kernel.impl.logging.StoreLogService.<init>(StoreLogService.java:180) | |
at org.neo4j.kernel.impl.logging.StoreLogService.<init>(StoreLogService.java:44) | |
at org.neo4j.kernel.impl.logging.StoreLogService$Builder.build(StoreLogService.java:124) | |
at org.neo4j.kernel.impl.factory.PlatformModule.createLogService(PlatformModule.java:283) | |
... 12 more | |
2018-04-29 14:54:28.240+0000 INFO Neo4j Server shutdown initiated by request | |
[pirateking@nixos:~]$ sudo neo4j status | |
/nix/store/iraaf29hx4h8dir8dx3qp7ky4clg6sym-neo4j-3.3.2/share/neo4j/bin/neo4j: line 246: compgen: command not found | |
Neo4j is not running | |
[pirateking@nixos:~]$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Edit this configuration file to define what should be installed on | |
# your system. Help is available in the configuration.nix(5) man | |
# page and in the NixOS manual (accessible by running ‘nixos-help’). | |
{ config, pkgs, ... }: | |
{ | |
imports = | |
[ # Include the results of the hardware scan. | |
./hardware-configuration.nix | |
/nix/var/nix/profiles/containers/graph.nix | |
]; | |
# razer instel screen flickering | |
boot.kernelParams = [ | |
"i915.enable_rc6=0" | |
]; | |
# Use the systemd-boot EFI boot loader. | |
boot.loader.systemd-boot.enable = true; | |
boot.loader.efi.canTouchEfiVariables = true; | |
boot.initrd.checkJournalingFS = false; | |
hardware.cpu.intel.updateMicrocode = true; | |
hardware.pulseaudio.enable = true; | |
networking.networkmanager.enable = true; | |
networking.nat.enable = true; | |
networking.nat.internalInterfaces = ["ve-+"]; | |
networking.nat.externalInterface = "eth0"; | |
networking.networkmanager.unmanaged = [ "interface-name:ve-*" ]; | |
time.timeZone = "America/Chicago"; | |
environment.systemPackages = with pkgs; [ | |
# applications/editors | |
micro | |
# applications/misc | |
gcalcli | |
simplenote | |
# applications/networking/browsers | |
firefox | |
# applications/version-management | |
mercurial | |
# applications/version-management/git-and-tools | |
git | |
# development/compilers | |
jdk | |
# development/python-modules | |
python36Packages.grip | |
# development/tools | |
jq | |
# development/tools/misc | |
bashdb | |
# os-specific/linux | |
cryptsetup # dmsetup (can't find but already have somehow) | |
devicemapper # lvm2 | |
eject # util-linux | |
zfs | |
# shells | |
nix-bash-completions | |
# tools/bootloaders | |
refind | |
# tools/filesystems | |
archivemount | |
btrfs-progs | |
dosfstools | |
exfat-utils | |
e2fsprogs | |
f2fs-tools | |
# hfsprogs | |
# diskdev_cmds (not in nix, but hfsprogs might suffice) | |
jfsutils | |
nilfs-utils | |
ntfs3g | |
# ocfs2-tools (not in nix) | |
python27Packages.nixpart0 | |
python36Packages.pyparted | |
reiserfsprogs | |
reiser4progs | |
udftools | |
xfsprogs | |
# tools/misc | |
checkbashisms | |
execline | |
file | |
gparted | |
parted | |
partition-manager | |
patdiff | |
remind | |
xclip | |
# tools/networking | |
wget | |
# tools/system | |
tree | |
# tools/X11 | |
go-sct # blue light reducer | |
#not created yet nixpkgs-update | |
]; | |
environment.variables = { | |
EDITOR = "/run/current-system/sw/bin/micro"; | |
}; | |
nix.autoOptimiseStore = true; | |
nix.buildCores = 0; | |
nix.maxJobs = 4; | |
# Some programs need SUID wrappers, can be configured further or | |
# are started in user sessions. | |
programs.bash.enableCompletion = true; | |
# List services that you want to enable: | |
networking.firewall.enable = false; | |
security.sudo.wheelNeedsPassword = false; | |
sound.mediaKeys.enable = true; | |
# Enable the X11 windowing system. | |
services.xserver.enable = true; | |
services.xserver.layout = "us"; | |
services.xserver.xkbVariant = "colemak"; | |
# Enable touchpad support. | |
services.xserver.libinput.enable = true; | |
# Enable the KDE Desktop Environment. | |
services.xserver.displayManager.sddm.enable = true; | |
services.xserver.desktopManager.plasma5.enable = true; | |
#swapDevices = [ { device = "/dev/hda7"; } ] | |
users.users.##### = { | |
isNormalUser = true; | |
uid = 1000; | |
initialPassword = "#####"; # This is not defined | |
group = "wheel"; | |
}; | |
system.stateVersion = "18.03"; | |
systemd.enableEmergencyMode = true; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment