Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
invalid_authorization_specific ation
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
fanq  
View profile  
 More options Apr 9 2010, 5:54 am
From: fanq <fanqste...@gmail.com>
Date: Fri, 9 Apr 2010 02:54:08 -0700 (PDT)
Local: Fri, Apr 9 2010 5:54 am
Subject: invalid_authorization_specification
I just installed Zotonic on a system running Erlang R13B04, I followed
the installation instructions from the Documentation page and I get
the following error:

=CRASH REPORT==== 9-Apr-2010::06:37:27 ===
  crasher:
    initial call: pgsql_pool:init/1
    pid: <0.93.0>
    registered_name: []
    exception exit: {{badmatch,
{error,invalid_authorization_specification}},
                     [{pgsql_pool,init,1},
                      {gen_server,init_it,6},
                      {proc_lib,init_p_do_apply,3}]}
      in function  gen_server:init_it/6
    ancestors: [epgsql_pool,zotonic_sup,<0.61.0>]
    messages: [{'EXIT',<0.94.0>,normal}]
    links: [<0.87.0>]
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 610
    stack_size: 24
    reductions: 197

my config:

                                 {enabled,true},
                                 {host,default},
                                 {hostname,"127.0.0.1:1234"},
                                 {hostalias,"localhost:1234"},
                                 {hostalias,"127.0.0.1:1234"},
                                 {dbhost,"127.0.0.1"},
                                 {dbport,5432},
                                 {dbuser,"zotonic"},
                                 {dbpassword,"zot"},
                                 {dbdatabase,"zotonic"},
                                 {adminpassword,"zot"},
                                 {sign_key_simple,<<"--change-
me--">>},
                                 {sign_key,<<"--change-me--">>},
                                 {title,<<"Your first blog">>},
                                 {subtitle,
                                     <<"Built with Zotonic, the Erlang
CMS.">>},
                                 {pagelen,5}

I have postgresql installed and running and I have created the user
"zotonic" width the password "zot" and the database zotonic.
Any help would be much appreciated.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Arjan Scherpenisse  
View profile  
 More options Apr 9 2010, 6:27 am
From: Arjan Scherpenisse <ar...@scherpenisse.net>
Date: Fri, 09 Apr 2010 12:27:03 +0200
Local: Fri, Apr 9 2010 6:27 am
Subject: Re: [Zotonic-Usr] invalid_authorization_specification
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Are you really sure that you can connect to your database using those
credentials?

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAku/APcACgkQigE4AbflYepqywCferS5nVYEAXWwsduRJs46pdNj
NpwAn1UzxamLiNQiW5XBKHfttX76Cgtt
=MasR
-----END PGP SIGNATURE-----


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
fanq  
View profile  
 More options Apr 9 2010, 7:42 am
From: fanq <fanqste...@gmail.com>
Date: Fri, 9 Apr 2010 04:42:42 -0700 (PDT)
Local: Fri, Apr 9 2010 7:42 am
Subject: Re: invalid_authorization_specification
Yes, I have a database named "zotonic", owned by a user named
"zotonic" which has the password "zot".

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marc Worrell  
View profile  
 More options Apr 9 2010, 8:02 am
From: Marc Worrell <ma...@pobox.com>
Date: Fri, 9 Apr 2010 14:02:43 +0200
Local: Fri, Apr 9 2010 8:02 am
Subject: Re: [Zotonic-Usr] Re: invalid_authorization_specification
Can you connect to your database using the psql command line tool?

The error 'invalid_authorization_specification' is corresponds to error 28000 in PostgreSQL.
This error means that the supplied password was incorrect.

- Marc

On 9 apr 2010, at 13:42, fanq wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
fanq  
View profile  
 More options Apr 9 2010, 8:26 am
From: fanq <fanqste...@gmail.com>
Date: Fri, 9 Apr 2010 05:26:37 -0700 (PDT)
Local: Fri, Apr 9 2010 8:26 am
Subject: Re: invalid_authorization_specification
The problem was that postgresql was using IDENT for authentication and
this doesn't allow username and password authentication. Edit the
file /var/lib/pgsql/data/pg_hba.conf and replace "ident" with "trust".
More info here http://www.cyberciti.biz/faq/psql-fatal-ident-authentication-failed-f...
.
Thank you so much for your help.

On Apr 9, 3:02 pm, Marc Worrell <ma...@pobox.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marc Worrell  
View profile  
 More options Apr 9 2010, 8:28 am
From: Marc Worrell <ma...@pobox.com>
Date: Fri, 9 Apr 2010 14:28:05 +0200
Local: Fri, Apr 9 2010 8:28 am
Subject: Re: [Zotonic-Usr] Re: invalid_authorization_specification
Great!

Thanks for finding the solution and coming back to the list!

- Marc

On 9 apr 2010, at 14:26, fanq wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »