<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
><channel><title>rvdavid: A Web Developer&#039;s Blog &#187; Linux</title> <atom:link href="http://www.rvdavid.net/category/linux/feed/" rel="self" type="application/rss+xml" /><link>http://www.rvdavid.net</link> <description>A periodical blog of experiences from the angle of an autodidactic, paranoid and narcissistic web developer...</description> <lastBuildDate>Wed, 01 Sep 2010 12:47:15 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0.1</generator><meta
xmlns="http://www.w3.org/1999/xhtml" name="robots" content="noindex,follow" /> <item><title>Fixing Gnome keyring / Login Keyring: &#8220;Enter Password to Unlock&#8221; issue</title><link>http://www.rvdavid.net/fixing-gnome-keyring-login-keyring-enter-password-to-unlock-issue/</link> <comments>http://www.rvdavid.net/fixing-gnome-keyring-login-keyring-enter-password-to-unlock-issue/#comments</comments> <pubDate>Wed, 01 Sep 2010 12:42:36 +0000</pubDate> <dc:creator>rvdavid</dc:creator> <category><![CDATA[Ubuntu]]></category><guid
isPermaLink="false">http://www.rvdavid.net/?p=416</guid> <description><![CDATA[Hi everyone, this is just a quick how-to on handling the Ubuntu Maverick/Gnome Login Keyring issue which occurs when you change your user password. The issue: You&#8217;ve decided to change your password for whatever reason and suddenly you&#8217;re presented with the following message whenever you launch an application you have instructed to &#8220;remember&#8221; your password. [...]]]></description> <content:encoded><![CDATA[<div
class="adsense adsense-leadin" style="float:right;margin: 12px;"><script type="text/javascript">google_ad_client = "pub-3968550303568935";
/* 250x250, created 07/06/10 */
google_ad_slot = "3782770990";
google_ad_width = 250;
google_ad_height = 250;</script> <script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div><p>Hi everyone, this is just a quick how-to on handling the Ubuntu Maverick/Gnome Login Keyring issue which occurs when you change your user password.</p><p>The issue: You&#8217;ve decided to change your password for whatever reason and suddenly you&#8217;re presented with the following message whenever you launch an application you have instructed to &#8220;remember&#8221; your password.</p><p><strong>Enter password to unlock your login keyring</strong><br
/> The password you use to log in to your computer no longer matches that of your login keyring.</p><p><strong>This is how you fix it: </strong><br
/> <span
id="more-416"></span></p><p>Step 1: Go to <strong>System</strong> &gt;&gt; <strong>Preferences</strong> &gt;&gt; <strong>Passwords and Encryption Keys</strong>.<br
/> Step 2: If not already open, click on the &#8220;<strong>Passwords</strong>&#8221; tab.<br
/> Step 3: Right click on: &#8220;<strong>Passwords: Login</strong>&#8220;.<br
/> Step 4: From the context menu select: &#8220;<strong>Change Password</strong>&#8220;.<br
/> Step 5: Enter the Current password in the &#8220;<strong>Old Password</strong>&#8221; field.<br
/> Step 6: Enter the password you would like to change it to in the &#8220;<strong>Password</strong>&#8221; field.<br
/> Step 7: Enter the password you would like to change to again in the &#8220;<strong>Confirm</strong>&#8221; field.<br
/> Step 8: Click &#8220;<strong>OK</strong>&#8220;.</p><p>After this, relaunch the application which uses Gnome Keyring, you may have to re-enter your password, but after that, Gnome Keyring should remember your password for each subsequent launch.</p> ]]></content:encoded> <wfw:commentRss>http://www.rvdavid.net/fixing-gnome-keyring-login-keyring-enter-password-to-unlock-issue/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Setting TTY / Virtual Consoles resolution with Grub 2 in Ubuntu Lucid Lynx</title><link>http://www.rvdavid.net/setting-tty-virtual-consoles-resolution-with-grub-2-in-ubuntu-lucid-lynx/</link> <comments>http://www.rvdavid.net/setting-tty-virtual-consoles-resolution-with-grub-2-in-ubuntu-lucid-lynx/#comments</comments> <pubDate>Tue, 22 Jun 2010 23:45:58 +0000</pubDate> <dc:creator>rvdavid</dc:creator> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[grub2]]></category> <category><![CDATA[Linux]]></category><guid
isPermaLink="false">http://www.rvdavid.net/?p=411</guid> <description><![CDATA[I&#8217;ve been using Ubuntu for a while now and something that bugged me a lot was the crappy screen resolution whenever I had to go and use my virtual terminals (TTY). In previous versions of ubuntu which used grub 1, setting up the resolution for tty was done by simply using the vga=??? boot option. [...]]]></description> <content:encoded><![CDATA[<p>I&#8217;ve been using Ubuntu for a while now and something that bugged me a lot was the crappy screen resolution whenever I had to go and use my virtual terminals (TTY).</p><p>In previous versions of ubuntu which used grub 1, setting up the resolution for tty was done by simply using the vga=??? boot option. In grub 2 however, this is not so easy.</p><p>I remember when it first came out. I was somewhat exasperated by the fact that I had _just_ become comfortable f*cking with grub&#8217;s menu.lst and now I had to learn how to use grub 2 &#8211; which had some new convention for editing menu items let alone setting up the resolution.</p><p>Anyway, there&#8217;s really nothing to it. I had to do a lot of digging around and some experimentation, but in the end, as with all things linux it was &#8220;easy&#8221; when I finally found out how.<span
id="more-411"></span></p><p><strong>Step 1:</strong> Open up your the grub header file stored in /etc/grub.d/00_header<br
/> <code><br
/> $ sudo vim /etc/grub.d/00_header<br
/> </code></p><p><strong>Step 2:</strong> Add a command inside the block of string with script that sets the gfxmode. Acceptable Set the gfxpayload parameter to the resolution you want to use for your virtual terminals / TTY.</p><p>SO for me, lines 101 &#8211; 113 of the 00_header file in /etc/grub.d looks like this<br
/> <code><br
/> 101     cat &lt;&lt; EOF<br
/> 102 if loadfont `make_system_path_relative_to_its_root ${GRUB_FONT_PATH}` ; then<br
/> 103   set gfxmode=${GRUB_GFXMODE}<br
/> 104   insmod gfxterm<br
/> 105   insmod ${GRUB_VIDEO_BACKEND}<br
/> 106   if terminal_output gfxterm ; then true ; else<br
/> 107     # For backward compatibility with versions of terminal.mod that don't<br
/> 108     # understand terminal_output<br
/> 109     terminal gfxterm<br
/> 110   fi<br
/> 111   #set gfx payload - use your own resolution here. I have a 19 inch monitor which natively supports 1440x900<br
/> 112   set gfxpayload=1440x900x32<br
/> 113 EOF<br
/> </code></p><p><strong>Step 3:</strong> After you save the file, go back to the terminal and run update-grub2 as root.</p><p><code><br
/> $ sudo update-grub2<br
/> </code></p><p>Your terminal should look like this:<br
/> <code><br
/> $ sudo update-grub2<br
/> Generating grub.cfg ...<br
/> Found linux image: /boot/vmlinuz-2.6.32-23-generic<br
/> Found initrd image: /boot/initrd.img-2.6.32-23-generic<br
/> Found memtest86+ image: /boot/memtest86+.bin<br
/> done<br
/> </code></p><p>And that&#8217;s it. On your next boot, you should see your console displayed in the resolution you used for setting gfxpayload.</p> ]]></content:encoded> <wfw:commentRss>http://www.rvdavid.net/setting-tty-virtual-consoles-resolution-with-grub-2-in-ubuntu-lucid-lynx/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Ubuntu Karmic: No Sound on Battle for Wesnoth?</title><link>http://www.rvdavid.net/ubuntu-karmic-no-sound-on-battle-for-wesnoth/</link> <comments>http://www.rvdavid.net/ubuntu-karmic-no-sound-on-battle-for-wesnoth/#comments</comments> <pubDate>Mon, 16 Nov 2009 23:13:08 +0000</pubDate> <dc:creator>rvdavid</dc:creator> <category><![CDATA[Ubuntu]]></category><guid
isPermaLink="false">http://blog.rvdavid.net/?p=173</guid> <description><![CDATA[There are times when I feel like procrastinating and when I do, sometimes I like play the popular turn-based RTS game Battle for Wesnoth. I like to play BfW with sound though. I like hearing Delfador&#8216;s thunder clap when he lowers the boom on an orc Chieftain twice his size and I like hearing the [...]]]></description> <content:encoded><![CDATA[<p>There are times when I feel like procrastinating and when I do, sometimes I like play the popular turn-based RTS game <a
title="Battle for Wesnoth" href="http://www.wesnoth.org/" target="_blank">Battle for Wesnoth</a>. I like to play BfW with sound though. I like hearing <a
title="Delfador will smite you!" href="http://exong.net/wesnoth-attach/files/delfador_ranged1_288.png" target="_blank">Delfador</a>&#8216;s thunder clap when he lowers the boom on an orc Chieftain twice his size and I like hearing the well put-together background music as I plot to defend against a legion of undead sent by the queen to try and end my attempt at reclaiming the thrown which is rightfully mine.</p><p>Anyway, to fix this issue, I installed the debian SDL library with X11 graphics and Pulse audio compiled Ubuntu Karmic has available in the repository.<br
/> Pulse audio is the default sound system used in Ubuntu Karmic.</p><p><strong>Here&#8217;s the step by step</strong></p><p><strong><span
id="more-173"></span></strong></p><p><strong><span
style="font-weight: normal;"><strong>Step 1</strong>: Install by issuing the following command:</span></strong></p><blockquote><p>sudo aptitude install libsdl1.2debian-pulseaudio<strong> </strong></p></blockquote><p>This will automatically remove libsdl1.2debian-alsa which will trigger a warning presented by dpkg.</p><p><strong>Step 2</strong>: Kill the existing instance of pulseaudio by issuing the following command:</p><blockquote><p>killall pulseaudio</p></blockquote><p><strong>Step 3:</strong> Play Battle for Wesnoth with sound.</p> ]]></content:encoded> <wfw:commentRss>http://www.rvdavid.net/ubuntu-karmic-no-sound-on-battle-for-wesnoth/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>Trying out some of The best 100 Linux Software from Ubuntu Repos</title><link>http://www.rvdavid.net/trying-out-some-of-the-best-100-linux-software-from-ubuntu-repos/</link> <comments>http://www.rvdavid.net/trying-out-some-of-the-best-100-linux-software-from-ubuntu-repos/#comments</comments> <pubDate>Tue, 29 Sep 2009 12:46:42 +0000</pubDate> <dc:creator>rvdavid</dc:creator> <category><![CDATA[Linux Applications]]></category><guid
isPermaLink="false">http://blog.rvdavid.net/?p=156</guid> <description><![CDATA[Ever get the itch that there is a lot of free applications that you&#8217;re missing out on? Well I do &#8211; every now and then, I like to google &#8220;best linux software&#8221; and try a few of them out. Don&#8217;t ask me why, I just do it. Anyway, todays post is basically to bring your [...]]]></description> <content:encoded><![CDATA[<p>Ever get the itch that there is a lot of free applications that you&#8217;re missing out on? Well I do &#8211; every now and then, I like to google &#8220;best linux software&#8221; and try a few of them out. Don&#8217;t ask me why, I just do it.</p><p>Anyway, todays post is basically to bring your attention to a site that I&#8217;ve found, posted last year, which lists 100 linux software applications that the author considers &#8220;the best&#8221;.</p><p><span
id="more-156"></span></p><p>Upon checking it out, I&#8217;ll be installing the following:</p><ul><li><strong>ardour</strong> &#8211; a digital audio workstation application.</li><li> <strong>hydrogen</strong> &#8211; an advanced drum machine</li><li><strong>hugin</strong> &#8211; cross-platform panoramic imaging toolchain based on Panorama tools.</li><li><strong>pixelize</strong> &#8211; scales down images and duplicates as closely as possible.</li><li><strong>synfig</strong> &#8211; vector-based 2D animation software package.</li><li><strong>cinepaint</strong> &#8211; used to retouch feature films and in pro photography.</li><li><strong>recordmydesktop</strong> &#8211; desktop session recorder.</li></ul><p>There&#8217;s a whole lot more, so if you&#8217;re anything like me, this will give oyu something to do for a night or two <img
src='http://www.rvdavid.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><p>Check out the full link on the following URL: <a
href="http://ubuntulinuxhelp.com/top-100-of-the-best-useful-opensource-applications/" target="_blank">http://ubuntulinuxhelp.com/top-100-of-the-best-useful-opensource-applications/</a></p> ]]></content:encoded> <wfw:commentRss>http://www.rvdavid.net/trying-out-some-of-the-best-100-linux-software-from-ubuntu-repos/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Guake: FINALLY! A viable gnome native Drop Down Terminal</title><link>http://www.rvdavid.net/guake-finally-a-viable-gnome-native-drop-down-terminal/</link> <comments>http://www.rvdavid.net/guake-finally-a-viable-gnome-native-drop-down-terminal/#comments</comments> <pubDate>Fri, 25 Sep 2009 23:30:11 +0000</pubDate> <dc:creator>rvdavid</dc:creator> <category><![CDATA[Linux Applications]]></category><guid
isPermaLink="false">http://blog.rvdavid.net/?p=130</guid> <description><![CDATA[I&#8217;ve been using YeahConsole for quite some time now and snobbing off Yakuake because I am using Gnome for my Desktop GUI. But missed the flashiness of Yakuake &#8211; it was flashy especially with the true transparency. GUAKE! Years ago prior to checking out YeahConsole, I found Guake. Guake at the time, was buggy as [...]]]></description> <content:encoded><![CDATA[<p>I&#8217;ve been using <a
title="YeahConsole post" href="http://blog.rvdavid.net/yeahconsole-a-lighter-yakuake-alternative-for-xubuntu-linux/" target="_blank">YeahConsole</a> for quite some time now and snobbing off Yakuake because I am using Gnome for my Desktop GUI. But missed the flashiness of Yakuake &#8211; it was flashy especially with the true transparency.</p><h3><strong>GUAKE!</strong></h3><p>Years  ago prior to checking out <a
title="YeahConsole" href="http://phrat.de/yeahtools.html" target="_blank">YeahConsole</a>, I found <a
title="Guake Drop Down Terminal" href="http://trac.guake-terminal.org/" target="_blank">Guake</a>. Guake at the time, was buggy as hell. at the time, the Developer was in hiatus and I thought to myself, wouldn&#8217;t it be great if someone could actually pick this project up.</p><p><span
id="more-130"></span></p><h3><strong>Latest version is in the Ubuntu Repos!</strong></h3><p>Then earlier this year, while I was still using Jaunty, I tried to install guake from the Ubuntu repo and they have finally upgraded to the latest version (at the time) &#8211; I&#8217;m using Karmic Koala Alpha 6 which has 0.4 available.</p><h3><strong>Install it now!</strong></h3><p>To install Guake in Ubuntu, Kubuntu or Xubuntu you can either install it from synaptic or from the command-line:<br
/> $sudo aptitude install guake.</p><p>After installation is done, start the program up from your Applications &gt;&gt; Accessories menu or from the command-line with $guake and you have a native gnome drop down terminal with true transparency support at your disposal. I&#8217;m very happy with Guake!</p> ]]></content:encoded> <wfw:commentRss>http://www.rvdavid.net/guake-finally-a-viable-gnome-native-drop-down-terminal/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Ubuntu Linux: Forcing sound out through your external USB Sound Card</title><link>http://www.rvdavid.net/ubuntu-linux-forcing-sound-out-through-your-external-usb-sound-card/</link> <comments>http://www.rvdavid.net/ubuntu-linux-forcing-sound-out-through-your-external-usb-sound-card/#comments</comments> <pubDate>Tue, 08 Sep 2009 11:53:17 +0000</pubDate> <dc:creator>rvdavid</dc:creator> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[sound]]></category><guid
isPermaLink="false">http://blog.rvdavid.net/ubuntu-linux-forcing-sound-out-through-your-external-usb-sound-card/</guid> <description><![CDATA[So&#8230; long story short, I messed up my headphone jack on my notebook which where I use Ubuntu Karmic Koala Alpha x (6 I think) as my primary OS. Luckily though, I found an old sony external sound card lying around the office at work. One of the artifcats that had been left behind by [...]]]></description> <content:encoded><![CDATA[<p>So&#8230; long story short, I messed up my headphone jack on my notebook which where I use Ubuntu Karmic Koala Alpha x (6 I think) as my primary OS. Luckily though, I found an old sony external sound card lying around the office at work. One of the artifcats that had been left behind by one of the developers of yester-year.</p><p>I thought great! I&#8217;ll plug my headphone into the exteral sound card and I can again block the world out with sound the next time things get rowdy in the development room.</p><p>Everything worked great! Sound was channelled nicely out through the external sound card out of the box via pulseaudio. All except flash (flashplugin-nonfree) which has been hardwired to use my internal sound card. I don&#8217;t know what the particulars are, and what causes this, but I found that completely disabling the internal sound card was the solution.</p><p><span
id="more-147"></span></p><p>Here&#8217;s how I disabled my internal sound card and forced all sound to use the usb sound card:</p><ol><li>Blacklist snd_intel8x0 by editing the file /etc/modprobe.d/blacklist-oss.conf and adding &#8220;blacklist snd_inten8x0&#8243;as the last line<code> </code>blacklist snd_inten8x0</li><li>Next, edit /etc/modprobe.d/alsa-base.conf and replace: &#8220;install sound-slot-0 /sbin/modprobe snd-card-0&#8243;<br
/> with: &#8220;install sound-slot-0 /sbin/modprobe snd_usb_audio&#8221;<br
/> Your edited file should look like:<br
/> <code><br
/> install sound-slot-0 /sbin/modprobe snd_usb_audio<br
/> #install sound-slot-0 /sbin/modprobe snd-card-0</code></li><li>Comment out options snd-intel8x0m index=-2, options snd-usb-audio and options snd-usb-usx2y so that the options portion of the alsa-base.conf looks like:<code># Prevent abnormal drivers from grabbing index 0<br
/> options bt87x index=-2<br
/> options cx88_alsa index=-2<br
/> options saa7134-alsa index=-2<br
/> options snd-atiixp-modem index=-2<br
/> #options snd-intel8x0m index=-2<br
/> options snd-via82xx-modem index=-2<br
/> #options snd-usb-audio index=-2<br
/> options snd-usb-us122l index=-2<br
/> #options snd-usb-usx2y index=-2<br
/> options snd-usb-caiaq index=-2<br
/> # Ubuntu #62691, enable MPU for snd-cmipci<br
/> options snd-cmipci mpu_port=0x330 fm_port=0x388<br
/> # Keep snd-pcsp from being loaded as first soundcard<br
/> options snd-pcsp index=-2<br
/> # Power down HDA controllers after 10 idle seconds<br
/> options snd-hda-intel power_save=10</code></li></ol><p>Can&#8217;t get it to work? leave a comment, we&#8217;ll sort it out together.</p> ]]></content:encoded> <wfw:commentRss>http://www.rvdavid.net/ubuntu-linux-forcing-sound-out-through-your-external-usb-sound-card/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>Ubuntu Linux: Fix for the disappearing Firefox Web Developer toolbar</title><link>http://www.rvdavid.net/ubuntu-linux-fix-for-the-disappearing-firefox-web-developer-toolbar/</link> <comments>http://www.rvdavid.net/ubuntu-linux-fix-for-the-disappearing-firefox-web-developer-toolbar/#comments</comments> <pubDate>Sat, 05 Sep 2009 00:25:07 +0000</pubDate> <dc:creator>rvdavid</dc:creator> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[firefox]]></category><guid
isPermaLink="false">http://blog.rvdavid.net/ubuntu-linux-fix-for-the-disappearing-firefox-web-developer-toolbar/</guid> <description><![CDATA[I use firefox as my browser on Ubuntu Karmic Alpha x (can&#8217;t remember which one). During one update, my firefox web development toolbar disappeared. There was nothing there aside from the blank grey bar. How do you fix this? To fix this, I did the following steps: Right click on the blank toolbar &#8211; this [...]]]></description> <content:encoded><![CDATA[<p>I use firefox as my browser on Ubuntu Karmic Alpha x (can&#8217;t remember which one). During one update, my firefox web development toolbar disappeared. There was nothing there aside from the blank grey bar.</p><p><strong>How do you fix this</strong>?</p><p>To fix this, I did the following steps:</p><ol><li>Right click on the blank toolbar &#8211; this will bring up the toolbar selection context menu.</li><li>Click on &#8220;Customize&#8221; &#8211; this will load the toolbar &#8220;Customize Toolbar&#8221; screen.</li><li>Click on the &#8220;Restore Defaults&#8221; button located on the bottom of the &#8220;Customize Toolbar&#8221; screen.</li></ol><p>By now you should have your Web Development toolbar icons appear where they should be (on the Web Development toolbar!)</p><p><strong>&#8220;FAIL! That didn&#8217;t work!&#8221;</strong></p><p>Failing the above, you could try the following:</p><ol><li>Load up the &#8220;Customize Toolbar&#8221; screen by following steps 1 and 2 above.</li><li>Using your scrollbar, locate a few of the Web Development toolbar Elements and drag it to the blank Web Development toolbar.</li><li>Click on the button called &#8220;Restore Defaults&#8221; on the bottom of the &#8220;Customize Toolbar&#8221; screen &#8211; this should restore your web development icons.</li></ol><p><strong>&#8220;FAIL AGAIN!!  That _STILL_ did not work!&#8221; </strong></p><p>Failing the two methods above, you should look to see if you have the popular tab enhancement add-on called tab mix plus. If you have this installed, you will not be able to see the icons for Web Developer when you open the &#8220;Customize Toolbar&#8221; screen. With me not wanting to spend more time on delving into why TMP gets in the way of the Web Developer tool bar, I decided to disable the Tab Mix Plus add-on in favour of my toolbar.</p><p>So if the two suggested fixes don&#8217;t work, try the following:</p><ol><li>Load up the Add-ons menu and disable TMP</li><li>Right click on the blank toolbar and click on &#8220;Customize&#8221;.</li><li>You should now again be able to see your Web Developer Toolbar icons.</li><li>Locate a few of the Web Development Toolbar Elements by using your scroll bar then drag a web developer toolbar icon to the empty toolbar.</li><li>Click on the Restore Defaults button.</li></ol><p>One of the above mentioned workarounds should work, but if your firefox Web Developer toolbar doesn&#8217;t work on Ubunutu, or any Linux distro, leave a comment. We&#8217;ll figure it out together. <img
src='http://www.rvdavid.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p> ]]></content:encoded> <wfw:commentRss>http://www.rvdavid.net/ubuntu-linux-fix-for-the-disappearing-firefox-web-developer-toolbar/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>NSS Backup &#8211; a &#8220;Not So Simple Backup&#8221; solution for Linux</title><link>http://www.rvdavid.net/nss-backup-a-not-so-simple-backup-solution-for-linux/</link> <comments>http://www.rvdavid.net/nss-backup-a-not-so-simple-backup-solution-for-linux/#comments</comments> <pubDate>Thu, 14 May 2009 12:04:10 +0000</pubDate> <dc:creator>rvdavid</dc:creator> <category><![CDATA[Linux Applications]]></category> <category><![CDATA[backup]]></category> <category><![CDATA[nssbackup]]></category> <category><![CDATA[sbackup]]></category><guid
isPermaLink="false">http://blog.rvdavid.net/nss-backup-a-not-so-simple-backup-solution-for-linux/</guid> <description><![CDATA[As mentioned on my previous post, I&#8217;ve started using NSS Backup as my primary backup solution for my mobile workstation which runs Ubuntu Linux. I gotta say, it&#8217;s running pretty well, although recently I&#8217;ve had issues with Ubuntu recognising the mountable external hard disc I&#8217;ve been using as a back-up drive &#8211; save that story [...]]]></description> <content:encoded><![CDATA[<p>As mentioned on my <a
title="sbackup issue - full hard drive?! " href="http://blog.rvdavid.net/30-gb-root-partition-full-how" target="_blank">previous post</a>, I&#8217;ve started using NSS Backup as my primary backup solution for my <a
href="http://blog.rvdavid.net/setting-up-ubuntu-on-my-new-19-inch-lg-s900-ucps1a-notebookwork-rig/" target="_blank">mobile workstation</a> which runs Ubuntu Linux. I gotta say, it&#8217;s running pretty well, although recently I&#8217;ve had issues with Ubuntu recognising the mountable external hard disc I&#8217;ve been using as a back-up drive &#8211; save that story for another time &#8211; but yeah, it&#8217;s running pretty well. As mentioned I had <a
href="https://answers.launchpad.net/nssbackup/+question/64819" target="_blank">asked the question</a>. One of the development team members answered the question and requested that I <a
href="https://bugs.edge.launchpad.net/nssbackup/+bug/346285" target="_blank">open a ticket</a>.</p><p><span
id="more-135"></span></p><p>Shortly after that, chanages were made and the developer in charge was nice enough to leave us with an update:</p><blockquote><p
class="boardCommentBody"><p
class="bug-comment">I&#8217;ve change the default behaviour from creating the &#8216;last&#8217; directory to creating NO directory. By default the backup is aborted now if destination directory does not exist. This prevents accidents like described here <a
rel="nofollow" href="http://blog.rvdavid.net/30-gb-root-partition-full-how/" target="_blank">http://blog.rvdavid.net/30-gb-root-partition-full-how/</a> and serves the request for an option to enable such behaviour.</p></blockquote><blockquote><table
class="bug-activity"><tbody><tr><td
colspan="2">Changed in nssbackup:</td></tr><tr><td
style="text-align: right;"><strong>assignee</strong>:</td><td>nobody ? peer.loz</td></tr><tr><td
style="text-align: right;"><strong>status</strong>:</td><td>Confirmed ? Fix Committed</td></tr></tbody></table></blockquote><p>So I guess that&#8217;s that for an update. Since this little hick up has been fixed, I&#8217;ve had nothing but a stable backup solution.</p><p>I highly recommend that you do this. So-that-when-you-accidentally-hose-your-system-down-playing-with-gparted-to-resize-your-partitions-then-deciding-it-was-too_long-and-cancelling-halfway-through-&#8221;analysis&#8221;-thinking-it&#8217;s-&#8221;ok&#8221;-because-it-was-just-&#8221;analysing&#8221;-but-then-when-you-reboot-the-computer-it-tells-you-that-you-have-a-corrupt-mbr-or-something-so-you-scour-the-internet-for-a-solution-and-paste-a-command-which-wipes-out-your-nodes-because-you-forgot-to-put -n or -r-after-the-command (*whistles innocently*)&#8230; You can&#8230; recover! <img
src='http://www.rvdavid.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><p>Again, I highly recommend it. <a
href="https://edge.launchpad.net/nssbackup" target="_blank">Not So Simple Backup solution for linux</a>&#8230; A very stable alternative to the now super seded sbackup. NSSBackup a replacement for sbackup on Linux operating systems.</p> ]]></content:encoded> <wfw:commentRss>http://www.rvdavid.net/nss-backup-a-not-so-simple-backup-solution-for-linux/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>sbackup issue: 30 GB Root Partition Full?! HOW?!</title><link>http://www.rvdavid.net/30-gb-root-partition-full-how/</link> <comments>http://www.rvdavid.net/30-gb-root-partition-full-how/#comments</comments> <pubDate>Fri, 20 Mar 2009 23:11:37 +0000</pubDate> <dc:creator>rvdavid</dc:creator> <category><![CDATA[Linux Applications]]></category> <category><![CDATA[backup]]></category> <category><![CDATA[nssbackup]]></category> <category><![CDATA[sbackup]]></category><guid
isPermaLink="false">http://blog.rvdavid.net/30-gb-root-partition-full-how/</guid> <description><![CDATA[So a while ago, some time at close of business, I was doing some final tests for the fourth phase of project achilles when all of a sudden, I&#8217;ve been struck with some random mysql errors. &#8220;Data source not available&#8221; and other similar errors with other etc. This is some crazy s#it which I didn&#8217;t [...]]]></description> <content:encoded><![CDATA[<p>So a while ago, some time at close of business, I was doing some final tests for the fourth phase of project achilles when all of a sudden, I&#8217;ve been struck with some random mysql errors. &#8220;Data source not available&#8221; and other similar errors with other etc.</p><p>This is some crazy s#it which I didn&#8217;t need, deadlines coming at me left, right and centre, this is the last thing you want!</p><p>I thought it may have been a memory issue so I did a du:</p><p><code>du -s * | sort -nr | head</code></p><p>This reported that my fricking <strong>hard disk was full!!!! </strong></p><p><strong>How? why?! &#8230; HOW?!?!?</strong></p><p><span
id="more-121"></span></p><p><strong>Simple backup (sbackup)</strong><br
/> Rewind back to  a few weeks before this happened, I implemented a backup solution called &#8220;sbackup&#8221; (installed via $sudo aptitude install sbackup). I had it set up to do the following:</p><p>- Target backup drive was an external USB drive I hook up daily to my LG S900 <span
style="text-decoration: line-through;">laptop</span> desktop replacement &#8211; Ubuntu auto mounts this drive to &#8220;/media/disk&#8221;<br
/> - I backup my home directory and etc directories.<br
/> - I have it scheduled to do an incremental back up every day at 5pm<br
/> - I have it scheduled to do a full backup every week.<br
/> - I have it set to &#8220;Abort backup if destination directory does not exist&#8221;</p><p>A few weeks before the event, I had been working from home and worked through the afternoon. My backup drive was left on my desk at the office so it was not connected. <strong>_THIS _ was the problem!</strong></p><p>What sbackup did was ignore the &#8220;Abort backup if destination directory does not exist&#8221; setting in the GUI and had actually created a backup directory called &#8220;disk&#8221; in &#8220;/media&#8221;. Due to this,  the following happened:</p><p>- From that day forward, sbackup did incremental and full backups locally to my hard disk slowly filling it up.<br
/> - Whenever I connected my backup drive, it was mounted as &#8220;/media/disk-1&#8243; so it was never touched.</p><p>sbackup was ignoring the &#8220;Abort backup if destination directory does not exist&#8221; checkbox option.</p><p>Inspecting the sbackup configuration file, I found that the config variable that stores this was set to 0 (meaning &#8220;no&#8221;) rather than 1! That&#8217;s terrible. A suggested workaround was to manually change this setting in the configuration file, but every time you load up the gui and make changes, it gets reset to 0 again. Absolute BS!</p><p>I&#8217;ve done some digging around and sbackup is now abandonware. The developers who created it originally are now focussing on <a
title="nssbackup" href="https://launchpad.net/nssbackup" target="_blank">not so simple backup suite</a>.  Which does not seem to have the abort if destination does not exist option.</p><p>I&#8217;ve installed nssbackup, but have it set to manual. Hopefully the guys developing this project will at least implement the &#8220;abort backup if destination directory does not exist&#8221; option. I&#8217;ve asked the question <a
title="question on launchpad" href="https://answers.launchpad.net/nssbackup/+question/64819" target="_blank">&#8220;ability to abort backup if destination directory does not exist?&#8221; </a>on launchpad anyway and will post an update if I get an answer or not.</p> ]]></content:encoded> <wfw:commentRss>http://www.rvdavid.net/30-gb-root-partition-full-how/feed/</wfw:commentRss> <slash:comments>7</slash:comments> </item> <item><title>IPV6 enabled by default in kernels 2.6.28-4 and up</title><link>http://www.rvdavid.net/ipv6-enabled-by-default-in-kernels-2628-4-and-up/</link> <comments>http://www.rvdavid.net/ipv6-enabled-by-default-in-kernels-2628-4-and-up/#comments</comments> <pubDate>Tue, 17 Mar 2009 11:59:51 +0000</pubDate> <dc:creator>rvdavid</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[networking]]></category><guid
isPermaLink="false">http://blog.rvdavid.net/ipv6-enabled-by-default-in-kernels-2628-4-and-up/</guid> <description><![CDATA[Just a quick update to an old post I made: Disabling IPV6 to tweak network connectivity. The tweak mentioned on the post will only work for kernel versions prior to 2.6.28-4 as discussed on the following bug report: IPV6 causes slow internet access. Sorry for those who have tried to apply this tweak and failed. [...]]]></description> <content:encoded><![CDATA[<p>Just a quick update to an old post I made: <a
title="Ubuntu Linux Tweak Blog post" href="http://blog.rvdavid.net/ubuntu-linux-tweak-your-network-connectivity-andor-performance-by-disabling-ipv6">Disabling IPV6 to tweak network connectivity</a>. The tweak mentioned on the post will only work for kernel versions prior to 2.6.28-4 as discussed on the following bug report: <a
title="Ubuntu Linux Bug report" href="https://bugs.launchpad.net/ubuntu/jaunty/+source/glibc/+bug/313218" target="_blank">IPV6 causes slow internet access</a>. Sorry for those who have tried to apply this tweak and failed. If you are using kernels prior to 2.6.28-4, this will still work.</p> ]]></content:encoded> <wfw:commentRss>http://www.rvdavid.net/ipv6-enabled-by-default-in-kernels-2628-4-and-up/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)
Database Caching 2/11 queries in 0.045 seconds using disk

Served from: www.rvdavid.net @ 2010-09-09 00:37:16 -->