Thanks! that worked great. i like the new look! 

----- Original Message ----- 
From: Chet Luther <[EMAIL PROTECTED]> 
To: General discussion of using zenoss system <[email protected]> 
Cc: zenoss-dev <[EMAIL PROTECTED]> 
Sent: Monday, April 16, 2007 12:24:54 PM GMT-0500 
Subject: Re: [zenoss-users] yesterdays trunk fails to start 

On 4/16/07, W. Chris Shank <[EMAIL PROTECTED]> wrote: 
> i installed the svn trunk yesterday on a Ubuntu dapper server. I get this 
> error when trying to start the zenoss processes: - any clues? 
> 
> Daemon: zeoctl . daemon process started, pid=28406 
> Daemon: zopectl . daemon process started, pid=28410 
> Daemon: zenhub starting... 
> Daemon: zenmodeler starting... 
> Traceback (most recent call last): 
> File 
> "/usr/local/zenoss/Products/DataCollector/zenmodeler.py", 
> line 23, in ? 
> import SnmpClient 
> File 
> "/usr/local/zenoss/Products/DataCollector/SnmpClient.py", 
> line 8, in ? 
> from pynetsnmp.twistedsnmp import snmpprotocol, AgentProxy 
> File 
> "usr/local/zenoss/lib/python/pynetsnmp/twistedsnmp.py", 
> line 1, in ? 
> File "usr/local/zenoss/lib/python/pynetsnmp/netsnmp.py", 
> line 38, in ? 
> ValueError: invalid literal for float(): 5.2.1 
> Daemon: zenperfsnmp starting... 
> Traceback (most recent call last): 
> File "/usr/local/zenoss/Products/ZenRRD/zenperfsnmp.py", 
> line 28, in ? 
> from pynetsnmp.twistedsnmp import AgentProxy 
> File 
> "usr/local/zenoss/lib/python/pynetsnmp/twistedsnmp.py", 
> line 1, in ? 
> File "usr/local/zenoss/lib/python/pynetsnmp/netsnmp.py", 
> line 38, in ? 
> ValueError: invalid literal for float(): 5.2.1 
> Daemon: zenperfxmlrpc starting... 
> Daemon: zenprocess starting... 
> Traceback (most recent call last): 
> File "/usr/local/zenoss/Products/ZenRRD/zenprocess.py", 
> line 27, in ? 
> from pynetsnmp.twistedsnmp import AgentProxy 
> File 
> "usr/local/zenoss/lib/python/pynetsnmp/twistedsnmp.py", 
> line 1, in ? 
> File "usr/local/zenoss/lib/python/pynetsnmp/netsnmp.py", 
> line 38, in ? 
> ValueError: invalid literal for float(): 5.2.1 
> Daemon: zenping starting... 
> Daemon: zensyslog starting... 
> Daemon: zenstatus starting... 
> Daemon: zenactions starting... 
> Daemon: zentrap starting... 
> Daemon: zencommand starting... 
> 
> -- 
> W. Chris Shank 
> ACE Technology Group, LLC 
> www.myremoteITdept.com 
> (610) 640-4223 
> 
> -------------------------------- 
> Security Note: To protect against computer viruses, 
> e-mail programs may prevent sending or receiving 
> certain types of file attachments. Check your e-mail 
> security settings to determine how attachments are 
> handled. 
> 
> _______________________________________________ 
> zenoss-users mailing list 
> [email protected] 
> http://lists.zenoss.org/mailman/listinfo/zenoss-users 
> 

Chris, 

This is apparently a bug in the pynetsnmp module that only appears 
when your NetSNMP version has a version like 5.2.1.1 instead of just 
5.2.1. You can fix it by changing line 38 of 
$ZENHOME/lib/python/pynetsnmp/netsnmp.py from this: 

float_version = float(version.rsplit('.', 1)[0]) 

to this: 

float_version = float('.'.join(version.split('.')[:2])) 

-- 
Chet Luther 
[EMAIL PROTECTED] 
_______________________________________________ 
zenoss-users mailing list 
[email protected] 
http://lists.zenoss.org/mailman/listinfo/zenoss-users 


-- 
W. Chris Shank 
ACE Technology Group, LLC 
www.myremoteITdept.com 
(610) 640-4223 

-------------------------------- 
Security Note: To protect against computer viruses, 
e-mail programs may prevent sending or receiving 
certain types of file attachments. Check your e-mail 
security settings to determine how attachments are 
handled. 
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to