Send Netdot-devel mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://osl.uoregon.edu/mailman/listinfo/netdot-devel
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Netdot-devel digest..."


Today's Topics:

   1. [Netdot - Bug #1761] Adding an HP ProCurve switch fails:
      "Invalid name: procurve j9029a. Contains invalid characters"
      ([email protected])
   2. [Netdot - Support #1769] (New) Error when running make
      installdb with PostgresQL 9.2 ([email protected])


----------------------------------------------------------------------

Message: 1
Date: Mon, 22 Jul 2013 01:47:16 -0700
From: [email protected]
Subject: [Netdot-devel] [Netdot - Bug #1761] Adding an HP ProCurve
        switch  fails: "Invalid name: procurve j9029a. Contains invalid
        characters"
To: [email protected], [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8


Issue #1761 has been updated by Chris Wilson.


Couldn't you have a much more helpful error message in that case? I was just 
building a test network and it was a very bad first experience because I didn't 
know what was happening or why. Or perhaps show the hostname that will be used 
and *allow the user to change it*?
----------------------------------------
Bug #1761: Adding an HP ProCurve switch fails: "Invalid name: procurve j9029a. 
Contains invalid characters"
https://osl.uoregon.edu/redmine/issues/1761#change-3103

Author: Chris Wilson
Status: Closed
Priority: Normal
Assignee: 
Category: 
Target version: 
Resolution: worksforme


I tried to discover one of my switches by its IP address, 192.168.2.11.

The first page looks OK, saying:

<pre>
Description     PROCURVE J9029A - PA.03.01
</pre>

(which I can't change)

But when I click the Update button, I get this error:

<pre>
updatedevice.html produced the following error:

Invalid name: procurve j9029a. Contains invalid characters
</pre>

And the device seems not to be added to the database. I can't see any option to 
change or override this name anywhere, and adding a network device by hand 
seems to be a pretty painful process involving defining all the interfaces by 
hand.

What am I doing wrong?


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://osl.uoregon.edu/redmine/my/account


------------------------------

Message: 2
Date: Mon, 22 Jul 2013 11:46:23 -0700
From: [email protected]
Subject: [Netdot-devel] [Netdot - Support #1769] (New) Error when
        running make installdb with PostgresQL 9.2
To: [email protected], [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8


Issue #1769 has been reported by Jordan Desroches.

----------------------------------------
Support #1769: Error when running make installdb with PostgresQL 9.2
https://osl.uoregon.edu/redmine/issues/1769

Author: Jordan Desroches
Status: New
Priority: Normal
Assignee: 
Category: 
Target version: 
Resolution: 


When running make installdb on a 64 bit CentOS 6 machine with PG 9.2 and Netdot 
1.0.4, I run into this error:

[root@vimes netdot-1.0.4]# make installdb
echo /usr/local/netdot > ./.prefix
Preparing to create netdot database
cd bin ; make installdb
make[1]: Entering directory `/home/jd/netdot-1.0.4/bin'
/usr/bin/perl initdb initdb

Creating Pg database netdot.
translate: Error with producer 'SQL::Translator::Producer::PostgreSQL': Can't 
use an undefined value as an ARRAY reference at 
/usr/local/share/perl5/SQL/Translator/Producer/PostgreSQL.pm line 340.
 at ../lib/DBUTIL.pm line 267.
make[1]: *** [_installdb] Error 255
make[1]: Leaving directory `/home/jd/netdot-1.0.4/bin'
make: *** [installdb] Error 2


The section of my Site.conf relating to databases:

#
# Database setup
#
#################################################################

#
# DB_TYPE defines what sort of database NetDoT trys to talk to
# [mysql|Pg]

DB_TYPE =>  'Pg',

# DB_HOME is where the Database's commandline tools live.  $DB_HOME/bin
# should contain the binaries themselves, e.g. if "which mysql" gives
# "/usr/local/mysql/bin/mysql", $DB_HOME should be "/usr/local/mysql"

DB_HOME => '/usr/bin',

# Set DB_DBA to the name of a DB user with permission to create new databases 
# Set DB_DBA_PASSWORD to that user's password (if you don't, you'll be prompted
# later)

# For mysql, you can try 'root'.  For Pg, it is usually 'postgres'

DB_DBA          =>  'postgres',
DB_DBA_PASSWORD =>  'obfuscated',
 
#
# Set this to the Fully Qualified Domain Name of your database server.
# If the database is local, rather than on a remote host, using "localhost" 
# will greatly enhance performance.

DB_HOST =>  'localhost',

# If you're not running your database server on its default port, 
# specify the port the database server is running on below.  
# With mysql, it is usually safe to leave this blank.
# With Pg, you will probably want to use '5432'

DB_PORT => '5432',

#
# Set this to the canonical name of the interface NetDoT will be talking to the 
# database on.  If you said that the DB_HOST above was "localhost," this 
# should be too. This value will be used to grant NetDoT access to the database.
# If you want to access the NetDoT database from multiple hosts, you'll need
# to grant those database rights by hand.
#

DB_NETDOT_HOST =>  'localhost',

# set this to the name you want to give to the NetDoT database in 
# your database server. 

DB_DATABASE =>  'netdot',

# Set this to the name of the netdot database user

DB_NETDOT_USER =>  'netdot_user',

# Set this to the password used by the NetDoT database user
# *** Change This Before Installation***

DB_NETDOT_PASS =>  'obfusacated',


Please let me know what other info I can provide!



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://osl.uoregon.edu/redmine/my/account


------------------------------

_______________________________________________
Netdot-devel mailing list
[email protected]
https://osl.uoregon.edu/mailman/listinfo/netdot-devel


End of Netdot-devel Digest, Vol 76, Issue 14
********************************************

Reply via email to