You are here

Opsview Atom not working after reboot, error "Opsview is not running or is not responding to requests"

5 posts / 0 new
Last post
emind-support
emind-support's picture
Opsview Atom not working after reboot, error "Opsview is not running or is not responding to requests"

Hi all,

I have installed Opsview Atom and configured it and it worked fine. I took a backup after it and rebooted the instance it was installed on. After rebooting it, Opsview is not working any longer and on the web interface I'm getting an error saying "Opsview is not running or is not responding to requests"

I checked the logs of the opsviewd and found nothing that could help debuging it. I tried to restart opsview-watchdog service but it seems that it does not restart all the opsview related services. I can see starman running at port 3000. Restarted Apache2 service but did not helped.

Is there something that I am missing ? Could not find anything about this error on on the forums.

Can you please help ?

Thank you.

Duncan Ferguson
dferguson's picture
Can you please post the

Can you please post the output from running

/opt/opsview/watchdog/bin/opsview-monit summary

and

/opt/opsview/watchdog/bin/opsview-monit start all

  Duncs

Arpan Saxena
arpan.saxena's picture
Same issue

Hi Duncan,

I am getting "

Welcome to Opsview 503 Terminal. Version 1.0 Opsview Ltd ©. 10/10/2017. Type 'help' for list of commands. Error: Opsview is not running or is not responding to requests.

"

this error while running my server and I have also shared the out put of "/opt/opsview/watchdog/bin/opsview-monit summary"

please help me out.

Thank you

Duncan Ferguson
dferguson's picture
I would expect there to be

I would expect there to be far more services registered with the watchdog than you currently have - can you also provide the output from 

dpkg -l | grep opsview

opsview-web starting it usually linked to MySQL being unavailable, so ensuring that is running and you can connect to it would be good.  You can test with

nagios@ov5dev:/home/nagios$ cd /usr/local/nagios/
nagios@ov5dev:/usr/local/nagios$ bin/db_opsview db_exists
nagios@ov5dev:/usr/local/nagios$ echo $?
0

The 'db_opsview' command should not output any errors and should exit with code 0.

Also, check in the opsview-web log file to see if any errors are logged, which is located at /var/log/opsview/opsview-web.log

  Duncs

 


 

crpeck
crpeck's picture
Mysql is messed up

<p>Same issue here, it looks like mysqld got borked somehow, while it's still running there are no files in /var/run/mysql (where the .sock file is supposed to be). Basically I start it manually on a reboot using:</p>

<p><br />
sudo service mysql stop</p>

<p>sudo&nbsp;/opt/opsview/watchdog/bin/opsview-monit stop all</p>

<p>sudo service mysql start</p>

<pre>
sudo /opt/opsview/watchdog/bin/opsview-monit start all</pre>