RE: semaphore

From: Mike Hyde (mhyde@escape.ca)
Date: Thu Jan 03 2002 - 14:09:51 PST

  • Next message: Kevin Stewart: "Re: problems building on a Sun"

    I did an strace and recieved the following:

    stat64("/usr/local/arts/etc/cflowd.conf", {st_mode=S_IFREG|0644,
    st_size=6108, ...}) = 0
    semget(408631, 2, 0x1ff|0666) = -1 ENOENT (No such file or
    directory)
    time([1010095404]) = 1010095404
    getpid() = 21609
    rt_sigaction(SIGPIPE, {0x40190600, [], 0x4000000}, {SIG_DFL}, 8) = 0
    send(3, "<179>Jan 3 16:03:24 cflowd[2160"..., 197, 0) = 197
    rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
    time([1010095404]) = 1010095404
    getpid() = 21609
    rt_sigaction(SIGPIPE, {0x40190600, [], 0x4000000}, {SIG_DFL}, 8) = 0
    send(3, "<178>Jan 3 16:03:24 cflowd[2160"..., 91, 0) = 91
    rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
    time([1010095404]) = 1010095404
    getpid() = 21609
    rt_sigaction(SIGPIPE, {0x40190600, [], 0x4000000}, {SIG_DFL}, 8) = 0
    send(3, "<177>Jan 3 16:03:24 cflowd[2160"..., 94, 0) = 94
    rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
    _exit(1) = ?

    Any ideas?

    -----Original Message-----
    From: cflowd-owner@ipn.caida.org [mailto:cflowd-owner@ipn.caida.org]On
    Behalf Of Mike Hyde
    Sent: Friday, December 21, 2001 12:56 PM
    To: cflowd@caida.org
    Subject: semaphore

    Has anyone found a way to fix the following error?

    Dec 21 12:33:43 monitor cflowd[17591]: [I] cflowd (version cflowd-2-1-b1)
    started.
    Dec 21 12:33:43 monitor cflowd[17591]: [E]
    semget(ftok("/usr/local/arts/etc/cflowd.conf",0),2,S_IRWXU|S_IRWXG|S_IRWXO)
    failed to get
     semaphore set: No such file or directory {CflowdPacketQueue.cc:124}
    Dec 21 12:33:43 monitor cflowd[17591]: [C] failed to get semaphore!
    {CflowdPacketQueue.cc:331}
    Dec 21 12:33:43 monitor cflowd[17591]: [A] failed to open packet queue!
    Exiting. {cflowd.cc:991}
    Thanks
    Mike

    --
    cflowd mailing list
    cflowd@caida.org
    

    -- cflowd mailing list cflowd@caida.org



    This archive was generated by hypermail 2b29 : Thu Jan 03 2002 - 14:38:22 PST