We have configured 32-bit of rocks-4.3. We used to reboot the machine once a
month. When i rebooted the machine i got the error message
Red Hat nash version 4.2.1.10 starting
/sbin/init: error while loading shared libraries: libsepol.so.1: cannot open
shared object file: Input/output error
Kernel panic - not syncing: Attempted to kill init!
After that its not booting. Does anyone knows how to solve it.
- Velan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.sdsc.edu/pipermail/npaci-rocks-discussion/attachments/20080921/d67ac1c8/attachment.html
Hi,
Input/output error usually means that the filesystem needs a fsck or that
the disk has io errors. Can you boot with a live CD and see if you can mount
the disk? Can you run a fsck? Can you run check where libsepol.so.1 is and
run: "ldd /path/to/libsepol.so.1? Does that gives you the same i/o error?
HTH,
-- Diego.
ubuntu@ubuntu:~$ mkdir sda
ubuntu@ubuntu:~$ mkdir sda1
ubuntu@ubuntu:~$ mkdir sda2
ubuntu@ubuntu:~$ mkdir sda3
ubuntu@ubuntu:~$ mkdir sda4
ubuntu@ubuntu:~$ sudo mount /dev/sda sda
mount: /dev/sda already mounted or sda busy
ubuntu@ubuntu:~$ sudo mount /dev/sda1 sda1
ubuntu@ubuntu:~$ sudo mount /dev/sda2 sda2
ubuntu@ubuntu:~$ sudo mount /dev/sda3 sda3
/dev/sda3 looks like swapspace - not mounted
mount: you must specify the filesystem type
ubuntu@ubuntu:~$ sudo mount /dev/sda4 sda4
ubuntu@ubuntu:~$ ls sda1
bin etc initrd media opt sbin srv tmp
boot export lib misc proc selinux sys usr
dev home lost+found mnt root share tftpboot var
Now i checked whereis libsepol.so.1. I found it was in two places.
/lib/libsepol.so.1
sda1/lib/libsepol.so.1
Then i did
ubuntu@ubuntu:~$ ldd sda1/lib/libsepol.so.1
ldd: sda1/lib/libsepol.so.1: No such file or directory
ubuntu@ubuntu:~$ sudo fsck /dev/sda1
fsck 1.40.8 (13-Mar-2008)
e2fsck 1.40.8 (13-Mar-2008)
/dev/sda1 is mounted.
WARNING!!! Running e2fsck on a mounted filesystem may cause
SEVERE filesystem damage.
Do you really want to continue (y/n)? yes
/: recovering journal
/ contains a file system with errors, check forced.
Pass 1: Checking inodes, blocks, and sizes
Inode 899469 has illegal block(s). Clear<y>?
/: e2fsck canceled.
/: ********** WARNING: Filesystem still has errors **********
I cancelled it because its keep on asking for errors. I can you please
suggest me what to do.
- Velan
-------------- next part --------------
An HTML attachment was scrubbed...
> What does ldd /lib/libsepol.so.1 show?
Hi
It shows
ubuntu@ubuntu:~$ ldd /lib/libsepol.so.1
linux-gate.so.1 => (0xb7f27000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7d96000)
/lib/ld-linux.so.2 (0xb7f28000)
ubuntu@ubuntu:~$
- Velan
> 0921/864d45dc/attachment.html<https://lists.sdsc.edu/pipermail/npaci-rocks-discussion/attachments/20080921/864d45dc/attachment.html>
>
-------------- next part --------------
An HTML attachment was scrubbed...
ubuntu@ubuntu:~$ cp sda1/lib/libse
libselinux.so.1 libsepol.so.1
Then i tried to copy it
ubuntu@ubuntu:~$ cp sda1/lib/libsepol.so.1 .
cp: cannot stat `sda1/lib/libsepol.so.1': No such file or directory
Then i did ls
ubuntu@ubuntu:~$ ls sda1/lib/libse*
ls: cannot access sda1/lib/libselinux.so.1: No such file or directory
ls: cannot access sda1/lib/libsepol.so.1: No such file or directory
I not understand why its showing No such file or directory even i not
mention full name.
I have attached the screenprint of the desktop. It shows libsepol.so.1 is
available
- Velan
On Sun, Sep 21, 2008 at 7:25 AM, <Sreeram_...@dell.com> wrote:
> 0921/864d45dc/attachment.html<https://lists.sdsc.edu/pipermail/npaci-rocks-discussion/attachments/20080921/864d45dc/attachment.html>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.sdsc.edu/pipermail/npaci-rocks-discussion/attachments/20080921/e71ffd42/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot.png
Type: image/png
Size: 122319 bytes
Desc: not available
Url : https://lists.sdsc.edu/pipermail/npaci-rocks-discussion/attachments/20080921/e71ffd42/Screenshot.png
First of all, please make a fsck with the filesystem unmounted, and then
keep trying to make fsck heal it. Only then, with a clean filesystem, you can
check if libsepol.so.1 is really there or not (i.e. ls -l , ldd, etc)
I you still get No such file or directory, check the last lines of dmesg.
Maybe you can get some more info there like disk errors.
HTH,
-- Diego.
On Sunday 21 September 2008 04:06:22 Vadivelan Ranjith wrote:
[...]
I tried fsck -y -c. After that libsepol.so.1 is not found. Now what i need
to do.
- Velan
On Sun, Sep 21, 2008 at 9:31 PM, Diego M. Vadell <
dva...@linuxclusters.com.ar> wrote:
Install the same version of rocks in another machine (maybe a virtual
machine) and copy libsepol.so.1 to this one. And then try to boot.
Or you can install CentOS in another machine or VM and copy libsepol.so.1
from it. Or you can find in what rpm libsepol.so.1 is, extract libsepol.so.1
from it and copy it.
You will have to see if there is something else missing. Maybe something
else is missing besides libsepol.so.1 .
-- Diego.
[root@galaxy ~]# showq
showq: error while loading shared libraries: libtorque.so.0: cannot open
shared object file: No such file or directory
[root@galaxy ~]#
[root@galaxy ~]# qmgr
-bash: /opt/torque/bin/qmgr: Permission denied
[root@galaxy ~]#
So i think i need to rebuild the rolls. I dont know how to do it. Can you
please tell me the commands how to rebuild it.
- Velan
On Mon, Sep 22, 2008 at 7:54 PM, Diego M. Vadell <
dva...@linuxclusters.com.ar> wrote:
It looks like your filesystem is really damaged! Sorry, I've never rebuilt
the rolls. Wouldn't it be better to reinstall the frontend? ( backup all data
and extra programs, reinstall from scratch the same rocks version, restore
all data).
-- Diego.