![]() |
![]() |
Subject: | Service Unavailable? |
Author: | [Not Specified] |
Posted: | 2014-05-28 17:00 |
Type:
Value: Service Unavailable
Traceback (most recent call last): File "/opt/zenoss/lib/python/ZPublisher/Publish.py", line 126, in publish request, bind=1) File "/opt/zenoss/lib/python/ZPublisher/mapply.py", line 77, in mapply if debug is not None: return debug(object,args,context) File "/opt/zenoss/lib/python/ZPublisher/Publish.py", line 46, in call_object result=apply(object,args) # Type s
Any Ideas Our admin that build the server is no longer here, and I just don't know enough about Zenoss to do much troubleshooting on my own.
Thank you,
Chris
Subject: | Try the following command as |
Author: | [Not Specified] |
Posted: | 2014-05-29 09:23 |
Try the following command as the zenoss user:
zeneventserver stop && cd $ZENHOME/var/zeneventserver/index && rm -rf summary && rm -rf archive && zeneventserver start
Hydruid
Subject: | Nothing happens |
Author: | [Not Specified] |
Posted: | 2014-05-30 10:08 |
When I run the command:
[root@Zenoss01 ~]# zeneventserver stop && cd $ZENHOME/var/zeneventserver/index && rm -rf summary && rm -rf archive &&
>
> zeneventserver start
-bash: zeneventserver: command not found
I feel like I'm doing something wrong... like I said before I know very little about Zenoss- I was able to look into the services, and found a couple that were not getting to the "running" status.
Status | PID | Daemon
-------------------------------------------------------------------
Running 12730 zeneventserver
Running 12803 zopectl
Running 12853 zenhub
Running 12903 zenjobs
Running 12981 zeneventd
Running 13016 zenping
Running 13108 zensyslog
Running 13087 zenstatus
Running 13127 zenactiond
Running 13229 zentrap
Stopped zenmodeler
Running 13249 zenperfsnmp
Running 13280 zencommand
Running 13312 zenprocess
Running 13316 zenrrdcached
Running 13357 zenjmx
Stopped zenwinperf
Stopped zeneventlog
Running 13517 zenwin
Running 13552 zenpython
I don't know if this has anything to do with it.
Thank you for your help!
Subject: | Wrong User |
Author: | [Not Specified] |
Posted: | 2014-05-30 10:22 |
You ran the command as root, which is the wrong user, have to run them as the 'zenoss' user. See below
su zenoss
zeneventserver stop && cd $ZENHOME/var/zeneventserver/index && rm -rf summary && rm -rf archive && zeneventserver start
The # at the end of the bash prompts tells you that you are "root". You can also do a 'whoami' to tell who you are. While you are the zenoss user, also run the following command to ensure all the daemons are running
zenoss status
Hydruid
Subject: | Thank you! |
Author: | [Not Specified] |
Posted: | 2014-05-30 10:49 |
Thank you for the User information- I hate when I'm working with systems I've never used before, and have to ask the most simple of questions.
I did the commands and they worked, but I'm still getting the same errors.
[zenoss@Zenoss01 index]$ zenoss status
Daemon: zeneventserver program running; pid=20769
Daemon: zopectl program running; pid=12803
Daemon: zenhub program running; pid=12853
Daemon: zenjobs program running; pid=12903
Daemon: zeneventd program running; pid=12981
Daemon: zenping program running; pid=13016
Daemon: zensyslog program running; pid=13108
Daemon: zenstatus program running; pid=13087
Daemon: zenactiond program running; pid=13127
Daemon: zentrap program running; pid=13229
Daemon: zenmodeler not running
Daemon: zenperfsnmp program running; pid=13249
Daemon: zencommand program running; pid=13280
Daemon: zenprocess program running; pid=13312
Daemon: zenrrdcached program running; pid=13316
Daemon: zenjmx program running; pid=13357
Daemon: zenwinperf not running
Daemon: zeneventlog not running
Daemon: zenwin program running; pid=13517
Daemon: zenpython program running; pid=13552
[zenoss@Zenoss01 index]$
We had this server working for a year or so, and I came in Monday about a 3-4 weeks ago and I was getting this error.
I've tried restarting the server, and then the steps that you've given me- but no luck.
Any other ideas
Thank you again!
Subject: | If you do a 'zenoss restart' |
Author: | [Not Specified] |
Posted: | 2014-05-30 11:06 |
If you do a 'zenoss restart' do you get any errors
Hydruid
Subject: | I don't know. |
Author: | [Not Specified] |
Posted: | 2014-05-30 14:43 |
[zenoss@Zenoss01 index]$ zenoss restart
Daemon: zenpython stopping...
Daemon: zenwin stopping...
Daemon: zeneventlog stopping...
already stopped
Daemon: zenwinperf stopping...
already stopped
Daemon: zenjmx stopping...
Daemon: zenrrdcached stopping...
Daemon: zenprocess stopping...
Daemon: zencommand stopping...
Daemon: zenperfsnmp stopping...
Daemon: zenmodeler stopping...
already stopped
Daemon: zentrap stopping...
Daemon: zenactiond stopping...
Daemon: zenstatus stopping...
Daemon: zensyslog stopping...
Daemon: zenping stopping...
Daemon: zeneventd stopping...
Daemon: zenjobs stopping...
Daemon: zenhub stopping...
Daemon: zopectl .
daemon process stopped
Daemon: zeneventserver stopping...
Daemon: zeneventserver starting...
Waiting for zeneventserver to start........
Daemon: zopectl .
daemon process started, pid=25725
Daemon: zenhub starting...
Daemon: zenjobs starting...
Daemon: zeneventd starting...
Daemon: zenping starting...
Daemon: zensyslog starting...
Daemon: zenstatus starting...
Daemon: zenactiond starting...
Daemon: zentrap starting...
Daemon: zenmodeler starting...
Daemon: zenperfsnmp starting...
Daemon: zencommand starting...
Daemon: zenprocess starting...
Daemon: zenrrdcached starting...
Daemon: zenjmx starting...
Daemon: zenwinperf starting...
Daemon: zeneventlog starting...
Daemon: zenwin starting...
Daemon: zenpython starting...
[zenoss@Zenoss01 index]$
I don't get any errors per se... but I don't really get anything that says that they started.
Thank you
< |
Previous extending event to have a ticket number field |
Next Maps not working - Sorry, we have no imagery here |
> |