Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
My SuSE 10.1 won't boot. The error message states:
Starting powersaved: /usr/sbin/powersaved: error while loading shared libraries: libgobject-2.0.so.0: cannot open shared object file: No such file or directory
startproc: exit status of parent of /usr/sbin/powersaved: 127
Starting CRON daemon
Starting service kdm
Starting service kdm
Starting cupsd
Starting Firewall Initialization (phase 2 of 2) SuSEFirewall2: Warning: ip6tables does not support state matching. Extended IPv6 support disabled.
Master Resource Control: runlevel 5 has been reached
Failed services in runlevel 5: network powersaved
Skipped services in runlevel 5: nfs microcode smbfs
Welcome to SUSE LINUX 10.1 (X86-64) - Kernel 2.6.16.13-4-default (tty1)
Welcome to SUSE LINUX 10.1 (X86-64) - Kernel 2.6.16.13-4-default (tty1)
linux-gyji login:
From the messages you have posted here, it looks like the system has booted (in text mode, e.g. runlevel 3). From here you can login as root and try to solve the problem. It seems the powersaved service does not find a shared library anymore. libgobject-2.0.so.0 is provided by glib2 package, so you can start by verifying the package itself.
Another option is to edit the command line at the grub prompt and append
Sorry, it is not correct to call it the Grub prompt, my mistake! If you have not changed the default Linux boot loader during the installation of OpenSUSE, probably you have GRUB installed. In the screen which let you choose the OS to boot when the machine is powered on, you can see something like Boot Options followed by a cursor. Here you can enter any option to pass to the boot command before starting the boot process itself. If you type here the line I have posted above, the boot process will skip the powersaved service.
Isn't there a way to fix this with the disk? What happens if I use the Installation option---will it overwrite everything?
If you have a separate /home partition (or /usr/local or any other data partition you have created) you can re-install without formatting them, so you will keep all the data untouched. Of course a good backup of the most important data is mandatory!
But before this ultimate solution, look at /etc/ld.so.conf (as root). This file stores the non-conventional locations of object libraries and libgobject-2.0.so.0 is installed under /opt/gnome/lib on SuSE. Could it have been modified by some of the last installations?
I figured it out! It was kind of obvious. I totally overlooked the libaio package that I'd installed before the last boot. For some reason, that was the problem. I simply uninstalled it, and everything worked. I'd installed/uninstalled many rpms while trying to get an app to work, and I guess I didn't notice that one. I'm very new at this, but I'm determined to get better. Thanks very much for your help.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.