Motion - Bug Report 2008x 11x 04x 184228
You are here: Foswiki>Motion Web>BugReports>BugReport2008x11x04x184228 (06 Nov 2008, AngelCarpintero)Edit Attach

BUG: Motion control 'quit" action does not work.

The HTTP control API does not appear to terminate motion upon request (quit). It only appears to stop the HTTP server.

Here are the steps I perform:

1) Start motion (the configuration file defines 3 network cameras, non-daemon mode)
2) Wait 1 minute; Issue the web command to stop motion:

   $ wget http://localhost:8080/0/action/quit

3) Motion responds appropriately (HTTP code 200) and wget creates a file named 'quit' which contains the following text:

  <html><head><title>Motion 3.2.10.1</title></head>
  <body>
  quit in progress ... bye</body>
  </html>

  However the motion process continues to run (> 20 minutes at last check) and continues to record motion. 

4) Subsequent attempts to stop the process with HTTP control (same wget command) return the following error:

  --10:46:55--  http://localhost:8080/0/action/quit
  Resolving localhost... 127.0.0.1
  Connecting to localhost|127.0.0.1|:8080... failed: Connection refused.

  It appears that motion only stops the http server, but does not terminate the motion detection process.

Environment

Motion version: 3.2.10
ffmpeg version: ffmpeg-0.4.9-0.37.20070503
Shared libraries: ffmpeg
Server OS: CentOS 2.6.18-53.1.21.el5

-- BruceDurham - 04 Nov 2008

Follow up

Please upgrade to 3.2.11 and try to reproduce , but problaby your had a driver issue.

-- AngelCarpintero - 06 Nov 2008

Fix record

Topic revision: r2 - 06 Nov 2008, AngelCarpintero
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.