<?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>Linux &#8211; Scott Mcintyre</title>
	<atom:link href="https://scott.cm/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>https://scott.cm</link>
	<description>Web Operations Engineer,  Linux Systems Administrator,  mySQL DBA,  MongoDB DBA,  Python+PHP Developer,  Performance Engineer</description>
	<lastBuildDate>Tue, 18 Jul 2017 08:58:38 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.2.2</generator>
	<item>
		<title>Install libmcrypt el6</title>
		<link>https://scott.cm/install-libmcrypt-el6/</link>
				<comments>https://scott.cm/install-libmcrypt-el6/#respond</comments>
				<pubDate>Wed, 29 May 2013 23:35:27 +0000</pubDate>
		<dc:creator><![CDATA[Scott Mcintyre]]></dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[epel libmcrypt]]></category>
		<category><![CDATA[install libmcrypt]]></category>
		<category><![CDATA[install libmcrypt centos]]></category>
		<category><![CDATA[install libmcrypt el6]]></category>
		<category><![CDATA[install php libmcrypt]]></category>
		<category><![CDATA[php mcrypt]]></category>
		<category><![CDATA[php mcrypt centos 6]]></category>

		<guid isPermaLink="false">https://scott.cm/?p=244</guid>
				<description><![CDATA[When trying to compile PHP I noticed the libmcrypt package is no longer provided with EL6 / CentOS 6, checking whether to enable multibyte string support&#8230; no checking whether to enable multibyte regex support&#8230; yes checking whether to check multibyte regex backtrack&#8230; yes checking for external libmbfl&#8230; no checking for]]></description>
								<content:encoded><![CDATA[<p>When trying to compile PHP I noticed the libmcrypt package is no longer provided with EL6 / CentOS 6,</p>
<blockquote><p>
checking whether to enable multibyte string support&#8230; no<br />
checking whether to enable multibyte regex support&#8230; yes<br />
checking whether to check multibyte regex backtrack&#8230; yes<br />
checking for external libmbfl&#8230; no<br />
checking for mcrypt support&#8230; yes<br />
configure: error: mcrypt.h not found. Please reinstall libmcrypt.
</p></blockquote>
<p>Checking if the package exists in the default repos shows it doesn&#8217;t,</p>
<blockquote><p>
# <strong>yum search libmcrypt</strong><br />
Loaded plugins: fastestmirror, security<br />
Loading mirror speeds from cached hostfile<br />
 * base: mirrors.versaweb.com<br />
 * extras: mirrors.usc.edu<br />
 * updates: mirrors.easynews.com<br />
Warning: No matches found for: libmcrypt<br />
No Matches found
</p></blockquote>
<p>You need to obtain this from the epel repos now at http://dl.fedoraproject.org/pub/epel/6/x86_64/ ,  at the time of writing the version is 2.5.8-9 so you can install this with,</p>
<blockquote><p>
mcryptver=2.5.8-9<br />
arch=x86_64<br />
rpm -Uhv http://dl.fedoraproject.org/pub/epel/6/x86_64/libmcrypt-$mcryptver.el6.$arch.rpm<br />
rpm -Uhv http://dl.fedoraproject.org/pub/epel/6/x86_64/libmcrypt-devel-$mcryptver.el6.$arch.rpm
</p></blockquote>
<p>An example,</p>
<blockquote><p>
# <strong>mcryptver=2.5.8-9</strong><br />
# <strong>arch=x86_64</strong><br />
# <strong>rpm -Uhv http://dl.fedoraproject.org/pub/epel/6/x86_64/libmcrypt-$mcryptver.el6.$arch.rpm</strong><br />
Retrieving http://dl.fedoraproject.org/pub/epel/6/x86_64/libmcrypt-2.5.8-9.el6.x86_64.rpm<br />
warning: /var/tmp/rpm-tmp.BoLykl: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY<br />
Preparing&#8230;                ########################################### [100%]<br />
   1:libmcrypt              ########################################### [100%]<br />
# <strong>rpm -Uhv http://dl.fedoraproject.org/pub/epel/6/x86_64/libmcrypt-devel-$mcryptver.el6.$arch.rpm</strong><br />
Retrieving http://dl.fedoraproject.org/pub/epel/6/x86_64/libmcrypt-devel-2.5.8-9.el6.x86_64.rpm<br />
warning: /var/tmp/rpm-tmp.6SW2Vh: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY<br />
Preparing&#8230;                ########################################### [100%]<br />
   1:libmcrypt-devel        ########################################### [100%]
</p></blockquote>
]]></content:encoded>
							<wfw:commentRss>https://scott.cm/install-libmcrypt-el6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
		<item>
		<title>Create new panel on second monitor</title>
		<link>https://scott.cm/create-new-panel-on-second-monitor/</link>
				<comments>https://scott.cm/create-new-panel-on-second-monitor/#comments</comments>
				<pubDate>Wed, 30 Jan 2013 16:06:06 +0000</pubDate>
		<dc:creator><![CDATA[Scott Mcintyre]]></dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Mint]]></category>
		<category><![CDATA[add panel to second monitor]]></category>
		<category><![CDATA[mate task bar second monitor]]></category>
		<category><![CDATA[multiple monitors task list]]></category>
		<category><![CDATA[multiple monitors taskbar]]></category>
		<category><![CDATA[multiple monitors tasklist]]></category>
		<category><![CDATA[new panel multiple monitors]]></category>
		<category><![CDATA[task list second monitor]]></category>
		<category><![CDATA[ubuntu task list second monitor]]></category>

		<guid isPermaLink="false">https://scott.cm/?p=239</guid>
				<description><![CDATA[If you need to add a second panel/task window on your second (or more in my case) monitors using ubuntu/debian/mint linux here are two ways to achieve it. First you should right click on the current panel and click &#8220;New panel&#8221; then all you have to do is move the]]></description>
								<content:encoded><![CDATA[<p>If you need to add a second panel/task window on your second (or more in my case) monitors using ubuntu/debian/mint linux here are two ways to achieve it.</p>
<p>First you should right click on the current panel and click &#8220;New panel&#8221; then all you have to do is move the panel to the other monitor of which there are a few ways,  the easiest two are</p>
<p>&#8211; Hold <strong>ALT</strong> and drag the panel to the new window.<br />
or<br />
&#8211; Right click the panel and go to properties<br />
&#8211; Uncheck &#8220;Expand&#8221;<br />
&#8211; Now drag the smaller panel to the monitor you want it on<br />
&#8211; Right click and re-check expand and also select where you want it (top/bottom/left/right)</p>
<p>Then simply add what items you want on the panel.  In my case I added the Window List item.</p>
]]></content:encoded>
							<wfw:commentRss>https://scott.cm/create-new-panel-on-second-monitor/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
							</item>
		<item>
		<title>Resizing ext4 partition centos 5</title>
		<link>https://scott.cm/resizing-ext4-partition-centos-5/</link>
				<comments>https://scott.cm/resizing-ext4-partition-centos-5/#respond</comments>
				<pubDate>Sat, 19 Jan 2013 07:58:09 +0000</pubDate>
		<dc:creator><![CDATA[Scott Mcintyre]]></dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[MongoDB]]></category>
		<category><![CDATA[/sbin/resize4fs]]></category>
		<category><![CDATA[centos resize ext4 partition]]></category>
		<category><![CDATA[e4fsprogs]]></category>
		<category><![CDATA[increase lvm partition]]></category>
		<category><![CDATA[increase lvm size]]></category>
		<category><![CDATA[increase lvm volume]]></category>
		<category><![CDATA[increase lvm volume size]]></category>
		<category><![CDATA[resize ext4 lvm partition]]></category>
		<category><![CDATA[resize ext4 partition]]></category>
		<category><![CDATA[resize ext4 partition centos]]></category>
		<category><![CDATA[resize lvm centos]]></category>
		<category><![CDATA[resize lvm partition]]></category>
		<category><![CDATA[resize lvm partition ext4]]></category>

		<guid isPermaLink="false">https://scott.cm/?p=233</guid>
				<description><![CDATA[On CentOS 5 the e4fsprogs RPM provides a separate binary (/sbin/resize4fs) for resizing ext4 partitions. # rpm -qf /sbin/resize2fs e2fsprogs-1.39-23.el5_5.1 # rpm -qf /sbin/resize4fs e4fsprogs-1.41.9-3.el5 As I found out today when resizing an LVM partition on one of our mongodb snapshot systems. # lvextend -L+50G /dev/mapper/mongo Extending logical volume mongo]]></description>
								<content:encoded><![CDATA[<p>On CentOS 5 the e4fsprogs RPM provides a separate binary (/sbin/resize4fs) for resizing ext4 partitions.</p>
<blockquote><p>
# <strong>rpm -qf /sbin/resize2fs</strong><br />
e2fsprogs-1.39-23.el5_5.1<br />
# <strong>rpm -qf /sbin/resize4fs</strong><br />
e4fsprogs-1.41.9-3.el5
</p></blockquote>
<p>As I found out today when resizing an LVM partition on one of our mongodb snapshot systems.</p>
<blockquote><p>
# <strong>lvextend -L+50G /dev/mapper/mongo</strong><br />
  Extending logical volume mongo to 150.00 GB<br />
  Logical volume mongo successfully resized<br />
# <strong>resize2fs /dev/mapper/mongo</strong><br />
resize2fs 1.39 (29-May-2006)<br />
resize2fs: Filesystem has unsupported feature(s) while trying to open /dev/mapper/mongo<br />
Couldn&#8217;t find valid filesystem superblock.
</p></blockquote>
<p>Having alook around I noticed the resize4fs binary which resized it successfully.</p>
<blockquote><p>
# <strong>resize4fs /dev/mapper/mongo</strong><br />
resize4fs 1.41.9 (22-Aug-2009)<br />
Filesystem at /dev/mapper/mongo is mounted on /var/lib/mongodb; on-line resizing required<br />
old desc_blocks = 7, new_desc_blocks = 10<br />
Performing an on-line resize of /dev/mapper/mongo to 39321600 (4k) blocks.
</p></blockquote>
]]></content:encoded>
							<wfw:commentRss>https://scott.cm/resizing-ext4-partition-centos-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
		<item>
		<title>nginx rewrite PHP with no extension</title>
		<link>https://scott.cm/nginx-rewrite-php-with-no-extension/</link>
				<comments>https://scott.cm/nginx-rewrite-php-with-no-extension/#respond</comments>
				<pubDate>Thu, 17 Jan 2013 06:14:26 +0000</pubDate>
		<dc:creator><![CDATA[Scott Mcintyre]]></dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[nginx access denied]]></category>
		<category><![CDATA[nginx rewrite no extension]]></category>
		<category><![CDATA[php no extension]]></category>
		<category><![CDATA[php-fpm limit_extensions]]></category>
		<category><![CDATA[php-fpm no extension]]></category>
		<category><![CDATA[security.limit_extensions]]></category>
		<category><![CDATA[security.limit_extensions = false]]></category>

		<guid isPermaLink="false">https://scott.cm/?p=214</guid>
				<description><![CDATA[I recently had to troubleshoot an issue while migrating from cherokee to nginx. This was a PHP application which had a shared set of common scripts , these where accessed by domain/common/file which in turn was translated into /vhosts/shared/common and this then included the necessary files. After doing the rewrite]]></description>
								<content:encoded><![CDATA[<p>I recently had to troubleshoot an issue while migrating from cherokee to nginx.    This was a PHP application which had a shared set of common scripts ,  these where accessed by domain/common/file which in turn was translated into /vhosts/shared/common and this then included the necessary files.</p>
<p>After doing the rewrite for nginx,</p>
<blockquote><p>
                location ^~ /common/ {<br />
                fastcgi_split_path_info ^(/common)(/?.+)$;<br />
                fastcgi_param SCRIPT_FILENAME /vhosts/shared/common$fastcgi_script_name;<br />
                fastcgi_param PATH_INFO $fastcgi_path_info;<br />
                fastcgi_pass   127.0.0.1:9000;<br />
                include        fastcgi_params;<br />
        }
</p></blockquote>
<p>nginx was simply returning access denied.</p>
<blockquote><p>
# curl http://localhost/common/file<br />
Access denied.
</p></blockquote>
<p>Which is because the new file has no extension and PHP-FPM now defaults to only allow .php.  This can be altered by editing security.limit_extensions in the php-fpm.conf (in this case /etc/php-fpm.d/daemon.conf) to allow the extensions you need.  In this case we needed it to support files without extensions so setting security.limit_extensions to FALSE done the job,</p>
<blockquote><p>
security.limit_extensions = FALSE
</p></blockquote>
]]></content:encoded>
							<wfw:commentRss>https://scott.cm/nginx-rewrite-php-with-no-extension/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
		<item>
		<title>Error: unsupported locale setting</title>
		<link>https://scott.cm/error-unsupported-locale-setting/</link>
				<comments>https://scott.cm/error-unsupported-locale-setting/#respond</comments>
				<pubDate>Wed, 16 Jan 2013 07:44:14 +0000</pubDate>
		<dc:creator><![CDATA[Scott Mcintyre]]></dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[dpkg-reconfigure locales]]></category>
		<category><![CDATA[Error: unsupported locale setting]]></category>
		<category><![CDATA[locale en_gb.UTF8]]></category>
		<category><![CDATA[locale-gen]]></category>
		<category><![CDATA[python trac]]></category>
		<category><![CDATA[trac locale error]]></category>
		<category><![CDATA[trac wont start]]></category>

		<guid isPermaLink="false">https://scott.cm/?p=206</guid>
				<description><![CDATA[While installing and configuring trac on my development VM it wouldn&#8217;t load over HTTP (500 error). Stracing the process returned the issue, Error: unsupported locale setting So it looks like it doesn&#8217;t have the locale installed (In my case EN_GB) this is easily fixed by running, sudo dpkg-reconfigure locales Then]]></description>
								<content:encoded><![CDATA[<p>While installing and configuring trac on my development VM it wouldn&#8217;t load over HTTP (500 error).   Stracing the process returned the issue,</p>
<blockquote><p><strong>Error: unsupported locale setting</strong></p></blockquote>
<p>So it looks like it doesn&#8217;t have the locale installed (In my case EN_GB) this is easily fixed by running,</p>
<blockquote><p>sudo dpkg-reconfigure locales</p></blockquote>
<p>Then selecting the necessary locale,  you&#8217;ll most likely want to default to UTF8.</p>
<p><a href="https://scott.cm/wp-content/uploads/2013/01/locale.png" title="Screenshot reconfigure locales"><img src="https://scott.cm/wp-content/uploads/2013/01/locale-thumb.png" alt="reconfigure locale to en_gb.UTF8"/></a></p>
<p>You should then be able to run trac and have it accessible,  in my case</p>
<blockquote><p>
sudo -u trac tracd -s -p 8000 &#8211;pidfile ~trac/dev/tracd.pid -d &#8211;basic-auth=&#8221;*,/home/trac/dev/htpasswd,dev&#8221; ~trac/dev<br />
curl -I localhost:8000<br />
<em>HTTP/1.0 200 OK<br />
Server: tracd/0.11.7 Python/2.6.6<br />
Date: Wed, 16 Jan 2013 07:38:32 GMT<br />
Cache-Control: must-revalidate<br />
Content-Type: text/html;charset=utf-8<br />
Content-Length: 6184<br />
Set-Cookie: trac_form_token=a83b66948209b4197936bd1a; Path=/<br />
Set-Cookie: trac_session=d2dad341a8e80e6fd2f76551; expires=Tue, 16-Apr-2013 07:38:32 GMT; Path=/</em>
</p></blockquote>
]]></content:encoded>
							<wfw:commentRss>https://scott.cm/error-unsupported-locale-setting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
		<item>
		<title>Max processes 1024 limits.conf</title>
		<link>https://scott.cm/max-processes-1024-limits-conf/</link>
				<comments>https://scott.cm/max-processes-1024-limits-conf/#comments</comments>
				<pubDate>Thu, 22 Nov 2012 06:44:24 +0000</pubDate>
		<dc:creator><![CDATA[Scott Mcintyre]]></dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[centos ulimit]]></category>
		<category><![CDATA[linux max user processes]]></category>
		<category><![CDATA[mongodb replica sets]]></category>
		<category><![CDATA[mongodb soft limit]]></category>
		<category><![CDATA[mongodb ulimit]]></category>
		<category><![CDATA[red hat ulimit]]></category>
		<category><![CDATA[ulimit -u soft limit]]></category>
		<category><![CDATA[ulimit /etc/security/limits.d/90-nproc.conf]]></category>
		<category><![CDATA[ulimit 1024]]></category>
		<category><![CDATA[ulimit max processes]]></category>
		<category><![CDATA[ulimit max user processes]]></category>
		<category><![CDATA[ulimit pam]]></category>
		<category><![CDATA[ulimit soft limit]]></category>

		<guid isPermaLink="false">https://scott.cm/?p=186</guid>
				<description><![CDATA[We where having an issue with replica sets on our MongoDB databases changing primaries. The logs shows it was hitting resource limits creating new processes. [initandlisten] pthread_create failed: errno:11 Resource temporarily unavailable [initandlisten] can&#8217;t create new thread, closing connection There is a bug fix in the init.d available per https://jira.mongodb.org/browse/SERVER-6443]]></description>
								<content:encoded><![CDATA[<p>We where having an issue with replica sets on our MongoDB databases changing primaries.  The logs shows it was hitting resource limits creating new processes.</p>
<blockquote><p>
[initandlisten] pthread_create failed: errno:11 Resource temporarily unavailable<br />
[initandlisten] can&#8217;t create new thread, closing connection
</p></blockquote>
<p>There is a bug fix in the init.d available per https://jira.mongodb.org/browse/SERVER-6443 to increase the ulimit -u however while working through increasing the available max processes on RHEL I was noting the soft limit would not increase past 1024 when checking /proc/pid/limits even when being increased in the startup script.</p>
<blockquote><p>
Limit                     Soft Limit           Hard Limit           Units<br />
Max cpu time              unlimited            unlimited            seconds<br />
Max file size             unlimited            unlimited            bytes<br />
Max data size             unlimited            unlimited            bytes<br />
Max stack size            10485760             unlimited            bytes<br />
Max core file size        0                    unlimited            bytes<br />
Max resident set          unlimited            unlimited            bytes<br />
Max processes             <strong>1024</strong>                 256662               processes<br />
Max open files            8192                 8192                 files<br />
Max locked memory         65536                65536                bytes<br />
Max address space         unlimited            unlimited            bytes<br />
Max file locks            unlimited            unlimited            locks<br />
Max pending signals       256662               256662               signals<br />
Max msgqueue size         819200               819200               bytes<br />
Max nice priority         0                    0<br />
Max realtime priority     0                    0<br />
Max realtime timeout      unlimited            unlimited            us
</p></blockquote>
<p>It turns out the pam package provides a file /etc/security/limits.d/90-nproc.conf which explicitly overrides the settings in security.conf for the number of processes,</p>
<blockquote><p>
# Default limit for number of user&#8217;s processes to prevent<br />
# accidental fork bombs.<br />
# See rhbz #432903 for reasoning.</p>
<p>*          soft    nproc     1024
</p></blockquote>
<p>Changing this allowed the number of processes to be increased.</p>
]]></content:encoded>
							<wfw:commentRss>https://scott.cm/max-processes-1024-limits-conf/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
							</item>
		<item>
		<title>Linux convert AIFF to mp3</title>
		<link>https://scott.cm/linux-convert-aiff-to-mp3/</link>
				<comments>https://scott.cm/linux-convert-aiff-to-mp3/#respond</comments>
				<pubDate>Sun, 10 Jun 2012 11:42:56 +0000</pubDate>
		<dc:creator><![CDATA[Scott Mcintyre]]></dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Mint]]></category>
		<category><![CDATA[convert aif to mp3]]></category>
		<category><![CDATA[convert aif to mp3 linux]]></category>
		<category><![CDATA[convert aiff on linux]]></category>
		<category><![CDATA[convert aiff to mp3]]></category>
		<category><![CDATA[linux convert aif]]></category>
		<category><![CDATA[mint convert aif]]></category>
		<category><![CDATA[mint convert aiff]]></category>
		<category><![CDATA[ubuntu convert aif]]></category>
		<category><![CDATA[ubuntu convert aif to mp3]]></category>
		<category><![CDATA[ubuntu convert aiff to mp3]]></category>

		<guid isPermaLink="false">https://scott.cm/?p=182</guid>
				<description><![CDATA[You can convert AIFF files to MP3 using ffmpeg on linux. This works with many other inputs and not just AIFF but in the instance I was testing I needed to convert AIFF. First you need ffmpeg and libmp3lame which on Ubuntu and Linux Mint can be done with sudo]]></description>
								<content:encoded><![CDATA[<p>You can convert AIFF files to MP3 using ffmpeg on linux.   This works with many other inputs and not just AIFF but in the instance I was testing I needed to convert AIFF.</p>
<p>First you need ffmpeg and libmp3lame which on Ubuntu and Linux Mint can be done with</p>
<blockquote><p>
sudo apt-get install libavcodec-extra-53 ffmpeg
</p></blockquote>
<p>Then use ffmpeg to do the conversion replacing INPUT.aiff and OUTPUT.mp3</p>
<blockquote><p>
ffmpeg -i <strong>INPUT.aiff</strong> -f mp3 -acodec libmp3lame -ab 192000 -ar 44100 <strong>OUTPUT.mp3</strong>
</p></blockquote>
<p>Sample,</p>
<blockquote>
<p>scott@scott:~/Music$ ffmpeg -i INPUT.mp3 -f mp3 -acodec libmp3lame -ab 192000 -ar 44100 OUTPUT.mp3<br />
ffmpeg version 0.7.3-4:0.7.3-0ubuntu0.11.10.1, Copyright (c) 2000-2011 the Libav developers<br />
  built on Jan  4 2012 16:08:51 with gcc 4.6.1<br />
  configuration: &#8211;extra-version=&#8217;4:0.7.3-0ubuntu0.11.10.1&#8242; &#8211;arch=amd64 &#8211;prefix=/usr &#8211;enable-vdpau &#8211;enable-bzlib &#8211;enable-libgsm &#8211;enable-libschroedinger &#8211;enable-libspeex &#8211;enable-libtheora &#8211;enable-libvorbis &#8211;enable-pthreads &#8211;enable-zlib &#8211;enable-libvpx &#8211;enable-runtime-cpudetect &#8211;enable-vaapi &#8211;enable-gpl &#8211;enable-postproc &#8211;enable-swscale &#8211;enable-x11grab &#8211;enable-libdc1394 &#8211;enable-shared &#8211;disable-static<br />
  WARNING: library configuration mismatch<br />
  avutil      configuration: &#8211;extra-version=&#8217;4:0.7.3ubuntu0.11.10.1+medibuntu1&#8242; &#8211;arch=amd64 &#8211;prefix=/usr &#8211;enable-vdpau &#8211;enable-bzlib &#8211;enable-libgsm &#8211;enable-libschroedinger &#8211;enable-libspeex &#8211;enable-libtheora &#8211;enable-libvorbis &#8211;enable-pthreads &#8211;enable-zlib &#8211;enable-libvpx &#8211;enable-runtime-cpudetect &#8211;enable-libopencore-amrnb &#8211;enable-libopencore-amrwb &#8211;enable-version3 &#8211;enable-vaapi &#8211;enable-libopenjpeg &#8211;enable-libfaac &#8211;enable-nonfree &#8211;enable-gpl &#8211;enable-postproc &#8211;enable-swscale &#8211;enable-x11grab &#8211;enable-libdirac &#8211;enable-libmp3lame &#8211;enable-librtmp &#8211;enable-libx264 &#8211;enable-libxvid &#8211;enable-libopencore-amrnb &#8211;enable-version3 &#8211;enable-libopencore-amrwb &#8211;enable-version3 &#8211;enable-libvo-aacenc &#8211;enable-version3 &#8211;enable-libvo-amrwbenc &#8211;enable-version3 &#8211;enable-libdc1394 &#8211;enable-shared &#8211;disable-static<br />
  avcodec     configuration: &#8211;extra-version=&#8217;4:0.7.3ubuntu0.11.10.1+medibuntu1&#8242; &#8211;arch=amd64 &#8211;prefix=/usr &#8211;enable-vdpau &#8211;enable-bzlib &#8211;enable-libgsm &#8211;enable-libschroedinger &#8211;enable-libspeex &#8211;enable-libtheora &#8211;enable-libvorbis &#8211;enable-pthreads &#8211;enable-zlib &#8211;enable-libvpx &#8211;enable-runtime-cpudetect &#8211;enable-libopencore-amrnb &#8211;enable-libopencore-amrwb &#8211;enable-version3 &#8211;enable-vaapi &#8211;enable-libopenjpeg &#8211;enable-libfaac &#8211;enable-nonfree &#8211;enable-gpl &#8211;enable-postproc &#8211;enable-swscale &#8211;enable-x11grab &#8211;enable-libdirac &#8211;enable-libmp3lame &#8211;enable-librtmp &#8211;enable-libx264 &#8211;enable-libxvid &#8211;enable-libopencore-amrnb &#8211;enable-version3 &#8211;enable-libopencore-amrwb &#8211;enable-version3 &#8211;enable-libvo-aacenc &#8211;enable-version3 &#8211;enable-libvo-amrwbenc &#8211;enable-version3 &#8211;enable-libdc1394 &#8211;enable-shared &#8211;disable-static<br />
  libavutil    51.  7. 0 / 51.  7. 0<br />
  libavcodec   53.  6. 0 / 53.  6. 0<br />
  libavformat  53.  3. 0 / 53.  3. 0<br />
  libavdevice  53.  0. 0 / 53.  0. 0<br />
  libavfilter   2.  4. 0 /  2.  4. 0<br />
  libswscale    2.  0. 0 /  2.  0. 0<br />
  libpostproc  52.  0. 0 / 52.  0. 0<br />
[aiff @ 0x100d560] max_analyze_duration reached<br />
Input #0, aiff, from &#8216;INPUT.aiff&#8217;:<br />
  Duration: 00:53:17.08, start: 0.000000, bitrate: 1411 kb/s<br />
    Stream #0.0: Audio: pcm_s16be, 44100 Hz, 2 channels, s16, 1411 kb/s<br />
Output #0, mp3, to &#8216;OUTPUT.mp3&#8217;:<br />
  Metadata:<br />
    TSSE            : Lavf53.3.0<br />
    Stream #0.0: Audio: libmp3lame, 44100 Hz, 2 channels, s16, 192 kb/s<br />
Stream mapping:<br />
  Stream #0.0 -> #0.0<br />
Press ctrl-c to stop encoding<br />
size=   74933kB time=3197.13 bitrate= 192.0kbits/s<br />
video:0kB audio:74933kB global headers:0kB muxing overhead 0.000042%
</p></blockquote>
]]></content:encoded>
							<wfw:commentRss>https://scott.cm/linux-convert-aiff-to-mp3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
		<item>
		<title>Unable to uninstall munin</title>
		<link>https://scott.cm/unable-to-uninstall-munin/</link>
				<comments>https://scott.cm/unable-to-uninstall-munin/#comments</comments>
				<pubDate>Thu, 19 Apr 2012 23:03:01 +0000</pubDate>
		<dc:creator><![CDATA[Scott Mcintyre]]></dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[munin debian munin-2 monitoring]]></category>

		<guid isPermaLink="false">https://scott.cm/?p=175</guid>
				<description><![CDATA[While testing munin 2.x on debian, I was unable to uninstall it, Removing munin-node &#8230; [FAIL] Munin-Node appears to be unconfigured. &#8230; failed! invoke-rc.d: initscript munin-node, action &#8220;stop&#8221; failed. dpkg: error processing munin-node (&#8211;purge): subprocess installed pre-removal script returned error exit status 6 [FAIL] Munin-Node appears to be unconfigured. &#8230;]]></description>
								<content:encoded><![CDATA[<p>While testing munin 2.x on debian,  I was unable to uninstall it,</p>
<blockquote><p>
Removing munin-node &#8230;<br />
[FAIL] Munin-Node appears to be unconfigured. &#8230; failed!<br />
invoke-rc.d: initscript munin-node, action &#8220;stop&#8221; failed.<br />
dpkg: error processing munin-node (&#8211;purge):<br />
 subprocess installed pre-removal script returned error exit status 6<br />
[FAIL] Munin-Node appears to be unconfigured. &#8230; failed!<br />
invoke-rc.d: initscript munin-node, action &#8220;start&#8221; failed.<br />
dpkg: error while cleaning up:<br />
 subprocess installed post-installation script returned error exit status 6<br />
Errors were encountered while processing:<br />
 munin-node<br />
E: Sub-process /usr/bin/dpkg returned an error code (1)
</p></blockquote>
<p>The init.d checks if it&#8217;s configured</p>
<p>/etc/init.d/munin-node</p>
<blockquote><p>
elif [ ! -e $CONFFILE ]; then<br />
	log_failure_msg &#8220;Munin-Node appears to be unconfigured.&#8221;<br />
	exit 6<br />
fi
</p></blockquote>
<p>Which is what is causing this issue,  changing this too,</p>
<blockquote><p>
elif [ ! -e $CONFFILE &#038;&#038; $1 != &#8220;stop&#8221; ]; then<br />
	log_failure_msg &#8220;Munin-Node appears to be unconfigured.&#8221;<br />
	exit 6<br />
fi
</p></blockquote>
<p>Should solve the issue.</p>
]]></content:encoded>
							<wfw:commentRss>https://scott.cm/unable-to-uninstall-munin/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
							</item>
		<item>
		<title>Migrating from Ubuntu 11.10 to Linux Mint</title>
		<link>https://scott.cm/migrating-from-ubuntu-11-10-to-linux-mint/</link>
				<comments>https://scott.cm/migrating-from-ubuntu-11-10-to-linux-mint/#comments</comments>
				<pubDate>Mon, 16 Apr 2012 22:02:27 +0000</pubDate>
		<dc:creator><![CDATA[Scott Mcintyre]]></dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Mint]]></category>

		<guid isPermaLink="false">https://scott.cm/?p=90</guid>
				<description><![CDATA[Last night I decided to apply the Ubuntu 11.10 upgrade because the update notification was getting annoying and boy it turned out to be a pain. The previous upgrade introduced Unity which if you just have a google search look at the top recommendations should explain it all. &#8220;Unity Sucks&#8221;]]></description>
								<content:encoded><![CDATA[<p>Last night I decided to apply the Ubuntu 11.10 upgrade because the update notification was getting annoying and boy it turned out to be a pain. The previous upgrade introduced Unity which if you just have a google search look at the top recommendations should explain it all. </p>
<p><a href="https://scott.cm/wp-content/uploads/2012/04/Unity-Sucks.png" title="Unity Sucks"><img src="https://scott.cm/wp-content/uploads/2012/04/Unity-Sucks-300x55.png" alt="Google Recommendations for Unity" /></a></p>
<p>&#8220;Unity Sucks&#8221; the top recommendation next to the term itself.  </p>
<p>In the previous release I was happy because the gnome classic to get gnome 2 worked but as of 11.10 this isn&#8217;t possible.  It&#8217;s either Unity or GNOME 3 (Classic is available).  Unity lasted no more than 10 minutes in testing,  it&#8217;s clearly designed for tablets and is horrendous to use.   GNOME 3 I could get used to but would need to tweak more,  I really dislike the overly large icons and large notifications.</p>
<p>After a bit of trial and messing around I even managed to make all my panels disappear and couldn&#8217;t figure out how to return them and decided to just take the plunge and switch to mint 12 with cinnamon.   The migration was rather easy,  I simply installed mint and restored my backup of /home to retain all my old settings.  Reinstalled skype, thunderbird,  chrome,  firefox, nagstamon and xchat and that was everything back with the exception of being on Mint 12.</p>
<p>The standard mint brings the gnome 2 feel but I still couldn&#8217;t quite take to it so went ahead and installed cinnamon and I have to say I quite like it.   With the exception of not having a taskbar on the other screens but there does seem to be a bug issue last updated a few days ago for this at <a href="https://github.com/linuxmint/Cinnamon/issues/130">https://github.com/linuxmint/Cinnamon/issues/130</a> so with any luck this will be introduced soon.</p>
<p>Overall everything seems quite snappy,   the UI is what I want and it&#8217;s back to business as usual.</p>
]]></content:encoded>
							<wfw:commentRss>https://scott.cm/migrating-from-ubuntu-11-10-to-linux-mint/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
							</item>
		<item>
		<title>ERROR: Module backupdriver is in use</title>
		<link>https://scott.cm/error-module-backupdriver-is-in-use/</link>
				<comments>https://scott.cm/error-module-backupdriver-is-in-use/#respond</comments>
				<pubDate>Sat, 14 Apr 2012 15:13:09 +0000</pubDate>
		<dc:creator><![CDATA[Scott Mcintyre]]></dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[R1soft]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[backupdriver is in use]]></category>
		<category><![CDATA[buagent]]></category>
		<category><![CDATA[Module backupdriver is in use]]></category>
		<category><![CDATA[r1soft cdp3]]></category>
		<category><![CDATA[r1soft error]]></category>
		<category><![CDATA[r1soft install]]></category>
		<category><![CDATA[r1soft uninstall]]></category>
		<category><![CDATA[removing buagent]]></category>
		<category><![CDATA[rmmod backupdriver]]></category>
		<category><![CDATA[unloading backupdriver]]></category>

		<guid isPermaLink="false">https://scott.cm/?p=86</guid>
				<description><![CDATA[While updating several of our remaining systems from r1soft CDP 2 to CDP 3 we&#8217;ve been getting the following error, ERROR: Module backupdriver is in use r1soft-uninstall-buagent -R This uninstaller will remove the following.. File /etc/init.d/buagent File /usr/bin/buagent File /var/lock/buagent.lock File /var/run/buagent.pid File /usr/bin/r1key File /usr/bin/r1soft-cki File /usr/bin/r1soft-report.sh File /usr/bin/r1soft-uninstall-buagent]]></description>
								<content:encoded><![CDATA[<p>While updating several of our remaining systems from r1soft CDP 2 to CDP 3 we&#8217;ve been getting the following error,</p>
<p>ERROR: Module backupdriver is in use</p>
<p><code>r1soft-uninstall-buagent -R<br />
This uninstaller will remove the following..</code></p>
<p>File /etc/init.d/buagent<br />
File /usr/bin/buagent<br />
File /var/lock/buagent.lock<br />
File /var/run/buagent.pid<br />
File /usr/bin/r1key<br />
File /usr/bin/r1soft-cki<br />
File /usr/bin/r1soft-report.sh<br />
File /usr/bin/r1soft-uninstall-buagent<br />
File /usr/share/man/man3/buagent.3.gz<br />
File /usr/share/man/man3/r1key.3.gz<br />
File /usr/share/man/man3/r1soft-uninstall-buagent.3.gz<br />
Directory /etc/buagent<br />
Directory /usr/lib/buagent<br />
Directory /lib/modules/buagent<br />
Directory /var/cache/buagent<br />
Directory /var/db/buagent<br />
User buagent<br />
Group buagent</p>
<p>Would you like to continue? (yes/no):yes<br />
stopping buagent.<br />
removing buagent from services.<br />
removing File /etc/init.d/buagent<br />
removing File /usr/bin/buagent<br />
removing File /var/lock/buagent.lock<br />
removing File /var/run/buagent.pid<br />
removing File /usr/bin/r1key<br />
removing File /usr/bin/r1soft-cki<br />
removing File /usr/bin/r1soft-report.sh<br />
removing File /usr/bin/r1soft-uninstall-buagent<br />
removing File /usr/share/man/man3/buagent.3.gz<br />
removing File /usr/share/man/man3/r1key.3.gz<br />
removing File /usr/share/man/man3/r1soft-uninstall-buagent.3.gz<br />
removing Directory /etc/buagent<br />
removing Directory /usr/lib/buagent<br />
removing Directory /lib/modules/buagent<br />
removing Directory /var/cache/buagent<br />
removing Directory /var/db/buagent<br />
removing buagent user…<br />
unloading backupdriver kernel module…<br />
ERROR: Module backupdriver is in use<br />
done.</p>
<p>Trying to simply rmmod the driver fails because it&#8217;s in use but without having forced support there is no way to unload it using this method.</p>
<p><code><br />
# rmmod backupdriver<br />
ERROR: Module backupdriver is in use<br />
</code></p>
<p>The solution is to reinstall the latest CDP 2 agent and run <strong>buagent -u</strong> to unload it first then proceed to uninstalling the CDP2 agent and installing CDP3 agent.</p>
]]></content:encoded>
							<wfw:commentRss>https://scott.cm/error-module-backupdriver-is-in-use/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
	</channel>
</rss>
