Do you see the banner when you visit http://localhost/ ? If so, not to worry.
Jeff On 2011-05-23 at 11:19:30, Shuguang Hao wrote: > Great! Now everything works fine except the banner header-bg.png, but > I guess that's not a big issue. > > What is that freenode thing? Sorry I'm not familiar with IRC. > > Thanks a lot! > > On Sun, May 22, 2011 at 7:53 PM, Jeffrey Johnson <[email protected]> wrote: > > On Mon, May 23, 2011 at 10:48 AM, Shuguang Hao <[email protected]> > > wrote: > > > On Sun, May 22, 2011 at 7:22 PM, Jeffrey Johnson <[email protected]> > > > wrote: > > > > On Mon, May 23, 2011 at 10:15 AM, Shuguang Hao <[email protected]> > > > > wrote: > > > > > I still got the same error. > > > > > > > > > > When I tried to install GeoNode Django Site, everything seemed fine > > > > > until the 11th step when I tried to load > > > > > <http://localhost/media/static/gn/theme/app/img/header-bg.png>, after > > > > > I restarted Apache. The error I got was > > > > > > > > > > Not Found > > > > > The requested URL /media/static/gn/theme/app/img/header-bg.png was not > > > > > found on this server. > > > > > > > > I think this actually needs a change in the docs after somewhat recent > > > > changes to the geonode-client. Can you verify that the following URL > > > > works. > > > > > > > > http://localhost/media/theme/img/header-bg.png > > > > > > No. Same "Not Found" error. If I just access http://localhost/, I > > > got "Internal Server Error". > > > > Lets put this one aside for now and address the other issues until we > > get them sorted out. This one is likely not a big deal. > > > > > > > The 12th step also failed. I got this error: > > > > > > > > > > /var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/registration/models.py:4: > > > > > DeprecationWarning: the sha module is deprecated; use the hashlib > > > > > module instead > > > > > import sha > > > > > Skipping creation of NoticeTypes as notification app not found > > > > > Traceback (most recent call last): > > > > > File "/var/www/geonode/wsgi/geonode/bin/django-admin.py", line 5, in > > > > > <module> > > > > > management.execute_from_command_line() > > > > > File > > > > > "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/management/__init__.py", > > > > > line 429, in execute_from_command_line > > > > > utility.execute() > > > > > File > > > > > "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/management/__init__.py", > > > > > line 379, in execute > > > > > self.fetch_command(subcommand).run_from_argv(self.argv) > > > > > File > > > > > "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/management/base.py", > > > > > line 191, in run_from_argv > > > > > self.execute(*args, **options.__dict__) > > > > > File > > > > > "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/management/base.py", > > > > > line 218, in execute > > > > > output = self.handle(*args, **options) > > > > > File > > > > > "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/management/base.py", > > > > > line 347, in handle > > > > > return self.handle_noargs(**options) > > > > > File > > > > > "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/management/commands/syncdb.py", > > > > > line 52, in handle_noargs > > > > > cursor = connection.cursor() > > > > > File > > > > > "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/db/backends/__init__.py", > > > > > line 75, in cursor > > > > > cursor = self._cursor() > > > > > File > > > > > "/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/db/backends/postgresql_psycopg2/base.py", > > > > > line 136, in _cursor > > > > > self.connection = Database.connect(**conn_params) > > > > > psycopg2.OperationalError: FATAL: password authentication failed for > > > > > user "geonode" > > > > > FATAL: password authentication failed for user "geonode" > > > > > > > > This error is pretty clear. You need to supply the same database > > > > username/password in your settings/local_settings.py as you specified > > > > when you setup the database as described here. > > > > > > > > http://docs.geonode.org/1.0.1/deploy/ubuntu.html#set-up-postgresql > > > > > > I already installed postgresql and created the database and account as > > > instructed. When I ran django-admin.py, it just printed the error > > > message directly without any prompt for admin username or password. > > > > You need to configure the same username/password combo in your > > local_settings.py. If the ones specified here do not match the ones > > you used when setting up your database. See step 5 here. > > > > http://docs.geonode.org/1.0.1/deploy/ubuntu.html#install-geonode-django-site > > > > > By the way, when I restarted Apache, I got a message saying "Could not > > > reliably determine the server's fully qualified domain name, using > > > 127.0.1.1 for ServerName". Is this a big problem? > > > > This is not a big deal at all. > > > > Can you get into #geonode on freenode today to work through these issues. > > > > Jeff > > > > > Thanks! > > > > > > > > > > Can you verify that you are using the same one and give apache a > > > > restart to test? > > > > > > > > Jeff >
