Code: Select all
user@Camera01:~/RPi_Cam_Web_Interface $ ./start.sh
mmal: mmal_vc_component_create: failed to create component vc.ril.camera' (1:ENOMEM)
mmal: mmal_component_create_core: could not create component vc.ril.camera' (1)
sh: 1: /var/www/html/macros/error_hard.sh: Permission denied
Code: Select all
user@Camera01:~/RPi_Cam_Web_Interface $ ./debug.sh
start monitoring for pid: 18262
{2022/09/09 09:38:11} start monitoring for pid: 18262
RaspiMJPEG Version 5.10.2
h264 search /var/www/html/media/vi_0000_20220909_093811.mp4
mmal: mmal_vc_component_create: failed to create component vc.ril.camera' (1:ENOMEM)
mmal: mmal_component_create_core: could not create component vc.ril.camera' (1)
Error: Could not create camera
Executing macro /var/www/html/macros/error_hard.sh "Could not create camera"
sh: 1: /var/www/html/macros/error_hard.sh: Permission denied
Index of /
[ICO] Name Last modified Size Description
Apache/2.4.54 (Raspbian) Server at 10.0.0.200 Port 80`
I have tested the camera with libcamera-jpeg, and it outputs an image to a jpeg without problems:
Code: Select all
user@Camera01:~/RPi_Cam_Web_Interface $ libcamera-jpeg -o test.jpeg
Preview window unavailable
[12:47:02.283121156] [18445] INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3866-0c55e522
[12:47:02.492940736] [18454] INFO RPI raspberrypi.cpp:1374 Registered camera /base/soc/i2c0mux/i2c@1/ov5647@36 to Unicam device /dev/media3 and ISP device /dev/media0
[12:47:02.498245725] [18445] INFO Camera camera.cpp:1035 configuring streams: (0) 1296x972-YUV420
[12:47:02.502251717] [18454] INFO RPI raspberrypi.cpp:761 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 1296x972-SGBRG10_1X10 - Selected unicam format: 1296x972-pGAA
[12:47:07.712205279] [18445] INFO Camera camera.cpp:1035 configuring streams: (0) 2592x1944-YUV420 (1) 2592x1944-SGBRG10_CSI2P
[12:47:07.721457261] [18454] INFO RPI raspberrypi.cpp:761 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 2592x1944-SGBRG10_1X10 - Selected unicam format: 2592x1944-pGAA`
Still capture image received
Code: Select all
$ ps -ef
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 sep08 ? 00:00:09 /sbin/init
root 2 0 0 sep08 ? 00:00:00 [kthreadd]
root 3 2 0 sep08 ? 00:00:00 [netns]
root 7 2 0 sep08 ? 00:00:00 [mm_percpu_wq]
root 8 2 0 sep08 ? 00:00:00 [rcu_tasks_rude_]
root 9 2 0 sep08 ? 00:00:00 [rcu_tasks_trace]
root 10 2 0 sep08 ? 00:00:39 [ksoftirqd/0]
root 11 2 0 sep08 ? 00:00:00 [kdevtmpfs]
root 12 2 0 sep08 ? 00:00:00 [inet_frag_wq]
root 14 2 0 sep08 ? 00:00:00 [kauditd]
root 15 2 0 sep08 ? 00:00:00 [khungtaskd]
root 16 2 0 sep08 ? 00:00:00 [oom_reaper]
root 17 2 0 sep08 ? 00:00:00 [writeback]
root 18 2 0 sep08 ? 00:00:06 [kcompactd0]
root 36 2 0 sep08 ? 00:00:00 [kblockd]
root 37 2 0 sep08 ? 00:00:00 [blkcg_punt_bio]
root 38 2 0 sep08 ? 00:00:00 [watchdogd]
root 41 2 0 sep08 ? 00:00:00 [rpciod]
root 42 2 0 sep08 ? 00:00:05 [kworker/u3:0-brcmf_wq/mmc1:0001:1]
root 43 2 0 sep08 ? 00:00:00 [xprtiod]
root 44 2 0 sep08 ? 00:00:00 [kswapd0]
root 45 2 0 sep08 ? 00:00:00 [nfsiod]
root 46 2 0 sep08 ? 00:00:00 [iscsi_eh]
root 47 2 0 sep08 ? 00:00:00 [iscsi_conn_clea]
root 48 2 0 sep08 ? 00:00:00 [dwc_otg]
root 49 2 0 sep08 ? 00:00:00 [DWC Notificatio]
root 51 2 0 sep08 ? 00:00:14 [vchiq-slot/0]
root 52 2 0 sep08 ? 00:00:00 [vchiq-recy/0]
root 53 2 0 sep08 ? 00:00:00 [vchiq-sync/0]
root 54 2 0 sep08 ? 00:00:00 [zswap-shrink]
root 58 2 0 sep08 ? 00:00:00 [mmc_complete]
root 59 2 0 sep08 ? 00:00:04 [jbd2/mmcblk0p2-]
root 60 2 0 sep08 ? 00:00:00 [ext4-rsv-conver]
root 63 2 0 sep08 ? 00:00:00 [mld]
root 64 2 0 sep08 ? 00:00:00 [ipv6_addrconf]
root 104 1 0 sep08 ? 00:00:10 /lib/systemd/systemd-journald
root 124 1 0 sep08 ? 00:00:01 /lib/systemd/systemd-udevd
root 140 2 0 sep08 ? 00:00:00 [vchiq-keep/0]
root 141 2 0 sep08 ? 00:00:00 [SMIO]
root 169 2 0 sep08 ? 00:00:00 [mmal-vchiq]
root 170 2 0 sep08 ? 00:00:00 [mmal-vchiq]
root 171 2 0 sep08 ? 00:00:00 [mmal-vchiq]
root 172 2 0 sep08 ? 00:00:00 [mmal-vchiq]
root 173 2 0 sep08 ? 00:00:00 [mmal-vchiq]
root 174 2 0 sep08 ? 00:00:00 [mmal-vchiq]
root 175 2 0 sep08 ? 00:00:00 [mmal-vchiq]
systemd+ 201 1 0 sep08 ? 00:00:01 /lib/systemd/systemd-timesyncd
avahi 233 1 0 sep08 ? 00:00:13 avahi-daemon: running [Camera01.local]
root 234 1 0 sep08 ? 00:00:00 /usr/sbin/cron -f
message+ 235 1 0 sep08 ? 00:00:01 /usr/bin/dbus-daemon --system --address=systemd: --nofork
avahi 236 233 0 sep08 ? 00:00:00 avahi-daemon: chroot helper
root 263 1 0 sep08 ? 00:00:55 /usr/sbin/dhcpcd -b -q
root 275 1 0 sep08 ? 00:00:02 /usr/sbin/rsyslogd -n -iNONE
root 290 1 0 sep08 ? 00:00:01 /lib/systemd/systemd-logind
nobody 294 1 0 sep08 ? 00:00:01 /usr/sbin/thd --triggers /etc/triggerhappy/triggers.d/ --s
root 299 1 0 sep08 ? 00:00:00 /sbin/wpa_supplicant -u -s -O /run/wpa_supplicant
root 323 1 0 sep08 ? 00:00:00 /usr/sbin/rngd -r /dev/hwrng
root 354 2 0 sep08 ? 00:00:00 [cfg80211]
root 355 1 0 sep08 ? 00:00:00 sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups
root 360 1 0 sep08 ? 00:00:07 /usr/sbin/apache2 -k start
root 362 1 0 sep08 ? 00:00:00 /usr/bin/hciattach /dev/serial1 bcm43xx 3000000 flow - b8:
root 363 2 0 sep08 ? 00:00:00 [kworker/u3:2-hci0]
www-data 364 360 0 sep08 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 365 360 0 sep08 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 366 360 0 sep08 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 367 360 0 sep08 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 368 360 0 sep08 ? 00:00:00 /usr/sbin/apache2 -k start
root 379 2 0 sep08 ? 00:00:00 [brcmf_wq/mmc1:0]
root 382 2 0 sep08 ? 00:00:00 [brcmf_wdog/mmc1]
root 443 1 0 sep08 ? 00:00:00 /usr/libexec/bluetooth/bluetoothd
root 453 2 0 sep08 ? 00:00:00 [cec-vc4]
root 454 2 0 sep08 ? 00:00:00 [irq/64-vc4 hdmi]
root 455 2 0 sep08 ? 00:00:00 [card0-crtc0]
root 456 2 0 sep08 ? 00:00:00 [card0-crtc1]
root 458 2 0 sep08 ? 00:00:00 [card0-crtc2]
root 459 2 0 sep08 ? 00:00:00 [card0-crtc3]
root 519 1 0 sep08 tty1 00:00:00 /bin/login -f
root 544 1 0 sep08 ? 00:00:05 wpa_supplicant -B -c/etc/wpa_supplicant/wpa_supplicant.con
user 551 1 0 sep08 ? 00:00:01 /lib/systemd/systemd --user
user 552 551 0 sep08 ? 00:00:00 (sd-pam)
user 565 519 0 sep08 tty1 00:00:00 -bash
root 10985 2 0 08:59 ? 00:00:00 [kworker/u2:2-events_unbound]
root 13310 2 0 09:11 ? 00:00:00 [kworker/u2:0-writeback]
root 14277 2 0 09:16 ? 00:00:00 [kworker/0:1-events]
root 17242 355 0 09:32 ? 00:00:00 sshd: user [priv]
user 17257 17242 0 09:32 ? 00:00:00 sshd: user@pts/0
user 17260 17257 0 09:32 pts/0 00:00:00 -bash
root 17278 355 0 09:32 ? 00:00:00 sshd: user [priv]
user 17291 17278 0 09:32 ? 00:00:00 sshd: user@pts/1
user 17302 17291 0 09:32 pts/1 00:00:00 -bash
root 17305 2 0 09:32 ? 00:00:00 [kworker/0:2-events_power_efficient]
root 17376 2 0 09:33 ? 00:00:00 [kworker/0:0H]
root 17657 2 0 09:34 ? 00:00:00 [kworker/u2:1-events_unbound]
root 18140 2 0 09:37 ? 00:00:00 [kworker/u2:3-events_unbound]
root 18350 2 0 09:38 ? 00:00:00 [kworker/0:1H]
user 18499 17260 15 09:39 pts/0 00:00:00 ps -ef
root 32117 2 0 07:59 ? 00:00:01 [kworker/0:2H-mmc_complete]`