20110922

building fuppes 660 on ubuntu 10.04


These instructions are originally from here but I made some minor modifications b/c it didn't work using the original instructions. I tried installing the fuppes660.getdeb.deb package but I didn't get video support with it.


add universe and multiverse to your sources.list
Install Dependencies:
aptitude install autoconf build-essential \
ffmpeg gettext libavformat-dev libexiv2-dev libfaad-dev \
libffmpegthumbnailer-dev libmad0-dev libmagickcore-dev libmagickwand-dev \
libmp3lame-dev libmp4v2-dev libmpcdec-dev libpcre3-dev libsimage-dev \
libsqlite3-dev libswscale-dev libtag1-dev libtool libtwolame-dev \
libxml2-dev subversion uuid-dev
Get the source code:
wget http://downloads.sourceforge.net/project/fuppes/fuppes/SVN-660/fuppes-0.660.tar.gz
tar xfv fuppes-0.660.tar.gz
cd fuppes-0.660
Confgure the source code:
autoreconf -vfi
./configure --prefix=/usr --enable-faad --enable-lame --enable-mad \
--enable-transcoder-ffmpeg --enable-twolame --disable-imagemagick --disable-ffmpegthumbnailer (this caused make error so I disabled it)
make
Install:
sudo make install

20110919

rsyslogd: could not open dynamic file ... - discarding message

ubuntu 10.04.3 LTS 

issue: 
error showing up in /var/log/syslog 
"could not open dynamic file ... - discarding message"

cause: 
/etc/rsyslog.conf parameter
     $PrivDropToUser syslog
     $PrivDropToGroup adm

fix: comment those two lines out and my syslog starting creating the files just fine. I didn't have to change the rsyslog permissions or anything else.


what's strange is the sources online said to do the complete opposite?!
https://bugs.launchpad.net/ubuntu/+source/rsyslog/+bug/484336
http://kb.monitorware.com/trouble-getting-dynamic-files-work-t10054.html
http://ilostmynotes.blogspot.com/2010/01/using-rsyslog-to-log-with-dynamic-file.html

20110908

evms_activate is not available - cryptsetup luks broken

ubuntu 11.04

I removed my encrypted swap from /etc/crypttab and /etc/fstab and next reboot caused a problem

evms_activate is not available



Here is what I did to fix it:


-boot of live cd into rescue mode
-vgscan
-vgchange -ay (activating my volume group)
-cryptsetup luksOpen /dev/mapper/vg-root   vg-root_crypt (unencrypting my lv root)
-mount /dev/mapper/vg-root_crypt   /mnt
-mount /dev/sda /mnt/boot (wherever the boot loader is)
-for i in /dev /dev/pts /proc /sys; do sudo mount $i /mnt$i; done
-chroot /mnt
-dpkg-reconfigure grub-pc
-dpkg-reconfigure linux-image-2.6.38-11-generic (whatever your latest is)
-update-grub
-grub-intall /dev/sda (wherever the boot loader is)


disclaimer: This is a scratchpad. I write without spell/grammar check without a care. Research before you run what I typed here.

20110902


Error: xxxx requires the cURL extension.

fix was
aptitude install php5-curl && /etc/init.d/apache2 restart