To set the hostname of a linux system run the following command in a terminal session Reboot system
Continue readingCategory: all
Ubuntu: Mount Windows-Share on startup
Install cifs-utils Create directory to use as mount point for the Windows share Mount Windows share manually using terminal If supported use Version 3.0. Otherwise use a supported version (For example: vers=2.0) Mount Windows share on startup using /etc/fstab Create file with credentials Set correct permissions so that no unauthorized
Continue readingrsyslog – create dynamic files
With the following configuration you can automatically let rsyslog create new files every day depending on $msg Create a new file under /etc/rsyslog.d/ by using nano or vi.For example: if then conventional configuration Restart service
Continue readingCheck Port used by System Process
Any service that uses the HTTP API in Windows will effectively be handled by the SYSTEM process, so you cannot just look up the process with netstat -ano and kill it. To view the webservices runing inside the SYSTEM process run the following command
Continue readingEventLog Application / Event-ID 1000 EXCEL.EXE mso20win32client.dll 0xc0000005
Log Name Application Event-ID 1000 Level Error Application EXCEL.EXE Message Faulting application name: EXCEL.EXE, Version: 16.0.4978.1000,Faulting module name: mso20win32client.dll, Version: 16.0.4954.1000,Exception code: 0xc0000005Fault offset: 0x0000f496Faulting application path: C:\Program Files (x86)\Microsoft Office\Office16\EXCEL.EXEFaulting module path: C:\Program Files (x86)\Common Files\Microsoft Shared\Office16\mso20win32client.dll Message (German) Name der fehlerhaften Anwendung: EXCEL.EXE, Version: 16.0.4978.1000, Name des fehlerhaften
Continue readingIncrease LVM Partition
First you need to check that there is free space available to use. To view the logical volumes use the following command Expand volume -L+20G –> extesion by 20GB-L+100%FREE –> use all free space Resize the file system For ext3/ext4-Partitions you can alternatively use Other useful commands
Continue readingKali Linux – Oracle VirtualBox VM – Panels flickering
Disable 3D Acceleration Click virtual machine –> go to Settings –> Display Uncheck “Enable 3D Acceleration”
Continue readingFind services running inside svchost.exe
Find services running inside svchost.exe via cmd.exe tasklist /svc | findstr “svchost.exe”
Continue readingMicrosoft-Windows-Hyper-V-VMMS/Admin, Event-ID 15268
Log Name Microsoft-Windows-Hyper-V-VMMS/Admin Source Hyper-V-VMMS Event-ID 15268 Level Error User SYSTEM Task Category None Message Failed to get the disk information. Check if an *.iso-File is mounted on a virtual dvd drive (with powershell) If so, unmount them and check if the error persists.
Continue readingELK-Stack (Elasticsearch Kibana Logstash) – Reporting Max size reached – expand
Add the following line to kibana.yml and restart the kibana-service The size must be set in bytes for example (1GB):
Continue reading