Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved]After upgrade to OpenRC "monit" cannot access rootfs
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
muelbuesch
n00b
n00b


Joined: 17 May 2011
Posts: 14
Location: Essen, Germany

PostPosted: Tue May 17, 2011 9:00 am    Post subject: [solved]After upgrade to OpenRC "monit" cannot acc Reply with quote

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
View user's profile Send private message
muelbuesch
n00b
n00b


Joined: 17 May 2011
Posts: 14
Location: Essen, Germany

PostPosted: Mon May 23, 2011 12:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
Bones McCracker
Veteran
Veteran


Joined: 14 Mar 2006
Posts: 1611
Location: U.S.A.

PostPosted: Mon May 23, 2011 2:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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