FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hope someone can help me. I'm fairly new to Linux. I've had FC2 up and running for a few months while I played around with it. Then last night I ran the UP2DATE thing and now when I boot it freezes up with a blue screen right before it should be asking me for my username and password. Any ideas what I should do to resolve this?
I take it that's just a screenful of blue colour rather than a Microsoft Blue Screen (TM)? To bring about the latter you would have to install and subsequently mess up Windows or at least a Windows boot manager (NTLoader).
If my assumptions are correct, it freezes just before gdm has finished loading. To investigate further, you want to boot a Knoppix CD, mount your Fedora root (/) partition, and edit the line
in /etc/inittab :
id:5:initdefault:
to now read
id:3:initdefault
This will allow you to operate Fedora from the raw console, and you can do investigate further what the problem is from that point.
Thanks for your reply Samsara. It goes through the normal boot process and then right before I get the request for name and password it freezes. The screen is blue at this point and the mouse pointer is an hourglass. I've left it for a while to see if it would unstick but it did not.
I'm afraid I don't know what a Knoppix CD is. I've tried using the installation disks I burned to boot to linux rescue mode. I could not find the file you referred to to modify unfortunately, and I don't really know what I'd be looking for.
Any thoughts you have would be appreciated. I'm afraid my lack of linux knowledge may make this impossible.
Ok I finally found where the inittab file was hidden and modified it so now it goes to the terminal instead of going into the gui interface. I tried running gdm from there and again got a blue screen with an hourglass pointer. I hit control + some F keys and got out. I tried running gmdsetup and got an error message:
"gdmsetup: error while loading shared libraries: libxlm2.so.2: cannot open shared object file: no such file or directory"
Anyone have an idea what that means and if it's something I need to fix?
My last try. I downloaded an rpm file from rpmfind.net (libxml2-2.6.8-1.i386.rpm) and then tried what I thought would install it (rpm -i libxml2-2.6.8-1.i386.rpm). This gave me some "failed dependencies" errors. It looks like all of the files that are llisted as "needed" in the error report exist in the /lib folder though (I type whereis filename and it lists /lib/filename).
have you got the raw command promp?
if so then type "whereis libxml2.so.2" to see if it can find it.
if not then install libxml and then that error should go away.
if you cant find libxml2 with whereis, and since update wont work install it off the cdrom
as root (FC2 disk1):
mount /mnt/cdrom # you may not need to do this command if you use automount
rpm -ivh /mnt/cdrom/Fedora/RPMS/libxml2-2.6.8-1.i386.rpm
if it lists a slew of dependencies then try ... save the list cut and paste in into vi
rpm --nodeps -ivh /mnt/cdrom/Fedora/RPMS/libxml2-2.6.8-1.i386.rpm
then do
up2date --update
if it says its already installed try
rpm --replacepkg -ivh /mnt/cdrom/Fedora/RPMS/libxml2-2.6.8-1.i386.rpm
then do
up2date --update
if none of this helps and you still cant run up2date you are going to have to install the dependencies by hand
rpm --requires /mnt/cdrom/Fedora/RPMS/libxml2-2.6.8-1.i386.rpm <--- will
rpm -ivh /mnt/cdrom/Fedora/RPMS/ deps in the list
When I did a "whereis libxml2.so.2" I got nothing. When I tried to rpm the libxml2-2.6.8-1.i386.rpm file I got a list of dependances like this:
libc.so.6 is needed by libxml2-2.6.8-1
libc.so.6(GLIBC_2.0) is needed by libxml2-2.6.8-1
libc.so.6(GLIBC_2.1) is needed by libxml2-2.6.8-1
libc.so.6(GLIBC_2.1.3) is needed by libxml2-2.6.8-1
libc.so.6(GLIBC_2.2) is needed by libxml2-2.6.8-1
libc.so.6(GLIBC_2.3) is needed by libxml2-2.6.8-1
libm.so.6 is needed by libxml2-2.6.8-1
libm.so.6(GLIBC_2.0) is needed by libxml2-2.6.8-1
libpthread.so.0 is needed by libxml2-2.6.8-1
libpthread.so.0(GLIBC_2.0) is needed by libxml2-2.6.8-1
libpthread.so.0(GLIBC_2.2) is needed by libxml2-2.6.8-1
libpthread.so.0(GLIBC_2.3.2) is needed by libxml2-2.6.8-1
What are the values after the filenames for (example GLIB_2.0 after libc.so.6)?
Anyway, I did the --nodeps line and it installed but then I got another list of errors when I tried the up2date --update.
My question before I proceed is, why isn't it seeing the files it says are missing? When I do a whereis on them I get:
Logged in as root and did the "/etc/cron.daily/prelink" command. Then I tried the "rpm -ivh /mnt/cdrom/Fedora/RPMS/libxml2-2.6.8-1.i386.rpm" command and got the same failed dependencies errors I listed earlier I'm afraid.
Time to reinstall. Sorry. When you ran up2date it obviously didn't update properly and probably corrupted your os files. Good chance to goto Fedora core 3 I guess. Oh, I usually don't even touch up2date. It is unreliable. Just update through apt or yum. Good luck, hope you didn't lose much.
you could reinstall ... but anything/everything is fixable. the libraries are there but they arent being used
***forgot to put this in last post and my isp went down so i couldnt edit it and add it sorry about that***
try: this should list a whole bunch of libraries
ldconfig -p
if it does try: this should list 2 libraries
ldconfig -p | grep xml2
if either of these list nothing try: which listed nothing ... we just need to get your libraries setup properly
ldconfig
/etc/cron.daily/prelink
Hi Skog. As long as you have an idea what to try next I'm willing to keep trying. I appreciate your help.
I did "ldconfig -p" and had lots of libraries listed.
I did "ldconfig -p | grep xml2" and it listed "libxml2.so.2 (libc6) => /usr/lib/libxml2.so.2". Out of curiousity I did "whereis libxml2.so.2" and it returned "libxml2.so:".
Then I entered "ldconfig" then "/etc/cron.daily/prelink" then "up2date".
Messages received are:
Traceback (most recent call last):
File "/usr/sbin/up2date", lin 29, in ?
from up2date_client import up2date
File "/usr/share/rhn/up2date_client/up2date.py", line 36, in ?
import depSolver
File "/user/share/rhn/up2date_client/depSolver.py", line 4, in ?
import packageList
File "/usr/share/rhn/up2date_client/packageList.py", line 17, in ?
import up2dateComps
File "/usr/share/rhn/up2date_client/up2dateComps.py", line 7, in ?
from rhpl import comps
File "/usr/lib/python2.3/site-packages/rhpl/comps.py", line 5, in ?
import libxml2
File "/usr/lib/pythone2.3/site-packages/libxml2.py", line 1, in ?
import libxml2mod
ImportError: /usr/lib/python2.3/site-packages/libsml2mod.so: undefined symobol: xmlNewDocPI
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.