Quantcast
Channel: Zenoss Community : All Content - All Communities
Viewing all articles
Browse latest Browse all 853

zenjobs behaving weird in 4.2 under Ubuntu 12.

$
0
0

Hi,

 

The following problem is driving me up the wall, any hints highly appreciated.

 

System: Ubuntu 12.04

Package: Zenoss 4.2

 

When starting a zenoss job like "Add a single device...", I consistently get the dump shown below.

 

At first I thought that it just chooses the wrong Python environment but that doesn't seem to be the case.

I uncommented the print "searching",stdpath,sys.path statement in site.py so their values are included in the error.

Looks Ok to me...

 

So, what am I doing wrong here?

 

TIA,

    Tom.

 

2013-02-21 15:24:35,734 INFO zen.Job: Job 5166d5f2-23f1-41c8-9ede-c0d8591a80fc (Products.ZenModel.ZDeviceLoader.DeviceCreationJob) received

2013-02-21 15:24:35,752 INFO zen.Job: Beginning job Add Device Products.ZenModel.ZDeviceLoader.DeviceCreationJob

2013-02-21 15:24:36,381 INFO zen.Job: Running Job Add Device Products.ZenModel.ZDeviceLoader.DeviceCreationJob

2013-02-21 15:24:36,382 INFO zen.Job: Spawning subprocess: /usr/local/zenoss/bin/zendisc run --now -d dublin.massxess.net --monitor localhost --deviceclass / --prod_state 1000 --job 5166d5f2-23f1-41c8-9ede-c0d8591a80fc

searching ['/usr/lib/python27.zip', '/usr/lib/python2.7/', '/usr/lib/python2.7/plat-linux3', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload'] ['/usr/local/zenoss/lib/python', '/usr/lib/python27.zip', '/usr/lib/python2.7/', '/usr/lib/python2.7/plat-linux3', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload']

Traceback (most recent call last):

File "/usr/local/zenoss/lib/python/site.py", line 73, in 

__boot()

File "/usr/local/zenoss/lib/python/site.py", line 33, in __boot

imp.load_module('site',stream,path,descr)

File "/usr/lib/python2.7/site.py", line 562, in 

main()

File "/usr/lib/python2.7/site.py", line 544, in main

known_paths = addusersitepackages(known_paths)

File "/usr/lib/python2.7/site.py", line 271, in addusersitepackages

user_site = getusersitepackages()

File "/usr/lib/python2.7/site.py", line 246, in getusersitepackages

user_base = getuserbase() # this will also set USER_BASE

File "/usr/lib/python2.7/site.py", line 236, in getuserbase

USER_BASE = get_config_var('userbase')

File "/usr/lib/python2.7/sysconfig.py", line 577, in get_config_var

return get_config_vars().get(name)

File "/usr/lib/python2.7/sysconfig.py", line 476, in get_config_vars

_init_posix(_CONFIG_VARS)

File "/usr/lib/python2.7/sysconfig.py", line 337, in _init_posix

makefile = _get_makefile_filename()

File "/usr/lib/python2.7/sysconfig.py", line 331, in _get_makefile_filename

return os.path.join(get_path('platstdlib').replace("/usr/local","/usr",1), "config" + (sys.pydebug and "_d" or ""), "Makefile")

AttributeError: 'module' object has no attribute 'pydebug'

2013-02-21 15:24:36,601 ERROR zen.Job: Job 5166d5f2-23f1-41c8-9ede-c0d8591a80fc raised exception

2013-02-21 15:24:36,602 ERROR zen.Job: 

Traceback (most recent call last):

File "/usr/local/zenoss/Products/Jobber/zenjobs.py", line 23, in 

from celery.concurrency.processes.forking import freeze_support

ImportError: No module named forking


Viewing all articles
Browse latest Browse all 853

Trending Articles