openalpr / openalpr

Automatic License Plate Recognition library
http://www.openalpr.com
GNU Affero General Public License v3.0
11.06k stars 2.5k forks source link

My apache access log is full of requests #204

Closed Izopi4a closed 9 years ago

Izopi4a commented 9 years ago

Hello guys, i am using version 2.1 and i noticed my apache2 access.log is full of this

127.0.0.1 - - [28/Sep/2015:11:22:50 +0300] "GET /example_video_stream.mjpeg?openalprfiletype=file.mjpg HTTP/1.1" 404 388 "-" "Lavf54.20.4"
127.0.0.1 - - [28/Sep/2015:11:22:51 +0300] "GET /example_video_stream.mjpeg?openalprfiletype=file.mjpg HTTP/1.1" 404 388 "-" "Lavf54.20.4"
127.0.0.1 - - [28/Sep/2015:11:22:52 +0300] "GET /example_video_stream.mjpeg?openalprfiletype=file.mjpg HTTP/1.1" 404 388 "-" "Lavf54.20.4"
127.0.0.1 - - [28/Sep/2015:11:22:53 +0300] "GET /example_video_stream.mjpeg?openalprfiletype=file.mjpg HTTP/1.1" 404 388 "-" "Lavf54.20.4"
127.0.0.1 - - [28/Sep/2015:11:22:54 +0300] "GET /example_video_stream.mjpeg?openalprfiletype=file.mjpg HTTP/1.1" 404 388 "-" "Lavf54.20.4"
127.0.0.1 - - [28/Sep/2015:11:22:55 +0300] "GET /example_video_stream.mjpeg?openalprfiletype=file.mjpg HTTP/1.1" 404 388 "-" "Lavf54.20.4"
127.0.0.1 - - [28/Sep/2015:11:22:56 +0300] "GET /example_video_stream.mjpeg?openalprfiletype=file.mjpg HTTP/1.1" 404 388 "-" "Lavf54.20.4"
127.0.0.1 - - [28/Sep/2015:11:22:57 +0300] "GET /example_video_stream.mjpeg?openalprfiletype=file.mjpg HTTP/1.1" 404 388 "-" "Lavf54.20.4"

and i am only using the bash features of openalpr.

how can I stop this ?

//ubuntu 14.04

matthill commented 9 years ago

What does your /etc/openalpr/alprd.conf file look like? It looks like you have the daemon installed and are pointing to http://localhost/example_video_stream.mjpeg as your camera stream

Izopi4a commented 9 years ago
alprd.conf         [----]  0 L:[  1+ 0   1/ 32] *(0   / 744b) 0010 0x00A                                                                                                                   [*][X]

[daemon]

; country determines the training dataset used for recognizing plates.  Valid values are: us, eu
country = us

; text name identifier for this location
site_id = your-unique-sitename

; Declare each stream on a separate line
; each unique stream should be defined as stream = [url]

stream = http://127.0.0.1/example_video_stream.mjpeg
;stream = http://127.0.0.1/example_second_stream.mjpeg

; topn is the number of possible plate character variations to report
topn = 10

; Determines whether images that contain plates should be stored to disk
store_plates = 0
store_plates_location = /var/lib/openalpr/plateimages/

; upload address is the destination to POST to
upload_data = 0
upload_address = http://localhost:9000/push/

how can I stop this deamon and prevent him from future stars ? :D

matthill commented 9 years ago

How did you install it? If using Ubuntu packages, you can "sudo apt-get remove openalpr-daemon" to remove it. Otherwise you can just remove the startup script (sudo rm /etc/init.d/openalpr-daemon"

Izopi4a commented 9 years ago

nice. Thanks :D

btw, awsome work, my website is not ready yet, but if i ever make any cash i will make sure some of them to end in your pocket.

cheers