Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    snmptt does not start

    General pfSense Questions
    1
    2
    399
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      chrullrich
      last edited by

      One of my pfSenses was caught by the recent repo update self-breakage, and spontaneously decided to uninstall (nearly) all its packages. I have reinstalled them, but now the snmptt daemon won't start, or rather, it does not keep going once started.

      When I start it by hand (/usr/local/sbin/snmptt --daemon), it dies again after a second or so. This message appears in the log:

      Could not change to UID: 895, GID: 895

      I have no idea what is going on. As a workaround, if I start it as daemon -u snmptt /usr/local/sbin/snmptt --daemon, it works. (The effect of this command is that setuid is started as its user and does not need to change identities.) However, this is not reliable because if I change any options in snmptt's configuration page and save, the web UI restarts snmptt, and the restarted process dies again as above.

      How do I fix this?

      C 1 Reply Last reply Reply Quote 0
      • C
        chrullrich @chrullrich
        last edited by

        Never mind, it's a bug in snmptt. As part of yesterday's festivities, the 1.4.2 update reached my box, and that has a bug that keeps it from working in daemon mode (no idea about standalone).

        If you find yourself in this situation, see https://sourceforge.net/p/snmptt/bugs/47/ for the fix.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.