[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Monit port does not work on bootup

From: Mike Jakubik
Subject: Re: Monit port does not work on bootup
Date: Sat, 23 Apr 2022 12:40:47 -0400
User-agent: Zoho Mail


Unfortunately this does not work for my requirements and Monit works just fine with a  bash script but only after i log in, so i would prefer this issue would addressed instead.


---- On Sat, 23 Apr 2022 04:17:59 -0400 SZÉPE Viktor <> wrote ----

Mike Jakubik

Disclaimer: This e-mail and any attachments are intended only for the use of the addressee(s) and may contain information that is privileged or confidential. If you are not the intended recipient, or responsible for delivering the information to the intended recipient, you are hereby notified that any dissemination, distribution, printing or copying of this e-mail and any attachments is strictly prohibited. If this e-mail and any attachments were received in error, please notify the sender by reply e-mail and delete the original message.

Idézem/Quoting Mike Jakubik <>:

> Hi,
> I am using the monit with FreeBSD 13 to auto start some custom
> elixir apps, however, when i freshly boot the server, it fails with
> "env: bash: No such file or directory". It's like monit or the way
> it calls bash cant find env, which is strange, and only on bootup.
> Subsequent calls to the script work fine after i login with the user
> that owns the script.
> Thanks.

Hello Mike!

If you have an ELF binary it is really simple to boot up.
If you have an interpreted language (a script) it is much harder.

I use old start-stop-daemon to start up a PHP script:
You find all my Monit knowledge in that directory.

All the best to you!

SZÉPE Viktor, webes alkalmazás üzemeltetés / Running your application
ügyelet 🌶️ hotline: +36-20-4242498 skype: szepe.viktor
Budapest, III. kerület

reply via email to

[Prev in Thread] Current Thread [Next in Thread]