• Register
0 votes
870 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

1 vote
1 answer 408 views
408 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
1 vote
1 answer 290 views
290 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
1 vote
1 answer 154 views
154 views
Problem : I have recently started learning about Vue. Please find below my main javascript file: import Vue from 'vue' new Vue({   myel: '#app' }); Please find below my HTML file: <body>     <div id="app"></div>     <script src="{{ mix('/js/app.js') } ... do not have any thing inside a #app div where I am trying to mount Vue and still facing the template or render error? How can I fix above error?
asked Apr 17, 2020 stewart 4k points
0 votes
2 answers 1.2K views
1.2K views
Problem : I am having following Tomcat Error : org.apache.catalina.core.ContainerBase startInternal Schwerwiegend: A child container failed during start java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[ ... jar · catalina-ant.jar · catalina-ha.jar · catalina-tribes.jar Am I missing any other JAR files?
asked Nov 21, 2019 peterlaw 6.9k points
0 votes
1 answer 12 views
12 views
Why can I not use '1024m' for '-Xmx' and '--launcher.XXMaxPermSize'?
asked Jan 3 TeamScript 11.1k points
1 vote
1 answer 541 views
541 views
Problem: I am very new to node so I think I am making something extremely wrong here as I am unable to find any info at all by doing research online. I already have the django site and I required the JS charting library so I chose the chart.js. I have ... build a chart. Failed to create chart: can't acquire context from the given item . Please help me in fixing above NodeJs elated error.
asked Jun 4, 2020 Martin K 6.6k points
0 votes
1 answer 66 views
66 views
Problem : I am trying to run Java Applet and getting bellow error. java.lang.illegalstateexception: failed to create a child event loop
asked Oct 31, 2019 peterlaw 6.9k points
0 votes
1 answer 162 views
162 views
Problem : I'm trying to run Java Applet and every time I try to run program, I got this this error. error: java.lang.illegalstateexception: failed to create a child event loop
asked Oct 23, 2019 peterlaw 6.9k points
0 votes
1 answer 12 views