Hi Markus, By default, motion dumps pictures or videos in /tmp/motion (you can change it in /etc/motion/motion.conf). Please, check that this directory exists and is writable for user 'motion'.
Regards, 2013/6/5 Markus Glugla <markus.glu...@physik.tu-berlin.de> > Package: motion > Version: 3.2.12-3.4 > Severity: normal > > Dear Maintainer, > > I start motion via "/etc/init.d/motion start". > > After a short time the following error message appears in the syslog: > Jun 5 12:58:24 hostname motion: [0] Not config file to process using > default values > [...] > Jun 5 12:58:24 hostname motion: [1] Resizing pre_capture buffer to 1 items > Jun 5 12:58:47 hostname motion: [1] Error opening file > ./01-20130605125847-00.jpg with mode w: Permission denied > Jun 5 12:58:47 hostname motion: [1] Can't write picture to file > ./01-20130605125847-00.jpg - check access rights to target directory: > Permission denied > Jun 5 12:58:47 hostname motion: [1] Thread is going to finish due to this > fatal error: Permission denied > Jun 5 12:58:47 hostname motion: [1] Calling vid_close() from > motion_cleanup > Jun 5 12:58:47 hostname motion: [1] Closing video device /dev/video0 > Jun 5 12:58:48 hostname motion: [0] Motion terminating > > > Starting motion by hand with "motion -c /etc/motion/motion.conf" > everythings works fine. The syslog file contains the following line: > Jun 5 12:59:57 hostname motion: [0] Processing thread 0 - config file > /etc/motion/motion.conf > > It sounds like an error in "/etc/init.d/motion". > > Thank you, > > Markus Glugla > > -- System Information: > Debian Release: 7.0 > APT prefers stable-updates > APT policy: (500, 'stable-updates'), (500, 'stable') > Architecture: i386 (i686) > > Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores) > Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > > Versions of packages motion depends on: > ii adduser 3.113+nmu3 > ii debconf [debconf-2.0] 1.5.49 > ii libavcodec53 6:0.8.6-1 > ii libavformat53 6:0.8.6-1 > ii libavutil51 6:0.8.6-1 > ii libc6 2.13-38 > ii libjpeg8 8d-1 > ii libmysqlclient18 5.5.31+dfsg-0+wheezy1 > ii libpq5 9.1.9-1 > > Versions of packages motion recommends: > ii ffmpeg 6:0.8.6-1 > > Versions of packages motion suggests: > pn mysql-client <none> > pn postgresql-client <none> > > -- Configuration Files: > /etc/default/motion changed [not included] > /etc/motion/motion.conf changed [not included] > > -- debconf information: > motion/moved_conf_dir: > -- Juan Angulo Moreno