Neo4j启动失败/usr/share/neo4j/bin/neo4j: line 411: /var/run/neo4j/neo4j.pid: No such file or directory
2017-11-02 10:33
1096 查看
启动Neo4j报错如下:
root@yumh: neo4j restart
Neo4j not running
Starting Neo4j.
WARNING: Max 1024 open files allowed, minimum of 40000 recommended. See the Neo4j manual.
/usr/share/neo4j/bin/neo4j: 行 411: /var/run/neo4j/neo4j.pid: 没有那个文件或目录
检查该目录,并没有:
root@yumh: ll /var/run/neo4j
ls: 无法访问'/var/run/neo4j': 没有那个文件或目录
解决:
手动创建该目录
root@yumh: mkdir /var/run/neo4j
root@yumh: neo4j start
Active database: graph.db
Directories in use:
home: /var/lib/neo4j
config: /etc/neo4j
logs: /var/log/neo4j
plugins: /var/lib/neo4j/plugins
import: /var/lib/neo4j/import
data: /home/raini/app/tmp/neo4j/data
certificates: /var/lib/neo4j/certificates
run: /var/run/neo4j
Starting Neo4j.
WARNING: Max 1024 open files allowed, minimum of 40000 recommended. See the Neo4j manual.
Started neo4j (pid 31427). It is available at http://localhost:7474/
There may be a short delay until the server is ready.
See /var/log/neo4j/neo4j.log for current status.
在浏览器中输入
http://172.18.11.103:7474/
root@yumh: neo4j restart
Neo4j not running
Starting Neo4j.
WARNING: Max 1024 open files allowed, minimum of 40000 recommended. See the Neo4j manual.
/usr/share/neo4j/bin/neo4j: 行 411: /var/run/neo4j/neo4j.pid: 没有那个文件或目录
检查该目录,并没有:
root@yumh: ll /var/run/neo4j
ls: 无法访问'/var/run/neo4j': 没有那个文件或目录
解决:
手动创建该目录
root@yumh: mkdir /var/run/neo4j
root@yumh: neo4j start
Active database: graph.db
Directories in use:
home: /var/lib/neo4j
config: /etc/neo4j
logs: /var/log/neo4j
plugins: /var/lib/neo4j/plugins
import: /var/lib/neo4j/import
data: /home/raini/app/tmp/neo4j/data
certificates: /var/lib/neo4j/certificates
run: /var/run/neo4j
Starting Neo4j.
WARNING: Max 1024 open files allowed, minimum of 40000 recommended. See the Neo4j manual.
Started neo4j (pid 31427). It is available at http://localhost:7474/
There may be a short delay until the server is ready.
See /var/log/neo4j/neo4j.log for current status.
在浏览器中输入
http://172.18.11.103:7474/
相关文章推荐
- php-fpm启动报错:libgearman.so.8: No such file or directory in Unknown on line 0
- linux下配置启动tomcat报错catalina.sh: line 401: /usr/java/jdk1.7.52/bin/java: No such file or directory
- Centos7与Fedora24安装mysql后无法启动,提示 Unit mysql.service failed to load:No such file or directory
- 自建镜像启动报:"no such file or directory"
- 自定义容器启动脚本报错:exec user process caused "no such file or directory"
- 解决/etc/init.d/ceph: line 15: /lib/lsb/init-functions: No such file or directory
- nginx启动报错:/usr/local/nginx/sbin/nginx: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
- c++: ../cmd-line-utils/readline/libreadline.a: No such file or directory
- line 3: /usr/local/arm/4.3.2/bin/arm-none-linux-gnueabi-gcc: No such file or directory
- 启动redis出现Creating Server TCP listening socket *:6379: bind: No such file or directory
- 启动zookeeper时报zookeeper_server.pid: No such file or directory
- Build Your Own Lisp chapter4的小错误 error: editline/history.h: No such file or directory的解决
- can't exec "mysql_config":no such file or directory at Makefile.PL line 76
- Laravel No such file or directory in /bootstrap/autoload.php on line 17
- mysql不能启动:Unit mysql.service failed to load: No such file or directory的解决办法
- 有关于simulink无法打开slx:错误使用open(line 162) no such file or directory
- 在把jQuery的ajax例子放在AppServ上运行时出错,failed to open stream: No such file or directory in Unknown on line 0
- linux启动应用时出现bad interpreter:No such file or directory的原因
- vs2013之OpenGL错误: 无法打开包括文件:“GL/glut.h”: No such file or directory和OpenGL程序无法启动此应用程序,因计算机中丢失glut32.dll
- Nginx启动报错误unlink() “nginx.pid” failed (2: No such file or directory)