When I downloaded the motion detection sw "Motion" I found in the following path: /etc/motion/ motion.conf and 4 thread files in case of using several cameras.
Q1: Which language is that configuration file written? Q2: I need to collect the source of Motion. Is that configuration file + the 4 thread files which in the /etc/motion directory only the source of the program neither there is some files in another paths I don't know?
I am testing my ftp server configuration.Anonymous download works , however anonymous upload does not.I am getting the following error message from both Windows and Linux 5.4clients : 553 cannot create the file.And i am running Fedore 12.
I had an interview , where the interviewer asked me the question "How to create and call a process in unix". I answered that we can use the command FORK()/ CLONE() to create a process. But I didn't have the answer for the second question, how to call a process.
First post from a very new Linux user....I am trying to create a BASH script that will allow user to provide multiple directory names, Checks if the directory exists and if not create the directory.
I am using the following code:
Which works fine as long as the user enters a single directory name. How can I modify this so it will process all directory names user enters on the read response?
When I try to install something with KPackage, I get an error like the following:
error: Unable to create channel for file: <filename>
where filename is usually the tgz file I'm installing from. I can't find any references to this anywhere - any have any idea what it's telling me, and how to solve? A specific example is Wine - it gives this error:
error: Unable to create channel for file: /usr/local/src/wine-1.1.24-i486-1kjz.tgz
I'm running this as root in xfce. Running it as a regular user, after giving root password, gives the same result.
I have ubuntu 10.04.1 and a H.P.psc 1311 all-in-one printer scanner.Printer works ok but when trying to scan,with xsane,it goes through the scanning process and an image of the document comes up on the screen.
When I try to save this image to desktop or file/folder whatever I get the message; "Child Process Error. Failed to execute OCR command:GOCR:no such file or directory."
have tried changing the config file to this:target_dir ftp://user:pass@mysite.com:21/public_html/dirbut motion returns errors. want to be able to put mysite.com/dir/stream.flv into a browser and get the stream that would normally show up on my hardrive.I have also tried the wput on_photo_save, but it tells me that I have to many connections from my machines, and I don't want to have to have a frame rate of 2 per minute.
I've some file with .sh extensions that runs some softwares.Now,how do I stop running that filesI know we run the command ./start_tomcat.sh to start the apache.Is there any command to stop that file/process or is it just kill the process to stop the process
I used vlc to play some videos, than I was playing with programs and I install ffmpeg and kino. Now vlc doesn't play avi files with the motion jpec codec. All that I see now is a green screen and I can hear the audio. Everything else is fine, I can play those videos with Movie Player. I'm using debian squeeze.
I was just testing specifying limit on file size to a user and have added the following to /etc/security/limits.conf bob soft fsize 100 This basically should have said not to allow bob to create anyfile greater than 100Kb in size.
But the interesting thing is, if bob already has any file which is greater than 100Kb in size, it even doesn't allow to log him into the system both from console and SSH. Also nothing is logged in logs.. How do I configure it so that, bob can login to the system even though he has any file greater than 100Kb (but doesn't allow him to create file which are greater than 100Kb) ??
When I add the line (sleep 5 ) & in the script then the "while read" loop does not read all lines from the file, but only prints the first line.But when I remove the ( sleep 5 ) & from the script, then the script prints all lines as defined in the file.And how to solve the problem? I want to create a new process (for which the sleep is just an example) in the while loop:
Everything in Linux is a file, right? And everything can be represented by a file? Is there some way I could create a block device file that represents (i.e., provides an interface to) this image file? If so, then I could use fdisk on the device file to split it into partitions, format the partitions, and then mount them as directories. I could create a file system within a file system, which would be fun.
I'm using CentOS 5.3. After booting up, where can I find the log file that contains if all services where successfully loaded or not? For example when computer boots you get a list of start services and they can be OK or FAILED. Is there a log file where this information is kept? I had a look in the following directory /var/log/ but not sure which one will contain the informaiton that I need.
I'd like to determine what process has ownership of a lock-file. The lock-files are simply a file with a specific name that has been created.So, how can I determine what process has a particular file open in Linux? Preferably a one-liner type or a particular Linux tool solution would be optimal.
I am writing, well actually enhancing, a script to do a daily backup of important data on my PC to a second hard drive.I wish to tar my home directory to a single file - and will probably use gzip as well.So I decided to work out the correct tar syntax in a terminal first - here is what happened.I opened a terminal window.I cd to a directory not part of my home directory.I issued the command..Quote: tar -cvf mytar.tar /home/ken tar processed a bunch of files, the last being .netrc.I examined the tar file and it contains .netrc.The contents of .netrc are correct.I scrolled back through the list of files in the terminal window and do not see any error messages.I guess the question is... how do I determine what file tripped up the tar process?
Means I want to execute two executables one by one at the same time as shown below:execute1 execute2these are two executables. but the second one is executed after 1st one is closed is there any way two execute both.One way isgnome-terminal -e execute1execute2but here i want to hide the terminal window..........
I am running an Ubuntu(10.04) box and I am attempting to understand an error in a program.I don't have access to the source of this program, but I know it isn't working properly because it cannot find a particular file. I was wondering if it would be possible to monitor what file are accessed(more specifically denied access) by a process. My first idea was to breakpoint on fopen, but I didn't have any success.
If I forget to close a file, a socket or any other resource in a Linux process, and the the process terminates, will those resources be freed? Is there a difference if the process terminates normally or is killed?