Operating System - Tru64 Unix
1745819 Members
4231 Online
108722 Solutions
New Discussion юеВ

Re: need to delete and recreate cdsl link for binary.errlog

 
SOLVED
Go to solution
carolyn gamble
Occasional Contributor

need to delete and recreate cdsl link for binary.errlog

The link is wrong.
# ls -al binary.errlog
-rw-r--r-- 1 root system 33328 Nov 1 08:00 binary.errlog
#
it should point to
lrwxr-xr-x 1 root adm 43 Jan 16 2006 binary.errlog -> ../cluster/members/{memb}/adm/binary.errlog


What steps should be taken, to stop the binglod and remove and then recreate the link
3 REPLIES 3
Steven Schweda
Honored Contributor
Solution

Re: need to delete and recreate cdsl link for binary.errlog

So, you have a file where you expect a
symbolic link. Do you have a file where you
expect a file? If not, I'd try to "mv" the
existing file to the proper place, and then
create the desired link to it. Anyone who
has the file open may never notice the
change, and anyone else will see (and follow)
the new link.

If you have two files, you need to decide
whether to merge them or to delete one (or
both). After that, depending on what you
decided, you might need to whack the daemon,
in which case, "kill -HUP " is
popular.
Ivan Ferreira
Honored Contributor

Re: need to delete and recreate cdsl link for binary.errlog

Just run:

mkcdsl -a binary.errlog
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
carolyn gamble
Occasional Contributor

Re: need to delete and recreate cdsl link for binary.errlog

Thanks.