Welcome to Pandora FMS Community!

Find answers, ask questions, and connect with our community around the world.

  • Pandora Agent not starting

    Posted by Michael on diciembre 20, 2024 at 12:17

    Hi guys,

    New to Pandora here.

    Pandora Server installation went fine, but we are having issues with installing an agent on another server. It’s an Almalinux 8.

    The installation itself (running the command given from the web console… curl -Ls https: //pfms.me/agent-deploy | bash, etc.) was completing without errors, but it cannot start the agent.

    No logs in /var/log/pandora/, but in the /var/log/messages I see:

    Dec 20 12:04:46 servername systemd[1]: Started Pandora FMS agent daemon.

    Dec 20 12:04:46 servername pandora_agent[1374971]: /tmp/par-726f6f74/cache-81708fd539634d98ff546f81b38c5a20e0362194/pandora_agent: exec of /tmp/par-726f6f74/cache-81708fd539634d98ff546f81b38c5a20e0362194/pandora_agent (custom Perl interpreter) failed (errno=13)

    Dec 20 12:04:46 servername systemd[1]: pandora_agent_daemon.service: Main process exited, code=exited, status=255/n/a

    Dec 20 12:04:46 servername systemd[1]: pandora_agent_daemon.service: Failed with result ‘exit-code’.

    Dec 20 12:04:46 servername systemd[1]: pandora_agent_daemon.service: Service RestartSec=100ms expired, scheduling restart.

    Dec 20 12:04:46 servername systemd[1]: pandora_agent_daemon.service: Scheduled restart job, restart counter is at 3.

    Dec 20 12:04:46 servername systemd[1]: Stopped Pandora FMS agent daemon.

    The problem is most likely that we have secured the /tmp/ directory so you cannot run applications from it. Is it possible to configure the agent to use another working directory?

    I tried changing the temporal line in the configuration file (it’s /tmp by default) – but that didn’t change anything.

    Any hints? 🙂

    • This discussion was modified 1 week, 3 days ago by  Michael.
    Sergio replied 1 week, 3 days ago 2 Members · 1 Reply
  • 1 Reply
  • Sergio

    Administrator
    diciembre 20, 2024 at 13:26
    1346 Karma points
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hello Michael,

    Unfortunately the Agents mainly use /tmp folder for many functions like storing temporal folders needed for its function, .data XMLs comming from VMWare will be stored in /tmp aswell, it is not something that can be changed.

    Sergio B.