• Register
0 votes
1.6k views

Problem  :

I am trying to get my RaspberryPi NoIR-Cam running. But after starting it I am facing the following error:

mmal: mmal_component_create_core: could not create component 'vc.ril.camera' (1)

sh: 1: /var/www/html/macros/error_hard.sh: Permission denied

mmal: mmal_vc_component_create: failed to create component 'vc.ril.camera' (1:ENOMEM)

I thought it looked like a permission thing, so I executed the below command.

chmod u+x *.sh

But I am still facing the same issue. Anybody have any regarding the solution on my issue?

7.5k points

Please log in or register to answer this question.

1 Answer

0 votes

Solution :

To resolve your issue you need to check your camera connection to the pi. To do this you need to type raspistill -t 0 into your terminal. If it is bringing up the preview window, that is not the problem, if it is not bring up the preview window, you need to fiddle with the connection and try again. After that, if that doesn't work, then please run ./RPi_Cam_Web_Interface_Installer.sh. This should bring up for you a crude GUI. Use your arrow keys to select number the 4, or start camera. Once it starts up it should say 'started' next to it. You might get the error message at the bottom saying as

 mmal: mmal_component_create_core: could not create component 'vc.ril.camera' (1) sh: 1: /var/www/html/macros/error_hard.sh: Permission denied mmal: mmal_vc_component_create: failed to create component 'vc.ril.camera' (1:ENOMEM) or the same error you got earlier. Now to fix this you need to close the terminal and open up a new one, and type cd RPi_Web_Interface and then run again the command  ./RPi_Web_Interface_Installer.sh and select configure, enable the autostart and camera. And reboot. When the pi boots up you need to immediately open the terminal and type cd RPi_Web_Interface and ./RPi_Web_Interface_Installer.sh and check if the camera is started and you will know because the green started message will be present next to the start option.

38.6k points

Related questions

0 votes
1 answer 69 views
69 views
Problem: I connected the Adafruit AMG8833 and I got it to turn on, but I cannot take pictures with pygame, pi camera or opencv. I was trying to take a picture with open cv, but I just got an error message. mmal: Cannot read camera info, keeping the defaults for ... correctly I was trying to capture an image with the following code: $ raspistill -o output.jpg but that's when the error showed up.
asked Apr 25 Yeamin 23.5k points
0 votes
1 answer 31 views
31 views
Problem: I don't have any idea about this : Mmal_vc_component_enable: failed to enable component: enospc
asked Jun 23 asha 121k points
0 votes
1 answer 7 views
7 views
Problem: Failed to fetch http //mirrordirector.raspbian.org
asked Jun 30 Hridoy 19.2k points
0 votes
1 answer 6 views
6 views
Problem: Use phone as keyboard for raspberry pi
asked Jul 24 Sawyer Parviz 167k points
0 votes
1 answer 4 views
4 views
Problem: Raspberry pi not showing up on network.
asked Jul 23 Rada Gracelynn 104k points
0 votes
1 answer 11 views
11 views
Problem: Run python script from php raspberry pi.
asked Jul 22 Florina Gulnar 106k points
0 votes
1 answer 7 views
7 views
Problem: Unable to fetch some archives raspberry pi?
asked Jul 13 Mezbah 130k points
0 votes
1 answer 24 views
24 views
Problem: How to check if raspberry pi is connected to wifi? Please help me.
asked May 23 Florina Gulnar 106k points
0 votes
1 answer 4 views
4 views
Problem: Raspberry pi failed to create camera component.
asked Jul 6 Priscilla Gurpreet 74.7k points
0 votes
1 answer 115 views
115 views
Problem: Like many others, I'm having issues installing a python library (downloaded as a tar, then extracted). As suggested elsewhere, I tried entering in terminal "ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future sudo python setup.py install", but no success. Is there a way around this issue that seems to have appeared with xcode 5.1?
asked Feb 23 Mashhoodch 13k points