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, <monit-general-requ...@nongnu.org> wrote: > Send monit-general mailing list submissions to > monit-general@nongnu.org > > 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 > monit-general-requ...@nongnu.org > > You can reach the person managing the list at > monit-general-ow...@nongnu.org > > 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 <vikas.c...@gmail.com> > To: monit-general@nongnu.org > Subject: monit service failed to start > Message-ID: > <CAMxBgQZtq5DcAxZtoL5=myuvinQ+Vdhpc=0vHNZyWH4eGcj=NA@mail. > gmail.com> > 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 <guillaume.francoi...@gmail.com> > To: This is the general mailing list for monit > <monit-general@nongnu.org> > Subject: Re: monit service failed to start > Message-ID: > <CALwv5Cx1=htngAdR6ZodnZNhTqJy2_YyR4uDXPbE84yo_73PPw@mail. > gmail.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 <vikas.c...@gmail.com>: > > > 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 > monit-general@nongnu.org > 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