Skip to Main Content

Hardware

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

SunFire X4540 will not boot

IanMBJul 19 2013 — edited Aug 5 2013

Hi there,

We currently have an issue with our Sun Fire X4540, which will not boot after an unexpected data centre power down last night.

The error messages on boot are as follows:

Use metadb to delete databases which are broken

Ignore any Read-only file system error messages

Reboot the system when finished to reload the metadevice database

Jul 19 11:21:51 svc.startd[7]: svc:/system/metainit:default: Method "/lib/svc/method/svc-metainit" failed with exit status 96.

Jul 19 11:21:51 svc.startd[7]: system/metainit:default misconfigured: transitioned to maintenance (see 'svcs –xv' for details)

WARNING: Error writing ufs log state

WARNING: ufs log for / changed state to Error

WARNING: Please umount(1M) / and run fsck(1M)

WARNING: exec(/sbin/init) failed with errno 5.

WARNING: failed to restart init (1M) (err=5): system reboot required

I've tried booting from a rescue CD and running fsck in failsafe mode. Ideally what we'd like to do is get the system into a bootable state, so we can copy off user data to an alternative storage array, before retiring the system. Only 2-3 users hold data on the server.

Many thanks in advance,

Ian

Comments

camickr
I assume you mean JInternalFrame?

Remove the MouseListener from the JInternalFrame:
JInternalFrame f = frames[0];
BasicInternalFrameUI ui = (BasicInternalFrameUI)f.getUI();
Component north = ui.getNorthPane();
MouseMotionListener[] actions = (MouseMotionListener[])north.getListeners(MouseMotionListener.class);
for (int i = 0; i < actions.length; i++)
	north.removeMouseMotionListener( actions[i] );
843804
I assume you mean JInternalFrame?

Remove the MouseListener from the JInternalFrame:
JInternalFrame f = frames[0];
BasicInternalFrameUI ui =
(BasicInternalFrameUI)f.getUI();
Component north = ui.getNorthPane();
MouseMotionListener[] actions =
(MouseMotionListener[])north.getListeners(MouseMotionL
istener.class);
for (int i = 0; i < actions.length; i++)
	north.removeMouseMotionListener( actions[i] );
Yup, sorry jinternalframe is what I meant.

Ok that does lock it which is great, the only problem now, is when I click on the internal frame - it initially disappears (you can still find it on the toolbar on the bottom) - but it doesn't remain as the active window (when clicked on) - (I'm putting it inside a JWindow if that affects anything?)
cheers for the help.
camickr
JInternalFrame should be added to JDesktopPane.

How to Use Internal Frames:

http://java.sun.com/docs/books/tutorial/uiswing/components/internalframe.html

If you mean your adding the JDesktopPane to a JWindow, then I don't know what the problem might be I've never tried that.
843804
I've tried putting it in a desktop pane like the following:
jInternalFrame2.setBounds(0, 0, 600, 500);
jDeskTest.setBounds(0,0,600,500);
jWindowTest.setBounds(200,120,600,500);

jDeskTest.add(jInternalFrame2);
jWindowTest.getContentPane().add(jDeskTest);

BasicInternalFrameUI ui = (BasicInternalFrameUI)jInternalFrame2.getUI();
Component north = ui.getNorthPane();
MouseMotionListener[] actions=(MouseMotionListener[])north.getListeners(MouseMotionListener.class);
for (int i = 0; i < actions.length; i++)
	north.removeMouseMotionListener( actions[i] );

jWindowTest.setVisible(true);
jDeskTest.setVisible(true);
I add all my components to the internalframe, then add it to the desktoppane and then add that to the windowframe...its still giving me the problem I mentioned above...
camickr
I've never seen that behaviour and am not even going to try to guess whats wrong based on the lines of code you posted. If you post a 15 - 20 line demo program the illustrates your behaviour then I might take a look at it.
843804
Well, I'd have to post the whole project, because its going to be hard to emulate my problem in around 15-20 lines of code.
I'll play more, and see if other people have further thoughts or solutions...
cheers
camickr
Well, I'd have to post the whole project, because its going to be hard to emulate my problem in around 15-20 lines of code.
Thats the point. You may or may not be able to emulate the problem.

If you do emulate the problem then you have code to post on the forum.

If you don't emulate the problem then you've proven to yourself that a very simple application works normally. Now the next step is to compare this code with your existing code to see whats different. If you can't see whats different I don't know how you expect use to "guess" what your code looks like.
1 - 7
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Sep 2 2013
Added on Jul 19 2013
3 comments
2,400 views