Send netdisco-users mailing list submissions to
netdisco-users@lists.sourceforge.net
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/netdisco-users
or, via email, send a message with subject or body 'help' to
netdisco-users-requ...@lists.sourceforge.net
You can reach the person managing the list at
netdisco-users-ow...@lists.sourceforge.net
When replying, please edit your Subject line so it is more specific
than "Re: Contents of netdisco-users digest..."
Today's Topics:
1. Re: chicken and the egg with adding users (Oliver Gorwits)
2. Re: chicken and the egg with adding users (peter.bur...@usitc.gov)
3. Re: chicken and the egg with adding users (Oliver Gorwits)
4. Re: chicken and the egg with adding users (Joseph Bernard)
--- Begin Message ---
Hi Peter,
This is the relevant line in your log:
DBIx::Class::Storage::DBI::catch {...} (): DBI Connection failed: DBI
connect('dbname=netdisco','netdisco',...) failed: FATAL: Ident
authentication failed for user "netdisco"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
So, the database user isn't configured in the deployment.yml file
correctly, somehow. This has nothing to do with the web interface user,
it is the _database_ user.
In deployment.yml it should look like this (obviously, change the
username/password from "changeme"):
database:
name: 'netdisco'
user: 'changeme'
pass: 'changeme'
#host: 'localhost'
Normally the "host" line can remain commented out. In some postgres
configurations it needs to be uncommented. That depends on which
platform and OS you're using. Try both.
I hope this helps. Remember that there's also IRC for support
(depending on the time of day in different parts of the world). Join the
freenode network and the #netdisco channel.
p.s. I'd stick with postgres 9.x - it's better than 8.x for sure.
regards,
oliver.
On 2014-04-08 22:35, peter.bur...@usitc.gov wrote:
When I first installed netdisco v2, things went mostly smoothly - I
build postgres from scratch, then configured my .curlrc file to allow
proxy access, and ran the script to pull down App::Netdisco. I linked
the files over to ~Netdisco/bin and ~netdisco/environments and edited
deployment.yaml. Finally, I ran netdisco-deploy and that populated
the
postgres instance I set up almost perfectly. Running netdisco-web and
netdisco-daemon provided a web interface I could view as long as my
browser had the proxy disabled. But I couldn't log in, and changing
the authentication flag in deployment.yaml allowed guest to log out,
but I couldn't create an admin account.
At no point in running the netdisco-deploy was I asked to create the
admin account.
Now, having blown away my source compiled version of postgresql 9.3.2
three times, I installed redhat's rpm of postgresql 8.4 and fired it
up.
No change. Both my source compiled and redhat-distributed version
yield the same error when I run the netdisco-deploy script:
Would you like to deploy or upgrade your database schema? [y/N]: y
DBIx::Class::Schema::Versioned::_on_connect(): Your DB is currently
unversioned. Please call upgrade on your schema to sync the DB. at
/home/netdisco/perl5/lib/perl5/Dancer/Plugin/DBIC.pm line 62
DBIx::Class::Storage::DBI::catch {...} (): DBI Connection failed: DBI
connect('dbname=netdisco','netdisco',...) failed: FATAL: Ident
authentication failed for user "netdisco" at
/home/netdisco/perl5/lib/perl5/DBIx/Class/Storage/DBI.pm line 1483.
at
/home/netdisco/perl5/bin/netdisco-db-deploy line 63
DB schema update complete.
DBIx::Class::Schema::Versioned::_on_connect(): Your DB is currently
unversioned. Please call upgrade on your schema to sync the DB. at
/home/netdisco/perl5/lib/perl5/Dancer/Plugin/DBIC.pm line 62
DBIx::Class::Storage::DBI::catch {...} (): DBI Connection failed: DBI
connect('dbname=netdisco','netdisco',...) failed: FATAL: Ident
authentication failed for user "netdisco" at
/home/netdisco/perl5/lib/perl5/DBIx/Class/Storage/DBI.pm line 1483.
at
/home/netdisco/bin/netdisco-deploy line 126
I'm frustrated - to go from nearly working to not even remotely close
bewilders me, and I am two days behind schedule. I need help.
Peter H Burris
Network Services Division
International Trade Commission
--- End Message ---
--- Begin Message ---
Added that line, completely wiped out and reinstalled netdisco. Install script
still failed.
I am obviously missing the most obvious of steps, but they are not clear from
the errors I see.
From: Joseph Bernard [mailto:j...@clemson.edu]
Sent: Tuesday, April 08, 2014 5:42 PM
To: Burris, Peter H.
Subject: Re: [Netdisco] chicken and the egg with adding users
Peter,
Have you tried adding the line explained here to your pg_hba.conf file?
http://search.cpan.org/~oliver/App-Netdisco-2.025000_001/lib/App/Netdisco/Manual/Deployment.pod#Enable_MD5_authentication_to_PostgreSQL
Thanks,
Joseph B.
On Apr 8, 2014, at 5:35 PM,
<peter.bur...@usitc.gov<mailto:peter.bur...@usitc.gov>>
wrote:
When I first installed netdisco v2, things went mostly smoothly - I build
postgres from scratch, then configured my .curlrc file to allow proxy access,
and ran the script to pull down App::Netdisco. I linked the files over to
~Netdisco/bin and ~netdisco/environments and edited deployment.yaml. Finally,
I ran netdisco-deploy and that populated the postgres instance I set up almost
perfectly. Running netdisco-web and netdisco-daemon provided a web interface I
could view as long as my browser had the proxy disabled. But I couldn't log
in, and changing the authentication flag in deployment.yaml allowed guest to
log out, but I couldn't create an admin account.
At no point in running the netdisco-deploy was I asked to create the admin
account.
Now, having blown away my source compiled version of postgresql 9.3.2 three
times, I installed redhat's rpm of postgresql 8.4 and fired it up.
No change. Both my source compiled and redhat-distributed version yield the
same error when I run the netdisco-deploy script:
Would you like to deploy or upgrade your database schema? [y/N]: y
DBIx::Class::Schema::Versioned::_on_connect(): Your DB is currently
unversioned. Please call upgrade on your schema to sync the DB. at
/home/netdisco/perl5/lib/perl5/Dancer/Plugin/DBIC.pm line 62
DBIx::Class::Storage::DBI::catch {...} (): DBI Connection failed: DBI
connect('dbname=netdisco','netdisco',...) failed: FATAL: Ident authentication
failed for user "netdisco" at
/home/netdisco/perl5/lib/perl5/DBIx/Class/Storage/DBI.pm line 1483. at
/home/netdisco/perl5/bin/netdisco-db-deploy line 63
DB schema update complete.
DBIx::Class::Schema::Versioned::_on_connect(): Your DB is currently
unversioned. Please call upgrade on your schema to sync the DB. at
/home/netdisco/perl5/lib/perl5/Dancer/Plugin/DBIC.pm line 62
DBIx::Class::Storage::DBI::catch {...} (): DBI Connection failed: DBI
connect('dbname=netdisco','netdisco',...) failed: FATAL: Ident authentication
failed for user "netdisco" at
/home/netdisco/perl5/lib/perl5/DBIx/Class/Storage/DBI.pm line 1483. at
/home/netdisco/bin/netdisco-deploy line 126
I'm frustrated - to go from nearly working to not even remotely close bewilders
me, and I am two days behind schedule. I need help.
Peter H Burris
Network Services Division
International Trade Commission
------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees_______________________________________________
Netdisco mailing list
netdisco-users@lists.sourceforge.net<mailto:netdisco-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/netdisco-users
--- End Message ---
--- Begin Message ---
On 2014-04-08 22:56, peter.bur...@usitc.gov wrote:
Added that line, completely wiped out and reinstalled netdisco.
Install script still failed.
Did you restart postgresql after adding the line? pg_hba.conf is
postgres config, not Netdisco config.
regards,
oliver.
I am obviously missing the most obvious of steps, but they are not
clear from the errors I see.
FROM: Joseph Bernard [mailto:j...@clemson.edu]
SENT: Tuesday, April 08, 2014 5:42 PM
TO: Burris, Peter H.
SUBJECT: Re: [Netdisco] chicken and the egg with adding users
Peter,
Have you tried adding the line explained here to your pg_hba.conf
file?
http://search.cpan.org/~oliver/App-Netdisco-2.025000_001/lib/App/Netdisco/Manual/Deployment.pod#Enable_MD5_authentication_to_PostgreSQL
[1]
Thanks,
Joseph B.
On Apr 8, 2014, at 5:35 PM, <peter.bur...@usitc.gov [2]>
wrote:
When I first installed netdisco v2, things went mostly smoothly - I
build postgres from scratch, then configured my .curlrc file to allow
proxy access, and ran the script to pull down App::Netdisco. I linked
the files over to ~Netdisco/bin and ~netdisco/environments and edited
deployment.yaml. Finally, I ran netdisco-deploy and that populated
the
postgres instance I set up almost perfectly. Running netdisco-web and
netdisco-daemon provided a web interface I could view as long as my
browser had the proxy disabled. But I couldn't log in, and changing
the authentication flag in deployment.yaml allowed guest to log out,
but I couldn't create an admin account.
At no point in running the netdisco-deploy was I asked to create the
admin account.
Now, having blown away my source compiled version of postgresql 9.3.2
three times, I installed redhat's rpm of postgresql 8.4 and fired it
up.
No change. Both my source compiled and redhat-distributed version
yield the same error when I run the netdisco-deploy script:
Would you like to deploy or upgrade your database schema? [y/N]: y
DBIx::Class::Schema::Versioned::_on_connect(): Your DB is currently
unversioned. Please call upgrade on your schema to sync the DB. at
/home/netdisco/perl5/lib/perl5/Dancer/Plugin/DBIC.pm line 62
DBIx::Class::Storage::DBI::catch {...} (): DBI Connection failed: DBI
connect('dbname=netdisco','netdisco',...) failed: FATAL: Ident
authentication failed for user "netdisco" at
/home/netdisco/perl5/lib/perl5/DBIx/Class/Storage/DBI.pm line 1483.
at
/home/netdisco/perl5/bin/netdisco-db-deploy line 63
DB schema update complete.
DBIx::Class::Schema::Versioned::_on_connect(): Your DB is currently
unversioned. Please call upgrade on your schema to sync the DB. at
/home/netdisco/perl5/lib/perl5/Dancer/Plugin/DBIC.pm line 62
DBIx::Class::Storage::DBI::catch {...} (): DBI Connection failed: DBI
connect('dbname=netdisco','netdisco',...) failed: FATAL: Ident
authentication failed for user "netdisco" at
/home/netdisco/perl5/lib/perl5/DBIx/Class/Storage/DBI.pm line 1483.
at
/home/netdisco/bin/netdisco-deploy line 126
I'm frustrated - to go from nearly working to not even remotely close
bewilders me, and I am two days behind schedule. I need help.
Peter H Burris
Network Services Division
International Trade Commission
------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees_______________________________________________
[3]
Netdisco mailing list
netdisco-users@lists.sourceforge.net [4]
https://lists.sourceforge.net/lists/listinfo/netdisco-users [5]
Links:
------
[1]
http://search.cpan.org/~oliver/App-Netdisco-2.025000_001/lib/App/Netdisco/Manual/Deployment.pod#Enable_MD5_authentication_to_PostgreSQL
[2] mailto:peter.bur...@usitc.gov
[3]
http://p.sf.net/sfu/13600_Cloudbees_______________________________________________
[4] mailto:netdisco-users@lists.sourceforge.net
[5] https://lists.sourceforge.net/lists/listinfo/netdisco-users
--- End Message ---
--- Begin Message ---
Peter,
Are you using these instructions to start with?
http://search.cpan.org/~oliver/App-Netdisco-2.025001/lib/App/Netdisco.pm#Dependencies
If you are, the lines in deployment.yml would be:
database:
name: 'netdisco'
user: 'netdisco'
pass: 'whatever you typed at the prompt'
#host: 'localhost'
I just installed this from scratch on a fresh install of CentOS 6.5. If you
are using that or something EL6 based, I can tell you all the steps I did to
get it working since I still have all the history files.
Thanks,
Joseph B.
On Apr 8, 2014, at 5:58 PM, Oliver Gorwits
<oli...@cpan.org<mailto:oli...@cpan.org>>
wrote:
On 2014-04-08 22:56, peter.bur...@usitc.gov<mailto:peter.bur...@usitc.gov>
wrote:
Added that line, completely wiped out and reinstalled netdisco.
Install script still failed.
Did you restart postgresql after adding the line? pg_hba.conf is
postgres config, not Netdisco config.
regards,
oliver.
I am obviously missing the most obvious of steps, but they are not
clear from the errors I see.
FROM: Joseph Bernard [mailto:j...@clemson.edu<http://clemson.edu>]
SENT: Tuesday, April 08, 2014 5:42 PM
TO: Burris, Peter H.
SUBJECT: Re: [Netdisco] chicken and the egg with adding users
Peter,
Have you tried adding the line explained here to your pg_hba.conf
file?
http://search.cpan.org/~oliver/App-Netdisco-2.025000_001/lib/App/Netdisco/Manual/Deployment.pod#Enable_MD5_authentication_to_PostgreSQL
[1]
Thanks,
Joseph B.
On Apr 8, 2014, at 5:35 PM, <peter.bur...@usitc.gov [2]>
wrote:
When I first installed netdisco v2, things went mostly smoothly - I
build postgres from scratch, then configured my .curlrc file to allow
proxy access, and ran the script to pull down App::Netdisco. I linked
the files over to ~Netdisco/bin and ~netdisco/environments and edited
deployment.yaml. Finally, I ran netdisco-deploy and that populated
the
postgres instance I set up almost perfectly. Running netdisco-web and
netdisco-daemon provided a web interface I could view as long as my
browser had the proxy disabled. But I couldn't log in, and changing
the authentication flag in deployment.yaml allowed guest to log out,
but I couldn't create an admin account.
At no point in running the netdisco-deploy was I asked to create the
admin account.
Now, having blown away my source compiled version of postgresql 9.3.2
three times, I installed redhat's rpm of postgresql 8.4 and fired it
up.
No change. Both my source compiled and redhat-distributed version
yield the same error when I run the netdisco-deploy script:
Would you like to deploy or upgrade your database schema? [y/N]: y
DBIx::Class::Schema::Versioned::_on_connect(): Your DB is currently
unversioned. Please call upgrade on your schema to sync the DB. at
/home/netdisco/perl5/lib/perl5/Dancer/Plugin/DBIC.pm line 62
DBIx::Class::Storage::DBI::catch {...} (): DBI Connection failed: DBI
connect('dbname=netdisco','netdisco',...) failed: FATAL: Ident
authentication failed for user "netdisco" at
/home/netdisco/perl5/lib/perl5/DBIx/Class/Storage/DBI.pm line 1483.
at
/home/netdisco/perl5/bin/netdisco-db-deploy line 63
DB schema update complete.
DBIx::Class::Schema::Versioned::_on_connect(): Your DB is currently
unversioned. Please call upgrade on your schema to sync the DB. at
/home/netdisco/perl5/lib/perl5/Dancer/Plugin/DBIC.pm line 62
DBIx::Class::Storage::DBI::catch {...} (): DBI Connection failed: DBI
connect('dbname=netdisco','netdisco',...) failed: FATAL: Ident
authentication failed for user "netdisco" at
/home/netdisco/perl5/lib/perl5/DBIx/Class/Storage/DBI.pm line 1483.
at
/home/netdisco/bin/netdisco-deploy line 126
I'm frustrated - to go from nearly working to not even remotely close
bewilders me, and I am two days behind schedule. I need help.
Peter H Burris
Network Services Division
International Trade Commission
--- End Message ---
------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Netdisco mailing list - Digest Mode
netdisco-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/netdisco-users