• Register
0 votes
1.1k 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?

6 5 3
7,540 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.

9 7 4
38,600 points

Related questions

0 votes
1 answer 2 views
2 views
Problem: any ideas on what i need to do for this problem? unity + how to restrict camera heigh
asked Mar 30 Rohit kr 15.5k points
0 votes
1 answer 3 views
3 views
Problem: can someone please for this problem? unity how to make camera follow player
asked Mar 27 Rohit kr 15.5k points
0 votes
1 answer 11 views
11 views
Problem: C# with Unity 3D: How do I make a camera move around an object when user moves the mouse, any help will be appreciated Thanks in advance!
asked Mar 16 ummesalma 24.5k points
0 votes
1 answer 26 views
26 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
1 vote
1 answer 602 views
602 views
Problem : I have recently started working on Raspbeery Pi3 Raspbian Jessie Pixel (latest) Python 3.4 Now a days I am trying to install the PySFTp but I am always getting stuck. I have installed all the dependencies one by one as required. I had installed ... Python3-dev stuff necessary together with using below command: apt-cache search gnutls | grep dev Please guide me in fixing above error.
asked May 5, 2020 stewart 4k points
0 votes
0 answers 2 views
2 views
Problem: raspberry pi garage door opener with camera, i can't able to get it's solution, if here anyone who know about this then please answer me.
asked 2 days ago niyatiry 2.9k points
0 votes
0 answers 1 view
1 view
Problem: I am stuck in this if anyone can answer me for my solution then please help me. Thanks in advance.
asked 6 days ago niyatiry 2.9k points
0 votes
1 answer 1 view
1 view
Problem: How can I use " raspberry pi garage door opener with camera ”?
asked 6 days ago munim01 7.3k points
1 vote
1 answer 540 views
540 views
Problem : I am currently learning to use Raspberry Pi camera. Recently I am facing below error message if I try to use my Raspberry Pi camera # raspistill -o /tmp/gate_now.jpg mmal: mmal_vc_component_enable: failed to enable component: ENOSPC mmal: camera component couldn't ... in fixing above error. So I am looking for some kind of guidance so that it can speed up the error fixing process.
asked May 11, 2020 stewart 4k points
0 votes
0 answers 1 view
1 view
Problem: What are my options for dealing with this issue? arm-linux-gnueabihf-gcc
asked 4 days ago tuhin1 48.4k points