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. help with installing netdisco 2 (Russos Andrea)
   2. Re: help with installing netdisco 2 (Oliver Gorwits)
   3. netdisco-deploy error (Ankarloo, Gustaf)
   4. Re: netdisco-deploy error (Oliver Gorwits)
   5. command priority (Daniel Tuecks)
--- Begin Message ---
Hai all !! 

i'm trying to setup a fresh install of netdisco 2 on a Centos 6.5 64bit. 
I'm following this official guide 
http://search.cpan.org/~oliver/App-Netdisco-2.008000/lib/App/Netdisco.pm 

I'm facing a problem with some perl module .....i'm delaing with this command 
"~/bin/netdisco-deploy" which exit with this output: 

...... 
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 {...} (): DBIx::Class::Storage::DBI::try {...} 
(): DBI Exception (unhandled by DBIC, ::Schema GCed): DBD::Pg::db do failed: 
ERROR: current transaction is aborted, commands ignored until end of 
transaction block at /home/netdisco/perl5/bin/netdisco-db-deploy line 88 
(running "CREATE TABLE dbix_class_schema_versions ( 
version character varying(10) NOT NULL, 
installed character varying(20) NOT NULL, 
PRIMARY KEY (version) 
)") at /home/netdisco/perl5/bin/netdisco-db-deploy line 88 
DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception (unhandled by DBIC, 
::Schema GCed): DBD::Pg::st execute failed: ERROR: current transaction is 
aborted, commands ignored until end of transaction block [for Statement "INSERT 
INTO dbix_class_schema_versions ( installed, version) VALUES ( ?, ? )" with 
ParamValues: 1='v20141007_083957.898', 2='1'] at 
/home/netdisco/perl5/bin/netdisco-db-deploy line 88 
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::_dbh_execute(): DBI Exception (unhandled by DBIC, 
::Schema GCed): DBD::Pg::st execute failed: ERROR: relation "users" does not 
exist 
LINE 1: SELECT COUNT( * ) FROM users me WHERE ( admin ) 
^ [for Statement "SELECT COUNT( * ) FROM users me WHERE ( admin )"] at 
/home/netdisco/bin/netdisco-deploy line 129 
..... 

I'm noto so good in soving perl modules problems ...so i'm asking some help in 
solving this issue !! 

Thanks a lot in advance!! 

--Andrea 


--- End Message ---
--- Begin Message ---
On 2014-10-07 10:21, Russos Andrea wrote:
i'm trying to setup a fresh install of netdisco 2 on a Centos 6.5
64bit.

I'm following this official guide

http://search.cpan.org/~oliver/App-Netdisco-2.008000/lib/App/Netdisco.pm
[1]

Hi Andrea,

Please follow the latest instructions, here:

   https://metacpan.org/pod/App::Netdisco

There are additional steps which I think will resolve your problem.

regards
oliver.


I'm facing a problem with some perl module .....i'm delaing with this
command "~/bin/netdisco-deploy" which exit with this output:

......

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 {...} ():
DBIx::Class::Storage::DBI::try {...} (): DBI Exception (unhandled by
DBIC, ::Schema GCed): DBD::Pg::db do failed: ERROR: current
transaction is aborted, commands ignored until end of transaction
block at /home/netdisco/perl5/bin/netdisco-db-deploy line 88
 (running "CREATE TABLE dbix_class_schema_versions (
 version character varying(10) NOT NULL,
 installed character varying(20) NOT NULL,
 PRIMARY KEY (version)
)") at /home/netdisco/perl5/bin/netdisco-db-deploy line 88
DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception (unhandled by
DBIC, ::Schema GCed): DBD::Pg::st execute failed: ERROR: current
transaction is aborted, commands ignored until end of transaction
block [for Statement "INSERT INTO dbix_class_schema_versions (
installed, version) VALUES ( ?, ? )" with ParamValues:
1='v20141007_083957.898', 2='1'] at
/home/netdisco/perl5/bin/netdisco-db-deploy line 88
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::_dbh_execute(): DBI Exception (unhandled by
DBIC, ::Schema GCed): DBD::Pg::st execute failed: ERROR: relation
"users" does not exist
LINE 1: SELECT COUNT( * ) FROM users me WHERE ( admin )
 ^ [for Statement "SELECT COUNT( * ) FROM users me WHERE ( admin )"]
at /home/netdisco/bin/netdisco-deploy line 129
.....

I'm noto so good in soving perl modules problems ...so i'm asking some
help in solving this issue !!

Thanks a lot in advance!!

--Andrea



Links:
------
[1] http://search.cpan.org/~oliver/App-Netdisco-2.008000/lib/App/Netdisco.pm




--- End Message ---
--- Begin Message ---
Hi I'm getting the following error trying to run netdisco-deploy
And I haven't found any answers in the mailinglist

netdisco@NetDisco2:~$ ~/bin/netdisco-deploy
This is the Netdisco II deployment script.

Before we continue, the following prerequisites must be in place:
 * Database added to PostgreSQL for Netdisco
 * User added to PostgreSQL with rights to the Netdisco Database
 * "~/environments/deployment.yml" file configured with Database dsn/user/pass
 * A full backup of any existing Netdisco database data
 * Internet access (for OUIs and MIBs)

You will be asked to confirm all changes to your system.

So, is all the above in place? [y/N]: y

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 {...} (): DBIx::Class::Storage::DBI::try {...} 
(): DBI Exception (unhandled by DBIC, ::Schema GCed): DBD::Pg::db do failed: 
ERROR:  current transaction is aborted, commands ignored until end of 
transaction block at /home/netdisco/perl5/bin/netdisco-db-deploy line 88
 (running "CREATE TABLE dbix_class_schema_versions (
  version character varying(10) NOT NULL,
  installed character varying(20) NOT NULL,
  PRIMARY KEY (version)
)") at /home/netdisco/perl5/bin/netdisco-db-deploy line 88
DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception (unhandled by DBIC, 
::Schema GCed): DBD::Pg::st execute failed: ERROR:  current transaction is 
aborted, commands ignored until end of transaction block [for Statement "INSERT 
INTO dbix_class_schema_versions ( installed, version) VALUES ( ?, ? )" with 
ParamValues: 1='v20141015_140324.825', 2='1'] at 
/home/netdisco/perl5/bin/netdisco-db-deploy line 88
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::_dbh_execute(): DBI Exception (unhandled by DBIC, 
::Schema GCed): DBD::Pg::st execute failed: ERROR:  relation "users" does not 
exist
LINE 1: SELECT COUNT( * ) FROM users me WHERE ( admin )
                               ^ [for Statement "SELECT COUNT( * ) FROM users 
me WHERE ( admin )"] at /home/netdisco/bin/netdisco-deploy line 129

Any thoughts ?

Cheers \\Gustaf



--- End Message ---
--- Begin Message ---
Hi Gustaf,

I think you missed this line from the installation/upgrade instructions:

~netdisco/perl5/bin/localenv cpanm --notest --force Dancer@1.3126 DBIx::Class@0.08270

Please try this and let us know if it doesn't help.

regards,
oliver.


On 2014-10-15 15:06, Ankarloo, Gustaf wrote:
Hi I'm getting the following error trying to run netdisco-deploy
And I haven't found any answers in the mailinglist

netdisco@NetDisco2:~$ ~/bin/netdisco-deploy
This is the Netdisco II deployment script.

Before we continue, the following prerequisites must be in place:
 * Database added to PostgreSQL for Netdisco
 * User added to PostgreSQL with rights to the Netdisco Database
 * "~/environments/deployment.yml" file configured with Database
dsn/user/pass
 * A full backup of any existing Netdisco database data
 * Internet access (for OUIs and MIBs)

You will be asked to confirm all changes to your system.

So, is all the above in place? [y/N]: y

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 {...} ():
DBIx::Class::Storage::DBI::try {...} (): DBI Exception (unhandled by
DBIC, ::Schema GCed): DBD::Pg::db do failed: ERROR:  current
transaction is aborted, commands ignored until end of transaction
block at /home/netdisco/perl5/bin/netdisco-db-deploy line 88
 (running "CREATE TABLE dbix_class_schema_versions (
  version character varying(10) NOT NULL,
  installed character varying(20) NOT NULL,
  PRIMARY KEY (version)
)") at /home/netdisco/perl5/bin/netdisco-db-deploy line 88
DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception (unhandled
by DBIC, ::Schema GCed): DBD::Pg::st execute failed: ERROR:  current
transaction is aborted, commands ignored until end of transaction
block [for Statement "INSERT INTO dbix_class_schema_versions (
installed, version) VALUES ( ?, ? )" with ParamValues:
1='v20141015_140324.825', 2='1'] at
/home/netdisco/perl5/bin/netdisco-db-deploy line 88
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::_dbh_execute(): DBI Exception (unhandled
by DBIC, ::Schema GCed): DBD::Pg::st execute failed: ERROR:  relation
"users" does not exist
LINE 1: SELECT COUNT( * ) FROM users me WHERE ( admin )
                               ^ [for Statement "SELECT COUNT( * )
FROM users me WHERE ( admin )"] at /home/netdisco/bin/netdisco-deploy
line 129

Any thoughts ?

Cheers \\Gustaf


------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Netdisco mailing list
netdisco-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/netdisco-users




--- End Message ---
--- Begin Message ---
Hello Oliver,

I've noticed your commit ade7bcd880f20bcf79e2f3815327be66b9d6d739 ('high
priority jobs are picked first and inserted to prio queue'). Is it possible
to prioritize Discover/Arpnip/Macsuck commands that are called from the
webinterface / netdisco-do? If I got it right, only 'Admin' jobs are high
prio. It would be nice if the processing of user-invoked commands would be
more responsive. Maybe prioritized commands could even be processed by some
sort of dedicated workers (poller vs. prio-poller).

Regards,
Daniel

--- End Message ---
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Netdisco mailing list - Digest Mode
netdisco-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/netdisco-users

Reply via email to