<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Installing Django on an Ubuntu Linux Server</title>
	<atom:link href="http://www.jeffbaier.com/2007/07/26/installing-django-on-an-ubuntu-linux-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jeffbaier.com/2007/07/26/installing-django-on-an-ubuntu-linux-server/</link>
	<description>Personal News, Photos and Technical Information</description>
	<pubDate>Sat, 22 Nov 2008 04:24:33 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: Ahmed</title>
		<link>http://www.jeffbaier.com/2007/07/26/installing-django-on-an-ubuntu-linux-server/#comment-614</link>
		<dc:creator>Ahmed</dc:creator>
		<pubDate>Mon, 27 Oct 2008 12:05:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeffbaier.com/2007/07/26/installing-django-on-an-ubuntu-linux-server/#comment-614</guid>
		<description>Thanks for this tut, I've the following error in apache log when I try to access localhost/admin:

[Mon Oct 27 06:59:19 2008] [error] [client 127.0.0.1] mod_python (pid=24251, interpreter='localhost', phase='PythonHandler', handler='django.core.handlers.modpython'): Application error
[Mon Oct 27 06:59:19 2008] [error] [client 127.0.0.1] ServerName: 'localhost'
[Mon Oct 27 06:59:19 2008] [error] [client 127.0.0.1] DocumentRoot: '/htdocs'
[Mon Oct 27 06:59:19 2008] [error] [client 127.0.0.1] URI: '/admin'
[Mon Oct 27 06:59:19 2008] [error] [client 127.0.0.1] Location: '/'
[Mon Oct 27 06:59:19 2008] [error] [client 127.0.0.1] Directory: None
[Mon Oct 27 06:59:19 2008] [error] [client 127.0.0.1] Filename: '/htdocs'
[Mon Oct 27 06:59:19 2008] [error] [client 127.0.0.1] PathInfo: '/admin'
[Mon Oct 27 06:59:19 2008] [error] [client 127.0.0.1] Traceback (most recent call last):
[Mon Oct 27 06:59:19 2008] [error] [client 127.0.0.1]   File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line 1537, in HandlerDispatch\n    default=default_handler, arg=req, silent=hlist.silent)
[Mon Oct 27 06:59:19 2008] [error] [client 127.0.0.1]   File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line 1229, in _process_target\n    result = _execute_target(config, req, object, arg)
[Mon Oct 27 06:59:19 2008] [error] [client 127.0.0.1]   File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line 1128, in _execute_target\n    result = object(arg)
[Mon Oct 27 06:59:19 2008] [error] [client 127.0.0.1]   File "/usr/lib/python2.5/site-packages/django/core/handlers/modpython.py", line 228, in handler\n    return ModPythonHandler()(req)
[Mon Oct 27 06:59:19 2008] [error] [client 127.0.0.1]   File "/usr/lib/python2.5/site-packages/django/core/handlers/modpython.py", line 201, in __call__\n    response = self.get_response(request)
[Mon Oct 27 06:59:19 2008] [error] [client 127.0.0.1]   File "/usr/lib/python2.5/site-packages/django/core/handlers/base.py", line 67, in get_response\n    response = middleware_method(request)
[Mon Oct 27 06:59:19 2008] [error] [client 127.0.0.1]   File "/usr/lib/python2.5/site-packages/django/middleware/common.py", line 57, in process_request\n    _is_valid_path("%s/" % request.path_info)):
[Mon Oct 27 06:59:19 2008] [error] [client 127.0.0.1]   File "/usr/lib/python2.5/site-packages/django/middleware/common.py", line 142, in _is_valid_path\n    urlresolvers.resolve(path)
[Mon Oct 27 06:59:19 2008] [error] [client 127.0.0.1]   File "/usr/lib/python2.5/site-packages/django/core/urlresolvers.py", line 246, in resolve\n    return get_resolver(urlconf).resolve(path)
[Mon Oct 27 06:59:19 2008] [error] [client 127.0.0.1]   File "/usr/lib/python2.5/site-packages/django/core/urlresolvers.py", line 181, in resolve\n    sub_match = pattern.resolve(new_path)
[Mon Oct 27 06:59:19 2008] [error] [client 127.0.0.1]   File "/usr/lib/python2.5/site-packages/django/core/urlresolvers.py", line 179, in resolve\n    for pattern in self.urlconf_module.urlpatterns:
[Mon Oct 27 06:59:19 2008] [error] [client 127.0.0.1]   File "/usr/lib/python2.5/site-packages/django/core/urlresolvers.py", line 198, in _get_urlconf_module\n    self._urlconf_module = __import__(self.urlconf_name, {}, {}, [''])
[Mon Oct 27 06:59:19 2008] [error] [client 127.0.0.1] ImportError: No module named urls</description>
		<content:encoded><![CDATA[<p>Thanks for this tut, I&#8217;ve the following error in apache log when I try to access localhost/admin:</p>
<p>[Mon Oct 27 06:59:19 2008] [error] [client 127.0.0.1] mod_python (pid=24251, interpreter=&#8217;localhost&#8217;, phase=&#8217;PythonHandler&#8217;, handler=&#8217;django.core.handlers.modpython&#8217;): Application error<br />
[Mon Oct 27 06:59:19 2008] [error] [client 127.0.0.1] ServerName: &#8216;localhost&#8217;<br />
[Mon Oct 27 06:59:19 2008] [error] [client 127.0.0.1] DocumentRoot: &#8216;/htdocs&#8217;<br />
[Mon Oct 27 06:59:19 2008] [error] [client 127.0.0.1] URI: &#8216;/admin&#8217;<br />
[Mon Oct 27 06:59:19 2008] [error] [client 127.0.0.1] Location: &#8216;/&#8217;<br />
[Mon Oct 27 06:59:19 2008] [error] [client 127.0.0.1] Directory: None<br />
[Mon Oct 27 06:59:19 2008] [error] [client 127.0.0.1] Filename: &#8216;/htdocs&#8217;<br />
[Mon Oct 27 06:59:19 2008] [error] [client 127.0.0.1] PathInfo: &#8216;/admin&#8217;<br />
[Mon Oct 27 06:59:19 2008] [error] [client 127.0.0.1] Traceback (most recent call last):<br />
[Mon Oct 27 06:59:19 2008] [error] [client 127.0.0.1]   File &#8220;/usr/lib/python2.5/site-packages/mod_python/importer.py&#8221;, line 1537, in HandlerDispatch\n    default=default_handler, arg=req, silent=hlist.silent)<br />
[Mon Oct 27 06:59:19 2008] [error] [client 127.0.0.1]   File &#8220;/usr/lib/python2.5/site-packages/mod_python/importer.py&#8221;, line 1229, in _process_target\n    result = _execute_target(config, req, object, arg)<br />
[Mon Oct 27 06:59:19 2008] [error] [client 127.0.0.1]   File &#8220;/usr/lib/python2.5/site-packages/mod_python/importer.py&#8221;, line 1128, in _execute_target\n    result = object(arg)<br />
[Mon Oct 27 06:59:19 2008] [error] [client 127.0.0.1]   File &#8220;/usr/lib/python2.5/site-packages/django/core/handlers/modpython.py&#8221;, line 228, in handler\n    return ModPythonHandler()(req)<br />
[Mon Oct 27 06:59:19 2008] [error] [client 127.0.0.1]   File &#8220;/usr/lib/python2.5/site-packages/django/core/handlers/modpython.py&#8221;, line 201, in __call__\n    response = self.get_response(request)<br />
[Mon Oct 27 06:59:19 2008] [error] [client 127.0.0.1]   File &#8220;/usr/lib/python2.5/site-packages/django/core/handlers/base.py&#8221;, line 67, in get_response\n    response = middleware_method(request)<br />
[Mon Oct 27 06:59:19 2008] [error] [client 127.0.0.1]   File &#8220;/usr/lib/python2.5/site-packages/django/middleware/common.py&#8221;, line 57, in process_request\n    _is_valid_path(&#8221;%s/&#8221; % request.path_info)):<br />
[Mon Oct 27 06:59:19 2008] [error] [client 127.0.0.1]   File &#8220;/usr/lib/python2.5/site-packages/django/middleware/common.py&#8221;, line 142, in _is_valid_path\n    urlresolvers.resolve(path)<br />
[Mon Oct 27 06:59:19 2008] [error] [client 127.0.0.1]   File &#8220;/usr/lib/python2.5/site-packages/django/core/urlresolvers.py&#8221;, line 246, in resolve\n    return get_resolver(urlconf).resolve(path)<br />
[Mon Oct 27 06:59:19 2008] [error] [client 127.0.0.1]   File &#8220;/usr/lib/python2.5/site-packages/django/core/urlresolvers.py&#8221;, line 181, in resolve\n    sub_match = pattern.resolve(new_path)<br />
[Mon Oct 27 06:59:19 2008] [error] [client 127.0.0.1]   File &#8220;/usr/lib/python2.5/site-packages/django/core/urlresolvers.py&#8221;, line 179, in resolve\n    for pattern in self.urlconf_module.urlpatterns:<br />
[Mon Oct 27 06:59:19 2008] [error] [client 127.0.0.1]   File &#8220;/usr/lib/python2.5/site-packages/django/core/urlresolvers.py&#8221;, line 198, in _get_urlconf_module\n    self._urlconf_module = __import__(self.urlconf_name, {}, {}, [''])<br />
[Mon Oct 27 06:59:19 2008] [error] [client 127.0.0.1] ImportError: No module named urls</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexis Bellido</title>
		<link>http://www.jeffbaier.com/2007/07/26/installing-django-on-an-ubuntu-linux-server/#comment-575</link>
		<dc:creator>Alexis Bellido</dc:creator>
		<pubDate>Sun, 19 Oct 2008 05:30:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeffbaier.com/2007/07/26/installing-django-on-an-ubuntu-linux-server/#comment-575</guid>
		<description>Hi, nice tutorial, thanks for sharing, I got many ideas from it and wrote another one that includes how to &lt;a href="http://ventanazul.com/webzine/tutorials/setup-apache-lighttpd-django-ubuntu" rel="nofollow"&gt;setup Apache and mod_proxy with Lighty for Django on Ubuntu&lt;/a&gt;. I hope it helps others needing to host their media files on a Lighttpd server.

Cheers!</description>
		<content:encoded><![CDATA[<p>Hi, nice tutorial, thanks for sharing, I got many ideas from it and wrote another one that includes how to <a href="http://ventanazul.com/webzine/tutorials/setup-apache-lighttpd-django-ubuntu" rel="nofollow">setup Apache and mod_proxy with Lighty for Django on Ubuntu</a>. I hope it helps others needing to host their media files on a Lighttpd server.</p>
<p>Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://www.jeffbaier.com/2007/07/26/installing-django-on-an-ubuntu-linux-server/#comment-532</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Wed, 01 Oct 2008 21:05:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeffbaier.com/2007/07/26/installing-django-on-an-ubuntu-linux-server/#comment-532</guid>
		<description>Бляяяя, спасибо! Статья очень помогла. Целый день мучался, и тут эта статья..</description>
		<content:encoded><![CDATA[<p>Бляяяя, спасибо! Статья очень помогла. Целый день мучался, и тут эта статья..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aj</title>
		<link>http://www.jeffbaier.com/2007/07/26/installing-django-on-an-ubuntu-linux-server/#comment-517</link>
		<dc:creator>aj</dc:creator>
		<pubDate>Wed, 17 Sep 2008 22:33:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeffbaier.com/2007/07/26/installing-django-on-an-ubuntu-linux-server/#comment-517</guid>
		<description>Hey, wondering if someone can help me out..

I'm having trouble with manage.py syncdb

the error I get:
psycopg2.OperationalError: could not connect to server: No such file or directory
        Is the server running locally and accepting
        connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?


At first glance it would seem to be a problem with my settings.py file but I've checked it 10,000 times and the username, db, password are all correct.
Now I'm thinking maybe postgresql is not running correctly or the pg_hba.conf file is not setup correctly.


So i have this at the bottom (along with some other stuff)
# Database administrative login by UNIX sockets
local    ocdnet_db   ocdnet_admin             md5



for some reason I only have problems on my laptop.  The setup on my desktop works fine.  I have the same pg_hba.conf file on both computers.
Also, when i try python manage.py dbshell
I can actually connect with ocdnet_admin!  So now I'm thinking postgresql must be setup somewhat correctly.

I don't know what to do.. whether I should just wipe our everything and completely reinstall again..</description>
		<content:encoded><![CDATA[<p>Hey, wondering if someone can help me out..</p>
<p>I&#8217;m having trouble with manage.py syncdb</p>
<p>the error I get:<br />
psycopg2.OperationalError: could not connect to server: No such file or directory<br />
        Is the server running locally and accepting<br />
        connections on Unix domain socket &#8220;/var/run/postgresql/.s.PGSQL.5432&#8243;?</p>
<p>At first glance it would seem to be a problem with my settings.py file but I&#8217;ve checked it 10,000 times and the username, db, password are all correct.<br />
Now I&#8217;m thinking maybe postgresql is not running correctly or the pg_hba.conf file is not setup correctly.</p>
<p>So i have this at the bottom (along with some other stuff)<br />
# Database administrative login by UNIX sockets<br />
local    ocdnet_db   ocdnet_admin             md5</p>
<p>for some reason I only have problems on my laptop.  The setup on my desktop works fine.  I have the same pg_hba.conf file on both computers.<br />
Also, when i try python manage.py dbshell<br />
I can actually connect with ocdnet_admin!  So now I&#8217;m thinking postgresql must be setup somewhat correctly.</p>
<p>I don&#8217;t know what to do.. whether I should just wipe our everything and completely reinstall again..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: django - :: Adictos.cl :: Tu Vicio en Internet</title>
		<link>http://www.jeffbaier.com/2007/07/26/installing-django-on-an-ubuntu-linux-server/#comment-459</link>
		<dc:creator>django - :: Adictos.cl :: Tu Vicio en Internet</dc:creator>
		<pubDate>Thu, 04 Sep 2008 01:33:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeffbaier.com/2007/07/26/installing-django-on-an-ubuntu-linux-server/#comment-459</guid>
		<description>[...]   quien sabe instalar las librerias de django en ubuntu necesito hacer y trabajo pa taller 2     Howto install Django on Ubuntu 7.04 Feisty Fawn using Mod_Python  JeffBaier.com  esta en ingles pero lo tradices con este link  traduccion webbbs    __________________ SOLO CON [...]</description>
		<content:encoded><![CDATA[<p>[...]   quien sabe instalar las librerias de django en ubuntu necesito hacer y trabajo pa taller 2     Howto install Django on Ubuntu 7.04 Feisty Fawn using Mod_Python  JeffBaier.com  esta en ingles pero lo tradices con este link  traduccion webbbs    __________________ SOLO CON [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pavel</title>
		<link>http://www.jeffbaier.com/2007/07/26/installing-django-on-an-ubuntu-linux-server/#comment-426</link>
		<dc:creator>Pavel</dc:creator>
		<pubDate>Tue, 02 Sep 2008 07:05:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeffbaier.com/2007/07/26/installing-django-on-an-ubuntu-linux-server/#comment-426</guid>
		<description>When I try to restart apache2, I have this erro:

Syntax error on line 187 of /etc/apache2/apache2.conf: Syntax error on line 30 of /etc/apache2/httpd.conf:  directive missing closing '&#62;'


What should I do to fix it?</description>
		<content:encoded><![CDATA[<p>When I try to restart apache2, I have this erro:</p>
<p>Syntax error on line 187 of /etc/apache2/apache2.conf: Syntax error on line 30 of /etc/apache2/httpd.conf:  directive missing closing &#8216;&gt;&#8217;</p>
<p>What should I do to fix it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: enej</title>
		<link>http://www.jeffbaier.com/2007/07/26/installing-django-on-an-ubuntu-linux-server/#comment-312</link>
		<dc:creator>enej</dc:creator>
		<pubDate>Wed, 09 Jul 2008 04:56:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeffbaier.com/2007/07/26/installing-django-on-an-ubuntu-linux-server/#comment-312</guid>
		<description>great tutorial 

I think anyone reading this should also know that its a good idea to check if you installed django properly 

by typing python install django</description>
		<content:encoded><![CDATA[<p>great tutorial </p>
<p>I think anyone reading this should also know that its a good idea to check if you installed django properly </p>
<p>by typing python install django</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://www.jeffbaier.com/2007/07/26/installing-django-on-an-ubuntu-linux-server/#comment-279</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Thu, 29 May 2008 05:07:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeffbaier.com/2007/07/26/installing-django-on-an-ubuntu-linux-server/#comment-279</guid>
		<description>From that last line, it would seem the database is rejecting your username and password.

Check lines 12-18 of the myproject/settings.py file. This is where you setup which database to use, and the username and password for it. Verify its the correct info before running syncdb.</description>
		<content:encoded><![CDATA[<p>From that last line, it would seem the database is rejecting your username and password.</p>
<p>Check lines 12-18 of the myproject/settings.py file. This is where you setup which database to use, and the username and password for it. Verify its the correct info before running syncdb.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Darthur</title>
		<link>http://www.jeffbaier.com/2007/07/26/installing-django-on-an-ubuntu-linux-server/#comment-277</link>
		<dc:creator>Darthur</dc:creator>
		<pubDate>Thu, 29 May 2008 00:09:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeffbaier.com/2007/07/26/installing-django-on-an-ubuntu-linux-server/#comment-277</guid>
		<description>Great Tutorial, but I keep getting stuck at the syncdb step.  This is the latest error, but I have no idea what it means, and if I try sudo then the DSM not defined error comes up:

File "/usr/lib/python2.5/site-packages/django/db/backends/mysql/base.py", line 188, in _cursor
    self.connection = Database.connect(**kwargs)
  File "/var/lib/python-support/python2.5/MySQLdb/__init__.py", line 74, in Connect
    return Connection(*args, **kwargs)
  File "/var/lib/python-support/python2.5/MySQLdb/connections.py", line 170, in __init__
    super(Connection, self).__init__(*args, **kwargs2)
_mysql_exceptions.OperationalError: (1045, "Access denied for user 'username'@'localhost' (using password: YES)")

Thanks!
-D</description>
		<content:encoded><![CDATA[<p>Great Tutorial, but I keep getting stuck at the syncdb step.  This is the latest error, but I have no idea what it means, and if I try sudo then the DSM not defined error comes up:</p>
<p>File &#8220;/usr/lib/python2.5/site-packages/django/db/backends/mysql/base.py&#8221;, line 188, in _cursor<br />
    self.connection = Database.connect(**kwargs)<br />
  File &#8220;/var/lib/python-support/python2.5/MySQLdb/__init__.py&#8221;, line 74, in Connect<br />
    return Connection(*args, **kwargs)<br />
  File &#8220;/var/lib/python-support/python2.5/MySQLdb/connections.py&#8221;, line 170, in __init__<br />
    super(Connection, self).__init__(*args, **kwargs2)<br />
_mysql_exceptions.OperationalError: (1045, &#8220;Access denied for user &#8216;username&#8217;@'localhost&#8217; (using password: YES)&#8221;)</p>
<p>Thanks!<br />
-D</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hoora</title>
		<link>http://www.jeffbaier.com/2007/07/26/installing-django-on-an-ubuntu-linux-server/#comment-267</link>
		<dc:creator>Hoora</dc:creator>
		<pubDate>Mon, 05 May 2008 15:21:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeffbaier.com/2007/07/26/installing-django-on-an-ubuntu-linux-server/#comment-267</guid>
		<description>I just needed to start the server manually after syncdb with:

python manage.py runserver 

Again, thanks for the tutorial. Btw, I installed it on the 8.04 ubuntu server edition.</description>
		<content:encoded><![CDATA[<p>I just needed to start the server manually after syncdb with:</p>
<p>python manage.py runserver </p>
<p>Again, thanks for the tutorial. Btw, I installed it on the 8.04 ubuntu server edition.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
