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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

vikas ga
Hi,

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


root@parthiban-Lenovo-G580:~# /etc/init.d/monit start
 * Starting daemon monitor monit                                         [ OK ]
root@parthiban-Lenovo-G580:~# monit status
monit: error connecting to the monit daemon
root@parthiban-Lenovo-G580:~# cd /etc/monit
root@parthiban-Lenovo-G580:/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
root@parthiban-Lenovo-G580:/etc/monit#


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

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
        [hidden email]

You can reach the person managing the list at
        [hidden email]

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 <[hidden email]>
To: [hidden email]
Subject: monit service failed to start
Message-ID:
        <CAMxBgQZtq5DcAxZtoL5=myuvinQ+Vdhpc=0vHNZyWH4eGcj=[hidden email]>
Content-Type: text/plain; charset="utf-8"

Hi,

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

itsupport@xxx:/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]*
itsupport@xxx:/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

itsupport@xxxx:~$ ls -la .monitrc
-rwx------ 1 itsupport itsupport 56 May 24 13:37 .monitrc
itsupport@parthiban-Lenovo-G580:~$ 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 <[hidden email]>
To: This is the general mailing list for monit
        <[hidden email]>
Subject: Re: monit service failed to start
Message-ID:
        <CALwv5Cx1=[hidden email]>
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 <[hidden email]>:

> Hi,
>
> Getting below mention error message while starting the monit, please
> assist.
>
> itsupport@xxx:/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]*
> itsupport@xxx:/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
>
> itsupport@xxxx:~$ ls -la .monitrc
> -rwx------ 1 itsupport itsupport 56 May 24 13:37 .monitrc
> itsupport@parthiban-Lenovo-G580:~$ 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
[hidden email]
https://lists.nongnu.org/mailman/listinfo/monit-general


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

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


--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general