Fixing 500 OOPS: vsftpd: refusing to run with writable root inside chroot ()

The latest upgrade on Ubuntu 12.04 updates vsftpd to version 2.3.5 and they have made a change that requires the chroot directory to no longer be writable which produces this error when trying to connect. They have made an option called allow_writeable_chroot=YES in the latest build that had to be backported to use this functionality.
Continue reading “Fixing 500 OOPS: vsftpd: refusing to run with writable root inside chroot ()”

Install BackupExec 2012 Agent on Debian 3.0 Kernel

Props to this site for pointing me in the right direction.

Install the BackupExec Agent as you would normally (./installralus) and the installation will complete successfully however the service will fail to start afterwards.

Change into ralus directory
#cd /opt/VRTSralus/bin

Make a backup of libbesocket.so
#cp libbesocket.so libbesocket.so.orig

Install objdump
apt-get install binutils binutils-multiarch

Disassemble the binary to a file
#objdump -D libbesocket.so > libbesocket.asm
Continue reading “Install BackupExec 2012 Agent on Debian 3.0 Kernel”

Manually Restore a Clonezilla Image When Destination Partition is Smaller than the Original

Today I ran into some problems with a hard drive that failed in a machine and I needed to restore a Clonezilla image. Unfortunately, the destination partition happened to be smaller than the original image so I couldn’t use the wizard because it errored out claiming I needed to use the -C option. The only problem is that from within the wizard you don’t even have the option to use it. After some searching, I found a few sites that said to use partclone.restore -C -s – -o /dev/(path to partition) and that failed everytime but at least pointed me in the right direction. To make a long story short, here’s a lil’ somethin’ somethin’ that should accomplish our end goal. From the shell, do one of the following:
Continue reading “Manually Restore a Clonezilla Image When Destination Partition is Smaller than the Original”