Comments (2)
Fehler tritt auf, wenn Daemon vorab nicht richtig beendet wurde und die drei Lock-Files noch immer existieren. DoorPi sollte vorab prüfen ob diese Dateien existieren, ob der Dienst noch parallel läuft (gg.f auch als Anwendung pid-Files erzeugen) und entsprechende Fehlermeldung ausgeben.
Zur Zeit müssen diese pid-Files "per Hand" gelöscht werden
/var/run/doorpi.MainThread-*
/var/run/doorpi.pid
/var/run/doorpi.pid.lock
Fehler hat Priorität hoch
from doorpi.
Ergänzung von:
http://www.forum-raspberrypi.de/Thread-haussteuerung-doorpi-voip-wechselsprechanlage-tuersprechanlage?pid=126802#pid126802
Fehler tritt auch auf, wenn ein restart angeordnet wird, aber DoorPi vorher gar nicht lief:
Beispiel:
pi@raspberrypi ~/DoorPi $ sudo service doorpi restart
Restarting server
Stopping server
2015-01-10 13:54:32,967 [INFO] [main]
VoIP Door-Intercomstation with Raspberry Pi (optional PiFace) 2.0 RC1 #48
Author: Thomas Meissner [email protected]
URL: https://github.com/motom001/DoorPi
2015-01-10 13:54:32,973 [DEBUG] [main] loaded with arguments: ['/home/pi/DoorPi//doorpi/main.py', 'stop']
2015-01-10 13:54:33,011 [DEBUG] [doorpi] init
2015-01-10 13:54:33,019 [ERROR] [main] Exception NameError: PID file '/var/run/doorpi.pid' not locked
Traceback (most recent call last):
File "/home/pi/DoorPi//doorpi/main.py", line 101, in main_as_daemon
try: daemon_runner.do_action()
File "/usr/lib/pymodules/python2.7/daemon/runner.py", line 186, in do_action
func(self)
File "/usr/lib/pymodules/python2.7/daemon/runner.py", line 149, in _stop
"PID file %(pidfile_path)r not locked" % vars())
DaemonRunnerStopFailureError: PID file '/var/run/doorpi.pid' not locked
2015-01-10 13:54:33,028 [DEBUG] [doorpi] destroy
Starting server
2015-01-10 13:54:34,210 [INFO] [main]
VoIP Door-Intercomstation with Raspberry Pi (optional PiFace) 2.0 RC1 #48
Author: Thomas Meissner [email protected]
URL: https://github.com/motom001/DoorPi
from doorpi.
Related Issues (20)
- Commit to SQLite missing in handler.py HOT 1
- Anleitung ist an einer Stelle irreführend HOT 1
- RasPi Temperatur in der WebIf HOT 2
- FriendlyElec NanoPi Neo Kompatibilität HOT 1
- button_pressed HOT 3
- Probleme mit DoorPi / und SIP -Fone HOT 2
- alternativer SIP client zu linphone HOT 5
- USB Keyboard intregration HOT 2
- how to configure user id HOT 1
- [Wunsch] event network connection changed HOT 2
- Link zur Installationsanleitung HOT 3
- DoorPi successfully shut down HOT 2
- Installation von pjsip nicht möglich HOT 1
- [Feature request] Supporting MQTT
- Umstellung Build System Interface
- Integration pylint bei PR zu master HOT 1
- Integration test-suite bei PR zu master
- Integration PyPI-Veröffentlichung bei merge auf master
- Integration i18n und i10n
- SQLite aus DoorPi entfernen
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 doorpi.