Error after install

96 views
Skip to first unread message

kickdaddy

unread,
Jul 19, 2009, 10:45:51 PM7/19/09
to openIPAM
Went through and followed the installation instructions on Ubuntu,
then when I try and go to

https://host:8443, I get the following error:

500 Internal Server Error

The server encountered an unexpected condition which prevented it from
fulfilling the request.

Traceback (most recent call last):
File "/var/lib/python-support/python2.5/cherrypy/_cprequest.py",
line 530, in respond
self.namespaces(self.config)
File "/var/lib/python-support/python2.5/cherrypy/_cpconfig.py", line
215, in __call__
exit(None, None, None)
File "/var/lib/python-support/python2.5/cherrypy/_cptools.py", line
366, in __exit__
tool = getattr(self, name)
AttributeError: 'Toolbox' object has no attribute 'cgitb'

Thoughts?

Thanks

Fotinakis

unread,
Jul 20, 2009, 1:33:06 AM7/20/09
to openIPAM
Ah, yes. That's something that's needed for running openIPAM behind
Apache, but should be off when using the embedded webserver. If you
comment out this line in trunk/ openIPAM/ openipam/ web/ basepage.py:

_cp_config = {'tools.cgitb.on': True}

...it will temporarily at least let you run the server. I'll write a
fix for this so that the server can be run either way without
modification.

Thanks! By the way, what led you to this project? Are you looking to
use it for a specific purpose?

- Mike Fotinakis

KC

unread,
Jul 20, 2009, 11:14:23 AM7/20/09
to openIPAM
I also had an issue with a clean Ubuntu install, don't remember the
exact error, (will check when I go home tonight) and I sent a message
at http://www.openipam.org/htm/contact, but no one got back to me.

For the most part I wanted to comment on what led me to the project. I
am looking for an open source IPAM that is used to maintain a
hierarchical representation of IP networks. Managing the individual
IPs are much less important to me.

Fotinakis

unread,
Jul 20, 2009, 12:00:00 PM7/20/09
to openIPAM
Looked through some archives and found this one (sorry, my fault for
not responding):

File "/var/lib/python-support/python2.5/sqlalchemy/pool.py", line
145, in create_connection
return _ConnectionRecord(self)
File "/var/lib/python-support/python2.5/sqlalchemy/pool.py", line
217, in __init__
self.connection = self.__connect()
File "/var/lib/python-support/python2.5/sqlalchemy/pool.py", line
280, in __connect
connection = self.__pool._creator()
File "/var/lib/python-support/python2.5/sqlalchemy/engine/
strategies.py", line 80, in connect
raise exceptions.DBAPIError.instance(None, None, e)
sqlalchemy.exceptions.OperationalError: (OperationalError) FATAL:
password authentication failed for user "openipam"
None None

Just make sure you follow this step correctly and things should work:
http://code.google.com/p/openipam/wiki/Installation#Setting_up_database_server

And you have to put the password that you set into your custom config
files (copied from the example folder). Here's the section in the
example config:
http://code.google.com/p/openipam/source/browse/trunk/openIPAM/openipam_config.example/backend.py#23

As for hierarchical representation of IP networks, if I understand
what you're asking, we don't really do that currently. Want to
elaborate more on what you were looking for?

- Mike

On Jul 20, 9:14 am, KC <ken.cele...@gmail.com> wrote:
> I also had an issue with a clean Ubuntu install, don't remember the
> exact error, (will check when I go home tonight) and I sent a message
> athttp://www.openipam.org/htm/contact, but no one got back to me.

Eldon

unread,
Jul 20, 2009, 12:08:49 PM7/20/09
to openIPAM
There isn't really any support for heirarchical network
representation. Currently, we track networks that contain addresses.
The system was designed to replace our 4 or 5 different systems we
were using to track individual IP addresses/DNS records at our
university.

I'm not sure how much work it would be to add such support. What
exactly would you like to see as far as hierarchical networks?

KC

unread,
Jul 20, 2009, 1:27:38 PM7/20/09
to openIPAM
Thanks I will check that out when I get home.

I had no way to demo openipam, so it might not fit our needs. We
currently use NorthStar, which was an open source project not updated
since 2003. Here is a screenshot of what the hierarchical networks,
http://www.brownkid.net/NorthStar/screenshots/view_location_part1.jpg
and the website for the product. http://www.brownkid.net/NorthStar/ .
For the most part it does what we want, but it is rather slow, and
does not take advantage of any javascript, so you have to reload the
page (in an iframe) every time you want to expand a grouping, which
makes it difficult to use.

But to make a long story even longer I guess what I would be looking
for ultimately (though I realize that this may not be the product you
have/are developing.) Would be an IPAM that focused on allocating
subnets in both supernet preallocation, (as in 1 /24 further allocated
to 64 /30's), and logical (as in external networks to maintain our
various Internet circuit's IPs.) Now management of individual IPs
would be nice in my situation if I can convince local IT of our
various sites to use that instead of their excel, and allow them only
privileges to their respective sites.

I understand that most people use an IPAM product to manage DNS, dhcp,
etc... But simply put that doesn't apply to my situation.

Is it possible to see a few screenshots of the product??

Thanks for your time,
- Ken



On Jul 20, 12:00 pm, Fotinakis <fotinaki...@gmail.com> wrote:
> Looked through some archives and found this one (sorry, my fault for
> not responding):
>
>   File "/var/lib/python-support/python2.5/sqlalchemy/pool.py", line
> 145, in create_connection
>     return _ConnectionRecord(self)
>   File "/var/lib/python-support/python2.5/sqlalchemy/pool.py", line
> 217, in __init__
>     self.connection = self.__connect()
>   File "/var/lib/python-support/python2.5/sqlalchemy/pool.py", line
> 280, in __connect
>     connection = self.__pool._creator()
>   File "/var/lib/python-support/python2.5/sqlalchemy/engine/
> strategies.py", line 80, in connect
>     raise exceptions.DBAPIError.instance(None, None, e)
> sqlalchemy.exceptions.OperationalError: (OperationalError) FATAL:
> password authentication failed for user "openipam"
>  None None
>
> Just make sure you follow this step correctly and things should work:http://code.google.com/p/openipam/wiki/Installation#Setting_up_databa...
>
> And you have to put the password that you set into your custom config
> files (copied from the example folder). Here's the section in the
> example config:http://code.google.com/p/openipam/source/browse/trunk/openIPAM/openip...
Reply all
Reply to author
Forward
0 new messages