commercial on-premises alprd agent problem

344 views
Skip to first unread message

Ammar Naji

unread,
Mar 13, 2017, 12:06:55 AM3/13/17
to OpenALPR
hi,

i was running the open source agent but then i decided to enhance my system and install the commercial one and i got these errors when i run alprd -f

Missing config value for ipc_port
Missing config value for beanstalk_tube_prefix
ERROR - Another instance of alprd is already running.  Exiting.

i have to kill the alprd process each time i want to run it , i don't know what causes it to start every minute although i don't create crontab job..that did not happen to me in the free version..

any clues,

thanks

Matt

unread,
Mar 13, 2017, 11:10:37 AM3/13/17
to OpenALPR
What do you see when you run:

ps -Af | grep alprd
sudo service  alprd stop
sudo supervisorctl stop alprd
ps -Af | grep alprd

Ammar Naji

unread,
Mar 13, 2017, 10:08:05 PM3/13/17
to OpenALPR
thanks for your reply matt, here is what is shown
Screenshot from 2017-03-14 10-05-46.png

Matt

unread,
Mar 13, 2017, 10:58:41 PM3/13/17
to OpenALPR
Ammar,

Sorry, I gave you one wrong command.  Try:
sudo systemctl stop alprd

-Matt

Ammar Naji

unread,
Mar 13, 2017, 11:33:35 PM3/13/17
to OpenALPR


hi matt, see the output as attached.

i tried to uninstall and install again.. same error...the free version is working fine just the commercial one.

thanks
Screenshot from 2017-03-14 11-30-32.png

Matt

unread,
Mar 13, 2017, 11:38:38 PM3/13/17
to OpenALPR
Hi Ammar,

Something seems strange with your system.  Upstart (used in Ubuntu 14.04) and Systemd (used in 16.04) are the only ways that alprd could possibly be managed by the OpenALPR installers.  So something else seems to be controlling it.  If you don't have time to troubleshoot, I'd recommend trying a fresh copy of Ubuntu. 

-Matt

Ammar Naji

unread,
Mar 17, 2017, 12:29:52 AM3/17/17
to OpenALPR

hi matt,

i installed 64-bit Ubuntu 14.04 as instructed in ur website in another pc and i still get the same error
ERROR - Another instance of alprd is already running.  Exiting.

here what i did:

1- first install openalpr using the command:

sudo apt-get update && sudo apt-get install -y openalpr openalpr-utils

2- install
libopenalpr-dev (i got it from mr. steve lewis):


wget -O - http://deb.openalpr.com/openalpr.gpg.key  | sudo apt-key add -

echo "deb  http://deb.openalpr.com/xenial-commercial-beta/ xenial main" | sudo tee /etc/apt/sources.list.d/openalpr.list

sudo apt-get update && sudo apt-get -y install libopenalpr-dev

3- install agent:

sudo apt-get install -y openalpr-daemon

4 - configure alprd.conf in usr/share/openalpr/config

5 - add license.conf
in /etc/openalpr

6 - run alprd -f and the error is :


Missing config value for ipc_port
Missing config value for beanstalk_tube_prefix
ERROR - Another instance of alprd is already running.  Exiting.

its really frustrating matt.




 

Matt

unread,
Mar 19, 2017, 10:58:49 PM3/19/17
to OpenALPR
The issue is that alprd is already running as a daemon process.  The two commands I gave you should stop the daemon from running in the background so you can run it in the foreground with your alprd -f command.

If those commands didn't work, then something else was managing the alprd process.  

Craig Crowder

unread,
Nov 20, 2017, 1:57:21 PM11/20/17
to OpenALPR
Although it seems to be running just fine I'm also getting the Missing config values messages in the log (\OpenALPR\Agent\var\log\alprdsvc-stderr.log file;).

Missing config value for store_plates_maxsize_gb
Reply all
Reply to author
Forward
0 new messages