Failed to unlink socket file /tmp/mongodb-27017.sock errno:1 Operation not permitted
来源:互联网 发布:五大贵重宝石知乎 编辑:程序博客网 时间:2024/05/21 08:51
1、解决方法:
chown root:root /tmpchmod 777 /tmp
2、执行上面命令后,查看
ls -ld /tmp结果如下
# ls -ld /tmpdrwxrwxrwx. 7 root root 4096 Sep 2 16:25 /tmp
3、重新启动mongod 服务
sudo service mongod start
0 0
- Failed to unlink socket file /tmp/mongodb-27017.sock errno:1 Operation not permitted
- 启动MongoDB时出现Failed to unlink socket file /tmp/mongodb-27017.sock errno:1 Operation not permitted
- [mongoDB]Failed to unlink socket file /tmp/mongodb-[portnum].sock Operation not permitted
- OSError: [Errno 1] Operation not permitted: '/tmp/pip-g3bg0s-uninstall/System/Library/Frameworks/Pyt
- OSError: [Errno 1] Operation not permitted
- OSError: [Errno 1] Operation not permitted
- linux多线程创建失败,errno=1:Operation not permitted
- 解决 mac OSX pip OSError: [Errno 1] Operation not permitted
- MAC 解决OSError: [Errno 1] Operation not permitted
- remount failed: Operation not permitted
- GDB: Failed to set controlling terminal: Operation not permitted\n
- Failed to get D-Bus connection: Operation not permitted
- Failed to get D-Bus connection: Operation not permitted
- Failed to get D-Bus connection: Operation not permitted
- docker Failed to get D-Bus connection: Operation not permitted
- socket()普通用户, Operation not permitted
- rsync: failed to set times on "/." (in ftp): Operation not permitted (1)
- svn: Can't move '.svn/tmp/entries' to '.svn/entries': Operation not permitted
- 大数据常见算法题
- leetcode No116. Populating Next Right Pointers in Each Node
- 分布式文件存储 搭建FastDFS-5.0.5集群
- QML在动画执行完做其它事
- 全透明UINavigationBar的实现
- Failed to unlink socket file /tmp/mongodb-27017.sock errno:1 Operation not permitted
- 并发执行多个程序的方法
- 栈结构、队列
- Hadoop安装教程_单机/伪分布式配置_Hadoop2.6.0/Ubuntu14.04
- 循环链表的建立
- 有序链表的建立
- 程师们不要想一辈子靠技术混饭吃
- android 关联启动第三方应用
- java-String中的 intern()