Discussion:
HELP!! Can't start zenoss due to zopectl errors
jennings liu
2012-08-09 01:25:55 UTC
Permalink
jennings liu [http://community.zenoss.org/people/jenningsl] created the discussion

"HELP!! Can't start zenoss due to zopectl errors"

To view the discussion, visit: http://community.zenoss.org/message/67735#67735

--------------------------------------------------------------
Hi,everyone
    I just install zenoss 3.2 with rpm package,I did the installation procedure according to the installation guide,but after I installed it,I can't start it

i did initial startup under root accoutthe  output is below
[***@zenoss zenoss]# service zenoss start
Zenoss not initialized.  Performing first-boot initialization...
Fresh install pre steps
Stopping snmpd:                                            [  OK  ]
Starting snmpd:                                            [  OK  ]
Stopping MySQL:                                            [  OK  ]
Starting MySQL:                                            [  OK  ]
Wrote file /opt/zenoss/etc/zeo.conf
Wrote file /opt/zenoss/bin/zeoctl
Changed mode for /opt/zenoss/bin/zeoctl to 755
Wrote file /opt/zenoss/bin/runzeo
Changed mode for /opt/zenoss/bin/runzeo to 755
Starting Zope Object Database
.
daemon process started, pid=4248
Loading initial Zenoss objects into the Zeo database
(this can take a few minutes)
ZentinelPortal loaded at zport
Stopping Zope Object Database
.
daemon process stopped
Zenoss initialization complete.
Daemon: zeoctl .
daemon process started, pid=472
Daemon: zopectl Traceback (most recent call last):
  File "/opt/zenoss/bin/zopectl", line 8, in <module>
    load_entry_point('Zope2==2.12.1', 'console_scripts', 'zopectl')()
  File "/opt/zenoss/lib/python/Zope2/Startup/zopectl.py", line 408, in run
    exitstatus = main()
  File "/opt/zenoss/lib/python/Zope2/Startup/zopectl.py", line 364, in main
    options.realize(args)
  File "/opt/zenoss/lib/python/Zope2/Startup/zopectl.py", line 170, in realize
    self.directory = config.instancehome
AttributeError: 'NoneType' object has no attribute 'instancehome'
Daemon: zenhub starting...
Daemon: zenjobs starting...
Daemon: zenping starting...
Daemon: zensyslog starting...
Daemon: zenstatus starting...
Daemon: zenactions starting...
Daemon: zentrap starting...
Daemon: zenmodeler starting...
Daemon: zenperfsnmp starting...
Daemon: zencommand starting...
Daemon: zenprocess starting...
Daemon: zenwin starting...
Daemon: zeneventlog starting...

Fresh install post step
--2012-08-08 09:57:29--  http://localhost:8080/zport/dmd/DeviceLoader/loadDevice?deviceName=localhost&devicePath=/Server/Linux http://localhost:8080/zport/dmd/DeviceLoader/loadDevice?deviceName=localhost&devicePath=/Server/Linux
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:8080... failed: Connection refused.
Zenoss installation completed.


then Irestarted it under zenoss account,I got the same errors below

[***@zenoss ~]$ zenoss restart
Daemon: zeneventlog stopping...
Daemon: zenwin stopping...
Daemon: zenprocess stopping...
Daemon: zencommand stopping...
Daemon: zenperfsnmp stopping...
Daemon: zenmodeler stopping...
Daemon: zentrap stopping...
Daemon: zenactions stopping...
Daemon: zenstatus stopping...
Daemon: zensyslog stopping...
Daemon: zenping stopping...
Daemon: zenjobs stopping...
Daemon: zenhub stopping...
Daemon: zopectl Traceback (most recent call last):
  File "/opt/zenoss/bin/zopectl", line 8, in <module>
    load_entry_point('Zope2==2.12.1', 'console_scripts', 'zopectl')()
  File "/opt/zenoss/lib/python/Zope2/Startup/zopectl.py", line 408, in run
    exitstatus = main()
  File "/opt/zenoss/lib/python/Zope2/Startup/zopectl.py", line 364, in main
    options.realize(args)
  File "/opt/zenoss/lib/python/Zope2/Startup/zopectl.py", line 170, in realize
    self.directory = config.instancehome
AttributeError: 'NoneType' object has no attribute 'instancehome'
Daemon: zeoctl daemon manager not running
Daemon: zeoctl .
daemon process started, pid=4365
Daemon: zopectl Traceback (most recent call last):
  File "/opt/zenoss/bin/zopectl", line 8, in <module>
    load_entry_point('Zope2==2.12.1', 'console_scripts', 'zopectl')()
  File "/opt/zenoss/lib/python/Zope2/Startup/zopectl.py", line 408, in run
    exitstatus = main()
  File "/opt/zenoss/lib/python/Zope2/Startup/zopectl.py", line 364, in main
    options.realize(args)
  File "/opt/zenoss/lib/python/Zope2/Startup/zopectl.py", line 170, in realize
    self.directory = config.instancehome
AttributeError: 'NoneType' object has no attribute 'instancehome'
Daemon: zenhub starting...
Daemon: zenjobs starting...
Daemon: zenping starting...
Daemon: zensyslog starting...
Daemon: zenstatus starting...
Daemon: zenactions starting...
Daemon: zentrap starting...
Daemon: zenmodeler starting...
Daemon: zenperfsnmp starting...
Daemon: zencommand starting...
Daemon: zenprocess starting...
Daemon: zenwin starting...
Daemon: zeneventlog starting...
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/67735#67735]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...