wrongly linked my new file ..


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers wrongly linked my new file ..
# 1  
Old 06-02-2008
wrongly linked my new file ..

Hi All,

I was trying to point /unix-> new unix kernel ( unix_64_A ).. but instead by mistakenly i did the other way ..my new unix ( unix_64_A -> /unix ) ?? ..
unfortunately i have only one copy of unix_64_A ..is there any way to solve this problem ..please help me asap .

Thanks
Vamshi.
# 2  
Old 06-02-2008
I don't know that type of Unix, but better do not reboot if that machine is critical until you get a good copy. Not sure what this type of Unix offers for recovery. Don't you have a system backup?
# 3  
Old 06-02-2008
it is on AIX .. I have only one new copy of the kernel ..which i intended to put on my system ( /unix -> /unix_64_A) ..but did wrong way ( /unix_64_A -> /unix ) ..I have used ln -sf command to link .. any way ?
# 4  
Old 06-02-2008
Ah AIX. Usually you don't bring a new kernel manually on a box. They come with packages you install ie. ML updates and such.

/unix is the link pointing on the real kernel file.

To set the link the correct way, type this:
Code:
ln -s /unix_64_A /unix

1st value is what you have, second is the name of the link to be created.

Just checked on an AIX 5.2 box; the kernels are usually placed under
Code:
/usr/lib/boot

Again - if your kernel images is destroyed, you might have to get it from your actual mksysb (System Backup) or maybe some other file backup you are using, or from another box with same AIX Version and ML, or as last chance from the latest ML CD's, ie. dig into the packages on it.
# 5  
Old 06-02-2008
Thanks for your reply .
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Remove linked file

hi linux expert how to remove linked files with csh command? Many thanks samad (8 Replies)
Discussion started by: abdossamad2003
8 Replies

2. Shell Programming and Scripting

REGEXPRESSION Getting wrongly

Hello Experts, My requirement is to read a file which contains regular expression and use that expression in my find command.I will not use all the regular expression which is there inside the file, Based on certain condition I will use it for that day. I used below regular expression inside a... (6 Replies)
Discussion started by: gvkumar25
6 Replies

3. UNIX for Beginners Questions & Answers

How to make a dynamically linked executable file?

So I have a file called queens.cc and I need to do the following: Compile and make a .o file while specifying that the compiler is to search /student/214/include for system include files. Use g++, link and load .o file to make a dynamically linked executable file called queens and to also... (1 Reply)
Discussion started by: steezuschrist96
1 Replies

4. Post Here to Contact Site Administrators and Moderators

Please delete my post which was posted wrongly

Hi Moderator, Please delete the below post which i posted by mistake.Thanks in advance. https://www.unix.com/shell-programming-and-scripting/260605-closed-script-not-working-new-post.html Kindly help me on this. Thanks, vijay (1 Reply)
Discussion started by: bhas85
1 Replies

5. Shell Programming and Scripting

awk seems to be wrongly placed?

Dear all, I have small script ( which after introducing few changes) is not working as desired way . The content of the output file from this script is following ----------- 1492033600... (0 Replies)
Discussion started by: emily
0 Replies

6. Red Hat

Putty recognise keystroke wrongly!

Putty: release 0.58 Operating system: Linux, release 2.6.36-rc7 Problem: I use Putty to connet to server, initially everthing looks fine but after I browse some files, my keyboard acts funny, like if I keyin "cd", I got "je" on the screen. :wall: This only happens on some existing files but... (4 Replies)
Discussion started by: linwufei125
4 Replies

7. Linux

reg-linked file

How to check this linked path, and the folder what is contains.. as i am new to linux, pls assist me lrwxrwxrwx 1 root root 10 Jun 24 2008 mail -> spool/mail/ Thanks in advance, (1 Reply)
Discussion started by: kurva
1 Replies

8. UNIX for Dummies Questions & Answers

is there any way to see what and who is linked to file?

Hello like the topic says... thanks (2 Replies)
Discussion started by: umen
2 Replies

9. UNIX for Advanced & Expert Users

dynamically linked file

Hi friends, i have a dynamically linked file on my solaris system.this is script that runs regularly. How can i read the contents of that ? when i tried to say "vi filename " then it says executable and nothing is seen. Please help. thanks in advance Veera (5 Replies)
Discussion started by: sveera
5 Replies

10. Shell Programming and Scripting

dynamically linked file

Hi friends , how do i view a dynamically linked file in unix ? its there on other system and do i have to ftp it in ASCII format or binary ? and after the ftp how do i view it ? thanks in advance veeras (1 Reply)
Discussion started by: sveera
1 Replies
Login or Register to Ask a Question