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. new issues while upgrading netdisco database (Maxime Baudin)
   2. Re: new issues while upgrading netdisco database (Maxime Baudin)
   3. New user - trying v2 - some problems (Andy Ruhl)
   4. Re: New user - trying v2 - some problems (Oliver Gorwits)
   5. Re: New user - trying v2 - some problems (Andy Ruhl)
   6. Re: New user - trying v2 - some problems (Oliver Gorwits)
   7. Re: New user - trying v2 - some problems (Andy Ruhl)
   8. Mac addresses on "IP Inventory" report? (Andreas Falk)
--- Begin Message ---
I all,
I discovered that I didn't upgrade/install correctly netdisco 2

I found an Issue in the install process :

Would you like to deploy or upgrade your database schema? [y/N]: N

We need to create a user for inital login. This user will be a full Administrator.
Afterwards, you can go to Admin -> User Management to manage users.

Username: admin
Password: xxxx
DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::Pg::st execute failed: ERREUR: la valeur d'une clé dupliquée rompt la contrainte unique « users_pkey » [for Statement "INSERT INTO users ( admin, password, port_control, username) VALUES ( ?, ?, ?, ? )" with ParamValues: 1='true', 2='{CRYPT}$2a$04$YVA03t7IgnW9QecTzFmCc.MRchYACpJon.iWcKNTn1PR4bOFyP9c2', 3='true', 4='admin'] at /usr/local/netdisco/bin/netdisco-deploy line 140



I tried to delete admin account in postgresql :

netdisco=> DELETE FROM users WHERE admin;
DELETE 0
netdisco=>

DELETE 0


So I'm stuck in the install process

can someone help me to debug my postgresql issue ?

best regards,
Maxime


--
Maxime Baudin - Rectorat de Rennes
SERIA-R, 8 rue Jean-Julien Lemordant - 35000 Rennes
Tel : 02 23 42 16 88  Fax : 16 60
E-mail :Maxime.Baudin(at)ac-rennes.fr




--- End Message ---
--- Begin Message ---
Le 23/09/2014 14:48, Maxime Baudin a écrit :
Username: admin
Password: xxxx
DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::Pg::st
execute failed: ERREUR:  la valeur d'une clé dupliquée rompt la
contrainte unique « users_pkey » [for Statement "INSERT INTO users (
admin, password, port_control, username) VALUES ( ?, ?, ?, ? )" with
ParamValues: 1='true',


Oops,
I looked in my sql database and found an 'Admin' account...:(

Everything work fine now,
my mystake.

Maxime

--
Maxime Baudin - Rectorat de Rennes
SERIA-R, 8 rue Jean-Julien Lemordant - 35000 Rennes
Tel : 02 23 42 16 88  Fax : 16 60
E-mail :Maxime.Baudin(at)ac-rennes.fr




--- End Message ---
--- Begin Message ---
I'm trying to get Netdisco v2 up and running.

I was using an install document on Oliver Gorwits's site, but I can't
find it anymore. Also, it appears the front page of www.netdisco.com
doesn't have v2 info anymore, it's a link to documentation for v1?

Does anyone know what happened?

The current problem I'm having is this:

[netdisco@tucf ~]$ netdisco-daemon start
config watcher: watching /home/netdisco/environments for updates.
Netdisco Daemon                                               [Started]
[netdisco@tucf ~]$ netdisco-web start
config watcher: watching /home/netdisco/environments for updates.
Netdisco Web                                                  [Started]
[netdisco@tucf ~]$ netdisco-do --help
Can't locate NetSNMP/default_store.pm in @INC (@INC contains:
/home/netdisco/perl5/lib/perl5/auto/share/dist/App-Netdisco/lib
/home/netdisco/perl5/lib /home/netdisco/perl5/bin/lib
/home/netdisco/perl5/lib/perl5/x86_64-linux-thread-multi
/home/netdisco/perl5/lib/perl5 /usr/local/lib64/perl5
/usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at
/home/netdisco/perl5/lib/perl5/x86_64-linux-thread-multi/SNMP.pm line
19.
BEGIN failed--compilation aborted at
/home/netdisco/perl5/lib/perl5/x86_64-linux-thread-multi/SNMP.pm line
19.
Compilation failed in require at
/home/netdisco/perl5/lib/perl5/SNMP/Info.pm line 16.
BEGIN failed--compilation aborted at
/home/netdisco/perl5/lib/perl5/SNMP/Info.pm line 16.
Compilation failed in require at
/home/netdisco/perl5/lib/perl5/App/Netdisco/Util/SNMP.pm line 7.
BEGIN failed--compilation aborted at
/home/netdisco/perl5/lib/perl5/App/Netdisco/Util/SNMP.pm line 7.
Compilation failed in require at /home/netdisco/bin/netdisco-do line 115.
BEGIN failed--compilation aborted at /home/netdisco/bin/netdisco-do line 115.

I can't find default_store.pm anywhere on the machine (RHEL7).

Any help would be appreciated.

Andy



--- End Message ---
--- Begin Message ---
Hi Andy,

This is probably the site you're looking for:

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

regards,
oliver.


On 2014-09-24 18:42, Andy Ruhl wrote:
I'm trying to get Netdisco v2 up and running.

I was using an install document on Oliver Gorwits's site, but I can't
find it anymore. Also, it appears the front page of www.netdisco.com
doesn't have v2 info anymore, it's a link to documentation for v1?

Does anyone know what happened?

The current problem I'm having is this:

[netdisco@tucf ~]$ netdisco-daemon start
config watcher: watching /home/netdisco/environments for updates.
Netdisco Daemon [Started]
[netdisco@tucf ~]$ netdisco-web start
config watcher: watching /home/netdisco/environments for updates.
Netdisco Web [Started]
[netdisco@tucf ~]$ netdisco-do --help
Can't locate NetSNMP/default_store.pm in @INC (@INC contains:
/home/netdisco/perl5/lib/perl5/auto/share/dist/App-Netdisco/lib
/home/netdisco/perl5/lib /home/netdisco/perl5/bin/lib
/home/netdisco/perl5/lib/perl5/x86_64-linux-thread-multi
/home/netdisco/perl5/lib/perl5 /usr/local/lib64/perl5
/usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at
/home/netdisco/perl5/lib/perl5/x86_64-linux-thread-multi/SNMP.pm line
19.
BEGIN failed--compilation aborted at
/home/netdisco/perl5/lib/perl5/x86_64-linux-thread-multi/SNMP.pm line
19.
Compilation failed in require at
/home/netdisco/perl5/lib/perl5/SNMP/Info.pm line 16.
BEGIN failed--compilation aborted at
/home/netdisco/perl5/lib/perl5/SNMP/Info.pm line 16.
Compilation failed in require at
/home/netdisco/perl5/lib/perl5/App/Netdisco/Util/SNMP.pm line 7.
BEGIN failed--compilation aborted at
/home/netdisco/perl5/lib/perl5/App/Netdisco/Util/SNMP.pm line 7.
Compilation failed in require at /home/netdisco/bin/netdisco-do line 115. BEGIN failed--compilation aborted at /home/netdisco/bin/netdisco-do line 115.

I can't find default_store.pm anywhere on the machine (RHEL7).

Any help would be appreciated.

Andy


------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer

http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Netdisco mailing list
netdisco-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/netdisco-users




--- End Message ---
--- Begin Message ---
On Wed, Sep 24, 2014 at 11:45 AM, Oliver Gorwits <oli...@cpan.org> wrote:
> Hi Andy,
>
> This is probably the site you're looking for:
>
> https://metacpan.org/pod/App::Netdisco
>
> regards,
> oliver.

Yeah, thanks, I found it again.

Unfortunately, my problem still exists, netdisco-do doesn't work,
can't find default_store.pm.

I'm new to cpanm as well, so I'm struggling to find out how it is
supposed to install whatever plugin or piece that includes
default_store.pm.

Andy



--- End Message ---
--- Begin Message ---
On 2014-09-24 20:32, Andy Ruhl wrote:
I'm new to cpanm as well, so I'm struggling to find out how it is
supposed to install whatever plugin or piece that includes
default_store.pm.

Ah, hang on, have you installed the system packages requested in the docs, particularly the net-snmp package? This is not Perl via CPAN, it's an RPM or .deb (if you're on Linux):

On Ubuntu/Debian:
root:~# apt-get install libdbd-pg-perl libsnmp-perl build-essential

On Fedora/Red-Hat:
root:~# yum install perl-core perl-DBD-Pg net-snmp-perl make automake gcc

regards,
oliver.



--- End Message ---
--- Begin Message ---
On Wed, Sep 24, 2014 at 12:54 PM, Oliver Gorwits <oli...@cpan.org> wrote:
> On 2014-09-24 20:32, Andy Ruhl wrote:
>> I'm new to cpanm as well, so I'm struggling to find out how it is
>> supposed to install whatever plugin or piece that includes
>> default_store.pm.
>
> Ah, hang on, have you installed the system packages requested in the
> docs, particularly the net-snmp package? This is not Perl via CPAN, it's
> an RPM or .deb (if you're on Linux):
>
> On Ubuntu/Debian:
> root:~# apt-get install libdbd-pg-perl libsnmp-perl build-essential
>
> On Fedora/Red-Hat:
> root:~# yum install perl-core perl-DBD-Pg net-snmp-perl make automake
> gcc

Yeah, I did that.

On my particular system (RHEL7) I had to yum install net-snmp-devel as
well in order to get the net-snmp-config command.

Probably you should add that to your documentation.

Andy



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

Is there some way to get a mac-address report on a vlan or per CIDR like
the IP inventory report?

--
Regards Falk

--- End Message ---
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Netdisco mailing list - Digest Mode
netdisco-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/netdisco-users

Reply via email to