monit-general
[Top][All Lists]
Advanced

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

Re: monit-general Digest, Vol 184, Issue 5


From: vikas ga
Subject: Re: monit-general Digest, Vol 184, Issue 5
Date: Fri, 25 May 2018 10:09:16 +0530

Hi,

Now i am getting error connecting to the monit daemon, please assist


address@hidden:~# /etc/init.d/monit start
 * Starting daemon monitor monit                                         [ OK ]
address@hidden:~# monit status
monit: error connecting to the monit daemon
address@hidden:~# cd /etc/monit
address@hidden:/etc/monit# ls -ltr
total 24
-rwx------ 1 root root 10753 Nov 17  2013 monitrc
drwxr-xr-x 2 root root  4096 Nov 17  2013 conf.d
drwxr-xr-x 2 root root  4096 May 24 12:47 templates
drwxr-xr-x 2 root root  4096 May 24 12:47 monitrc.d
address@hidden:/etc/monit#


On Thu, May 24, 2018 at 9:30 PM, <address@hidden> wrote:
Send monit-general mailing list submissions to
        address@hidden

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.nongnu.org/mailman/listinfo/monit-general
or, via email, send a message with subject or body 'help' to
        address@hiddenorg

You can reach the person managing the list at
        address@hidden

When replying, please edit your Subject line so it is more specific
than "Re: Contents of monit-general digest..."


Today's Topics:

   1. monit service failed to start (vikas ga)
   2. Re: monit service failed to start (Guillaume Fran?ois)


----------------------------------------------------------------------

Message: 1
Date: Thu, 24 May 2018 14:22:27 +0530
From: vikas ga <address@hidden>
To: address@hidden
Subject: monit service failed to start
Message-ID:
        <CAMxBgQZtq5DcAxZtoL5=myuvinQ+Vdhpc=0vHNZyWH4eGcj=address@hiddengmail.com>
Content-Type: text/plain; charset="utf-8"

Hi,

Getting below mention error message while starting the monit, please assist.

address@hidden:/etc/monit$ sudo /etc/init.d/monit start
 * Starting daemon monitor
monit
*monit: The control file '/etc/monit/monitrc' must be owned by
you.
[fail]*
address@hidden:/etc/monit$ ls -ltr
total 24
-rwx------ 1 itsupport itsupport 10753 Nov 17  2013 monitrc
drwxr-xr-x 2 root      root       4096 Nov 17  2013 conf.d
drwxr-xr-x 2 root      root       4096 May 24 12:47 templates
drwxr-xr-x 2 root      root       4096 May 24 12:47 monitrc.d

address@hidden:~$ ls -la .monitrc
-rwx------ 1 itsupport itsupport 56 May 24 13:37 .monitrc
address@hiddenG580:~$ who
itsupport :0           2018-05-24 14:08 (:0)
itsupport pts/1        2018-05-24 14:10 (:0)

Regards,Vikas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nongnu.org/archive/html/monit-general/attachments/20180524/a6e241ae/attachment.html>

------------------------------

Message: 2
Date: Thu, 24 May 2018 11:57:50 +0200
From: Guillaume Fran?ois <address@hiddencom>
To: This is the general mailing list for monit
        <address@hidden>
Subject: Re: monit service failed to start
Message-ID:
        <CALwv5Cx1=htngAdR6ZodnZNhTqJyaddress@hiddengmail.com>
Content-Type: text/plain; charset="utf-8"

Hello,

File owner is  itsupport:itsupport, as explained in the error message, it
as to be owned by the one running Monit, so here root:root

2018-05-24 10:52 GMT+02:00 vikas ga <address@hidden>:

> Hi,
>
> Getting below mention error message while starting the monit, please
> assist.
>
> address@hidden:/etc/monit$ sudo /etc/init.d/monit start
>  * Starting daemon monitor monit
>
> *monit: The control file '/etc/monit/monitrc' must be owned by
> you.
> [fail]*
> address@hidden:/etc/monit$ ls -ltr
> total 24
> -rwx------ 1 itsupport itsupport 10753 Nov 17  2013 monitrc
> drwxr-xr-x 2 root      root       4096 Nov 17  2013 conf.d
> drwxr-xr-x 2 root      root       4096 May 24 12:47 templates
> drwxr-xr-x 2 root      root       4096 May 24 12:47 monitrc.d
>
> address@hidden:~$ ls -la .monitrc
> -rwx------ 1 itsupport itsupport 56 May 24 13:37 .monitrc
> address@hiddenG580:~$ who
> itsupport :0           2018-05-24 14:08 (:0)
> itsupport pts/1        2018-05-24 14:10 (:0)
>
> Regards,Vikas
>
>
>
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general
>



--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/IT d(+) s++:- a C++$ ULC(+)>+++$ !P--- L+>$ !E---? W+++$ !N* !o-- K--?
w(+) !O---? !M- !V--? PS+? !PE Y+ PGP++>+++ !t-- !5 !X- R(+)>++* tv-? b(-)
DI !D- G(+)>+ e+++ h--() r->$ y?*
------END GEEK CODE BLOCK------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nongnu.org/archive/html/monit-general/attachments/20180524/1564ae96/attachment.html>

------------------------------

Subject: Digest Footer

_______________________________________________
monit-general mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/monit-general


------------------------------

End of monit-general Digest, Vol 184, Issue 5
*********************************************


reply via email to

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