Results 1 to 4 of 4

Thread: Installing net-snmp

  1. #1

    Default Installing net-snmp

    Hi All,

    I'm trying to install net-snmp (zypper in net-snmp) and it installs fine, but doesn't seem to be creating an snmpd.service file.

    If I try to start it with systemd:
    Code:
    server1:~ # service snmpd start
    snmpd is neither service nor target!?
    If I try to start it with the init script:
    Code:
    server1:~ # /etc/init.d/snmpd start
    redirecting to systemctl start snmpd.service
    Failed to start snmpd.service: Unit snmpd.service failed to load: No such file or directory.


    Is snmpd.service something I need to manually create?

  2. #2
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,836
    Blog Entries
    2

    Default Re: Installing net-snmp

    The package looks faulty.

    Recommend you submit a bug report to https://bugzilla.opensuse.org.

    In the meantime,
    It looks like you can manually start snmpd with the following command
    Code:
    /usr/sbin/snmpd
    You can also retrieve all the other related binary files in the package with the following command and invoke as necessary
    Code:
    rpm -ql net-snmpd
    HTH,
    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  3. #3
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    2,749

    Default Re: Installing net-snmp

    Looking at what the package "net-snmp" provides, it's a SysV-Init application:
    sysvinit(net-snmp)
    sysvinit(snmp)
    sysvinit(snmpd)
    sysvinit(snmptrapd)


    You may need to take a look at the "systemd-sysv-generator" (man 8).

  4. #4

    Default Re: Installing net-snmp

    Hey guys, thanks for the help! It looks like there's already a couple bugs filed about adding systemd support, so I won't clutter it up with any more.

    I'll probably just manually start it for now since these are pretty low impact servers.

Posting Permissions

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