LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-07-2005, 12:12 AM   #1
reorourke
LQ Newbie
 
Registered: Dec 2005
Location: Pittsburgh, PA
Distribution: Red Hat Enterprise Linus WS v4.0 for i386
Posts: 5

Rep: Reputation: 0
GRUB over MBR and now can't load XP


This is actually the second time that I've installed Linux, using Red Hat Enterprise Linux WS, version 4.0 for i386. My machine has two hard drives, a smaller one I installed Linux onto and the larger one which I had been using for XP for a couple years now. The first time I installed Linux I chose the option to have GRUB on the first partition of the second hard drive, but whenever I booted up the system it would always go right into XP and never show GRUB. So, I chose to reinstall Linux but this time with the option of having GRUB over the MBR. Now I'm experiencing a couple different problems and have been unable to boot XP at all. Linux seems to be working fine but I've been unable to find an answer to this problem and am hoping that someone here might be able to help.

When I first boot my system I get an error message that reads:

SMART Failure Predicted on Primary Master: WDC WD600LB-00DNA0
WARNING: Immediately back-up your data and replace your hard disk drive. A failure may be imminent.

If I don't have a bootable CD in the CD drive it'll sit there for quite a long time trying unsuccessfully to boot anything. I have a CD that's supposed to boot into the Bart Windows Preinstallation Environment, but that hasn't worked either but will force the system to head right into GRUB.

My default OS for GRUB is Windows but it doesn't work. It'll blank the screen and the next thing I see is:

Booting 'Windows XP'

rootnoverify (hd0,0)
chainloader +1

A disk read error occurred
Press Ctrl+Alt+Del to restart

If I don't allow GRUB to countdown to the default OS I do get into the GRUB menu screen where I can select the Linux installation, which does boot Linux (hence I'm able to post this plea for help). I don't know if it matters but the XP drive is formatted in NTFS. Any help on this would be greatly appreciated!

Thanks!

Ray
 
Old 12-07-2005, 03:19 AM   #2
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,605

Rep: Reputation: 53
Oh dear.
I do not think grub can boot XP.
you need the XP cd and some options like fdisk /mbr
to recover a XP mbr. I do not use Zindows so I am not sure.

I think you should buy another HD and do some backups using
the linux system that works.

Post being root the output of fdisk -l
so we are all clear about your HDs

If I get a chance to find a link to this mbr recovery malarky in Zin
I let you know. I hope somebody does before me.

>>SMART Failure Predicted on Primary Master: WDC WD600LB-00DNA0
Just to check, you have 2 IDE?

If you can boot from a live distro, I would advise you get a new HD
and do a full backup of the failing HD with dd
(see lq thread learn the dd command)
i.e. remove linux enabled HD
keep bad HD in place
add new HD
boot from Knoppix, mandriva move or other
backup

Do not rush doing anything, a bit of reading and some more advice
should save the issues

Last edited by Emmanuel_uk; 12-07-2005 at 03:20 AM.
 
Old 12-07-2005, 03:43 AM   #3
koyi
Member
 
Registered: Jul 2003
Location: Osaka, Japan
Distribution: Arch, Ubuntu
Posts: 421

Rep: Reputation: 31
When you see the selection menu of GRUB, hit the key 'c' and you should enter the command prompt mode of GRUB, try typing these commands and see if it boots windows properly.

Code:
grub> rootnoverify (hd0,0)
grub> chainloader +1
grub> makeactive
grub> boot
As for the disk failure, are you sure this only happens after you have installed linux?
Try to download a disk utility program and scan your harddisk to see if it has any physical defect. Personally I think this utility from Seagate is not bad From the serial number of your harddisk I think it is a Western Digital harddisk but still you can run some basic tests with the seagate tool.

Good luck.
 
Old 12-07-2005, 10:42 PM   #4
reorourke
LQ Newbie
 
Registered: Dec 2005
Location: Pittsburgh, PA
Distribution: Red Hat Enterprise Linus WS v4.0 for i386
Posts: 5

Original Poster
Rep: Reputation: 0
Ok, logged in as root and ran fdisk -l which returned the following:

Disk /dev/hda: 60.0 GB, 60022480896 bytes
255 heads, 63 sectors/track, 7297 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 7296 58605088+ 7 HPFS/NTFS

Disk /dev/hdb: 10.2 GB, 10205282304 bytes
255 heads, 63 sectors/track, 1240 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 13 104391 83 Linux
/dev/hdb2 14 1240 9855877+ 8e Linux LVM

I will try the command prompts through GRUB shortly and post the results, hopefully that'll do the job. Thanks!

Ray
 
Old 12-08-2005, 02:48 AM   #5
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,605

Rep: Reputation: 53
hd0,0
is indeed going to be Zindows, so that is good.
If you cannot get grub to work on hda
see then fixmbr command http://www.ntfs.com/mbr-damaged.htm.
and then you could edit grub on hdb to make it dual boot,
and change the bios order for boot to
hdb
floppy
hda

for example

If the grub command above works
if you can boot from hdb you should be able
to edit /mnt/mounted_hda/boot/grub/menu.lst (that is located on hda)
and make the change permanent
 
Old 12-20-2005, 05:07 PM   #6
reorourke
LQ Newbie
 
Registered: Dec 2005
Location: Pittsburgh, PA
Distribution: Red Hat Enterprise Linus WS v4.0 for i386
Posts: 5

Original Poster
Rep: Reputation: 0
SuSe Problems, BitTorrent Problems, Python???



OK, so the fixmbr wouldn't work, couldn't get the Windows install disks to work correctly let alone getting the repair console up and operational. Figuring that my Windows install and all my data has been irrevocably lost anyway (since I've not been able to find a workable solution to this problem and its been over 2 weeks since I've been able to access my data, no hope in sight), I decided to install SuSe Linux over the entire system, which is supposed to be much more user-friendly & supportable than RedHat.

The problem is that my roommate had made an install DVD for SuSe that while it worked for him, something must have happened to the disk between his install and his handing the disk to me to use, for I'm getting unexplainable sector errors on the disk. I don't have a DVD burner myself but do have a CD burner, unfortunately though the CD version is 5 disks, pretty much my entire collection of CDs if I even have that many left. Nevertheless, I've downloaded a torrent file for the CD version as well as the RPM for BitTorrent.

BitTorrent seemed to go through the RPM install alright but I've yet to be able to execute the BitTorrent application. I found some BitTorrent files in /usr/bin/, including bittorrent, bittorrent-curses, bittorrent-console, and bittorrent-tracker files. Double-clicking on any of them appears to do nothing whatsoever. They don't appear with the little cog/gear icons most of the other files in the bin folder do but with an icon that looks like a document with a screwdriver and a little box that says .py. If I go into Properties for the bittorrent filename I get Type: Python Program. The Application Preference Order appears a bit whacky to me because it doesn't appear to have files with description Python Program as executable, the app pref order only lists text editors including XEmacs Text Editor, Text Editor, Nedit, Emacs Text Editor, and OpenOffice.org Writer.

Looking to check my install of Python, which I understand should have been taken care of by the RedHat OS when I first installed it, I ran the command python in the terminal and received the following output:
Python 2.3.4 (#1, Nov 4 2004, 14:06:56)
[GCC 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
However, the online documentation I found that told me of that command also mentioned that the Python application/utility should be found in the /usr/ or /usr/local/lib/ folders, and I don't see Python there anywhere. I did though run the command python from the /home/ folder, so it should be in my PATH then, correct? I cannot seem to be able to figure out what exactly is wrong with Python since its not running the BitTorrent application. When I type python and have it running I went in to help, said module, to get the listing of python modules, and did not find any of them that referred to BitTorrent, though I'm not even sure this is what I'm supposed to be looking for. Unfortunately, the BitTorrent website itself is very little help in trying to figure out any problems with installation, and my RPM already sees BitTorrent as installed, I just can't figure out what the heck I'm supposed to do in order to get it to actually execute.

I just downloaded the new version of Python, 2.4.2, followed the installation instructions as listed in the provided README file, and now show 2.4.2 as the current version of Python installed on my system (so I believe I've installed it correctly). THe README file does make mention of RedHat, saying something about UCS-4 mode and hacked Tcl, but it specifically mentions RedHat 9 and I have RedHat Enterprise WS v 4 installed, not 9 (though I very rarely if ever see any mention for my RedHat version in any documentation I come across at all, yet another reason I'd like to install SuSe, so I might know if they're actually talking about my distro or not). Using the terminal I go into /usr/bin/ to run bittorrent and get the following:
[root@localhost bin]# ./bittorrent
Traceback (most recent call last):
File "./bittorrent", line 17, in ?
from BitTorrent.platform import install_translation
ImportError: No module named BitTorrent.platform

I ran the last line, "ImportError: No module named BitTorrent.platform," through Google and it provided me a link to BitTorrent's FAQ where I found the following:
When I try to start BitTorrent on *nix, I get "ImportError: No module named BitTorrent.platform" or something similar

If you see an error like this after installing BitTorrent on a Linux or other unix system:

Trackback (most recent call last):
File "/usr/bin/bittorrent", line 17, in ?
from BitTorrent.platform import install_translation
ImportError: No module named BitTorrent.platform.


This error indicates that you have installed BitTorrent for the wrong version of Python, or perhaps that you have multiple conflicting versions of BitTorrent installed.

There was a problem with the RPM for BitTorrent 4.2.1 which caused this error. The RPM has now been fixed. If you experienced this problem with the RPM for BitTorrent 4.2.1, please re-download the RPM from the main page and reinstall it.

If you experienced this problem with a package other than the RPM for 4.2.1, Here's what to do:

1. Check to see if the latest version of BitTorrent, 4.2, is available through your operating systems official software archives. If it is, install that version. If it is not, contact your operating system vendor and ask them why BitTorrent is not yet available.
2. If BitTorrent is not available through official channels, you must install it yourself:
1. Uninstall *all* versions of BitTorrent using the software package management tools that came with your operating system.
2. Check the version of Python that you have installed by typing python -V in a shell.
3. Download the package for the latest version of BitTorrent that matches the version of Python that was printed in the previous step. Do not install the package for a different version of python other than the one printed in the previous step, that will not work. Seriously. We've tried it.
4. If BitTorrent is still broken, then follow the directions for building a RPM install, a .deb install, or a standard Python/unix install.


I don't have a paid membership to RedHat, so I can't go through any "official" channels to download BitTorrent, so I'm left with following step 2, installing it myself. I used the rpm -e command to remove the BitTorrent package that rpm -qa listed, and reinstalled as recommended by the above instructions from BitTorrent.com, but ended up with the same result. I then followed the instructions on building a RPM install, but came up with the following result:

[root@localhost BitTorrent-4.3.3]# rpm -i dist/BitTorrent-4.3.3-1.noarch.rpm
error: Failed dependencies:
/usr/local/bin/python is needed by BitTorrent-4.3.3-1.noarch

however, I do have /usr/local/bin/python, as described above, verified through Find files in KDE. Oh, by the way, the instructions for an RPM install according to BitTorrent.com is to download the source, cd into the directory, run the following two commands at the prompt:

python setup.py bdist_rpm
rpm -i dist/BitTorrent-4.0.0-1.noarch.rpm

I naturally assumed that the reference to the 0's in the version of the filename only related to the date the FAQ was first written and the version at that time, so I replaced them with 3's, the current source version.

I even opened up the text file included with this version of BitTorrent, INSTALL.unix.txt, and ran the command it recommended, python setup.py install, didn't get any errors, but then again when I try to run any of the following I get errors:
[root@localhost BitTorrent-4.3.3]# bittorrent -V
bash: /usr/bin/bittorrent: No such file or directory
[root@localhost BitTorrent-4.3.3]# bittorrent
bash: /usr/bin/bittorrent: No such file or directory
[root@localhost BitTorrent-4.3.3]# ./bittorrent
bash: ./bittorrent: No such file or directory


I do notice that the INSTALL.unix.txt file says that I need Python v. 2.2.1 (which I meet), GTK v. 2.2 or later, and pygtk v. 2.4 or later. I'm not sure what version of GTK or pygtk I have installed, but according to rpm -qa I have the following:
gtk+-1.2.10-33
gtk2-2.4.13-12
gtk2-devel-2.4.13-12
gtk2-engines-2.2.0-6
gtk-doc-1.2-2
gtk-engines-0.12-5
gtkhtml2-2.6.2-1
gtkhtml3-3.3.2-3
gtksourceview-1.1.0-4
gtkspell-2.0.7-2
pygtk2-2.4.0-1
pygtk2-devel-2.4.0-1
pygtk2-libglade-2.4.0-1
I'm not entirely sure what lines here I should be looking at to verify that I'm at the correct version level for GTK & pygtk, but the commands for rpm -U and rpm -F don't seem to work on any of these packages.

So as you can imagine I am now at a loss of any idea what I'm supposed to do at this point. Any help would be greatly appreciated - please hurry, I can feel any shred of sanity I once had swiftly slipping away.

Thanks!

Ray

PS> Oh by the way I am no longer getting the SMART error on my primary hard drive, and Linux seems to be booting up much quicker than it did before, I'd just like to get SuSe installed ASAP so I can carry on my Linux exploration with some reasonable hope for updating, security, and ease of use.
 
Old 12-21-2005, 02:43 AM   #7
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,605

Rep: Reputation: 53
Sorry to hear that M$ failed you and your MBR.

>>unexplainable sector errors on the disk
This is sometimes the case if the dvd is a +RW or -RW.
So maybe this is where you error is from. Unless the dvd is physically damaged.
Can your roomate do a copy for you on a dvd+r or dvd-r?

If you boot with a live distro (like knoppix), you should be able
to see your ZInblows data and back them up to a USB key for example.
Have you got anything you need to recover, datawise?

I suggest you try azureus if you want a bittorent client.
You only will need a java interpreter(?) which link to download
is on the azureus website. That will save you from all these dependencies problems.

>>I did though run the command python from the /home/ folder, so it should be in >>my PATH then, correct?
Yes. If you type
which python (or which any_name_script_or_executable)
it will tell you where the file is
 
Old 12-21-2005, 11:04 AM   #8
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 8,606
Blog Entries: 4

Rep: Reputation: 2997Reputation: 2997Reputation: 2997Reputation: 2997Reputation: 2997Reputation: 2997Reputation: 2997Reputation: 2997Reputation: 2997Reputation: 2997Reputation: 2997
Grub certainly can boot XP!

Your computer should be able to designate any hard-drive as the boot volume, and by selecting the Linux volume for booting -- not the Windows volume -- you should be able to go right in to either system. Windows prefers to be sitting on the primary drive of the first IDE chain, but Linux and Grub can sit anywhere.

Don't expect to get any real technical-support from M$. No offense, but they want to get you off the phone, because it would cost them more with five minutes of telephone time for your first "how do I do this" call (one of many, to be sure) than they make on the sale of the product. They want you to go to a reseller in-town.

Unfortunately, many Windows users are taught one knee-jerk response to a problem: "OMG! REINSTALL EVERYTHING!" (Mind you, I am not so crass as to be particularly pointing fingers at you...) While that response will "certainly work," after one way of thinking, it somewhat assumes that there is absolutely nothing of value on the machine besides the operating-system and the toys.
 
Old 12-21-2005, 03:56 PM   #9
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,605

Rep: Reputation: 53
why do tutorials tell people to not install grub on the MBR for XP

sundialsvcs can you please help me clarifying something (see end)

If I follow sundialsvcs correctly, he is saying you have not tried hard enough
reinstalling grub.
koyi gave you the commands to use. (I think we all assume you have a rescue mode on the red hat cds).
I suggested you boot grub from the small HD, and chainload XP that way

Quote:
I do not think grub can boot XP.
I said that. Hoops, tried the pinch of salt by using "think", but I am wrong then?
I stand corrected. Yes it can then, and sundialsvcs correction was welcome.
What I actually meant is that I was not sure grub could dual boot
XP and linux on the same HD, with grub being on the MBR.
You see I do not have XP, and reading people's difficulty,
and reading XP misbehaved when it come to booting if its loader was not on
the MBR, I was not too sure anymore.
I checked with an acquaintance who has a dual boot XP-mandriva on 1 HD,
but this is with lilo.

I have been actively looking for a dual-boot tutorial, with
resizing included, backup of the MBR included, when XP is there already,
that I could point newbies to (I have quite a few links to tutorials)

sundialsvcs, anybody else can you help to clear my head,
why do lots of tutorials insist that grub is not put on the MBR then?
(I mean case with only 1 HD). See example below
http://www.geocities.com/epark/linux...w2k-HOWTO.html
 
Old 12-21-2005, 08:38 PM   #10
Darkhack
Member
 
Registered: Mar 2005
Location: Kansas City
Distribution: Ubuntu 7.10
Posts: 47

Rep: Reputation: 15
Quote:
Originally Posted by Emmanuel_uk
Sorry to hear that M$ failed you and your MBR.
I'm sorry, but I am REALLY put off by this. This is nothing more than the purest of bias between Microsoft and Linux users. The guy tries to install GRUB and it breaks his MBR and somehow "M$ failed you and your MBR"????? Microsoft did NOT make GRUB. I'm just letting you know that since you are confused. If you already knew that then you really need to stop such bias statements. It's fine to hate MS (everyone does), but if your going to blame them for a fault of Linux/OSS you are going to have a lot of trouble maintaining a creditable source/opinion.
 
Old 12-21-2005, 09:29 PM   #11
trey85stang
Senior Member
 
Registered: Sep 2003
Posts: 1,091

Rep: Reputation: 41
can you post your grub configguration file?
 
Old 12-22-2005, 02:30 AM   #12
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,605

Rep: Reputation: 53
reorourke grub conf file is usually /boot/grub/menu.lst
consider as well
http://www.linuxquestions.org/linux/...ROUBLE_SHOOTER

Darkhack,
Quote:
I'm sorry, but I am REALLY put off by this
Have you got a constructive comment to make? to help

If you look in LQ rules
Quote:
Do not post if you do not have anything constructive to say in the post.
Well, my 2d contribution to this post will be to remainding Darkhack of this LQ rule.

I wrote this
Quote:
Sorry to hear that M$ failed you and your MBR
because of
Quote:
OK, so the fixmbr wouldn't work, couldn't get the Windows install disks to work correctly
Anyway, I am just helping the guy, and trying to be supportive by
empathising with his/her problem.

Quote:
your going to blame them for a fault of Linux/OSS you are going to have a lot of trouble maintaining a creditable source/opinion
Never done that. I am blaming fixmbr, or lack of clarity of this tool, or whatever form fixmbr comes like, nonwithstanding possible user error(s). Darkhack, did you read the whole thread?

I do not like flame war, so accept my appologies if you were
unhappy about my comments. If you think you have been a bit harsh and fast to post, I will accept your appologies as well.
Regards

Last edited by Emmanuel_uk; 12-23-2005 at 03:09 AM.
 
Old 12-24-2005, 03:13 AM   #13
reorourke
LQ Newbie
 
Registered: Dec 2005
Location: Pittsburgh, PA
Distribution: Red Hat Enterprise Linus WS v4.0 for i386
Posts: 5

Original Poster
Rep: Reputation: 0
OK, downloaded JRE as instructed for the installation of Azureus, only to find out that I already have JRE installed and operating correctly (I went and tested it on the official Java website, it showed 1.5.0_06 running successfully, which is a later version than the one included in the Azureus download/installation instructions). I also downloaded Azureus_2.3.0.6_linux.tar.bz2, ran the tar -xvjf command on it and didn't get any error messages. However, when I went into the new azureus folder and ran the ./azureus command, I received the following:

[root@localhost azureus]# ./azureus
Starting Azureus...
Java exec found in PATH. Verifying...
Suitable java version found [java = 1.4.2]
Configuring environment...
Loading Azureus:
java -Xms16m -Xmx128m -cp "/home/muadibe/Downloads/azureus/Azureus2.jar:/home/muadibe/Downloads/azureus/swt.jar" -Djava.library.path="/home/muadibe/Downloads/azureus" -Dazureus.install.path="/home/muadibe/Downloads/azureus" org.gudy.azureus2.ui.swt.Main ''
Warning: -Xms16m not understood. Ignoring.
Warning: -Xmx128m not understood. Ignoring.
java.nio.charset.UnsupportedCharsetException
at java.nio.charset.Charset.forName(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
at org.gudy.azureus2.core3.util.BEncoder.BEncoder() (Unknown Source)
at org.gudy.azureus2.core3.util.BEncoder.encode(java.util.Map) (Unknown Source)
at org.gudy.azureus2.core3.util.FileUtil.writeResilientFile(java.io.File, java.lang.String, java.util.Map) (Unknown Source)
at org.gudy.azureus2.core3.util.FileUtil.writeResilientFile(java.io.File, java.lang.String, java.util.Map, boolean) (Unknown Source)
at org.gudy.azureus2.core3.util.FileUtil.writeResilientConfigFile(java.lang.String, java.util.Map) (Unknown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationManager.save(java.lang.String) (Unknown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationManager.save() (Unknown Source)
at org.gudy.azureus2.core3.config.COConfigurationManager.save() (Unknown Source)
at org.gudy.azureus2.core3.util.AEDiagnostics.startup() (Unknown Source)
at org.gudy.azureus2.core3.util.AEDiagnostics.getLogger(java.lang.String) (Unknown Source)
at org.gudy.azureus2.core3.util.Debug.<clinit>() (Unknown Source)
at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0)
at _Jv_ResolvePoolEntry(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0)
at org.gudy.azureus2.core3.util.BEncoder.BEncoder() (Unknown Source)
at org.gudy.azureus2.core3.util.BEncoder.encode(java.util.Map) (Unknown Source)
at org.gudy.azureus2.core3.util.FileUtil.writeResilientFile(java.io.File, java.lang.String, java.util.Map) (Unknown Source)
at org.gudy.azureus2.core3.util.FileUtil.writeResilientFile(java.io.File, java.lang.String, java.util.Map, boolean) (Unknown Source)
at org.gudy.azureus2.core3.util.FileUtil.writeResilientConfigFile(java.lang.String, java.util.Map) (Unknown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationManager.save(java.lang.String) (Unknown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationManager.save() (Unknown Source)
at org.gudy.azureus2.core3.config.COConfigurationManager.save() (Unknown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationChecker.checkConfiguration() (Unknown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationManager.initialise() (Unknown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationManager.getInstance() (Unknown Source)
at org.gudy.azureus2.core3.config.COConfigurationManager.initialise() (Unknown Source)
at com.aelitis.azureus.core.impl.AzureusCoreImpl.AzureusCoreImpl() (Unknown Source)
DEBUG::Sat Dec 24 02:31:47 GMT-05:00 2005
java.nio.charset.UnsupportedCharsetException
at java.nio.charset.Charset.forName(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
at org.gudy.azureus2.core3.util.BEncoder.BEncoder() (Unknown Source)
at org.gudy.azureus2.core3.util.BEncoder.encode(java.util.Map) (Unknown Source)
at org.gudy.azureus2.core3.util.FileUtil.writeResilientFile(java.io.File, java.lang.String, java.util.Map) (Unknown Source)
at org.gudy.azureus2.core3.util.FileUtil.writeResilientFile(java.io.File, java.lang.String, java.util.Map, boolean) (Unknown Source)
at org.gudy.azureus2.core3.util.FileUtil.writeResilientConfigFile(java.lang.String, java.util.Map) (Unknown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationManager.save(java.lang.String) (Unknown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationManager.save() (Unknown Source)
at org.gudy.azureus2.core3.config.COConfigurationManager.save() (Unknown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationChecker.checkConfiguration() (Unknown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationManager.initialise() (Unknown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationManager.getInstance() (Unknown Source)
at org.gudy.azureus2.core3.config.COConfigurationManager.initialise() (Unknown Source)
at com.aelitis.azureus.core.impl.AzureusCoreImpl.AzureusCoreImpl() (Unknown Source)
at com.aelitis.azureus.core.impl.AzureusCoreImpl.create() (Unknown Source)
at com.aelitis.azureus.core.AzureusCoreFactory.create() (Unknown Source)
at org.gudy.azureus2.ui.swt.Main.Main(java.lang.String[]) (Unknown Source)
at org.gudy.azureus2.ui.swt.Main.main(java.lang.String[]) (Unknown Source)

Exception in thread "main" java.lang.NoClassDefFoundError: while resolving class: org.gudy.azureus2.core3.security.impl.SESecurityManagerImpl
at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0)
at _Jv_ResolvePoolEntry(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0)
at org.gudy.azureus2.core3.security.SESecurityManager.initialise() (Unknown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationChecker.setSystemProperties() (Unknown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationManager.initialise() (Unknown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationManager.getInstance() (Unknown Source)
at org.gudy.azureus2.core3.config.COConfigurationManager.initialise() (Unknown Source)
at com.aelitis.azureus.core.impl.AzureusCoreImpl.AzureusCoreImpl() (Unknown Source)
at com.aelitis.azureus.core.impl.AzureusCoreImpl.create() (Unknown Source)
at com.aelitis.azureus.core.AzureusCoreFactory.create() (Unknown Source)
at org.gudy.azureus2.ui.swt.Main.Main(java.lang.String[]) (Unknown Source)
at org.gudy.azureus2.ui.swt.Main.main(java.lang.String[]) (Unknown Source)
Caused by: java.lang.ClassNotFoundException: javax.net.ssl.KeyManagerFactory not found in [file:/home/muadibe/Downloads/azureus/Azureus2.jar, file:/home/muadibe/Downloads/azureus/swt.jar, file:/usr/share/java/libgcj-3.4.3.jar, file:./, core:/]
at java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
at gnu.gcj.runtime.VMClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.5.0.0)
at _Jv_FindClass(_Jv_Utf8Const, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader)(/usr/lib/libgcj.so.5.0.0)
at _Jv_BytecodeVerifier.type.compatible(_Jv_BytecodeVerifier.type&, _Jv_BytecodeVerifier) (/usr/lib/libgcj.so.5.0.0)
at _Jv_BytecodeVerifier.verify_instructions_0() (/usr/lib/libgcj.so.5.0.0)
at _Jv_VerifyMethod(_Jv_InterpMethod) (/usr/lib/libgcj.so.5.0.0)
at _Jv_PrepareClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
at _Jv_WaitForState(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0)
at java.lang.VMClassLoader.linkClass0(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
...12 more
Azureus TERMINATED.


I'm not even sure what I should use as a search string to find this error (& hopefully a solution) elsewhere. I did go on to the next instruction Azureus gave if you ran into errors with the previous instruction and ran the command

# java -cp swt.jar:swt-pi.jar:Azureus2.jar -Djava.library.path=./ org.gudy.azureus2.ui.swt.Main

and received the following response, not much more helpful than the first:

java.nio.charset.UnsupportedCharsetException
at java.nio.charset.Charset.forName(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
at org.gudy.azureus2.core3.util.BEncoder.BEncoder() (Unknown Source)
at org.gudy.azureus2.core3.util.BEncoder.encode(java.util.Map) (Unknown Source)
at org.gudy.azureus2.core3.util.FileUtil.writeResilientFile(java.io.File, java.lang.String, java.util.Map) (Unknown Source)
at org.gudy.azureus2.core3.util.FileUtil.writeResilientFile(java.io.File, java.lang.String, java.util.Map, boolean) (Unknown Source)
at org.gudy.azureus2.core3.util.FileUtil.writeResilientConfigFile(java.lang.String, java.util.Map) (Unknown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationManager.save(java.lang.String) (Unknown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationManager.save() (Unknown Source)
at org.gudy.azureus2.core3.config.COConfigurationManager.save() (Unknown Source)
at org.gudy.azureus2.core3.util.AEDiagnostics.startup() (Unknown Source)
at org.gudy.azureus2.core3.util.AEDiagnostics.getLogger(java.lang.String) (Unknown Source)
at org.gudy.azureus2.core3.util.Debug.<clinit>() (Unknown Source)
at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0)
at _Jv_ResolvePoolEntry(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0)
at org.gudy.azureus2.core3.util.BEncoder.BEncoder() (Unknown Source)
at org.gudy.azureus2.core3.util.BEncoder.encode(java.util.Map) (Unknown Source)
at org.gudy.azureus2.core3.util.FileUtil.writeResilientFile(java.io.File, java.lang.String, java.util.Map) (Unknown Source)
at org.gudy.azureus2.core3.util.FileUtil.writeResilientFile(java.io.File, java.lang.String, java.util.Map, boolean) (Unknown Source)
at org.gudy.azureus2.core3.util.FileUtil.writeResilientConfigFile(java.lang.String, java.util.Map) (Unknown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationManager.save(java.lang.String) (Unknown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationManager.save() (Unknown Source)
at org.gudy.azureus2.core3.config.COConfigurationManager.save() (Unknown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationChecker.checkConfiguration() (Unknown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationManager.initialise() (Unknown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationManager.getInstance() (Unknown Source)
at org.gudy.azureus2.core3.config.COConfigurationManager.initialise() (Unknown Source)
at com.aelitis.azureus.core.impl.AzureusCoreImpl.AzureusCoreImpl() (Unknown Source)
DEBUG::Sat Dec 24 02:33:47 GMT-05:00 2005
java.nio.charset.UnsupportedCharsetException
at java.nio.charset.Charset.forName(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
at org.gudy.azureus2.core3.util.BEncoder.BEncoder() (Unknown Source)
at org.gudy.azureus2.core3.util.BEncoder.encode(java.util.Map) (Unknown Source)
at org.gudy.azureus2.core3.util.FileUtil.writeResilientFile(java.io.File, java.lang.String, java.util.Map) (Unknown Source)
at org.gudy.azureus2.core3.util.FileUtil.writeResilientFile(java.io.File, java.lang.String, java.util.Map, boolean) (Unknown Source)
at org.gudy.azureus2.core3.util.FileUtil.writeResilientConfigFile(java.lang.String, java.util.Map) (Unknown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationManager.save(java.lang.String) (Unknown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationManager.save() (Unknown Source)
at org.gudy.azureus2.core3.config.COConfigurationManager.save() (Unknown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationChecker.checkConfiguration() (Unknown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationManager.initialise() (Unknown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationManager.getInstance() (Unknown Source)
at org.gudy.azureus2.core3.config.COConfigurationManager.initialise() (Unknown Source)
at com.aelitis.azureus.core.impl.AzureusCoreImpl.AzureusCoreImpl() (Unknown Source)
at com.aelitis.azureus.core.impl.AzureusCoreImpl.create() (Unknown Source)
at com.aelitis.azureus.core.AzureusCoreFactory.create() (Unknown Source)
at org.gudy.azureus2.ui.swt.Main.Main(java.lang.String[]) (Unknown Source)
at org.gudy.azureus2.ui.swt.Main.main(java.lang.String[]) (Unknown Source)

Exception in thread "main" java.lang.NoClassDefFoundError: while resolving class: org.gudy.azureus2.core3.security.impl.SESecurityManagerImpl
at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0)
at _Jv_ResolvePoolEntry(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0)
at org.gudy.azureus2.core3.security.SESecurityManager.initialise() (Unknown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationChecker.setSystemProperties() (Unknown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationManager.initialise() (Unknown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationManager.getInstance() (Unknown Source)
at org.gudy.azureus2.core3.config.COConfigurationManager.initialise() (Unknown Source)
at com.aelitis.azureus.core.impl.AzureusCoreImpl.AzureusCoreImpl() (Unknown Source)
at com.aelitis.azureus.core.impl.AzureusCoreImpl.create() (Unknown Source)
at com.aelitis.azureus.core.AzureusCoreFactory.create() (Unknown Source)
at org.gudy.azureus2.ui.swt.Main.Main(java.lang.String[]) (Unknown Source)
at org.gudy.azureus2.ui.swt.Main.main(java.lang.String[]) (Unknown Source)
Caused by: java.lang.ClassNotFoundException: javax.net.ssl.KeyManagerFactory not found in [file:swt.jar, file:swt-pi.jar, file:Azureus2.jar, file:/usr/share/java/libgcj-3.4.3.jar, file:./, core:/]
at java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
at gnu.gcj.runtime.VMClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.5.0.0)
at _Jv_FindClass(_Jv_Utf8Const, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader)(/usr/lib/libgcj.so.5.0.0)
at _Jv_BytecodeVerifier.type.compatible(_Jv_BytecodeVerifier.type&, _Jv_BytecodeVerifier) (/usr/lib/libgcj.so.5.0.0)
at _Jv_BytecodeVerifier.verify_instructions_0() (/usr/lib/libgcj.so.5.0.0)
at _Jv_VerifyMethod(_Jv_InterpMethod) (/usr/lib/libgcj.so.5.0.0)
at _Jv_PrepareClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
at _Jv_WaitForState(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0)
at java.lang.VMClassLoader.linkClass0(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
...12 more


I question whether I have java in my path and whether that is causing a problem, so I checked:

[root@localhost azureus]# echo $PATH
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/muadibe/bin

It doesn't appear that the Java folder is actually in the path, though the online test for jre was successful, and the beginning of the ./azureus response I received did in fact say that Java was found in the path (though I can't see it there?) Anyone have any ideas on how to complete a successful installation of Azureus, or looking up at my previous post, successfully completing the BitTorrent client install?

Much thanks for your help!

Ray
 
Old 12-24-2005, 03:21 AM   #14
reorourke
LQ Newbie
 
Registered: Dec 2005
Location: Pittsburgh, PA
Distribution: Red Hat Enterprise Linus WS v4.0 for i386
Posts: 5

Original Poster
Rep: Reputation: 0
By the way I got way too frustrated and overwrote my primary drive with Linux, in the hopes of being able to successfully install SuSe. In the /boot/ folder I'm not showing a /grub subfolder though. One nice thing to note is that the SMART error seems to have gone away. I'm trying to download and install a good client for downloading torrent files, as described in my posts above, in the hopes that I'll be able to download SuSe and get some disks out of it that don't have sector errors on them. The SuSe install disk that my friend used successfully but is giving me sector errors was unfortunately the only DVD disk that he had to burn to. The disk is a Memorex DVD+R 16x disk.

I know that I've lost important data I had stored under Windows XP, but it appeared lost to me anyway. Since neither I nor my roommate has been successful in installing and running Wine for running Windows programs (such as EverQuest) I might at some point need to reinstall Windows XP so I can run these other programs, I don't know. At the present time though it would be nice to get my system to have a workable Linux OS like SuSe. The reason I'm choosing SuSe, well at least one of the reasons anyway, is that it will allow me easier access to updating system apps since I do not have a paid membership to RedHat and therefore can't use their updating system. I've also been told that SuSe will dual boot with Windows much easier than RedHat.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
grub to mbr rekaye1005 Linux - General 1 10-18-2005 08:20 PM
GRUB MBR overwritten by WIN98 MBR TOuseef Linux - General 7 11-14-2004 05:25 PM
Lilo (mbr) won't load winXP (hdb1) jonaskoelker Linux - General 6 07-04-2004 07:13 AM
Lilo fails to load in MBR vishalwaghmare Linux - Newbie 2 12-16-2002 08:24 PM
Grub and MBR, need some help entm Linux - General 3 05-13-2002 04:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration