<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"> <channel><title>Zachary Armstrong's Blog</title> <link>http://blog.zacharyarmstrong.com</link> <description /> <lastBuildDate>Wed, 03 Aug 2011 18:50:36 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/ZacharyArmstrongsBlog" /><feedburner:info uri="zacharyarmstrongsblog" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:browserFriendly></feedburner:browserFriendly><item><title>foreman &amp; passenger — can’t activate rack (~&gt; 1.1.0, runtime), already activated rack-1.3.1</title><link>http://blog.zacharyarmstrong.com/2011/08/03/foreman-passenger-cant-activate-rack-1-1-0-runtime-already-activated-rack-1-3-1/</link> <comments>http://blog.zacharyarmstrong.com/2011/08/03/foreman-passenger-cant-activate-rack-1-1-0-runtime-already-activated-rack-1-3-1/#comments</comments> <pubDate>Wed, 03 Aug 2011 18:50:36 +0000</pubDate> <dc:creator>zach</dc:creator> <category><![CDATA[Uncategorized]]></category> <category><![CDATA[rack gem ruby foreman passenger puppet puppetmaster linux redhat rhel]]></category> <category>rack</category> <category>rack</category> <category>foreman</category> <category>activated</category> <category>runtime</category> <category>activate</category> <category>vendor</category> <category>intended</category> <category>rack</category> <category>rack</category> <category>foreman</category> <category>activated</category> <category>runtime</category> <category>activate</category> <category>vendor</category> <category>intended</category> <guid isPermaLink="false">http://blog.zacharyarmstrong.com/?p=139</guid> <description><![CDATA[<p>I was getting the lovely error:</p><p>can&#8217;t activate rack (~> 1.1.0, runtime), already activated rack-1.3.1</p><p>After racking (no pun intended) my brain and searching for a while, I found a working solution.</p><p>What I ended up having to do was edit /home/foreman/vendor/rails/actionpack/lib/action_controller.rb Around line #34, it reads</p><p>gem 'rack', '~> 1.1.0'</p><p>All I did was [...]
No related posts.]]></description> <content:encoded><![CDATA[<p>I was getting the lovely error:</p><blockquote><p>can&#8217;t activate rack (~> 1.1.0, runtime), already activated rack-1.3.1</p></blockquote><p>After racking (no pun intended) my brain and searching for a while, I found a working solution.</p><p>What I ended up having to do was edit <strong>/home/foreman/vendor/rails/actionpack/lib/action_controller.rb</strong> Around line #34, it reads</p><p><code>gem 'rack', '~> 1.1.0'</code></p><p>All I did was change this line to read</p><p><code>gem 'rack', '~> 1.3.1'</code></p><p>No related posts.</p>]]></content:encoded> <wfw:commentRss>http://blog.zacharyarmstrong.com/2011/08/03/foreman-passenger-cant-activate-rack-1-1-0-runtime-already-activated-rack-1-3-1/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>CentOS release 5.3 (Final) Yum Update fails with Traceback</title><link>http://blog.zacharyarmstrong.com/2009/05/24/centos-release-53-final-yum-update-fails-with-traceback/</link> <comments>http://blog.zacharyarmstrong.com/2009/05/24/centos-release-53-final-yum-update-fails-with-traceback/#comments</comments> <pubDate>Mon, 25 May 2009 01:40:23 +0000</pubDate> <dc:creator>zach</dc:creator> <category><![CDATA[Uncategorized]]></category> <category><![CDATA[bug]]></category> <category><![CDATA[centos]]></category> <category><![CDATA[centos 5.3]]></category> <category><![CDATA[error]]></category> <category><![CDATA[exit code]]></category> <category><![CDATA[fail]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[plugin]]></category> <category><![CDATA[root]]></category> <category><![CDATA[traceback]]></category> <category><![CDATA[yum]]></category> <category><![CDATA[yum update]]></category> <category><![CDATA[yumupdate]]></category> <category /> <guid isPermaLink="false">http://blog.zacharyarmstrong.com/?p=95</guid> <description><![CDATA[<p>If you&#8217;re seeing something along these lines:</p><p>root@server [~]# yum update file Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirrors.serveraxis.net * updates: yum.singlehop.com * addons: centos.cs.wisc.edu * extras: centos.cs.wisc.edu base &#124; 1.1 kB 00:00 updates &#124; 951 B 00:00 addons &#124; 951 B 00:00 extras &#124; 1.1 kB 00:00 Excluding Packages [...]
No related posts.]]></description> <content:encoded><![CDATA[<p>If you&#8217;re seeing something along these lines:</p><blockquote><p><em>root@server [~]#</em> <strong>yum update file</strong><br
/> Loaded plugins: fastestmirror<br
/> Loading mirror speeds from cached hostfile<br
/> * base: mirrors.serveraxis.net<br
/> * updates: yum.singlehop.com<br
/> * addons: centos.cs.wisc.edu<br
/> * extras: centos.cs.wisc.edu<br
/> base                                                     | 1.1 kB     00:00<br
/> updates                                                  |  951 B     00:00<br
/> addons                                                   |  951 B     00:00<br
/> extras                                                   | 1.1 kB     00:00<br
/> Excluding Packages in global exclude list<br
/> Finished<br
/> Setting up Update Process<br
/> Resolving Dependencies<br
/> &#8211;&gt; Running transaction check<br
/> &#8212;&gt; Package file.x86_64 0:4.17-15.el5_3.1 set to be updated<br
/> Traceback (most recent call last):<br
/> File &#8220;/usr/bin/yum&#8221;, line 29, in ?<br
/> yummain.user_main(sys.argv[1:], exit_code=True)<br
/> File &#8220;/usr/share/yum-cli/yummain.py&#8221;, line 229, in user_main<br
/> errcode = main(args)<br
/> File &#8220;/usr/share/yum-cli/yummain.py&#8221;, line 145, in main<br
/> (result, resultmsgs) = base.buildTransaction()<br
/> File &#8220;/usr/lib/python2.4/site-packages/yum/__init__.py&#8221;, line 647, in buildTransaction<br
/> (rescode, restring) = self.resolveDeps()<br
/> File &#8220;/usr/lib/python2.4/site-packages/yum/depsolve.py&#8221;, line 704, in resolveDeps<br
/> for po, dep in self._checkFileRequires():<br
/> File &#8220;/usr/lib/python2.4/site-packages/yum/depsolve.py&#8221;, line 939, in _checkFileRequires<br
/> if not self.tsInfo.getOldProvides(filename) and not self.tsInfo.getNewProvides(filename):<br
/> File &#8220;/usr/lib/python2.4/site-packages/yum/transactioninfo.py&#8221;, line 414, in getNewProvides<br
/> for pkg, hits in self.pkgSack.getProvides(name, flag, version).iteritems():<br
/> File &#8220;/usr/lib/python2.4/site-packages/yum/packageSack.py&#8221;, line 300, in getProvides<br
/> return self._computeAggregateDictResult(&#8220;getProvides&#8221;, name, flags, version)<br
/> File &#8220;/usr/lib/python2.4/site-packages/yum/packageSack.py&#8221;, line 470, in _computeAggregateDictResult<br
/> sackResult = apply(method, args)<br
/> File &#8220;/usr/lib/python2.4/site-packages/yum/sqlitesack.py&#8221;, line 861, in getProvides<br
/> return self._search(&#8220;provides&#8221;, name, flags, version)<br
/> File &#8220;/usr/lib/python2.4/site-packages/yum/sqlitesack.py&#8221;, line 43, in newFunc<br
/> return func(*args, **kwargs)<br
/> File &#8220;/usr/lib/python2.4/site-packages/yum/sqlitesack.py&#8221;, line 837, in _search<br
/> for pkg in self.searchFiles(name, strict=True):<br
/> File &#8220;/usr/lib/python2.4/site-packages/yum/sqlitesack.py&#8221;, line 43, in newFunc<br
/> return func(*args, **kwargs)<br
/> File &#8220;/usr/lib/python2.4/site-packages/yum/sqlitesack.py&#8221;, line 586, in searchFiles<br
/> self._sql_pkgKey2po(rep, cur, pkgs)<br
/> File &#8220;/usr/lib/python2.4/site-packages/yum/sqlitesack.py&#8221;, line 470, in _sql_pkgKey2po<br
/> pkg = self._packageByKey(repo, ob['pkgKey'])<br
/> File &#8220;/usr/lib/python2.4/site-packages/yum/sqlitesack.py&#8221;, line 413, in _packageByKey<br
/> po = self.pc(repo, cur.fetchone())<br
/> File &#8220;/usr/lib/python2.4/site-packages/yum/sqlitesack.py&#8221;, line 68, in __init__<br
/> self._read_db_obj(db_obj)<br
/> File &#8220;/usr/lib/python2.4/site-packages/yum/sqlitesack.py&#8221;, line 94, in _read_db_obj<br
/> setattr(self, item, _share_data(db_obj[item]))<br
/> TypeError: unsubscriptable object</p></blockquote><p>There is a simple solution to fix this problem!<span
id="more-95"></span></p><p>All you have to do is run <code>yum clean dbcache</code></p><p>You should then be able to update!</p><blockquote><p><em>root@server [~]#</em> <strong>yum clean dbcache</strong><br
/> Loaded plugins: fastestmirror<br
/> 8 sqlite files removed<br
/> <em>root@server [~]#</em> <strong>yum update file</strong><br
/> Loaded plugins: fastestmirror<br
/> Loading mirror speeds from cached hostfile<br
/> * base: mirrors.serveraxis.net<br
/> * updates: mirror.steadfast.net<br
/> * addons: centos.cs.wisc.edu<br
/> * extras: centos.cs.wisc.edu<br
/> base                                                     | 1.1 kB     00:00<br
/> base                                                           3272/3272<br
/> updates                                                  |  951 B     00:00<br
/> updates                                                        323/323<br
/> addons                                                   |  951 B     00:00<br
/> extras                                                   | 1.1 kB     00:00<br
/> extras                                                         266/266<br
/> Excluding Packages in global exclude list<br
/> Finished<br
/> Setting up Update Process<br
/> Resolving Dependencies<br
/> &#8211;&gt; Running transaction check<br
/> &#8212;&gt; Package file.x86_64 0:4.17-15.el5_3.1 set to be updated<br
/> &#8211;&gt; Finished Dependency Resolution</p><p>Dependencies Resolved</p><p>================================================================================<br
/> Package       Arch            Version                   Repository        Size<br
/> ================================================================================<br
/> Updating:<br
/> file          x86_64          4.17-15.el5_3.1           updates          318 k</p><p>Transaction Summary<br
/> ================================================================================<br
/> Install      0 Package(s)<br
/> Update       1 Package(s)<br
/> Remove       0 Package(s)</p><p>Total download size: 318 k<br
/> Is this ok [y/N]: <strong>y</strong><br
/> Downloading Packages:<br
/> file-4.17-15.el5_3.1.x86_64.rpm                          | 318 kB     00:01<br
/> Running rpm_check_debug<br
/> Running Transaction Test<br
/> Finished Transaction Test<br
/> Transaction Test Succeeded<br
/> Running Transaction<br
/> Updating       : file                                              [1/2]<br
/> Cleanup        : file                                              [2/2]</p><p>Updated: file.x86_64 0:4.17-15.el5_3.1<br
/> Complete!</p></blockquote><p>No related posts.</p>]]></content:encoded> <wfw:commentRss>http://blog.zacharyarmstrong.com/2009/05/24/centos-release-53-final-yum-update-fails-with-traceback/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>Large File Transfers from Windows to Linux to Windows Being Corrupted</title><link>http://blog.zacharyarmstrong.com/2009/03/11/large-file-transfers-from-windows-to-linux-to-windows-being-corrupted/</link> <comments>http://blog.zacharyarmstrong.com/2009/03/11/large-file-transfers-from-windows-to-linux-to-windows-being-corrupted/#comments</comments> <pubDate>Wed, 11 Mar 2009 15:16:50 +0000</pubDate> <dc:creator>zach</dc:creator> <br /> <b>Warning</b>:  Invalid argument supplied for foreach() in <b>/home/mastersl/public_html/blog/wp-content/plugins/autometa/autometa.php</b> on line <b>300</b><br /> <category><![CDATA[Uncategorized]]></category> <category><![CDATA[7zip]]></category> <category><![CDATA[checksum]]></category> <category><![CDATA[cifs]]></category> <category><![CDATA[compressed]]></category> <category><![CDATA[compression]]></category> <category><![CDATA[corrupt]]></category> <category><![CDATA[corrupt data]]></category> <category><![CDATA[corruption]]></category> <category><![CDATA[fedora]]></category> <category><![CDATA[file transfer]]></category> <category><![CDATA[file transfers]]></category> <category><![CDATA[forcedirectio]]></category> <category><![CDATA[fstab]]></category> <category><![CDATA[ftp]]></category> <category><![CDATA[ftp client]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[mnt]]></category> <category><![CDATA[samba]]></category> <category><![CDATA[windows]]></category> <category><![CDATA[windows server]]></category> <category><![CDATA[winrar]]></category> <category><![CDATA[zip]]></category> <category><![CDATA[zip files]]></category> <guid isPermaLink="false">http://blog.zacharyarmstrong.com/2009/03/11/large-file-transfers-from-windows-to-linux-to-windows-being-corrupted/</guid> <description><![CDATA[<p>In the office, we have a Linux box which we use to delegate access to a certain set of production servers.  CIFS mount points are shared out through FTP, allowing us to control who can access what.</p><p>We recently ran into a problem.  A few large zip files were transferred to production and I was [...]
No related posts.]]></description> <content:encoded><![CDATA[<p>In the office, we have a Linux box which we use to delegate access to a certain set of production servers.  CIFS mount points are shared out through FTP, allowing us to control who can access what.</p><p>We recently ran into a problem.  A few large zip files were transferred to production and I was asked to unzip them.  The first set of four zip files were unable to be extracted, reporting a premature end of file.  I had the user recompress the files using 7zip (winrar was used originally).  This also did not solve the problem.  Next, we tried a different FTP client. No dice.</p><p><span
id="more-76"></span>Next, I watched a file transfer as it happened.  The users FTP client reported the transfer to be complete; however I noticed some strange behavior.  The transfer was still in progress from what I saw.  On the production Windows server, I watched the file continue to grow for over 100 megabytes and about 3 to 5 minutes after the client reported the transfer as being complete.  This was my first clue that something strange was going on.</p><p>It seemed as though there was some sort of caching going on, and I wondered if this was somehow corrupting the files.  After a bit of googling, (term: ftp to cifs share corrupting), I came across this page: <a
title="Copying large files to CIFS mount (XP) may corrupt data!?" rel="bookmark" href="http://linuxneophyte.com/copying-large-files-to-cifs-mount-xp-may-corrupt-data/">Copying large files to CIFS mount (XP) may corrupt data!?</a></p><p>Turns out the problem is exactly the same as his.  Simply remounting the shares with the forcedirectio flag solved the problem.  For example, in fstab, the following line:</p><blockquote><p>//productionserver/share1 /mnt/share1  cifs  credentials=/etc/.cifs,rw 0 0</p></blockquote><p>was changed to</p><blockquote><p>//productionserver/share1  /mnt/share1  cifs  credentials=/etc/.cifs,rw,forcedirectio 0 0</p></blockquote><p>Next I did</p><blockquote><p>umount /mnt/share1<br
/> mount /mnt/share1</p></blockquote><p>Then to test, we transferred some large files, performed checksums and all was better in the world.</p><div
class="flockcredit" style="text-align: right; color: #CCC; font-size: x-small;">Blogged with the <a
style="color: #999; font-weight: bold;" title="Flock Browser" href="http://www.flock.com/blogged-with-flock" target="_new">Flock Browser</a></div><p>No related posts.</p>]]></content:encoded> <wfw:commentRss>http://blog.zacharyarmstrong.com/2009/03/11/large-file-transfers-from-windows-to-linux-to-windows-being-corrupted/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Upgrading to WordPress 2.7 Makes Admin Menus Disappear</title><link>http://blog.zacharyarmstrong.com/2009/01/25/upgrading-to-wordpress-27-makes-admin-menus-disappear/</link> <comments>http://blog.zacharyarmstrong.com/2009/01/25/upgrading-to-wordpress-27-makes-admin-menus-disappear/#comments</comments> <pubDate>Sun, 25 Jan 2009 20:54:31 +0000</pubDate> <dc:creator>zach</dc:creator> <br /> <b>Warning</b>:  Invalid argument supplied for foreach() in <b>/home/mastersl/public_html/blog/wp-content/plugins/autometa/autometa.php</b> on line <b>300</b><br /> <category><![CDATA[Uncategorized]]></category> <category><![CDATA[admin drop menus]]></category> <category><![CDATA[bug]]></category> <category><![CDATA[drop menu]]></category> <category><![CDATA[plugin]]></category> <category><![CDATA[wordpress]]></category> <category><![CDATA[wp2.7]]></category> <guid isPermaLink="false">http://blog.zacharyarmstrong.com/?p=74</guid> <description><![CDATA[<p>If your Admin Menus look funky after upgrading to wordpress 2.7, like shown below:</p><p
class="wp-caption-text">Wordpress 2.7 + Admin Drop Menus plugin bug</p><p>The fix is quite simple. You likely are using the Admin Drop Menus plugin. This plugin is not compatible with wordpress 2.7. The simple fix is to disable the plugin. Simply add [...]
Related posts:<ol><li><a
href='http://blog.zacharyarmstrong.com/2006/09/16/wordpress-trackback-for-pages-plugin/' rel='bookmark' title='WordPress Trackback for Pages Plugin'>WordPress Trackback for Pages Plugin</a></li><li><a
href='http://blog.zacharyarmstrong.com/2006/09/12/wordpress-image-tracker-plugin/' rel='bookmark' title='WordPress Image Tracker Plugin'>WordPress Image Tracker Plugin</a></li></ol>]]></description> <content:encoded><![CDATA[<p>If your Admin Menus look funky after upgrading to wordpress 2.7, like shown below:</p><div
id="attachment_73" class="wp-caption alignnone" style="width: 649px"><img
class="size-full wp-image-73" title="wordpress27bug" src="http://blog.zacharyarmstrong.com/wp-content/uploads/2009/01/wordpress27bug.png" alt="Wordpress 2.7 + Admin Drop Menus plugin bug" width="639" height="450" /><p
class="wp-caption-text">Wordpress 2.7 + Admin Drop Menus plugin bug</p></div><p>The fix is quite simple.  You likely are using the Admin Drop Menus plugin. This plugin is not compatible with wordpress 2.7.  The simple fix is to disable the plugin.  Simply add the following to your admin url:  plugins.php</p><p>In my case, I have the url: <em>http://blog.zacharyarmstrong.com/wp-admin/</em> which I turn into <em>http://blog.zacharyarmstrong.com/wp-admin/<strong>plugins.php</strong></em></p><p>From there, you can deactivate the plugin and all should be fixed!</p><p>Related posts:<ol><li><a
href='http://blog.zacharyarmstrong.com/2006/09/16/wordpress-trackback-for-pages-plugin/' rel='bookmark' title='WordPress Trackback for Pages Plugin'>WordPress Trackback for Pages Plugin</a></li><li><a
href='http://blog.zacharyarmstrong.com/2006/09/12/wordpress-image-tracker-plugin/' rel='bookmark' title='WordPress Image Tracker Plugin'>WordPress Image Tracker Plugin</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://blog.zacharyarmstrong.com/2009/01/25/upgrading-to-wordpress-27-makes-admin-menus-disappear/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Fixing the Perl Module “only available with the XS version” Error</title><link>http://blog.zacharyarmstrong.com/2008/05/24/fixing-the-perl-module-only-available-with-the-xs-version-error/</link> <comments>http://blog.zacharyarmstrong.com/2008/05/24/fixing-the-perl-module-only-available-with-the-xs-version-error/#comments</comments> <pubDate>Sun, 25 May 2008 03:03:07 +0000</pubDate> <dc:creator>zach</dc:creator> <category><![CDATA[Uncategorized]]></category> <category><![CDATA[cpan]]></category> <category><![CDATA[error]]></category> <category><![CDATA[fail]]></category> <category><![CDATA[makefile]]></category> <category><![CDATA[perl]]></category> <category><![CDATA[perl module]]></category> <category><![CDATA[pl]]></category> <category><![CDATA[Scalar::List::Utils]]></category> <category><![CDATA[xs]]></category> <category /> <guid isPermaLink="false">http://blog.zacharyarmstrong.com/2008/05/24/fixing-the-perl-module-only-available-with-the-xs-version-error/</guid> <description><![CDATA[<p>When trying to install or upgrade a perl module using cpan, you may get an error stating that the module you are trying to install &#8220;is only available with the XS version&#8221;</p><p>This error tends to rear its ugly head after you have updated perl. The module Scalar::List::Utils contains both an XS and a pure [...]
No related posts.]]></description> <content:encoded><![CDATA[<p>When trying to install or upgrade a perl module using cpan, you may get an error stating that the module you are trying to install &#8220;is only available with the XS version&#8221;</p><p><span
id="more-70"></span>This error tends to rear its ugly head after you have updated perl.  The module Scalar::List::Utils contains both an XS and a pure perl version.  Many other modules rely on the XS version in order to function.  This is where you run into that error.</p><p>Fortunately the fix is quite simple!  Simply reinstall Scalar::List::Utils manually.</p><p><em
style="font-size: 12px">wget http://cpan.netnitco.net/authors/id/G/GB/GBARR/Scalar-List-Utils-1.19.tar.gz<br
/> tar zxvf Scalar-List-Utils-1.19.tar.gz<br
/> cd Scalar-List-Utils-1.19<br
/> perl Makefile.PL<br
/> make test install</em></p><p>Once this is done, try performing the installation of the module that failed with the &#8220;is only available with the XS version&#8221; error.  It should now complete successfully!</p><p
class="flockcredit" style="text-align: right; color: #cccccc; font-size: x-small">Blogged with the <a
href="http://www.flock.com/blogged-with-flock" style="color: #999999; font-weight: bold" target="_new" title="Flock Browser">Flock Browser</a></p><p></p><p
style="font-size: 10px; text-align: right">Tags: <a
href="http://technorati.com/tag/cpan" rel="tag">cpan</a>, <a
href="http://technorati.com/tag/perl" rel="tag">perl</a>, <a
href="http://technorati.com/tag/%20xs" rel="tag"> xs</a>, <a
href="http://technorati.com/tag/%20scalar%3A%3Alist%3A%3Autils" rel="tag"> scalar::list::utils</a>, <a
href="http://technorati.com/tag/scalar-list-utils" rel="tag">scalar-list-utils</a>, <a
href="http://technorati.com/tag/module" rel="tag">module</a></p><p></p><p>No related posts.</p>]]></content:encoded> <wfw:commentRss>http://blog.zacharyarmstrong.com/2008/05/24/fixing-the-perl-module-only-available-with-the-xs-version-error/feed/</wfw:commentRss> <slash:comments>11</slash:comments> </item> <item><title>Giving root level permissions to users in Linux</title><link>http://blog.zacharyarmstrong.com/2008/05/19/giving-root-level-permissions-to-users-in-linux/</link> <comments>http://blog.zacharyarmstrong.com/2008/05/19/giving-root-level-permissions-to-users-in-linux/#comments</comments> <pubDate>Mon, 19 May 2008 20:25:29 +0000</pubDate> <dc:creator>zach</dc:creator> <category><![CDATA[Uncategorized]]></category> <category><![CDATA[access]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[privileges]]></category> <category><![CDATA[sudo]]></category> <category><![CDATA[sudoedit]]></category> <category /> <guid isPermaLink="false">http://blog.zacharyarmstrong.com/2008/05/19/giving-root-level-permissions-to-users-in-linux/</guid> <description><![CDATA[<p>To give users in linux similar privileges to root, sudo is the way to go.</p><p>To set up sudo, follow the following steps. demoman is the sample username and 123456 is the sample password</p><p
style="border: 1px solid #000000; margin: 2px; padding: 2px">adduser demoman -p 123456 sudoedit -e /etc/sudoers</p><p>Look for the lines that read:</p> [...]
Related posts:<ol><li><a
href='http://blog.zacharyarmstrong.com/2008/05/15/openfire-wildfire-stops-accepting-new-connections/' rel='bookmark' title='Openfire (Wildfire) Stops Accepting New Connections'>Openfire (Wildfire) Stops Accepting New Connections</a></li><li><a
href='http://blog.zacharyarmstrong.com/2009/03/11/large-file-transfers-from-windows-to-linux-to-windows-being-corrupted/' rel='bookmark' title='Large File Transfers from Windows to Linux to Windows Being Corrupted'>Large File Transfers from Windows to Linux to Windows Being Corrupted</a></li></ol>]]></description> <content:encoded><![CDATA[<p>To give users in linux similar privileges to root, sudo is the way to go.</p><p><span
id="more-69"></span>To set up sudo, follow the following steps. <span
style="font-style: italic">demoman </span>is the sample username and <em>123456</em> is the sample password</p><p
style="border: 1px solid #000000; margin: 2px; padding: 2px">adduser demoman -p 123456<br
/> sudoedit -e /etc/sudoers</p><p>Look for the lines that read:</p><p
style="border: 1px solid #000000; margin: 2px; padding: 2px">## Allow root to run any commands anywhere<br
/> root        ALL=(ALL)         ALL</p><p>After that, add the following:</p><p
style="border: 1px solid #000000; margin: 2px; padding: 2px">demoman     ALL=(ALL)          ALL</p><p>You can grant certain may different privileges to users besides full root level access&#8230;   Read up on the different capabilities of sudo for more details.</p><p
class="flockcredit" style="text-align: right; color: #cccccc; font-size: x-small">Blogged with the <a
href="http://www.flock.com/blogged-with-flock" style="color: #999999; font-weight: bold" target="_new" title="Flock Browser">Flock Browser</a></p><p></p><p
style="font-size: 10px; text-align: right">Tags: <a
href="http://technorati.com/tag/sudo" rel="tag">sudo</a>, <a
href="http://technorati.com/tag/linux" rel="tag">linux</a>, <a
href="http://technorati.com/tag/sudoers" rel="tag">sudoers</a>, <a
href="http://technorati.com/tag/%20root" rel="tag"> root</a>, <a
href="http://technorati.com/tag/%20sudoedit" rel="tag"> sudoedit</a>, <a
href="http://technorati.com/tag/privileges%20%20" rel="tag">privileges </a></p><p></p><p>Related posts:<ol><li><a
href='http://blog.zacharyarmstrong.com/2008/05/15/openfire-wildfire-stops-accepting-new-connections/' rel='bookmark' title='Openfire (Wildfire) Stops Accepting New Connections'>Openfire (Wildfire) Stops Accepting New Connections</a></li><li><a
href='http://blog.zacharyarmstrong.com/2009/03/11/large-file-transfers-from-windows-to-linux-to-windows-being-corrupted/' rel='bookmark' title='Large File Transfers from Windows to Linux to Windows Being Corrupted'>Large File Transfers from Windows to Linux to Windows Being Corrupted</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://blog.zacharyarmstrong.com/2008/05/19/giving-root-level-permissions-to-users-in-linux/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Openfire (Wildfire) Stops Accepting New Connections</title><link>http://blog.zacharyarmstrong.com/2008/05/15/openfire-wildfire-stops-accepting-new-connections/</link> <comments>http://blog.zacharyarmstrong.com/2008/05/15/openfire-wildfire-stops-accepting-new-connections/#comments</comments> <pubDate>Thu, 15 May 2008 14:58:08 +0000</pubDate> <dc:creator>zach</dc:creator> <category><![CDATA[Uncategorized]]></category> <category><![CDATA[fedora]]></category> <category><![CDATA[jabber]]></category> <category><![CDATA[limit]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[maximum]]></category> <category><![CDATA[openfire]]></category> <category><![CDATA[reboot]]></category> <category><![CDATA[security]]></category> <category><![CDATA[Wildfire]]></category> <category /> <guid isPermaLink="false">http://blog.zacharyarmstrong.com/2008/05/15/openfire-wildfire-stops-accepting-new-connections/</guid> <description><![CDATA[<p>There&#8217;s an issue with Openfire (formerly known as Wildfire &#8211; the open source Jabber-based IM server) and large amounts of users. The Openfire server stops accepting new connections when approximately 1000+ concurrent users are logged in. This issue seems to be caused by a maximum open file limit per process being hit. I figured out [...]
No related posts.]]></description> <content:encoded><![CDATA[<p>There&#8217;s an issue with Openfire (formerly known as Wildfire &#8211; the open source Jabber-based IM server) and large amounts of users.  The Openfire server stops accepting new connections when approximately 1000+ concurrent users are logged in.  This issue seems to be caused by a maximum open file limit per process being hit.    I figured out the following solution after a half day or so of researching and testing.  This applies to Fedora Core 7 Linux, but should work with any Linux-based OS capable of running Openfire.</p><p><span
id="more-68"></span>To permanently increase the maximum open file limits:</p><pre>vi /etc/security/limits.conf</pre><p>Append the following lines to the end of the file:</p><pre>*                hard    nofile          64000
root             hard    nofile          64000
daemon           hard    nofile          64000</pre><p>A reboot is required for these changes to take effect.  I&#8217;m not sure of the issues this may cause with the OS, but so far I haven&#8217;t run into any.</p><p>Use at your own risk!</p><p
class="flockcredit" style="text-align: right; color: #cccccc; font-size: x-small">Blogged with the <a
href="http://www.flock.com/blogged-with-flock" style="color: #999999; font-weight: bold" target="_new" title="Flock Browser">Flock Browser</a></p><p></p><p
style="font-size: 10px; text-align: right">Tags: <a
href="http://technorati.com/tag/openfire" rel="tag">openfire</a>, <a
href="http://technorati.com/tag/wildfire" rel="tag">wildfire</a>, <a
href="http://technorati.com/tag/%20linux" rel="tag"> linux</a>, <a
href="http://technorati.com/tag/%20fedora" rel="tag"> fedora</a>, <a
href="http://technorati.com/tag/%20fedora%20core%207" rel="tag"> fedora core 7</a>, <a
href="http://technorati.com/tag/%20open%20file%20limit" rel="tag"> open file limit</a>, <a
href="http://technorati.com/tag/%20root" rel="tag"> root</a>, <a
href="http://technorati.com/tag/%20jabber" rel="tag"> jabber</a>, <a
href="http://technorati.com/tag/%20im" rel="tag"> im</a>, <a
href="http://technorati.com/tag/%20limits.conf" rel="tag"> limits.conf</a></p><p></p><p>No related posts.</p>]]></content:encoded> <wfw:commentRss>http://blog.zacharyarmstrong.com/2008/05/15/openfire-wildfire-stops-accepting-new-connections/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Vista Default Browser Issue</title><link>http://blog.zacharyarmstrong.com/2008/05/13/vista-default-browser-issue/</link> <comments>http://blog.zacharyarmstrong.com/2008/05/13/vista-default-browser-issue/#comments</comments> <pubDate>Wed, 14 May 2008 02:28:28 +0000</pubDate> <dc:creator>zach</dc:creator> <category><![CDATA[Uncategorized]]></category> <category><![CDATA[browser default]]></category> <category><![CDATA[default browser issue]]></category> <category><![CDATA[default browser windows]]></category> <category><![CDATA[firefox browser]]></category> <category><![CDATA[Flock]]></category> <category><![CDATA[flock browser]]></category> <category><![CDATA[ie7]]></category> <category><![CDATA[internet explorer]]></category> <category><![CDATA[Trillian]]></category> <category><![CDATA[Vista]]></category> <category><![CDATA[windows]]></category> <category /> <guid isPermaLink="false">http://blog.zacharyarmstrong.com/2008/05/13/vista-default-browser-issue/</guid> <description><![CDATA[<p>I was having issues getting Flock to be my default browser in Vista. Flock, which is an awesome browser based on the Firefox browser, was set as my default browser within Vista. However, when clicking on links and whatnot in emails, IMs and RSS feeds on Trillian, etc, the websites were opening in Internet Explorer [...]
No related posts.]]></description> <content:encoded><![CDATA[<p>I was having issues getting <a
href="http://www.flock.com">Flock</a> to be my default browser in Vista.  Flock, which is an awesome browser based on the <a
href="http://www.getfirefox.com">Firefox</a> browser, was set as my default browser within Vista.  However, when clicking on links and whatnot in emails, IMs and RSS feeds on Trillian, etc, the websites were opening in Internet Explorer (IE7).  This is not good.</p><p><span
id="more-67"></span>I tried going to default programs, removing IE7 from being the default for everything, setting Flock as the default for everything, setting Flock as the default for .url and many more.</p><p>After scouring the depths of the internet for more than 30 minutes, I found a really simple solution.</p><p>Press the Windows+R key (or go to <span
style="font-style: italic">Start</span> -&gt; <span
style="font-style: italic">Run</span>) and enter the following:</p><p>flock.exe  -silent -setDefaultBrowser</p><p>or for Firefox users:</p><p>firefox.exe  -silent -setDefaultBrowser</p><p>You may or may not have to specify the path to the executable.  You can find this by right-clicking the shortcut for the browser and going to properties.  Copy the <span
style="font-style: italic">Target</span> field completely and paste that into the <span
style="font-style: italic">Run</span> dialog.  For example:</p><p>&#8220;C:\Program Files (x86)\Flock\flock\flock.exe&#8221;  -silent -setDefaultBrowser</p><p>Notice how I kept the quotes and there&#8217;s a space between the last quote and -silent.</p><p>Hopefully this will help some of you out there having the same issue!</p><p
class="flockcredit" style="text-align: right; color: #cccccc; font-size: x-small">Blogged with the <a
href="http://www.flock.com/blogged-with-flock" style="color: #999999; font-weight: bold" target="_new" title="Flock Browser">Flock Browser</a></p><p></p><p
style="font-size: 10px; text-align: right">Tags: <a
href="http://technorati.com/tag/flock" rel="tag">flock</a>, <a
href="http://technorati.com/tag/firefox" rel="tag">firefox</a>, <a
href="http://technorati.com/tag/%20vista" rel="tag"> vista</a>, <a
href="http://technorati.com/tag/%20browser" rel="tag"> browser</a>, <a
href="http://technorati.com/tag/%20default%20browser" rel="tag"> default browser</a>, <a
href="http://technorati.com/tag/%20windows" rel="tag"> windows</a>, <a
href="http://technorati.com/tag/%20ie7" rel="tag"> ie7</a>, <a
href="http://technorati.com/tag/%20internet%20explorer" rel="tag"> internet explorer</a>, <a
href="http://technorati.com/tag/%20urls" rel="tag"> urls</a></p><p></p><p>No related posts.</p>]]></content:encoded> <wfw:commentRss>http://blog.zacharyarmstrong.com/2008/05/13/vista-default-browser-issue/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Neverwinter Nights 2 UI Mods – Vertical Hotbar</title><link>http://blog.zacharyarmstrong.com/2006/11/08/neverwinter-nights-2-ui-mods-vertical-hotbar/</link> <comments>http://blog.zacharyarmstrong.com/2006/11/08/neverwinter-nights-2-ui-mods-vertical-hotbar/#comments</comments> <pubDate>Wed, 08 Nov 2006 19:05:33 +0000</pubDate> <dc:creator>zach</dc:creator> <category><![CDATA[not_front_page]]></category> <category><![CDATA[hotbar]]></category> <category><![CDATA[mod]]></category> <category><![CDATA[Mods]]></category> <category><![CDATA[neverwinter]]></category> <category><![CDATA[neverwinter nights]]></category> <category><![CDATA[neverwinter nights 2]]></category> <category><![CDATA[nwn]]></category> <category><![CDATA[nwn2]]></category> <category><![CDATA[nwvault]]></category> <category /> <guid isPermaLink="false">http://blog.zacharyarmstrong.com/2006/11/08/neverwinter-nights-2-ui-mods-vertical-hotbar/</guid> <description><![CDATA[<p></p><p>Due to popular demand, I present the vertical hotbar.</p><p>The 2-column version is exclusively available on nwvault. To get the 2-column vertical hotbar, please click here.</p><p>Please don&#39;t forget to vote for it!</p><p>Related posts:Neverwinter Nights 2 UI Mods &#8211; Multi-Row Hotbars Neverwinter Nights 2 UI Mods &#8211; Tiny Spellbook Neverwinter Nights 2 UI Mods &#8211; Tiny Inventory</p> Related posts:<ol><li><a
href='http://blog.zacharyarmstrong.com/2006/11/07/neverwinter-nights-2-ui-mods-multi-row-hotbars/' rel='bookmark' title='Neverwinter Nights 2 UI Mods &#8211; Multi-Row Hotbars'>Neverwinter Nights 2 UI Mods &#8211; Multi-Row Hotbars</a></li><li><a
href='http://blog.zacharyarmstrong.com/2006/11/07/neverwinter-nights-2-ui-mods-tiny-spellbook/' rel='bookmark' title='Neverwinter Nights 2 UI Mods &#8211; Tiny Spellbook'>Neverwinter Nights 2 UI Mods &#8211; Tiny Spellbook</a></li><li><a
href='http://blog.zacharyarmstrong.com/2006/11/07/neverwinter-nights-2-ui-mods-tiny-inventory/' rel='bookmark' title='Neverwinter Nights 2 UI Mods &#8211; Tiny Inventory'>Neverwinter Nights 2 UI Mods &#8211; Tiny Inventory</a></li></ol>]]></description> <content:encoded><![CDATA[<p><a
href="http://www.masterslate.org/wp-content/uploads/verthotbar.jpg" rel="lightbox"><img
src="http://www.masterslate.org/wp-content/uploads/.thumbs/.verthotbar.jpg" alt="verthotbar.jpg" title="verthotbar.jpg" width="150" height="120" /></a></p><p>Due to popular demand, I present the vertical hotbar.</p><p>The 2-column version is exclusively available on nwvault.  To get the 2-column vertical hotbar, please <a
href="http://nwvault.ign.com/View.php?view=NWN2UI.Detail&amp;id=12" title="neverwinter nights 2 - vertical hotbar mod" target="_blank">click here</a>.</p><p>Please don&#39;t forget to vote for it!</p><p>Related posts:<ol><li><a
href='http://blog.zacharyarmstrong.com/2006/11/07/neverwinter-nights-2-ui-mods-multi-row-hotbars/' rel='bookmark' title='Neverwinter Nights 2 UI Mods &#8211; Multi-Row Hotbars'>Neverwinter Nights 2 UI Mods &#8211; Multi-Row Hotbars</a></li><li><a
href='http://blog.zacharyarmstrong.com/2006/11/07/neverwinter-nights-2-ui-mods-tiny-spellbook/' rel='bookmark' title='Neverwinter Nights 2 UI Mods &#8211; Tiny Spellbook'>Neverwinter Nights 2 UI Mods &#8211; Tiny Spellbook</a></li><li><a
href='http://blog.zacharyarmstrong.com/2006/11/07/neverwinter-nights-2-ui-mods-tiny-inventory/' rel='bookmark' title='Neverwinter Nights 2 UI Mods &#8211; Tiny Inventory'>Neverwinter Nights 2 UI Mods &#8211; Tiny Inventory</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://blog.zacharyarmstrong.com/2006/11/08/neverwinter-nights-2-ui-mods-vertical-hotbar/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Neverwinter Nights 2 UI Mods – Tiny Inventory</title><link>http://blog.zacharyarmstrong.com/2006/11/07/neverwinter-nights-2-ui-mods-tiny-inventory/</link> <comments>http://blog.zacharyarmstrong.com/2006/11/07/neverwinter-nights-2-ui-mods-tiny-inventory/#comments</comments> <pubDate>Tue, 07 Nov 2006 13:51:46 +0000</pubDate> <dc:creator>zach</dc:creator> <category><![CDATA[not_front_page]]></category> <category><![CDATA[hotbar]]></category> <category><![CDATA[inventory]]></category> <category><![CDATA[mod]]></category> <category><![CDATA[Mods]]></category> <category><![CDATA[neverwinter]]></category> <category><![CDATA[neverwinter nights]]></category> <category><![CDATA[neverwinter nights 2]]></category> <category><![CDATA[nwn]]></category> <category><![CDATA[nwn2]]></category> <category><![CDATA[nwvault]]></category> <category><![CDATA[Tiny]]></category> <category><![CDATA[ui]]></category> <category /> <guid isPermaLink="false">http://blog.zacharyarmstrong.com/2006/11/07/neverwinter-nights-2-ui-mods-tiny-inventory/</guid> <description><![CDATA[<p></p><p>The default inventory uses really large icons and sorts your carried items over 4 &#8220;bags&#8221; (pages) of inventory. I wanted to be able to see all of my inventory at the same time. Given that motivation, I created this Tiny Inventory mod.</p><p>This file is only available on nwvault. You can download it by [...]
Related posts:<ol><li><a
href='http://blog.zacharyarmstrong.com/2006/11/07/neverwinter-nights-2-ui-mods-tiny-spellbook/' rel='bookmark' title='Neverwinter Nights 2 UI Mods &#8211; Tiny Spellbook'>Neverwinter Nights 2 UI Mods &#8211; Tiny Spellbook</a></li><li><a
href='http://blog.zacharyarmstrong.com/2006/11/08/neverwinter-nights-2-ui-mods-vertical-hotbar/' rel='bookmark' title='Neverwinter Nights 2 UI Mods &#8211; Vertical Hotbar'>Neverwinter Nights 2 UI Mods &#8211; Vertical Hotbar</a></li><li><a
href='http://blog.zacharyarmstrong.com/2006/11/07/neverwinter-nights-2-ui-mods-multi-row-hotbars/' rel='bookmark' title='Neverwinter Nights 2 UI Mods &#8211; Multi-Row Hotbars'>Neverwinter Nights 2 UI Mods &#8211; Multi-Row Hotbars</a></li></ol>]]></description> <content:encoded><![CDATA[<p><a
rel="lightbox-inv" href="http://www.masterslate.org/wp-content/uploads/tinyinventory.jpg"><img
width="150" height="120" border="0" alt="tinyinventory.jpg" title="tinyinventory.jpg" src="http://www.masterslate.org/wp-content/uploads/.thumbs/.tinyinventory.jpg" /></a></p><p>The default inventory uses really large icons and sorts your carried items over 4 &#8220;bags&#8221; (pages) of inventory. I wanted to be able to see all of my inventory at the same time.  Given that motivation, I created this Tiny Inventory mod.</p><p>This file is only available on nwvault. You can download it by <a
target="_blank" href="http://nwvault.ign.com/View.php?view=NWN2UI.Detail&#038;id=11">clicking here</a>.  Please vote for it as well.<br
/> <br
/> to install:</p><p>unzip to: put it in &#8220;My Documents\Neverwinter Nights 2\ui\default&#8221;</p><p>This should create an inventoryscreen.xml file. All done!</p><p>Related posts:<ol><li><a
href='http://blog.zacharyarmstrong.com/2006/11/07/neverwinter-nights-2-ui-mods-tiny-spellbook/' rel='bookmark' title='Neverwinter Nights 2 UI Mods &#8211; Tiny Spellbook'>Neverwinter Nights 2 UI Mods &#8211; Tiny Spellbook</a></li><li><a
href='http://blog.zacharyarmstrong.com/2006/11/08/neverwinter-nights-2-ui-mods-vertical-hotbar/' rel='bookmark' title='Neverwinter Nights 2 UI Mods &#8211; Vertical Hotbar'>Neverwinter Nights 2 UI Mods &#8211; Vertical Hotbar</a></li><li><a
href='http://blog.zacharyarmstrong.com/2006/11/07/neverwinter-nights-2-ui-mods-multi-row-hotbars/' rel='bookmark' title='Neverwinter Nights 2 UI Mods &#8211; Multi-Row Hotbars'>Neverwinter Nights 2 UI Mods &#8211; Multi-Row Hotbars</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://blog.zacharyarmstrong.com/2006/11/07/neverwinter-nights-2-ui-mods-tiny-inventory/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> </channel> </rss>

