Posts

Showing posts from 2017

Errors with Shinken application

Error:   Poller is dead but pid file exist Reason 1: Poller is not able to write in log file /var/log/shinken/pollerd.log Solution:    - Remove /var/run/shinken/pollerd.pid                     - Change permission for /var/log/shinken/pollerd.log                       i.e. chmod 775 /var/log/shinken/pollerd.log                     - Restart shinken shinken ,celery and uwsgi. Reason 2: Sometime poller is not able to access localhost:port Solution:    - Replace local with 127.0.0.1 in poller-master.cfg                     - Restart shinken shinken ,celery and uwsgi. Error:  Broker is dead but pid file exist Reason:  Broker is dead but still port is used by broker in somewhere in background Solution:     - Search process which is using port 7772                         i.e. lsof -n -i :7772 | grep LISTEN                      - Kill the process.

SVN: File remains in conflict

This error occurs when you didn't update the SVN and try to commit changes or, someone has made changes to this file that are conflicting with your changes. There are two ways to handle this situation. Either, you can revert back the changes you want to commit and then, update the SVN and after that make the changes again and commit. The other way is, you need to resolve the conflicted files one by one. You can keep all the conflicted files in a folder and resolved it at once. >> Revert the changes steps: svn revert . -R svn up >> Resolve the conflicted files: svn resolved <file_name>