sábado, 16 de janeiro de 2016

Event log error 13: the data is invalid

Service Won’t start: Error 13: The data is invalid.


On Windows server 2012, sometimes a windows service behaves unexpectedly or after a reboot and does not starts giving an error:














I just renamed the HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Eventlog key to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Eventlog_old and the Event log service was started successfully.

I hope it helps someone ! Enjoy and leave a message if it helped.

quarta-feira, 13 de janeiro de 2016

Linux - basic commands

Working with files and directories

 

echo - display a line of text





hostname - show or set the system's host name









whoami - print effective userid









pwd - print name of current/working directory










mkdir - make directories

cd - Enter to the folder









rmdir - remove empty directories











head - output the first part of files










PS1 (Prompt String 1) - PS1 prompt which is a inbuilt shell variable








Bash History Commands






















How to shows your default shell









od - dump files in octal and other formats













tac - concatenate and print files in reverse












tail - output the last part of files

















wc - print newline, word, and byte counts for each file











mv - move (rename) files