Operating System - Tru64 Unix
1753448 Members
5847 Online
108794 Solutions
New Discussion юеВ

How to recover or restructure the original binary.errlog file!?

 
SOLVED
Go to solution
klbblk
Advisor

How to recover or restructure the original binary.errlog file!?

OS: Tru64 5.1A+PK4
Utility: WEBES 4.4.1

How can I either recover or restructure this binary.errlog ( because I have missed to rm the original binary.errlog, and but I still have the acsii logfile that was output from that original binary.errlog via wsea utility before days)
9 REPLIES 9
AwadheshPandey
Honored Contributor

Re: How to recover or restructure the original binary.errlog file!?

attached file is best practics abt binary.errlog,

Regards,

Awadhesh
It's kind of fun to do the impossible
Michael Schulte zur Sur
Honored Contributor
Solution

Re: How to recover or restructure the original binary.errlog file!?

Hi,

I don't think you can restore your original binary errorlog because the ascii file will no have all the information and even if I doubt there exists a tool to bring that back to binary format.

greetings,

Michael
Johan Brusche
Honored Contributor

Re: How to recover or restructure the original binary.errlog file!?


To recreate a new, wel-initialised /var/adm/binary.errlog while binlogd is still running do:

kill -USR1 `cat /var/run/binlogd.pid`

If the binlog process is not running, do:

/sbin/init.d/binlog start

you CAN NOT re-import ASCII entries into the errlog file as binary entries, you can only do:

logger -b "I made a mistake and scrambled the errlog file"

Have fun,
____ Johan.

_JB_
klbblk
Advisor

Re: How to recover or restructure the original binary.errlog file!?

It's so regretful! It seems that there is no way to recover or restructure this original binary.errlog from the acsii logfile that was output via wsea utility before days)!

Anyway, thank you for the above help!
Michael Schulte zur Sur
Honored Contributor

Re: How to recover or restructure the original binary.errlog file!?

klbblk
Advisor

Re: How to recover or restructure the original binary.errlog file!?

To Michael:
?
I do not know what you want to mean!
Might you make a explanation for the link you gave me.
Michael Schulte zur Sur
Honored Contributor

Re: How to recover or restructure the original binary.errlog file!?

Sure,

most forumers who participate here are no HP employees. As an incentive for their time and work and also as a rating for the posted answers the author of a thread is kindly asked to assign points to the posts so that other readers can see how good a post helped the author. There are pull down menus near each post and there you can select the number of point you want to assign. At the bottom there is a submit points button. A guideline about how much is appropriate is shown each time you create a thread or post something as author.

greetings,

Michael
klbblk
Advisor

Re: How to recover or restructure the original binary.errlog file!?

OK! I see!!
klbblk
Advisor

Re: How to recover or restructure the original binary.errlog file!?

Closed! The orignial binary.errlog cannot be recovered!!