- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: linking 2 symbolick links to one
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-29-2006 02:41 AM
тАО12-29-2006 02:41 AM
linking 2 symbolick links to one
Care Manager 4>ln -s /opt/perl/bin/perl /usr/local/bin/perl
ln: perl exists
Care Manager 5>ls -l /opt/perl/bin/perl
lrwxr-xr-x 1 root sys 13 Dec 22 10:17 /opt/perl/bin/perl ->
./perl-static
Care Manager 10>ls -l /usr/local/bin/perl
-rwxr-xr-x 1 root sys 856089 Jul 21 1998 /usr/local/bin/perl
Care Manager 14>ls -l /opt/perl_32/bin/perl5.8.8
lrwxr-xr-x 1 root sys 13 Dec 22 10:17 perl5.8.8 -> ./perl-st
atic
have to link /opt/perl/bin/perl to /usr/local/bin/perl and /opt/perl/bin/perl is already linked to
/opt/perl/bin/perl ->
./perl-static
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-29-2006 02:52 AM
тАО12-29-2006 02:52 AM
Re: linking 2 symbolick links to one
Yes, more than one link can exist to a file.
However, your problem is that the Perl in '/usr/local/bin/perl' is an old version. Perl 5.8.8 was was not available in 1998!
Do:
# /usr/local/bin/perl -v
...to see the version of that file. If you remove it (assuming that you don't need it) then you should be able to perform the link you want.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-29-2006 02:52 AM
тАО12-29-2006 02:52 AM
Re: linking 2 symbolick links to one
rm /usr/local/bin/perl
ln -s /opt/perl/bin/perl /usr/local/bin/perl
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-29-2006 03:04 AM
тАО12-29-2006 03:04 AM
Re: linking 2 symbolick links to one
You can try this,
As per the scenario you have already one link to perl-static
"
/opt/perl/bin/perl
lrwxr-xr-x 1 root sys 13 Dec 22 10:17 /opt/perl/bin/perl ->
./perl-static
"
remove the perl-static link and create it (/opt/perl/bin/perl) ) to /usr/local/bin/perl , hope it will work.
(Btw, what is the main objective. )
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-29-2006 03:11 AM
тАО12-29-2006 03:11 AM
Re: linking 2 symbolick links to one
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-29-2006 03:22 AM
тАО12-29-2006 03:22 AM
Re: linking 2 symbolick links to one
Care Manager 11>ps -ef | grep 8443
ccuser 8443 8414 0 Dec 25 ? 2:07 rptArchive ./rptArchive 8414 liv
e NA
ccuser 2998 8443 1 11:16:47 ? 0:00 sqlplus -s ccuser/bueno1
root 2993 2665 1 11:16:47 pts/t0 0:00 grep 8443
Should i kill the 8443 and then try it again.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-29-2006 03:36 AM
тАО12-29-2006 03:36 AM
Re: linking 2 symbolick links to one
You need to check the process and if not needed you can kill. And What is rptArchive process that is running now. Also Check its parent process and hope fully you can find it out.
you can check the parent process with,
# ps -ef | grep 8414
cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-29-2006 03:51 AM
тАО12-29-2006 03:51 AM