|
From: Oliver G. <ol...@cp...> - 2014-12-17 12:25:54
|
Hi Sebastian,
On 2014-12-15 13:51, Sebastian Rösch wrote:
> at first, thanks all the developers for their work on this lovely
> piece of software. I now have two questions, that I couldn´t solve
> myself.
Robert is exactly on the right track.
You're running the commands as root user. Please run them as "netdisco"
user and I'm sure things will begin to work.
regards,
oliver.
>
> Question1:
>
> I installed V2 and I´m really happy with it. Now I tried to upgrade
> the installation to 2.029014, but I´m not able to complete the
> netdisco-deploy procedure. It seems to be, that the netdisco uses the
> default configuration file under
>
> /home/netdisco/perl5/lib/perl5/auto/share/dist/App-Netdisco/environments.
>
>
> And not that file under /home/netdisco/environments/
>
> Where can I change the path to the correct deployment.yml?
>
> Error:
>
> #####################
>
> 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 {...} (): DBI Connection failed:
> DBIx::Class::Storage::DBI::catch {...} (): DBI Connection failed: DBI
> connect('dbname=netdisco','changeme',...) failed: FATAL: role
> "changeme" does not exist at
> /home/netdisco/perl5/lib/perl5/DBIx/Class/Storage/DBI.pm line 1487.
> at
> /home/netdisco/perl5/bin/netdisco-db-deploy line 88 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::catch {...} (): DBI Connection failed: DBI
> connect('dbname=netdisco','changeme',...) failed: FATAL: role
> "changeme" does not exist at
> /home/netdisco/perl5/lib/perl5/DBIx/Class/Storage/DBI.pm line 1487.
> at
> ./netdisco-deploy line 129
>
> #####################
>
> Question2:
>
> I´m trying to arpnip and macsuck a Cisco ASA 5585 but it doesn´t
> work… (see attachments) Should that work or do I have to import
> other MIBS (from Cisco) ?
>
> P.S.: I can assist with providing Cisco VSS SNMP Information. If a
> can
> assists with providing snmp dumps e.g. then please contact me.
>
> Best Regards
>
> Sebastian
|