Getting an error running a script in a filter.

Forum for questions and support relating to the 1.24.x releases only.
Locked
Yamanipanuchi

Getting an error running a script in a filter.

Post by Yamanipanuchi »

I'm getting an error in the log files when I try to run a script from a filter. I've searched around, But I haven't found anyone with the answer.

------------------------------------------

10/24/10 09:27:02.858663 zmfilter[8048].INF [Executing '/home/apache/zmupload.sh /usr/share/zoneminder/www/events/1/24916']
10/24/10 09:27:02.862702 zmfilter[8048].ERR [Command '/home/apache/zmupload.sh /usr/share/zoneminder/www/events/1/24916' exited with status: 1]

------------------------------------------

I've tried placing the script in several locations. It has full execute rights (chmod 777). I don't know whats causing the error but I do know the script is not running.

------------------------------------------

#!/bin/sh
date=$(date)
echo $date : $1 >> /var/log/temp.log

------------------------------------------

For now this is all I have the script doing simply for testing purposes.

If anyone has an idea it would be greatly appreciated. :)
Yamanipanuchi

Post by Yamanipanuchi »

I still haven't found a solution here... I know its something I am overlooking/simple but it escapes me.
Locked