error with semaphore

From: Lim, Jason (jason.lim@reach.com)
Date: Thu Jun 21 2001 - 01:25:53 PDT

  • Next message: Liger-dc: "No Flows collected"

    Hello everyone,

    I have problems of not able to start cflowd properly on my redhat 6.2 linux
    machine although the installation process is smooth.

    Can anyone interpret the error logs in /var/log/message ? what's the error
    on cflowd[1993] about on getting the semaphore set?

    Jun 21 14:06:23 nms4 cflowdmux[1931]: [I] cflowdmux (version cflowd-2-1-b1)
    started.
    Jun 21 14:06:23 nms4 cflowdmux[1931]: [I] created 1052672 byte packet queue
    shmem segment {CflowdPacketQueue.cc
    :247}
    Jun 21 14:06:23 nms4 cflowdmux[1931]: [I] attached to 1052672 byte packet
    queue at 0x40186000
    Jun 21 14:06:23 nms4 cflowdmux[1931]: [I] created semaphore: id 0
    Jun 21 14:06:23 nms4 cflowd[1933]: [I] cflowd (version cflowd-2-1-b1)
    started.
    Jun 21 14:06:23 nms4 cflowd[1933]: [E]
    semget(ftok("/usr/local/arts/etc/cflowd.conf",0),2,S_IRWXU|S_IRWXG|S_IRW
    XO) failed to get semaphore set: No such file or directory
    {CflowdPacketQueue.cc:124}
    Jun 21 14:06:23 nms4 cflowd[1933]: [C] failed to get semaphore!
    {CflowdPacketQueue.cc:331}
    Jun 21 14:06:23 nms4 cflowd[1933]: [A] failed to open packet queue!
    Exiting. {cflowd.cc:888}
    Jun 21 14:06:23 nms4 cfdcollect[1935]: [I] cfdcollect (version
    cflowd-2-1-b1) started with 0 cflowd instances.
    Jun 21 14:06:23 nms4 cfdcollect[1935]: [E] unable to open pidfile '': No
    such file or directory {cfdcollect.cc:
    174}

    Also, I am not sure if the ports 2055 and 2056 are required in
    /etc/services.

    cflowd 2055/udp # Cflowd
    tcpcollectport 2056/tcp # TCP collect

    TIA

    Best Regards
    Jason Lim
    Reach Internet Services Limited

    --
    cflowd mailing list
    cflowd@caida.org
    



    This archive was generated by hypermail 2b29 : Thu Jun 21 2001 - 01:43:30 PDT