Centralised logging and monitoring server

Philosophical ramblings Why? Two reasons, network administration and security. From an administrative POV the server should be reliable, placed on a central point on the network, able to directly reach as many of the monitored items as possible so that the exact point of failure can be easily determined. It can’t do much monitoring if […]

Read More

Backup files on Google Drive using Google Apps Script

My ideea was to set up a script running on Google’s servers that would automatically get files from my site and back them up on Google Drive. I would have gotten a free off-site backup. Unsurprisingly, it’s not working due to limits imposed by Google, even though I did manage to cheat on the 10MB […]

Read More

Force fsck on the next reboot or boot sequence

Force fsck on boot using /forcefsck By creating /forcefsck file you will force the Linux system (or rc scripts) to perform a full file system check. Login as the root: $ su – Change directory to root (/) directory: # cd / Create a file called forcefsck: # touch /forcefsck Now reboot the system: # […]

Read More

Centos6.2 kernel panic on boot

it seems that boot system (and many other things) on centos6 changed a little bit. Since today when I want to move disks from one server to another it was enough to boot the centos system in rescue, chroot, update kernel (to rebuild initrd needed for software raid and other modules), reinstall grub on boot […]

Read More

How to Remove a Google Malware Warning

If your website becomes compromised by hackers, they may decide to upload malicious scripts to your site in an effort to infect visitors to your site with viruses or other malicious software. If this happens and Google indexes your site, they may detect these malicious scripts and assign a warning to your website that will […]

Read More

Linux force reboot and shutdown

Force Reboot : echo 1 > /proc/sys/kernel/sysrq echo b > /proc/sysrq-trigger   If you want to force shutdown machine try this: echo 1 > /proc/sys/kernel/sysrq echo o > /proc/sysrq-trigger

Read More