• unix:///var/tmp/supervisor.sock no such file


    按照如下命令修改
    ln /var/run/supervisor/supervisor.sock /var/tmp/
    sudo chmod 777 /var/tmp/supervisor.sock
    supervisorctl

    supervisorctl  supervisord    
    [baiyun@hadoop102 ~]$ supervisorctl 
    unix:///var/tmp/supervisor.sock no such file
    supervisor> 
    [baiyun@hadoop102 ~]$ cd /var/tmp/supervisor.sock
    -bash: cd: /var/tmp/supervisor.sock: 没有那个文件或目录
    [baiyun@hadoop102 ~]$ ll /var/tmp/supervisor.sock
    ls: 无法访问/var/tmp/supervisor.sock: 没有那个文件或目录
    [baiyun@hadoop102 ~]$ ls /var/tmp/supervisor.sock
    ls: 无法访问/var/tmp/supervisor.sock: 没有那个文件或目录
    [baiyun@hadoop102 ~]$ ls /var/tmp/
    [baiyun@hadoop102 ~]$ ll /var/tmp/
    总用量 0
    [baiyun@hadoop102 ~]$ ll /var/tmp/^C
    [baiyun@hadoop102 ~]$ sudo ll^C
    [baiyun@hadoop102 ~]$ ll /var/run/supervisor
    supervisor/      supervisord.pid  
    [baiyun@hadoop102 ~]$ ll /var/run/supervisor/supervisor.sock ^C
    [baiyun@hadoop102 ~]$ ln /var/run/supervisor/supervisor.sock /var/tmp/
    [baiyun@hadoop102 ~]$ ll  /var/tmp/
    总用量 0
    srwx------. 2 root root 0 11月  5 11:49 supervisor.sock
    [baiyun@hadoop102 ~]$ supervisorctl 
    error: , [Errno 13] Permission denied: file:  line: 1
    supervisor> 
    [baiyun@hadoop102 ~]$ supervisorctl sudo 
    *** Unknown syntax: sudo
    [baiyun@hadoop102 ~]$ supervisorctl sudo ^C
    [baiyun@hadoop102 ~]$ supervisorctl sudo ^C
    [baiyun@hadoop102 ~]$ chmod 777 /var/tmp/
    chmod: 更改"/var/tmp/" 的权限: 不允许的操作
    [baiyun@hadoop102 ~]$ sudo chmod 777 /var/tmp/
    [baiyun@hadoop102 ~]$ supervisorctl 
    error: , [Errno 13] Permission denied: file:  line: 1
    supervisor> 
    [baiyun@hadoop102 ~]$ sudo chmod 777 /var/tmp/supervisor.sock 
    [baiyun@hadoop102 ~]$ supervisorctl 
    grafana                          RUNNING   pid 12821, uptime 0:07:06
    node_exporter                    FATAL     can't find command 'xcall'
    prometheus                       RUNNING   pid 12819, uptime 0:07:06
    pushgateway                      RUNNING   pid 12820, uptime 0:07:06
    supervisor> 
    
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    • 27
    • 28
    • 29
    • 30
    • 31
    • 32
    • 33
    • 34
    • 35
    • 36
    • 37
    • 38
    • 39
    • 40
    • 41
    • 42
    • 43
  • 相关阅读:
    亿级流量下平滑扩容:TDSQL水平扩容方案实践
    8.2 JWT(代替Session)
    黑苹果之技嘉(GIGABYTE)主板BIOS设置篇
    【Python】牛客HJ43迷宫问题
    车载软件架构 —— AUTOSAR Vector SIP包(二)
    GDB调试方法汇总
    湖南麒麟两种修复硬盘方式
    glTF-Transform处理gltf模型
    前端面试宝典React篇15 如何提升 React 代码可维护性?
    LVGL自定义组件__页面指示器
  • 原文地址:https://blog.csdn.net/JavaBigData/article/details/127701948