[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: On gentoo monit cannot access the root fs after upgrading to OpenRC
From: |
Martin Pala |
Subject: |
Re: On gentoo monit cannot access the root fs after upgrading to OpenRC |
Date: |
Thu, 19 May 2011 23:11:20 +0200 |
Hello,
does the user under which monit runs have access to /dev/cciss/c0d0p5?
The symbolic links problem should be solved with upgrade to Monit 5.2.5 which
had fix for it. Alternatively you can specify mountpoint which should work
without problems:
check filesystem rootfs with path /
...
Regards,
Martin
On May 18, 2011, at 11:06 AM, Marcus Mülbüsch wrote:
> Hello all,
>
> I upgraded a gentoo-server to OpenRC and baselayout2. All went well.
>
> However, monit-5.2.3 now complains about not being able to access the root
> filesystem:
>
> "Data access error Service root_fs
>
> Date: Tue, 17 May 2011 10:37:32 +0200
> Action: alert
> Host: dl360
> Description: unable to read filesystem /dev/cciss/c0d0p5 state
>
> Your faithful employee,
> Monit"
>
> Only the root filesystem is affected, all other filesystems are still
> monitored by monit.
>
> I note that /etc/mtab has changed from:
>
>> /dev/cciss/c0d0p5 / reiserfs rw,noatime,notail 0 0
>
> to:
>
>> rootfs / rootfs rw 0 0
>> /dev/root / reiserfs rw,noatime,notail 0 0
>
>
> and /dev/root now is a link: /dev/root -> cciss/c0d0p5
>
> However, after changing the relevant lines in the monitrc file from:
>
>> check device root_fs with path /dev/cciss/c0d0p5
>
> to:
>
>> check device root_fs with path /dev/root
>
> the error does not go away.
>
> I posted it on the gentoo forum but did not get a reply so far. Anyone here
> has an idea what did change? Or whether there is a suitable workaround?
>
> Marcus
>
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general