Author |
Message
|
mreddington |
Posted: Tue Nov 28, 2006 7:33 am Post subject: Symbolic link |
|
|
Voyager
Joined: 14 Aug 2006 Posts: 78
|
Hi all,
What does it mean to create a symbolic link to /usr/bin/true
I am trying to install CSD12 on MQ manager 5.3 and i am getting an error saying that Failed to clean System V IPC resources. In order to solve this error, i have to go through some steps as advised by IBM. The IBM site says that i must create a symbolic link to /usr/bin/true and then rename amqiclen. I don't understand what it means by symbolic link or how to create it. Please advise.
Thank you all... |
|
Back to top |
|
 |
Gaya3 |
Posted: Tue Nov 28, 2006 7:37 am Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
Hi
yes, it happens sometimes
Step 1: copy the amqiclen , use cp -p option
Step 2: ln -s /usr/bin/true /opt/mqm/bin/amqiclen
Step 3: Start installing
after the installation it will automatically go off.
This will help you
Thanks and Regards
Gaythri _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
mreddington |
Posted: Tue Nov 28, 2006 7:39 am Post subject: Thank you |
|
|
Voyager
Joined: 14 Aug 2006 Posts: 78
|
Thank you Gayatri for your reply. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Nov 28, 2006 7:40 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Simplistically:
A symlink is a UNIX construct - a fake directory that points to another location. Like a Windows shortcut but far more sophisticated & useful. Created with the ln command. Many possible options.
Less simplistically:
Ask your UNIX admin to explain it, with diagrams. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mreddington |
Posted: Tue Nov 28, 2006 7:45 am Post subject: Still getting this error |
|
|
Voyager
Joined: 14 Aug 2006 Posts: 78
|
I get the following error when i try to create a symbolic link. Please see below:
$ ln -s /usr/bin/true /opt/mqm/bin/amqiclen
ln: cannot create /opt/mqm/bin/amqiclen: File exists
Why is it so? Am i missing something here...
I actually copied the amqiclen from /opt/mqm/bin directory using cp -p command and saved it in /var/mqm (i guess i can copy it anywhere, am i correct?)
then i tried to run the above command and i receive this error...
please advise
thanks |
|
Back to top |
|
 |
Gaya3 |
Posted: Tue Nov 28, 2006 7:49 am Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
Hey
Sorry one option i forgot to add
amqiclen file has to be removed before converting it to a link to /usr/bin/true
Please do the above one and let us know the status
Thanks and Regards
Gayathri _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
Vitor |
Posted: Tue Nov 28, 2006 7:54 am Post subject: Re: Still getting this error |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mreddington wrote: |
(i guess i can copy it anywhere, am i correct?)
|
You just need it somewhere safe in case the installer doesn't put it back for some bizarre reason and you need to copy it back yourself. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
bruce2359 |
Posted: Fri Dec 01, 2006 7:43 am Post subject: |
|
|
Guest
|
Actually, a symbolic link is a file that contains the real path to a file. Think of it as an alias to the real path to a file. |
|
Back to top |
|
 |
|