Comments (11)
This shouldn't happen as long as the process isn't outright killed. What exactly do you mean with "fails to start as a daemon"? Do you have a log trace for such an occurrence?
from mumo.
I added 5680d80 to work around stale PIDs but I still would be interested in what causes this to happen so regularly as to be annoying. It really should only happen in situations like segfaults, hard machine resets and kill -s 9 's.
from mumo.
Traceback (most recent call last):
File “mumo.py”, line 535, in
context.enter()
File “/usr/lib/pymodules/python2.7/daemon/daemon.py”, line 352, in enter
self.open()
File “/usr/lib/pymodules/python2.7/daemon/daemon.py”, line 344, in open
self.pidfile.enter()
File “/usr/lib/pymodules/python2.7/lockfile.py”, line 223, in enter
self.acquire()
File “/usr/lib/pymodules/python2.7/daemon/pidlockfile.py”, line 109, in acquire
super(TimeoutPIDLockFile, self).acquire(timeout, _args, *_kwargs)
File “/usr/lib/pymodules/python2.7/daemon/pidlockfile.py”, line 59, in acquire
super(PIDLockFile, self).acquire(_args, *_kwargs)
File “/usr/lib/pymodules/python2.7/lockfile.py”, line 261, in acquire
raise LockTimeout
lockfile.LockTimeout
Thanks for the quick response, not sure if I get it because it doesn't shutdown properly and I I need to change the defaults, but this is the log that I get and it is fixed by removing the mumo.pid.lock file.
It is also referenced here http://wiki.natenom.com/w/Mumble_Moderator/Install under Problems. So it's not just me, thanks again for the help and great work.
from mumo.
Yeah. That exception is on the next launch after the lock wasn't properly cleaned up. I was wondering more about how mumo was terminated/shutdown before such things happen so I can make sure it's not actually something that can be fixed cleanly. If you saw any correlation / errors there that would be interesting.
In any case. Hope the workaround does the trick for you. If it doesn't please let me know.
ps: This is the first time someone reported this as a issue and I wasn't aware of it being a problem before it. As such calling it "the dreaded" bug is kinda strange ;) Can't fix issues I don't know about.
from mumo.
Yeah sorry for calling it the "dreaded bug" not really what I meant, more so that it is a common bug or at least so it seemed. At any rate I will give the fix a shot and report back, if it has something to do with it not shutting down properly would I need to change the update-rc.d defaults to have it shutdown before murmur does?
Sent from my iPad
On Jun 24, 2015, at 2:17 PM, Stefan Hacker [email protected] wrote:
Closed #3.
—
Reply to this email directly or view it on GitHub.
from mumo.
That would probably be helpful. Do you have an init script for mumo that properly shuts it down at all? Is it working? ;)
from mumo.
I use the Init script that is given in natenoms wiki in the link I copied to you earlier. I just added your new mumo.py and so far it is working but only time will tell if it actually helped on server reboots. I currently changed the update-rc.d to start on 95 and stop on 20 murmur itself is start on defaults which is 20.
If you can see any major flaws in the Init script from the wiki let me know or if you use your own I would love to give it a try as well thank so much.
Sent from my iPad
On Jun 24, 2015, at 4:43 PM, Stefan Hacker [email protected] wrote:
That would probably be helpful. Do you have an init script for mumo that properly shuts it down at all? Is it working? ;)
—
Reply to this email directly or view it on GitHub.
from mumo.
Looks like that creates yet another pidfile itself ;) I'm afraid I don't feel confident in judging whether that script is as good as it could be. It was a contribution by another user. Does it start and stop mumo without mumo complaining about having to break locks at next launch? ;)
from mumo.
Am I looking for this in mumo.log?
Sent from my iPad
On Jun 24, 2015, at 4:57 PM, Stefan Hacker [email protected] wrote:
Looks like that creates yet another pidfile itself ;) I'm afraid I don't feel confident in judging whether that script is as good as it could be. It was a contribution by another user. Does it start and stop mumo without mumo complaining about having to break locks at next launch? ;)
—
Reply to this email directly or view it on GitHub.
from mumo.
It would go to stderr so probably console when starting.
from mumo.
No issues so far with the new mumo patch you implemented if I see that I am having the pid.lock file problem again I will re-post the logs, thanks for the quick response.
from mumo.
Related Issues (20)
- Mumo attaches callbacks multiple times when run for longer time HOT 2
- Test plugin calls nonexistent subscribeContextCallbacks method
- Idlemove.py is not moving the user back to the original channel HOT 2
- Not compatable with Debian 10 HOT 2
- Is it possible to update mumo to python 3? HOT 4
- Error running mumo HOT 3
- Can not start mumo HOT 2
- On Windows loadSlice failure, no information is printed HOT 1
- Mumo fails to load with Mumble 1.5 series
- Is mumo still alive? HOT 3
- Creating temporary channels HOT 7
- protocol error: out of bounds during unmarshaling HOT 2
- Mumo runs into RuntimeError; ends up not running HOT 8
- Cannot run docker container HOT 7
- [Request] accept unicode usernames HOT 1
- cannot start mumo probably a python problem HOT 1
- Daemon Not working correctly HOT 11
- syntax error HOT 4
- white list specific channels? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mumo.