RC5 uuidgen error

27 views
Skip to first unread message

Moisés Robles Sanjuán

unread,
Nov 8, 2016, 3:36:45 PM11/8/16
to Alt-F
Hello there,
Today I´m having this error when accesing web control page.

uuidgen: '/usr/lib/libuuid.so.1' is not an ELF file uuidgen: can't load library '

I have RC5 on DNS-323. It seems some corruption in firmware partition. Fortunatelly I've got telnet available.
How can I fix it?
Thank you in advance

Moises

João Cardoso

unread,
Nov 9, 2016, 1:00:10 PM11/9/16
to Alt-F


On Tuesday, 8 November 2016 20:36:45 UTC, Moisés Robles Sanjuán wrote:
Hello there,
Today I´m having this error when accesing web control page.

uuidgen: '/usr/lib/libuuid.so.1' is not an ELF file uuidgen: can't load library '

What does 'ls -l /usr/lib/libuuid*' outputs? It should be

 [root@DNS-325]# l /usr/lib/libuuid*
lrwxrwxrwx    1 root     root            12 Oct  2 19:55 /usr/lib/libuuid.so -> libuuid.so.1
lrwxrwxrwx    1 root     root            14 Oct  2 19:55 /usr/lib/libuuid.so.1 -> libuuid.so.1.2
-rwxr-xr-x    1 root     root         14704 Oct 29 18:43 /usr/lib/libuuid.so.1.2


try running 'ldconfig' to fix it, showing as above.

Moisés Robles Sanjuán

unread,
Nov 9, 2016, 1:12:43 PM11/9/16
to Alt-F
These are the replies...

[root@CEM_SERVER]# ls -l /usr/lib/libuuid*
lrwxrwxrwx    1 root     root            12 Jun 25 09:24 /usr/lib/libuuid.so -> libuuid.so.1
lrwxrwxrwx    1 root     root            14 Jun 25 09:24 /usr/lib/libuuid.so.1 -> libuuid.so.1.2
-rwxr-xr-x    1 root     root             0 Nov  2 08:58 /usr/lib/libuuid.so.1.2

[root@CEM_SERVER]# ldconfig
ldconfig: can't read header from /usr/lib/libcom_err.so.2.1, skipping
ldconfig: can't read header from /usr/lib/libz.so.1.2.8, skipping
ldconfig: can't read header from /usr/lib/libblkid.so.1.0, skipping
ldconfig: can't read header from /usr/lib/libattr.so.1.1.0, skipping
ldconfig: can't read header from /usr/lib/libpopt.so.0.0.0, skipping
ldconfig: can't read header from /usr/lib/libss.so.2.0, skipping
ldconfig: can't read header from /usr/lib/libuuid.so.1.2, skipping
ldconfig: can't read header from /usr/lib/libe2p.so.2.3, skipping
ldconfig: can't read header from /usr/lib/libiconv.so.2.5.1, skipping
ldconfig: can't read header from /usr/lib/libacl.so.1.1.0, skipping
ldconfig: can't read header from /usr/lib/libssl.so.1.0.0, skipping
ldconfig: can't read header from /usr/lib/libfat.so, skipping
ldconfig: can't read header from /usr/lib/libipkg.so.0.0.0, skipping
ldconfig: can't read header from /usr/lib/libstdc++.so.6.0.10, skipping
ldconfig: can't read header from /usr/lib/libntfs-3g.so.83.0.0, skipping
ldconfig: can't read header from /usr/lib/libext2fs.so.2.4, skipping
ldconfig: can't read header from /usr/lib/libipkg.so, skipping
ldconfig: can't read header from /usr/lib/libipkg.so.0, skipping
ldconfig: can't read header from /usr/lib/libcharset.so.1.0.0, skipping
ldconfig: can't read header from /usr/lib/libcrypto.so.1.0.0, skipping
ldconfig: can't read header from /usr/lib/libsmbcommon.so, skipping
ldconfig: can't read header from /usr/lib/libattr.so.1, skipping
ldconfig: can't read header from /usr/lib/libacl.so.1, skipping
ldconfig: can't read header from /usr/lib/libblkid.so, skipping
ldconfig: can't read header from /usr/lib/libblkid.so.1, skipping
ldconfig: can't read header from /usr/lib/libcharset.so, skipping
ldconfig: can't read header from /usr/lib/libcharset.so.1, skipping
ldconfig: can't read header from /usr/lib/libcom_err.so, skipping
ldconfig: can't read header from /usr/lib/libcom_err.so.2, skipping
ldconfig: can't read header from /usr/lib/libcrypto.so, skipping
.......
No luck


________________

Moisés Robles Sanjuán

unread,
Nov 9, 2016, 1:14:26 PM11/9/16
to Alt-F
Seems that libuuid.so.1.2 is empty (0 size)
_____________

El martes, 8 de noviembre de 2016, 15:36:45 (UTC-5), Moisés Robles Sanjuán escribió:

Moisés Robles Sanjuán

unread,
Nov 9, 2016, 1:21:33 PM11/9/16
to Alt-F
I checked that several libraries are 0-sized. Probably when I uninstalled samba package, they got deleted....
How can I restore these libraries ?
Thank you.

_____________________


El martes, 8 de noviembre de 2016, 15:36:45 (UTC-5), Moisés Robles Sanjuán escribió:

João Cardoso

unread,
Nov 9, 2016, 2:30:16 PM11/9/16
to Alt-F


On Wednesday, 9 November 2016 18:21:33 UTC, Moisés Robles Sanjuán wrote:
I checked that several libraries are 0-sized.

That's a serious problem, that shouldn't happen in any way. There are several *essential* system  libraries missing.

I'm not sure wherer the system will boot in that circumstances. If it is a flash memory issue, it will probably not, but if it is due to some error on some the disk-installed/upgraded packages, then booting without any disk installed will solve that (but the error on disk has to be fixed before).

It's difficult to recommend a course of action without having a precise diagnostic, as the box might not even reboot.

What does the following command 'ls -lS /Alt-F/usr/lib/lib*' outputs? 
 
Probably when I uninstalled samba package,

How did you uninstall samba? Using the webUI? Using the command line 'ipkg' command? Removing files?
There are several samba packages, samba-small, which is on the base firmware on flash memory, can't be uninstalled, and on disk can be samba, samba-extra, samba-modules...

In any case, execute the following commands before rebooting and/or removing the disk:

aufs.sh -n # always do this before manipulating anything under the Alt-F folder
touch
/Alt-F/NOAUFS # prevents the Alt-F folder to become active on the next boot (on RC5)
aufs
.sh -r

Moisés Robles Sanjuán

unread,
Nov 9, 2016, 5:10:03 PM11/9/16
to Alt-F
Dear Joao,
these commands

aufs.sh -# always do this before manipulating anything under the Alt-F folder
touch 
/Alt-F/NOAUFS # prevents the Alt-F folder to become active on the next boot (on RC5)
aufs
.sh -r

worked perfectly. Now i have my system up and running again.
Thank you so much.

Moises


El martes, 8 de noviembre de 2016, 15:36:45 (UTC-5), Moisés Robles Sanjuán escribió:

Moisés Robles Sanjuán

unread,
Nov 10, 2016, 8:28:21 AM11/10/16
to Alt-F
After doing this, I´ve lost installed packages (such as ethtool) which I need to avoid network corruption...
How to -re-install ipkg and other packages?
Can I reflash firware again?

Thank you.
_____________________

El martes, 8 de noviembre de 2016, 15:36:45 (UTC-5), Moisés Robles Sanjuán escribió:

João Cardoso

unread,
Nov 10, 2016, 9:50:32 AM11/10/16
to Alt-F


On Thursday, 10 November 2016 13:28:21 UTC, Moisés Robles Sanjuán wrote:
After doing this, I´ve lost installed packages

Yes, of course, that was expected, disk-installable packages are installed on the Alt-F folder, and that was disabled.
The original issue occurred because some files under the Alt-F folder was "shadowing" the original ones copied at boot from flash to memory.
So, you can either fix the files in error (if you know how to do it) and reactivate the Alt-F folder, or reinstall the Alt-F packages. That is done under Packages->Alt-F.
 
(such as ethtool) which I need to avoid network corruption...
How to -re-install ipkg and other packages?
Can I reflash firware again?

That is useless, the data/files in error are on disk (the Alt-F folder that you must *not* directly manipulate without special care), not on flash memory, so reflashing will not help.
Reply all
Reply to author
Forward
0 new messages