Problem restoring libc.a (AIX 5.3)


 
Thread Tools Search this Thread
Operating Systems AIX Problem restoring libc.a (AIX 5.3)
# 1  
Old 08-06-2010
Problem restoring libc.a (AIX 5.3)

Hi,

The symbolic link from /usr/lib/libc.a to /usr/ccs/lib/libc.a was deleted by accident. So we are trying to restore it, but we have some problems.

After booting from CD, and access the rootvg volume group (without mounting the system), we tried to execute the next commands:
Code:
mount /dev/hd4 /mnt
mount /dev/hd2 /mnt/usr
cd /mnt
ln -s /usr/ccs/lib/libc.a /mnt/usr/lib/libc.a
cd /mnt/usr/sbin
./sync;./sync;./sync
cd / 
umount /dev/hd2
umount /dev/hd4
exit


But the we can't execute the step of creating the symbolic link because seems that the directory /usr/css/lib doesnt exists.
We have tried other options, like create a link to the file /mnt/usr/ccs/lib/libc.a or copy the file /mnt/usr/ccs/lib/libc.a to /mnt/usr/lib, but after enter all the commands and typing exit, the shell cant load the library and start to show errors.

Any idea of what we can do?
We are booting using the AIX 7 Beta DVD because we cant find right now the AIX 5.3 CD's.

Thanks in advance.
# 2  
Old 08-10-2010
Hi,




Bye

Last edited by john1212; 08-10-2010 at 04:27 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. HP-UX

hpux-itanium 64 bit problem for libC

i am trying to build on hpux-itanium 64 bit platform. my application needs to link to 64 bit version of the library libCsup.so This library is present in /usr/lib/hpux64/libCsup.so I am specifying the location of this library as linker flags LDFLAGS := -Wl,-N -Wl,+s... (0 Replies)
Discussion started by: skyineyes
0 Replies

2. Shell Programming and Scripting

Restoring problem on tape!

hi all , a messages appeared to me when i was checking my /var/adm/messages and the below code was in it Oct 6 13:15:21 medprod scsi: /pci@3,700000/SUNW,emlxs@0/fp@0,0/st@w21000024ff305234,7 (st1): Oct 6 13:15:21 medprod Restoring tape position at fileno=320,... (5 Replies)
Discussion started by: semaan
5 Replies

3. Linux

Deploying Qt on CentOS - libc.so.6 update problem

I am developing a simple client-server (TCP) application using QT. The server side is to run on CentOS. I am developing both the server and client programs using Ubuntu. I am now attempting to deploy an experimental version of the server application on the CentOS server, but I am not yet... (2 Replies)
Discussion started by: David Brown
2 Replies

4. Solaris

problem in restoring mountpoint in Solaris

Hi, I am restoring the existing mount point on Solaris and getting below mentioned error mount: /dev/dsk/c0t2d0s6 is already mounted or /billing is busy I uses truss command to see the output and snapshot is below. Please help me to restore the mount point, # truss -fa mount -F... (3 Replies)
Discussion started by: helplineinc
3 Replies

5. UNIX for Advanced & Expert Users

Problem by restoring data from alphaserver 4100 to alphaserver 20DSe

Hi guys. I am in this forum and I have some troubles with my two alphas. I nned to create backup machine for our server DEC 4100. what is done created root_domain, usr_domain (ADVFS) on DS20e restored from backup tape vdump from same directories if i try to start, i get the following : ... (0 Replies)
Discussion started by: gaendalf
0 Replies

6. Solaris

Problem restoring files from remote tape drive

Server 1 - Sun Solaris 5.8 sparc SUNW,Sun-Fire-480R with attached DLT tape drive /dev/rmt/0n Server 2 - Old DG-UX box which has restore command on it compatible with the files on the backyup tape - backed up with dump2 Server 3 - Sun solaris 5.9 sparc SUNW,Sun-Fire-V490 with lots of free space... (4 Replies)
Discussion started by: lindab
4 Replies

7. Programming

path for libc.a

how can i determine the path for libc.a? i wonder where it is located in my unix machine (1 Reply)
Discussion started by: gfhgfnhhn
1 Replies

8. Linux

Problem for restoring lvm on different disks

Hi all, I have a server running in RH ES4, the SCSI HD are running in RAID 1. I backup the LVM config by using 'vgcfgbackup' and then remove all the HD. I insert another HD (same size & branch but different model) into the machine and run linux rescue to recreate the... (0 Replies)
Discussion started by: donaldfung
0 Replies

9. UNIX for Dummies Questions & Answers

Blocksize problem restoring file from tape

I was recently given the responsibility of the unix box at our work. Without much training, I now have to go back and restore a file from tape. I'm having some trouble with it. I'm getting an error with the blocksize. The part of the script that does the tar looks like this: tar cvfX... (11 Replies)
Discussion started by: citrowske
11 Replies

10. AIX

Problems restoring from tape in AIX

I am trying to restore some files from a DLT drive in AIX 4.3 but I am having a few problems. Basically when I try to run the restore command I get the following error: Cannot read from the specified input. Please enter the device name when ready I am the following command for the restore ... (0 Replies)
Discussion started by: The Hunter
0 Replies
Login or Register to Ask a Question