cgroup socket(PF_NETLINK, SOCK_DGRAM, 11) = -1 EPROTONOSUPPORT
Hi, I use custom linux kernel v.2.6.37 with debian squeeze. I need to make cgroup-bin package work properly. When I start: Code:
/etc/init.d/cgconfig start it's ok. But /etc/init.d/cgred doesn't start ok (I mean there is no error output to console but daemon /usr/sbin/cgrulesengd exits). I started it with strace and got this: Code:
# strace /usr/sbin/cgrulesengd -n Code:
............ munmap(0xb7782000, 4096) = 0 rt_sigaction(SIGUSR2, {0x8049520, [], 0}, NULL, 8) = 0 rt_sigaction(SIGINT, {0x80494b0, [], 0}, NULL, 8) = 0 rt_sigaction(SIGTERM, {0x80494b0, [], 0}, NULL, 8) = 0 time(NULL) = 1323701163 socket(PF_FILE, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 3 connect(3, {sa_family=AF_FILE, path="/dev/log"}, 110) = 0 send(3, "<197>Dec 12 09:46:03 CGRE[9679]:"..., 72, MSG_NOSIGNAL) = 72 socket(PF_NETLINK, SOCK_DGRAM, 11) = -1 EPROTONOSUPPORT (Protocol not supported) exit_group(-1) I guess I missed something when configuring kernel because under vanilla kernel cgroup works fine. |
No comments:
Post a Comment