Find the answer to your Linux question:
Results 1 to 2 of 2
I am trying to configure SNMP server using xinetd on red hat. I am using non-standard port for it. My connection to server fails. I see the following log messages ...
  1. #1
    Just Joined!
    Join Date
    Jan 2011
    Posts
    8

    Exclamation Configure SNMP server using XINETD

    I am trying to configure SNMP server using xinetd on red hat. I am using non-standard port for it. My connection to server fails. I see the following log messages in /var/log:

    Jan 26 17:23:31 [userid] xinetd[15023]: START: my-snmp pid=15047 from=192.128.11.21
    Jan 26 17:23:31 [userid] xinetd[15023]: EXIT: my-snmp status=1 pid=15047 duration=0(sec)
    Jan 26 17:23:32 [userid] xinetd[15023]: START: my-snmp pid=15050 from=192.128.11.21
    Jan 26 17:23:32 [userid] xinetd[15023]: EXIT: my-snmp status=1 pid=15050 duration=0(sec)

    can anybody help to point out what is wrong in my config? Thanks.

    Here is my config:

    I changed following files:

    file1: /etc/services

    my-snmp 49555/udp

    file2: /etc/xinetd.d/my-snmp

    service my-snmp
    {
    socket_type = dgram
    protocol = udp
    wait = yes
    user = root
    server = /etc/rc.d/init.d/snmpd
    log_on_failure += USERID
    }

  2. #2
    Just Joined!
    Join Date
    Jan 2011
    Posts
    8

    Configure SNMP using XINETD on red hat

    I should add that after configuration change, I restart the xinetd successfully.

    sudo /etc/init.d/xinetd restart
    Stopping xinetd: [ OK ]
    Starting xinetd: [ OK ]

    log:
    Jan 26 17:42:25 [userid] xinetd[15258]: xinetd Version 2.3.14 started with libwrap loadavg labeled-networking options compiled in.
    Jan 26 17:42:25 [userid] xinetd[15258]: Started working: 1 available service

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...