Debian 8 Docker error : permission denied



  • Hello,

    I'm trying to install PufferPanel and nodes. Panel is OK, it works perfectly. But the node has an error. Everytime I try to start server, I've got this error :

    [2015-12-18 14:46:41] [ERROR] An error occured while attempting to perform server preflight for 44f5a4b0-e956-4eff-b5f3-28f3b97e243f.
    Error: Command failed: /bin/sh -c docker start pp-test_e5yz0xb
    Error response from daemon: Cannot start container pp-test_e5yz0xb: [8] System error: open /sys/fs/cgroup/cpu,cpuacct/system.slice/docker-385ac70634e85b663bd2f0def2ca6a017cc958c90dec0014fd901e4c378fb764.scope/cpu.cfs_quota_us: permission denied
    Error: failed to start containers: [pp-test_e5yz0xb]
    
        at ChildProcess.exithandler (child_process.js:203:12)
        at emitTwo (events.js:87:13)
        at ChildProcess.emit (events.js:172:7)
        at maybeClose (internal/child_process.js:818:16)
        at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
    

    If you have any suggestion ?
    I don't found solution :(



  • Hi,
    i'm stuck at exactly the same point. I'm also running Debian 8 with latest patches. I tried some suggestions to use additional boot options for grub, but that didn't resolve the issue, unfortunately.

    My console output look like this:

    [2015-12-24 13:14:40] [ERROR] An error occured attempting to start docker container for pp-lums_5vm0ahh Error response from daemon: Cannot start container pp-lums_5vm0ahh: [8] System error: open /sys/fs/cgroup/cpu,cpuacct/system.slice/docker-004dc8cbf93cc73876d4d9b617136659d19241e42102223aaa8d130bf689ee3b.scope/cpu.cfs_quota_us: permission denied
    Error: failed to start containers: [pp-lums_5vm0ahh]

    [2015-12-24 13:14:40] [ERROR] An error was detected during the startup sequence for server a62bc560-4e0a-4684-b879-9a86e65d0d58
    Error: Command failed: /bin/sh -c docker start pp-lums_5vm0ahh
    Error response from daemon: Cannot start container pp-lums_5vm0ahh: [8] System error: open /sys/fs/cgroup/cpu,cpuacct/system.slice/docker-004dc8cbf93cc73876d4d9b617136659d19241e42102223aaa8d130bf689ee3b.scope/cpu.cfs_quota_us: permission denied
    Error: failed to start containers: [pp-lums_5vm0ahh]

    at ChildProcess.exithandler (child_process.js:213:12)
    at emitTwo (events.js:87:13)
    at ChildProcess.emit (events.js:172:7)
    at maybeClose (internal/child_process.js:818:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
    

    [2015-12-24 13:14:40] [INFO] { [Error: Command failed: /bin/sh -c docker start pp-lums_5vm0ahh
    Error response from daemon: Cannot start container pp-lums_5vm0ahh: [8] System error: open /sys/fs/cgroup/cpu,cpuacct/system.slice/docker-004dc8cbf93cc73876d4d9b617136659d19241e42102223aaa8d130bf689ee3b.scope/cpu.cfs_quota_us: permission denied
    Error: failed to start containers: [pp-lums_5vm0ahh]
    ]
    killed: false,
    code: 1,
    signal: null,
    cmd: '/bin/sh -c docker start pp-lums_5vm0ahh' }
    [2015-12-24 13:14:40] [ERROR] An error occured while attempting to perform server preflight for a62bc560-4e0a-4684-b879-9a86e65d0d58.
    Error: Command failed: /bin/sh -c docker start pp-lums_5vm0ahh
    Error response from daemon: Cannot start container pp-lums_5vm0ahh: [8] System error: open /sys/fs/cgroup/cpu,cpuacct/system.slice/docker-004dc8cbf93cc73876d4d9b617136659d19241e42102223aaa8d130bf689ee3b.scope/cpu.cfs_quota_us: permission denied
    Error: failed to start containers: [pp-lums_5vm0ahh]

    at ChildProcess.exithandler (child_process.js:213:12)
    at emitTwo (events.js:87:13)
    at ChildProcess.emit (events.js:172:7)
    at maybeClose (internal/child_process.js:818:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
    

    [2015-12-24 13:14:40] [VERBOSE] Power off called for a62bc560-4e0a-4684-b879-9a86e65d0d58 but server is already off. If a callback was defined it will continue.
    [2015-12-24 13:14:40] [VERBOSE] Completed permissions preflight for server a62bc560-4e0a-4684-b879-9a86e65d0d58

    extract from /var/log/daemon.log

    Dec 24 13:14:35 vsrv98733 docker[438]: time="2015-12-24T13:14:35.824996977+01:00" level=warning msg="signal: killed"
    Dec 24 13:14:36 vsrv98733 docker[438]: time="2015-12-24T13:14:36.031383983+01:00" level=warning msg="failed to cleanup ipc mounts:\nfailed to umount /var/lib/docker/containers/004dc8cbf93cc73876d4d9b617136659d19241e42102223aaa8d130bf689ee3b/shm: invalid argument\nfailed to umount /var/lib/docker/containers/004dc8cbf93cc73876d4d9b617136659d19241e42102223aaa8d130bf689ee3b/mqueue: invalid argument"
    Dec 24 13:14:36 vsrv98733 docker[438]: time="2015-12-24T13:14:36.031702330+01:00" level=error msg="Handler for POST /v1.21/containers/pp-lums_5vm0ahh/start returned error: Cannot start container pp-lums_5vm0ahh: [8] System error: open /sys/fs/cgroup/cpu,cpuacct/system.slice/docker-004dc8cbf93cc73876d4d9b617136659d19241e42102223aaa8d130bf689ee3b.scope/cpu.cfs_quota_us: permission denied"
    Dec 24 13:14:36 vsrv98733 docker[438]: time="2015-12-24T13:14:36.031744865+01:00" level=error msg="HTTP Error" err="Cannot start container pp-lums_5vm0ahh: [8] System error: open /sys/fs/cgroup/cpu,cpuacct/system.slice/docker-004dc8cbf93cc73876d4d9b617136659d19241e42102223aaa8d130bf689ee3b.scope/cpu.cfs_quota_us: permission denied" statusCode=500
    Dec 24 13:14:36 vsrv98733 docker[438]: time="2015-12-24T13:14:36.102897669+01:00" level=info msg="POST /v1.21/containers/pp-lums_5vm0ahh/start"
    Dec 24 13:14:36 vsrv98733 systemd[1]: Failed to set cpu.cfs_period_us on /system.slice/docker-004dc8cbf93cc73876d4d9b617136659d19241e42102223aaa8d130bf689ee3b.scope: Permission denied
    Dec 24 13:14:36 vsrv98733 systemd[1]: Failed to set cpu.cfs_quota_us on /system.slice/docker-004dc8cbf93cc73876d4d9b617136659d19241e42102223aaa8d130bf689ee3b.scope: Permission denied

    I'd love to get this up and running, since I'm trying to prepare the server for my daughter ;-)



  • i reinstalled the server using ubuntu 15.04 instead of debian 8.x - now it's working fine!



  • I had the same error on Debian 8, but only on servers with the CPU Quota set to 0.
    After I set the CPU Quota to higher values on my servers it worked.


Log in to reply
 

Looks like your connection to PufferPanel Community was lost, please wait while we try to reconnect.