[NTLUG:Discuss] what is libdb.so.3 and what package....
Richard Geoffrion
richard at rain.lewisville.tx.us
Sat Jun 16 16:07:26 CDT 2001
is supposed to keep track of making sure that it exists, or that a symlink
of the same name points to the correct libdb?
The reason I ask is this.
I reformatted and started over with my Red Hat 6.2 install. I had made a
backup of the /lib directory so that when I updated GLIBC I would have
access to the old files in case I needed them. It seems I did, but I don't
know if I did the correct thing. Here is the log file I've kept of the
steps I've taken.
Constructive criticism please.
[log]
6-15-2001
Fresh server install
------
created file edit. (echo pico -w \$1 > /usr/bin/edit; chmod +x
/usr/bin/edit)
------
created move command ( ln -s /bin/mv /bin/move )
------
rename the standard FTP program ( mv /usr/bin/ftp /usr/bin/orgftp )
------
create script file /usr/bin/ftp (echo ncftp -u \$1 \$2 >> /usr/bin/ftp) and
made executable with ( chmod +x /usr/bin/ftp )
------
made copy command ( ln -s /bin/cp /bin/copy )
------
made log command ( echo tail -n 100 /var/log/messages > /sbin/log; chmod +x
/sbin/log )
------
edited /etc/initd.conf to rem out finger, ftp, telnet, shell, login,
talk, ntalk, finger and linuxconf
------
downloaded and compiled ttysnoop
applied the patches and edited the Makefile to look like this {
# Without shadow support
#CCOPTS = $(RPM_OPTS)
LIBS =
# For shadow support
CCOPTS = -O2 -DSHADOW_PWD
#LIBS = -lshadow
}
created the /var/spool/ttysnoop directory
edited the inittab file to activate ttysnoop with this line
( telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd -L
/sbin/ttysnoop )
------
updated to db3 by running command ( rpm -ivh db3-3.1.17-4.6x.i386.rpm )
rebuilt the RPM database with command ( rpm --rebuilddb )
--------
updated to RPM4 package with command 'rpm -Uvh rpm-4.0.2-6x.i386.rpm'
---------
backed up /lib to /libbk
updated to glibc-2.2.2 with ( rpm -Uvh glibc-2.2.2-10.i386.rpm --nodeps )
I had to manually clear the /usr/share/locale directory with ( rm -r -f
/usr/share/locale )
rebuilt the RPM database again as a test of GLIBC updates (
rpm --rebuilddb )
applied the glibc-common update ( rpm -Uvh glibc-common-2.2.2-10.i386.rpm )
rebuilt the RPM database again as a test of GLIBC updates (
rpm --rebuilddb )
--------
prepared to install kernel 2.2.19-6.2
(was forced to install mount-2.10r-0.6.x.i386.rpm and
nfs-utils-0.3.1-0.6.x.1.i386.rpm )
installed the supporting modules and the kernel update
rpm -Uvh mount-2.10r-0.6.x.i386.rpm
rpm -Uvh nfs-utils-0.3.1-0.6.x.1.i386.rpm
rpm -ivh kernel-2.2.19-6.2.1.i586.rpm
-----------
edited lilo.conf to load the new vmlinuz kernel
booted up and received libdb.so.3 error ( copied the libdb.so.3 from the
/libbk directory to /lib
rebooted
----------
[/log]
More information about the Discuss
mailing list