<?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>Coretanium &#187; Debian</title>
	<atom:link href="http://www.coretanium.net/category/debian/feed" rel="self" type="application/rss+xml" />
	<link>http://www.coretanium.net</link>
	<description>tech blah blah</description>
	<lastBuildDate>Tue, 20 Sep 2011 07:21:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>PostgreSQL 9.0 on Debian lenny</title>
		<link>http://www.coretanium.net/postgresql-9-0-on-debian-lenny</link>
		<comments>http://www.coretanium.net/postgresql-9-0-on-debian-lenny#comments</comments>
		<pubDate>Wed, 05 Jan 2011 10:16:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PostgreSQL]]></category>

		<guid isPermaLink="false">http://www.coretanium.net/?p=402</guid>
		<description><![CDATA[/etc/apt/sources.list deb http://backports.debian.org/debian-backports lenny-backports main deb http://backports.debian.org/debian-backports lenny-backports-sloppy main Install from the new target release: apt-get install -t lenny-backports postgresql-common apt-get install -t lenny-backports-sloppy postgresql-9.0 postgresql-client-9.0 postgresql-contrib-9.0 http://lists.debian.org/debian-backports-announce/2010/10/msg00000.html]]></description>
			<content:encoded><![CDATA[<p>/etc/apt/sources.list</p>
<p><code><br />
deb http://backports.debian.org/debian-backports lenny-backports   main<br />
deb http://backports.debian.org/debian-backports lenny-backports-sloppy main<br />
</code></p>
<p>Install from the new target release:</p>
<p><code><br />
apt-get install -t lenny-backports postgresql-common<br />
apt-get install -t lenny-backports-sloppy postgresql-9.0 postgresql-client-9.0 postgresql-contrib-9.0<br />
</code></p>
<p><a href="http://lists.debian.org/debian-backports-announce/2010/10/msg00000.html">http://lists.debian.org/debian-backports-announce/2010/10/msg00000.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.coretanium.net/postgresql-9-0-on-debian-lenny/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debian reset root password</title>
		<link>http://www.coretanium.net/debian-reset-root-password</link>
		<comments>http://www.coretanium.net/debian-reset-root-password#comments</comments>
		<pubDate>Wed, 21 Oct 2009 09:20:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.coretanium.net/debian-reset-root-password</guid>
		<description><![CDATA[In order to reset the password, you need to boot your debian installation into single user mode. You can do this by following the steps below; 1. Once grub menu comes up, select the&#160;single user&#160;entry&#160;and press &#8216;e&#8217;2. Select the kernel &#8230; line and press &#8216;e&#8217; once again3. Append &#8216;init=/bin/bash&#8217; at the end of line and [...]]]></description>
			<content:encoded><![CDATA[<p>In order to reset the password, you need to boot your debian installation into single user mode. You can do this by following the steps below;</p>
<p>1. Once grub menu comes up, select the&nbsp;single user&nbsp;entry&nbsp;and press &lsquo;e&rsquo;<br />2. Select the kernel &hellip; line and press &lsquo;e&rsquo; once again<br />3. Append &lsquo;init=/bin/bash&rsquo; at the end of line and press b to boot</p>
<p>You will be dropped into a shell, next you need to mount the filesystem in read/write mode in order to change the password.</p>
<p>5. mount -n -o remount,rw /<br />6. passwd<br />7. reboot</p>
<p>That&rsquo;s all there is to it!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.coretanium.net/debian-reset-root-password/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding startup script to run levels</title>
		<link>http://www.coretanium.net/adding-startup-script-to-run-levels</link>
		<comments>http://www.coretanium.net/adding-startup-script-to-run-levels#comments</comments>
		<pubDate>Mon, 17 Aug 2009 14:36:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Debian]]></category>

		<guid isPermaLink="false">http://www.xnetcore.com/adding-startup-script-to-run-levels/</guid>
		<description><![CDATA[Place the startup script in /etc/init.d/ then use update-rc.d to make it start&#160;on bootup with the following; update-rc.d myscript defaults The option &#8220;defaults&#8221; puts a&#160;symlink to start&#160;myscript&#160;on run levels 2, 3, 4 and 5 and a symlink in 0, 1 and 6 to stop myscript on shutdown/reboot.]]></description>
			<content:encoded><![CDATA[<p>Place the startup script in /etc/init.d/ then use update-rc.d to make it start&nbsp;on bootup with the following;</p>
<p>update-rc.d myscript defaults</p>
<p>The option &ldquo;defaults&rdquo; puts a&nbsp;symlink to start&nbsp;myscript&nbsp;on run levels 2, 3, 4 and 5 and a symlink in 0, 1 and 6 to stop myscript on shutdown/reboot.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.coretanium.net/adding-startup-script-to-run-levels/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>warning: SASL authentication failure: cannot connect to saslauthd server: Permission denied</title>
		<link>http://www.coretanium.net/warning-sasl-authentication-failure-cannot-connect-to-saslauthd-server-permission-denied</link>
		<comments>http://www.coretanium.net/warning-sasl-authentication-failure-cannot-connect-to-saslauthd-server-permission-denied#comments</comments>
		<pubDate>Mon, 17 Aug 2009 14:31:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Postfix]]></category>

		<guid isPermaLink="false">http://www.xnetcore.com/warning-sasl-authentication-failure-cannot-connect-to-saslauthd-server-permission-denied/</guid>
		<description><![CDATA[Check the OPTIONS directive in /etc/default/saslauthd and set it to within your postfix chroot. OPTIONS=&#8221;-c -r -m /var/spool/postfix/var/run/saslauthd&#8221; Then run; dpkg-statoverride &#8211;add root sasl 710 /var/spool/postfix/var/run/saslauthd adduser postfix sasl Restart both postfix and saslauthd for the changes to take effect.]]></description>
			<content:encoded><![CDATA[<p>Check the OPTIONS directive in /etc/default/saslauthd and set it to within your postfix chroot.</p>
<p>OPTIONS=&#8221;-c -r -m /var/spool/postfix/var/run/saslauthd&#8221;</p>
<p>Then run;</p>
<p>dpkg-statoverride &#8211;add root sasl 710 /var/spool/postfix/var/run/saslauthd</p>
<p>adduser postfix sasl</p>
<p>Restart both postfix and saslauthd for the changes to take effect.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.coretanium.net/warning-sasl-authentication-failure-cannot-connect-to-saslauthd-server-permission-denied/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debian xenserver updates apt repository missing GPG key</title>
		<link>http://www.coretanium.net/debian-xenserver-updates-apt-repository-missing-gpg-key</link>
		<comments>http://www.coretanium.net/debian-xenserver-updates-apt-repository-missing-gpg-key#comments</comments>
		<pubDate>Thu, 13 Aug 2009 06:34:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Xen]]></category>

		<guid isPermaLink="false">http://www.xnetcore.com/debian-xenserver-updates-apt-repository-missing-gpg-key/</guid>
		<description><![CDATA[After you&#8217;ve installed XenTools on your VM and you try to do a apt-get update you are greeted with a GPG error message saying that the repository isn&#8217;t trusted. This is because the GPG key Citrix use to sign their packages has not been added to the apt keyring. To fix it, run; wget -q [...]]]></description>
			<content:encoded><![CDATA[<p>After you&rsquo;ve installed XenTools on your VM and you try to do a apt-get update you are greeted with a GPG error message saying that the repository isn&rsquo;t trusted. This is because the GPG key Citrix use to sign their packages has not been added to the apt keyring.</p>
<p>To fix it, run;</p>
<p>wget -q <a href="http://updates.vmd.citrix.com/XenServer/5.5.0/GPG-KEY">http://updates.vmd.citrix.com/XenServer/5.5.0/GPG-KEY</a> -O- | apt-key add &mdash;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.coretanium.net/debian-xenserver-updates-apt-repository-missing-gpg-key/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>apt-get update GPG error</title>
		<link>http://www.coretanium.net/apt-get-update-gpg-error</link>
		<comments>http://www.coretanium.net/apt-get-update-gpg-error#comments</comments>
		<pubDate>Tue, 23 Jun 2009 12:01:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.xnetcore.com/apt-get-update-gpg-error/</guid>
		<description><![CDATA[W: GPG error: http://ftp.uk.debian.org etch Release: The following signatures couldn&#8217;t be verified because the public key is not available: NO_PUBKEY 9AA38DCD55BE302BW: There is no public key available for the following key IDs:9AA38DCD55BE302BW: You may want to run apt-get update to correct these problems &#160; Solution: &#160; # gpg &#8211;recv-keys 9AA38DCD55BE302B# gpg &#8211;export 9AA38DCD55BE302B &#124; apt-key [...]]]></description>
			<content:encoded><![CDATA[<p>W: GPG error: <a href="http://ftp.uk.debian.org">http://ftp.uk.debian.org</a> etch Release: The following signatures couldn&#8217;t be verified because the public key is not available: NO_PUBKEY 9AA38DCD55BE302B<br />W: There is no public key available for the following key IDs:<br />9AA38DCD55BE302B<br />W: You may want to run apt-get update to correct these problems</p>
<p>&nbsp;</p>
<p>Solution:</p>
<p>&nbsp;</p>
<p># gpg &#8211;recv-keys 9AA38DCD55BE302B<br /># gpg &#8211;export 9AA38DCD55BE302B | apt-key add &mdash;</p>
<p>&nbsp;</p>
<p>OR</p>
<p>&nbsp;</p>
<p># apt-get install debian-keyring debian-archive-keyring<br /># apt-key update</p>
]]></content:encoded>
			<wfw:commentRss>http://www.coretanium.net/apt-get-update-gpg-error/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Counting up to the UNIX Epoch time reading 1,234,567,890!</title>
		<link>http://www.coretanium.net/countdown-actually-up-to-the-unix-epoch-time-reading-123456789</link>
		<comments>http://www.coretanium.net/countdown-actually-up-to-the-unix-epoch-time-reading-123456789#comments</comments>
		<pubDate>Mon, 09 Feb 2009 08:11:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.xnetcore.com/countdown-actually-up-to-the-unix-epoch-time-reading-123456789/</guid>
		<description><![CDATA[Unix time, or POSIX time, is a system for describing points in time, defined as the number of seconds elapsed since midnight Coordinated Universal Time (UTC) of January 1, 1970, not counting leap seconds. It is widely used not only on Unix-like operating systems but also in many other computing systems. It is neither a [...]]]></description>
			<content:encoded><![CDATA[<p>Unix time, or POSIX time, is a system for describing points in time, defined as the number of seconds elapsed since midnight Coordinated Universal Time (UTC) of January 1, 1970, not counting leap seconds. It is widely used not only on Unix-like operating systems but also in many other computing systems. It is neither a linear representation of time nor a true representation of UTC (though it is frequently mistaken for both) as the times it represents are UTC but it has no way of representing UTC leap seconds (e.g. 1998-12-31 23:59:60).</p>
<p>&#8220;At 11:31:30pm UTC on Feb 13, 2009, Unix time will reach 1,234,567,890.</p>
<p>Where will you be at this momentous second?&#8221; &#8211; from Bell Labs</p>
<p>You can use the following perl command to find out when the Epoch time reading will be 123456789 in your time zone</p>
<pre lang="perl">perl -e 'print scalar localtime(1234567890),"\n";'</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.coretanium.net/countdown-actually-up-to-the-unix-epoch-time-reading-123456789/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PTY allocation request failed on channel 0</title>
		<link>http://www.coretanium.net/pty-allocation-request-failed-on-channel-0</link>
		<comments>http://www.coretanium.net/pty-allocation-request-failed-on-channel-0#comments</comments>
		<pubDate>Fri, 16 Jan 2009 21:58:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Xen]]></category>

		<guid isPermaLink="false">http://www.coretanium.net/pty-allocation-request-failed-on-channel-0</guid>
		<description><![CDATA[After creating a new VM on Debian Lenny, I got the following when trying to ssh into the DomU; PTY allocation request failed on channel 0 stdin: is not a tty Run the following to fix the issue; apt-get install udev]]></description>
			<content:encoded><![CDATA[<p>After creating a new VM on Debian Lenny, I got the following when trying to ssh into the DomU;</p>
<pre style="PADDING-LEFT: 30px">PTY allocation request failed on channel 0</pre>
<pre style="TEXT-ALIGN: left; PADDING-LEFT: 30px">stdin: is not a tty</pre>
<p>Run the following to fix the issue;</p>
<p><strong><code>apt-get install udev</code></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.coretanium.net/pty-allocation-request-failed-on-channel-0/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Policyd Build Error</title>
		<link>http://www.coretanium.net/policyd-build-error</link>
		<comments>http://www.coretanium.net/policyd-build-error#comments</comments>
		<pubDate>Sun, 21 Dec 2008 05:30:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.coretanium.net/?p=124</guid>
		<description><![CDATA[policyd error Your OS doesnt support MSG_NOSIGNAL or SO_NOSIGPIPE apt-get install g++ gcc policyd.h:52:19: error: mysql.h: No such file or directory apt-get install libmysqlclient15-dev]]></description>
			<content:encoded><![CDATA[<p>policyd error Your OS doesnt support MSG_NOSIGNAL or SO_NOSIGPIPE</p>
<pre lang="shell">apt-get install g++ gcc</pre>
<p>policyd.h:52:19: error: mysql.h: No such file or directory</p>
<pre lang="shell">apt-get install libmysqlclient15-dev</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.coretanium.net/policyd-build-error/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Xen on Debian Etch</title>
		<link>http://www.coretanium.net/xen-on-debian-etch</link>
		<comments>http://www.coretanium.net/xen-on-debian-etch#comments</comments>
		<pubDate>Tue, 02 Dec 2008 00:53:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Xen]]></category>

		<guid isPermaLink="false">http://blog.coretanium.net/?p=46</guid>
		<description><![CDATA[I&#8217;ve been testing out a few virtualization systems and am sofar very pleased with Xen. Installing on Debian Etch couldn&#8217;t be easier and it worked straight out the box &#8211; I had my first virtual server running in under 15 minutes flat! Use the following commands to install Xen on a Debian Etch machine: apt-get [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been testing out a few virtualization systems and am sofar very pleased with Xen. Installing on Debian Etch couldn&#8217;t be easier and it worked straight out the box &#8211; I had my first virtual server running in under 15 minutes flat!</p>
<p>Use the following commands to install Xen on a Debian Etch machine:</p>
<pre lang="shell">apt-get install xen-linux-system-2.6.18-4-xen-686 libc6-xen bridge-utils</pre>
<p>This will install the Xen kernel (2.6.18-5-xen-686 #1 SMP), the libc6-xen  libraries which is optimized for the Xen hypervisor and the utilities for configuring the Linux ethernet bridge.</p>
<p>Next up is a reboot into your newly installed kernel:</p>
<pre lang="shell">reboot</pre>
<p>Once the machine is back online you need to install the xen-tools package which allows you easily create new guest Xen domains on your Debian Etch host:</p>
<pre lang="shell">apt-get install xen-tools</pre>
<p>Next, modify the Xen config file (/etc/xen/xend-config.sxp) and enable:</p>
<pre lang="shell">(network-script network-bridge)</pre>
<p>You also need to modify /etc/xen-tools/xen-tools.conf to set kernel and initrd parameters as well as the disk and sizing options for your vistual servers.</p>
<p>You can easily find out what your kernel and initrd image is named by typing:</p>
<pre lang="shell">ls /boot/vmlinuz* /boot/initrd*</pre>
<p>This will list the kernel and initrd names for your system. Remember, your after the xen kernel and initrd images!</p>
<pre lang="shell">/boot/initrd.img-2.6.18-5-xen-686

/boot/vmlinuz-2.6.18-5-xen-686</pre>
<p>Continue and edit the xen-tools configuration file</p>
<pre lang="shell">vi /etc/xen-tools/xen-tools.conf

#
# Default kernel and ramdisk to use for the virtual servers
#
kernel = /boot/vmlinuz-2.6.18-5-xen-686
initrd = /boot/initrd.img-2.6.18-5-xen-686

dir = /data/vservers
debootstrap = 1
gateway   = 172.16.0.1
netmask   = 255.255.255.0

size   = 6Gb
memory = 256Mb
swap   = 256Mb
fs     = ext3
dist   = etch
image  = sparse</pre>
<p>Next, create the directory where your virtual servers will reside:</p>
<pre lang="shell">mkdir -p /data/vservers/domains</pre>
<p>Now your ready to create your first virtual server! Use the following command to create it:</p>
<pre lang="shell">xen-create-image -hostname=dns -ip=172.16.0.25 -passwd</pre>
<p>It will take a minute or two to create the virtual server after which you can fire it up by using:</p>
<pre lang="shell">xm create dns.cfg</pre>
<p>Your virtual server should be started up and ready for you to use.. You can either ssh to the IP you created the server with or attach to it from the host using:</p>
<pre lang="shell">xm console dns</pre>
<p>Have fun with your Xen virtual machine!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.coretanium.net/xen-on-debian-etch/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

