View previous topic :: View next topic |
Author |
Message |
muelbuesch n00b
Joined: 17 May 2011 Posts: 14 Location: Essen, Germany
|
Posted: Tue May 17, 2011 9:00 am Post subject: [solved]After upgrade to OpenRC "monit" cannot acc |
|
|
Hello all,
I upgraded a server to OpenRC and baselayout2 following the migration guide. All went well.
However, app-admin/monit-5.2.3 now complains about not being able to access the root filesystem:
Quote: | 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:
Code: |
/dev/cciss/c0d0p5 / reiserfs rw,noatime,notail 0 0
|
to:
Code: |
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:
Code: | check device root_fs with path /dev/cciss/c0d0p5 |
to:
Code: | check device root_fs with path /dev/root |
the error does not go away.
What is now so different that monit cannot do it's job properly?
Last edited by muelbuesch on Mon May 23, 2011 12:09 pm; edited 1 time in total |
|
Back to top |
|
|
muelbuesch n00b
Joined: 17 May 2011 Posts: 14 Location: Essen, Germany
|
Posted: Mon May 23, 2011 12:08 pm Post subject: |
|
|
Martin Pala (one of the monit developers) replied on the monit Mailing list:
Quote: |
The symbolic links problem should be solved with upgrade to Monit 5.2.5 which had fix for it.
|
monit-5.2.5 is in the portage tree (marked as ~ yet), so my problem is solved.
Marcus |
|
Back to top |
|
|
Bones McCracker Veteran
Joined: 14 Mar 2006 Posts: 1611 Location: U.S.A.
|
Posted: Mon May 23, 2011 2:27 pm Post subject: |
|
|
That's good. I had started to reply but came to the conclusion that my suggestion would set you on a wild goose chase probably unrelated to the actual problem. Glad you solved it, and that's for posting your solution to help others. _________________
patrix_neo wrote: | The human thought: I cannot win.
The ratbrain in me : I can only go forward and that's it. |
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|