On Friday 26 December 2014 23:33:33 I wrote:
> For some time now I've had syslog-ng writing /var/log/messages in a binary
> format:
> [...]
> Can I use the following method to restore the original text format of
> /var/log/messages?
> 
> 1.    Boot rescue system and mount main system
> 2.    # cd /mnt/main/var/log
> 3.    # mv messages messages.bin
> 4.    # strings messages.bin > messages
> 5.    # rm messages.bin
> 6.    Reboot.
> 
> I tried steps 1 - 4 and got a text file with very long lines, but I
> chickened out before rebooting.

Never mind. I did as I suggested and rebooted, and so far everything seems 
hunky-dory. Sorry for making a noise.

-- 
Rgds
Peter.


Reply via email to