- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Creating Symbolic Link
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
Forums
Discussions
Discussions
Discussions
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
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
08-31-2005 02:25 AM
08-31-2005 02:25 AM
Does anyone know how to create a symbolic link for the binary.errlog? for happened is I have a server that keeps crashing but my binary.errlog file is not current.
Is this correct,
ln -s binary.errlog binary.errlog
thanks,
--Adam
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2005 02:56 AM
08-31-2005 02:56 AM
Solutionhmm... the command you post makes no sense.
It links a file to itself. That should error out with:
#ln -s x x
ln: x and x are identical.
Where do you want the link to come from/go to?
On my box binary.errlog =
/var/cluster/members/member0/adm/binary.errlog
And there is a softlink: /var/adm/binary.errlog
This points to the above file.
If you want a softling from your current directory to binary.errlog then you can use:
ln -s /var/cluster/members/member0/adm/binary.errlog .
But this does not seem too useful either.
Please try to explain more clearly what real problem you hope to solve, because I suspect that the sotling question is not the real problem.
fwiw,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2005 03:16 AM
08-31-2005 03:16 AM
Re: Creating Symbolic Link
If the binlog service is not started, no records will be recorded to the file.
Now, troubleshooting using symbolink link has no sense.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2005 04:50 AM
08-31-2005 04:50 AM
Re: Creating Symbolic Link
My server crashes about every other day or so. I opened a ticket with HP and they had me ftp the binary.errlog file to them. I have two locations where this file sits,
/var/adm/binary.errlog
/var/cluster/members/member0/adm/binary.errlog
Both locations do not have any current data. Also HP said in my /var/adm under the binary.errlog file I should have a symbolic link whick I do not.
So I was wondering how to create this symbolic for my binary.errlog file to capture data when my server crashes.
I hope this is a better explanation and sorry I'm new to Unix.
--Adam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2005 05:09 AM
08-31-2005 05:09 AM
Re: Creating Symbolic Link
The entry "/var/adm/binary.errlog" should be a symbolic link. If it is not, then I would issue:
#cd /var/adm
#ls -l binary.errlog ! Just to be sure
#ls -l /var/cluster/members/member0/adm/binary.errlog
#mv binary.errlog binary.errlog.old
#ln -s /var/cluster/members/member0/adm/binary.errlog .
Unfortunately I do not expect this to change the real problem, but at least it will be one less thing to worry about.
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2005 05:38 AM
08-31-2005 05:38 AM
Re: Creating Symbolic Link
--Adam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2005 05:38 AM
08-31-2005 05:38 AM
Re: Creating Symbolic Link
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2005 06:40 AM
08-31-2005 06:40 AM
Re: Creating Symbolic Link
Managing the Binary Error Log File
If it becomes necessary to clean up the binary error logs, use the pro-cedures described below.
The binary.errlog file is a symbolic link to:
../cluster/members/{memb}/adm/binary.errlog
This symbolic link is a CDSL (Context Dependent Symbolic Link) and must not
be deleted.
After saving any existing archived logs, use the following command to
archive the current log:
# kill -USR1 `cat /var/run/binlogd.pid`
The preceding command copies the current log file to the following loca-tion:
/usr/var/cluster/members/{memb}/adm/binlog.saved/binary.errlog.saved
A new version of the binary.errlog log file is then created.