Send Motion-user mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/motion-user
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Motion-user digest..."
Today's Topics:
1. Motion 4.0.1 trouble with WEB on FreeBSD (Alex V. Petrov)
2. Re: Motion 4.0.1 trouble with WEB on FreeBSD (tosiara)
3. Re: Motion 4.0.1 trouble with WEB on FreeBSD (Alex V. Petrov)
4. Re: Motion 4.0.1 trouble with WEB on FreeBSD (tosiara)
----------------------------------------------------------------------
Message: 1
Date: Wed, 28 Dec 2016 15:58:41 +0700
From: "Alex V. Petrov" <[email protected]>
Subject: [Motion-user] Motion 4.0.1 trouble with WEB on FreeBSD
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8
Hi!
New motion-4.0.1
Trying to run a web interface results in an error:
[0:] [NTC] [ALL] [Dec 18 20:49:58] motion_startup: Using log type (ALL)
log level (ALL)
[0:] [NTC] [ENC] [Dec 18 20:49:58] ffmpeg_init: ffmpeg libavcodec
version 57.64.101 libavformat version 57.56.100
[0:] [NTC] [ALL] [Dec 18 20:49:58] main: Motion running in setup mode.
[0:] [NTC] [ALL] [Dec 18 20:49:58] main: Camera 1 is from
/usr/local/etc/motion/camera1.conf
[0:] [NTC] [ALL] [Dec 18 20:49:58] main: Camera 1 is device: /dev/bktr0
input -1
[0:] [NTC] [ALL] [Dec 18 20:49:58] main: Stream port 8081
[0:] [NTC] [ALL] [Dec 18 20:49:58] main: Camera 2 is from
/usr/local/etc/motion/camera2.conf
[0:] [NTC] [ALL] [Dec 18 20:49:58] main: Camera 2 is device: /dev/bktr1
input -1
[0:] [NTC] [ALL] [Dec 18 20:49:58] main: Stream port 8082
[0:] [NTC] [ALL] [Dec 18 20:49:58] main: Waiting for threads to finish,
pid: 43548
[1:] [NTC] [ALL] [Dec 18 20:49:58] motion_init: Camera 1 started: motion
detection Enabled
[1:] [NTC] [VID] [Dec 18 20:49:58] vid_start: [/dev/bktr0]
[2:] [NTC] [ALL] [Dec 18 20:49:58] motion_init: Camera 2 started: motion
detection Enabled
[2:] [NTC] [VID] [Dec 18 20:49:58] vid_start: [/dev/bktr1]
[1:] [ERR] [VID] [Dec 18 20:49:58] set_input: Channel Port -1 out of
range (0-4)
[1:] [NTC] [VID] [Dec 18 20:49:58] v4l_start: set input [-1]
[1:] [WRN] [ALL] [Dec 18 20:49:58] motion_init: Could not fetch initial
image from camera Motion continues using width and height from config
file(s)
[1:] [NTC] [ALL] [Dec 18 20:49:58] image_ring_resize: Resizing
pre_capture buffer to 1 items
[2:] [ERR] [VID] [Dec 18 20:49:58] set_input: Channel Port -1 out of
range (0-4)
[2:] [NTC] [VID] [Dec 18 20:49:58] v4l_start: set input [-1]
[2:] [WRN] [ALL] [Dec 18 20:49:58] motion_init: Could not fetch initial
image from camera Motion continues using width and height from config
file(s)
[2:] [NTC] [ALL] [Dec 18 20:49:58] image_ring_resize: Resizing
pre_capture buffer to 1 items
[1:] [NTC] [STR] [Dec 18 20:49:58] http_bindsock: error binding on
127.0.0.1 port 8081
[2:] [NTC] [STR] [Dec 18 20:49:58] http_bindsock: error binding on
127.0.0.1 port 8082
[1:] [ERR] [ALL] [Dec 18 20:49:58] motion_init: Problem enabling
motion-stream server in port 8081: Invalid argument
[2:] [ERR] [ALL] [Dec 18 20:49:58] motion_init: Problem enabling
motion-stream server in port 8082: Invalid argument
[1:] [NTC] [ALL] [Dec 18 20:49:58] motion_loop: Thread exiting
[2:] [NTC] [ALL] [Dec 18 20:49:58] motion_loop: Thread exiting
--
-----
Alex.
------------------------------
Message: 2
Date: Wed, 28 Dec 2016 11:22:36 +0200
From: tosiara <[email protected]>
Subject: Re: [Motion-user] Motion 4.0.1 trouble with WEB on FreeBSD
To: Motion discussion list <[email protected]>
Message-ID:
<cachtdwstqktlit5ngt1xrgkikpu9nkaaun8-6exaa-huejx...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
8081 port may be already in use or user does not have permission to
listen on that port.
As a test - try to run motion as root
Also note that motion is not able to fetch video from your specified camera
On Wed, Dec 28, 2016 at 10:58 AM, Alex V. Petrov <[email protected]> wrote:
> Hi!
>
> New motion-4.0.1
> Trying to run a web interface results in an error:
>
> [0:] [NTC] [ALL] [Dec 18 20:49:58] motion_startup: Using log type (ALL)
> log level (ALL)
> [0:] [NTC] [ENC] [Dec 18 20:49:58] ffmpeg_init: ffmpeg libavcodec
> version 57.64.101 libavformat version 57.56.100
> [0:] [NTC] [ALL] [Dec 18 20:49:58] main: Motion running in setup mode.
> [0:] [NTC] [ALL] [Dec 18 20:49:58] main: Camera 1 is from
> /usr/local/etc/motion/camera1.conf
> [0:] [NTC] [ALL] [Dec 18 20:49:58] main: Camera 1 is device: /dev/bktr0
> input -1
> [0:] [NTC] [ALL] [Dec 18 20:49:58] main: Stream port 8081
> [0:] [NTC] [ALL] [Dec 18 20:49:58] main: Camera 2 is from
> /usr/local/etc/motion/camera2.conf
> [0:] [NTC] [ALL] [Dec 18 20:49:58] main: Camera 2 is device: /dev/bktr1
> input -1
> [0:] [NTC] [ALL] [Dec 18 20:49:58] main: Stream port 8082
> [0:] [NTC] [ALL] [Dec 18 20:49:58] main: Waiting for threads to finish,
> pid: 43548
> [1:] [NTC] [ALL] [Dec 18 20:49:58] motion_init: Camera 1 started: motion
> detection Enabled
> [1:] [NTC] [VID] [Dec 18 20:49:58] vid_start: [/dev/bktr0]
> [2:] [NTC] [ALL] [Dec 18 20:49:58] motion_init: Camera 2 started: motion
> detection Enabled
> [2:] [NTC] [VID] [Dec 18 20:49:58] vid_start: [/dev/bktr1]
> [1:] [ERR] [VID] [Dec 18 20:49:58] set_input: Channel Port -1 out of
> range (0-4)
> [1:] [NTC] [VID] [Dec 18 20:49:58] v4l_start: set input [-1]
> [1:] [WRN] [ALL] [Dec 18 20:49:58] motion_init: Could not fetch initial
> image from camera Motion continues using width and height from config
> file(s)
> [1:] [NTC] [ALL] [Dec 18 20:49:58] image_ring_resize: Resizing
> pre_capture buffer to 1 items
> [2:] [ERR] [VID] [Dec 18 20:49:58] set_input: Channel Port -1 out of
> range (0-4)
> [2:] [NTC] [VID] [Dec 18 20:49:58] v4l_start: set input [-1]
> [2:] [WRN] [ALL] [Dec 18 20:49:58] motion_init: Could not fetch initial
> image from camera Motion continues using width and height from config
> file(s)
> [2:] [NTC] [ALL] [Dec 18 20:49:58] image_ring_resize: Resizing
> pre_capture buffer to 1 items
> [1:] [NTC] [STR] [Dec 18 20:49:58] http_bindsock: error binding on
> 127.0.0.1 port 8081
> [2:] [NTC] [STR] [Dec 18 20:49:58] http_bindsock: error binding on
> 127.0.0.1 port 8082
> [1:] [ERR] [ALL] [Dec 18 20:49:58] motion_init: Problem enabling
> motion-stream server in port 8081: Invalid argument
> [2:] [ERR] [ALL] [Dec 18 20:49:58] motion_init: Problem enabling
> motion-stream server in port 8082: Invalid argument
> [1:] [NTC] [ALL] [Dec 18 20:49:58] motion_loop: Thread exiting
> [2:] [NTC] [ALL] [Dec 18 20:49:58] motion_loop: Thread exiting
>
>
> --
> -----
> Alex.
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> Motion-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/motion-user
> https://motion-project.github.io/
>
> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user
------------------------------
Message: 3
Date: Wed, 28 Dec 2016 16:35:03 +0700
From: "Alex V. Petrov" <[email protected]>
Subject: Re: [Motion-user] Motion 4.0.1 trouble with WEB on FreeBSD
To: Motion discussion list <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8
This as root.
Ports available, don't busy.
28.12.2016 16:22, tosiara ?????:
> 8081 port may be already in use or user does not have permission to
> listen on that port.
> As a test - try to run motion as root
>
> Also note that motion is not able to fetch video from your specified camera
>
> On Wed, Dec 28, 2016 at 10:58 AM, Alex V. Petrov <[email protected]>
> wrote:
>> Hi!
>>
>> New motion-4.0.1
>> Trying to run a web interface results in an error:
>>
>> [0:] [NTC] [ALL] [Dec 18 20:49:58] motion_startup: Using log type (ALL)
>> log level (ALL)
>> [0:] [NTC] [ENC] [Dec 18 20:49:58] ffmpeg_init: ffmpeg libavcodec
>> version 57.64.101 libavformat version 57.56.100
>> [0:] [NTC] [ALL] [Dec 18 20:49:58] main: Motion running in setup mode.
>> [0:] [NTC] [ALL] [Dec 18 20:49:58] main: Camera 1 is from
>> /usr/local/etc/motion/camera1.conf
>> [0:] [NTC] [ALL] [Dec 18 20:49:58] main: Camera 1 is device: /dev/bktr0
>> input -1
>> [0:] [NTC] [ALL] [Dec 18 20:49:58] main: Stream port 8081
>> [0:] [NTC] [ALL] [Dec 18 20:49:58] main: Camera 2 is from
>> /usr/local/etc/motion/camera2.conf
>> [0:] [NTC] [ALL] [Dec 18 20:49:58] main: Camera 2 is device: /dev/bktr1
>> input -1
>> [0:] [NTC] [ALL] [Dec 18 20:49:58] main: Stream port 8082
>> [0:] [NTC] [ALL] [Dec 18 20:49:58] main: Waiting for threads to finish,
>> pid: 43548
>> [1:] [NTC] [ALL] [Dec 18 20:49:58] motion_init: Camera 1 started: motion
>> detection Enabled
>> [1:] [NTC] [VID] [Dec 18 20:49:58] vid_start: [/dev/bktr0]
>> [2:] [NTC] [ALL] [Dec 18 20:49:58] motion_init: Camera 2 started: motion
>> detection Enabled
>> [2:] [NTC] [VID] [Dec 18 20:49:58] vid_start: [/dev/bktr1]
>> [1:] [ERR] [VID] [Dec 18 20:49:58] set_input: Channel Port -1 out of
>> range (0-4)
>> [1:] [NTC] [VID] [Dec 18 20:49:58] v4l_start: set input [-1]
>> [1:] [WRN] [ALL] [Dec 18 20:49:58] motion_init: Could not fetch initial
>> image from camera Motion continues using width and height from config
>> file(s)
>> [1:] [NTC] [ALL] [Dec 18 20:49:58] image_ring_resize: Resizing
>> pre_capture buffer to 1 items
>> [2:] [ERR] [VID] [Dec 18 20:49:58] set_input: Channel Port -1 out of
>> range (0-4)
>> [2:] [NTC] [VID] [Dec 18 20:49:58] v4l_start: set input [-1]
>> [2:] [WRN] [ALL] [Dec 18 20:49:58] motion_init: Could not fetch initial
>> image from camera Motion continues using width and height from config
>> file(s)
>> [2:] [NTC] [ALL] [Dec 18 20:49:58] image_ring_resize: Resizing
>> pre_capture buffer to 1 items
>> [1:] [NTC] [STR] [Dec 18 20:49:58] http_bindsock: error binding on
>> 127.0.0.1 port 8081
>> [2:] [NTC] [STR] [Dec 18 20:49:58] http_bindsock: error binding on
>> 127.0.0.1 port 8082
>> [1:] [ERR] [ALL] [Dec 18 20:49:58] motion_init: Problem enabling
>> motion-stream server in port 8081: Invalid argument
>> [2:] [ERR] [ALL] [Dec 18 20:49:58] motion_init: Problem enabling
>> motion-stream server in port 8082: Invalid argument
>> [1:] [NTC] [ALL] [Dec 18 20:49:58] motion_loop: Thread exiting
>> [2:] [NTC] [ALL] [Dec 18 20:49:58] motion_loop: Thread exiting
>>
>>
>> --
>> -----
>> Alex.
>>
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>> _______________________________________________
>> Motion-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/motion-user
>> https://motion-project.github.io/
>>
>> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> Motion-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/motion-user
> https://motion-project.github.io/
>
> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user
>
--
-----
Alex.
------------------------------
Message: 4
Date: Wed, 28 Dec 2016 12:05:19 +0200
From: tosiara <[email protected]>
Subject: Re: [Motion-user] Motion 4.0.1 trouble with WEB on FreeBSD
To: Motion discussion list <[email protected]>
Message-ID:
<cachtdwtpsryerkohcodsxffkzex01zvbnazw9bw4sb6hpus...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
Can increase logging (-d 7) and share full log?
On Wed, Dec 28, 2016 at 11:35 AM, Alex V. Petrov <[email protected]> wrote:
> This as root.
> Ports available, don't busy.
>
> 28.12.2016 16:22, tosiara ?????:
>> 8081 port may be already in use or user does not have permission to
>> listen on that port.
>> As a test - try to run motion as root
>>
>> Also note that motion is not able to fetch video from your specified camera
>>
>> On Wed, Dec 28, 2016 at 10:58 AM, Alex V. Petrov <[email protected]>
>> wrote:
>>> Hi!
>>>
>>> New motion-4.0.1
>>> Trying to run a web interface results in an error:
>>>
>>> [0:] [NTC] [ALL] [Dec 18 20:49:58] motion_startup: Using log type (ALL)
>>> log level (ALL)
>>> [0:] [NTC] [ENC] [Dec 18 20:49:58] ffmpeg_init: ffmpeg libavcodec
>>> version 57.64.101 libavformat version 57.56.100
>>> [0:] [NTC] [ALL] [Dec 18 20:49:58] main: Motion running in setup mode.
>>> [0:] [NTC] [ALL] [Dec 18 20:49:58] main: Camera 1 is from
>>> /usr/local/etc/motion/camera1.conf
>>> [0:] [NTC] [ALL] [Dec 18 20:49:58] main: Camera 1 is device: /dev/bktr0
>>> input -1
>>> [0:] [NTC] [ALL] [Dec 18 20:49:58] main: Stream port 8081
>>> [0:] [NTC] [ALL] [Dec 18 20:49:58] main: Camera 2 is from
>>> /usr/local/etc/motion/camera2.conf
>>> [0:] [NTC] [ALL] [Dec 18 20:49:58] main: Camera 2 is device: /dev/bktr1
>>> input -1
>>> [0:] [NTC] [ALL] [Dec 18 20:49:58] main: Stream port 8082
>>> [0:] [NTC] [ALL] [Dec 18 20:49:58] main: Waiting for threads to finish,
>>> pid: 43548
>>> [1:] [NTC] [ALL] [Dec 18 20:49:58] motion_init: Camera 1 started: motion
>>> detection Enabled
>>> [1:] [NTC] [VID] [Dec 18 20:49:58] vid_start: [/dev/bktr0]
>>> [2:] [NTC] [ALL] [Dec 18 20:49:58] motion_init: Camera 2 started: motion
>>> detection Enabled
>>> [2:] [NTC] [VID] [Dec 18 20:49:58] vid_start: [/dev/bktr1]
>>> [1:] [ERR] [VID] [Dec 18 20:49:58] set_input: Channel Port -1 out of
>>> range (0-4)
>>> [1:] [NTC] [VID] [Dec 18 20:49:58] v4l_start: set input [-1]
>>> [1:] [WRN] [ALL] [Dec 18 20:49:58] motion_init: Could not fetch initial
>>> image from camera Motion continues using width and height from config
>>> file(s)
>>> [1:] [NTC] [ALL] [Dec 18 20:49:58] image_ring_resize: Resizing
>>> pre_capture buffer to 1 items
>>> [2:] [ERR] [VID] [Dec 18 20:49:58] set_input: Channel Port -1 out of
>>> range (0-4)
>>> [2:] [NTC] [VID] [Dec 18 20:49:58] v4l_start: set input [-1]
>>> [2:] [WRN] [ALL] [Dec 18 20:49:58] motion_init: Could not fetch initial
>>> image from camera Motion continues using width and height from config
>>> file(s)
>>> [2:] [NTC] [ALL] [Dec 18 20:49:58] image_ring_resize: Resizing
>>> pre_capture buffer to 1 items
>>> [1:] [NTC] [STR] [Dec 18 20:49:58] http_bindsock: error binding on
>>> 127.0.0.1 port 8081
>>> [2:] [NTC] [STR] [Dec 18 20:49:58] http_bindsock: error binding on
>>> 127.0.0.1 port 8082
>>> [1:] [ERR] [ALL] [Dec 18 20:49:58] motion_init: Problem enabling
>>> motion-stream server in port 8081: Invalid argument
>>> [2:] [ERR] [ALL] [Dec 18 20:49:58] motion_init: Problem enabling
>>> motion-stream server in port 8082: Invalid argument
>>> [1:] [NTC] [ALL] [Dec 18 20:49:58] motion_loop: Thread exiting
>>> [2:] [NTC] [ALL] [Dec 18 20:49:58] motion_loop: Thread exiting
>>>
>>>
>>> --
>>> -----
>>> Alex.
>>>
>>> ------------------------------------------------------------------------------
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>>> _______________________________________________
>>> Motion-user mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/motion-user
>>> https://motion-project.github.io/
>>>
>>> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user
>>
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>> _______________________________________________
>> Motion-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/motion-user
>> https://motion-project.github.io/
>>
>> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user
>>
>
> --
> -----
> Alex.
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> Motion-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/motion-user
> https://motion-project.github.io/
>
> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user
------------------------------
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
------------------------------
_______________________________________________
Motion-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/motion-user
End of Motion-user Digest, Vol 127, Issue 10
********************************************