Ubuntu :: Resource Fork Intentionally Left Blank
Dec 1, 2010
I just found out that there are some weird files on my harddisk: they have a filename that starts with "._", have a size of 4096 bytes, and contain a string that sais "This resource fork intentionally left blank".Does anyone know what put them there?
View 1 Replies
ADVERTISEMENT
Sep 11, 2009
I installed a while ago two CentOS 5.3 servers. One of them was running Samba and another OpenLDAP. I configured Samba to act as a PDC on the network and everything was working fine. I was already on policies configuration and desktop migrations.
The following problems are Samba server problem, LDAP server is on hold until I figure out the first problem.
Software conf:
Hardware conf:
One day, both servers began crashing, and after a while, it showed the following during the boot on Samba:
After that, ALL CentOS installations had this problem after yum update, epel installation and some smb.conf modifications:
I figured out it might be EPEL (i did installed yum-priorities and tryied updating the base sistem BEFORE epel installations), so I installed the system without EPEL yum repository. After some good and relieving 15 min working, the system crashed AGAIN after yum base update and showed the following on boot time:
And it stops right there.
Maybe some wrong kernel update? the first time it crashed in one way, with running updated system (After the first update, no manual update was done). The sequel problems were all after Kernel update and EPEL. The last one was just after Kernel update. I'll try one last time with NO updates, but i can't run the system like that.
I can't do anything that might one day crash, it's a 6000-7000 user gov environment, but i don't want to install another distro, so if I don't figure it out, they will order me to.
View 9 Replies
View Related
Jan 4, 2010
I have a machine running on RH with 4G memory and 8G swap.Just now I'm having a problem when loging in with a user - just call it "userX" -.Each time I'm logged in I got a message Code:-bash: fork: ource temporarily unavailableAnd almost everytime I entered any command, it gives me the same warning. In some time (rarely) it will give me proper result, but almost any time it gives me the warning and no result.When I use 'top' command, it shows that I still have 500M free memory and about 8G free swaps. Plus the process for userX is less than 20 processes, and each of them are short processes (less than an hour, mostly just few seconds).As a note this problem only occur on userX, for any other user on the machine everything works just fine.
View 6 Replies
View Related
Aug 15, 2010
I have noticed that the initial ordering of icons of my desktop is leaving a blank space on the top left corner. Recently I have changed my language but I am not sure when this began to happen.
View 7 Replies
View Related
Sep 19, 2010
I have looked at Ubuntu LiveCDs going back to Edgy, but regardless what version I'm trying or what box I'm trying it on, my wireless network card never works - I can never connect to my network.I've begun to believe that the NIC must be intentionally disabled on the LiveCD version. :/ Conversely, with Mint Linux and PCLinuxOS (for example) LiveCDs, I slap the disc in, enter my network key, and BOOM-- I'm on the internet.
View 4 Replies
View Related
Jan 11, 2011
I like the xfce desktop environment over the gnome one. So when i chose an emergency plan B in case something happens to windows AND/OR arch, i always try Xubuntu. I have made multiple live disks from multiple computers, and none of the live disks function properly. One went haywire when i tried to update the system(can't remember exactly what went wrong), one would not even actually boot into the live disk, one would not install, and so forth and so on. At first i just though it was something wrong with the iso since the download had been paused and resumed multiple times, but right before i chose arch linux a friend tried using his xubuntu disk and it failed to work either, and i recently tried using another computer and had another failed result.
View 5 Replies
View Related
Jun 15, 2011
I'm not sure if I should post this question in "hardware & laptops", or "Desktop Environments", because this is a hardware problem on a desktop computer.
Description of Problem:There is another thread that discussed this same problem that I'm having: However that thread is so old that the suggestions in it no longer work in Ubuntu 10.04 and for whatever reason I can not make a reply to that thread.As in the above thread, I've tried other input devices and rebooting the computer and using other USB ports, and my mouse still intermittently double left clicks randomly at times when I've only clicked the left mouse button once and at times and places when it should only produce a single click such as when selecting a drop down menu.
Has any one else had this problem, and does any one have any idea how to fix it or to trouble shoot this a bit more? Please let me know if there is any other information I can provide to further clarify or troubleshoot this issue.
View 2 Replies
View Related
Jun 28, 2011
I would like to use two monitors with my desktop, so connected them the other day and it worked straight away, which is good but... The monitor configuration app always want the primary monitor to be on the left hand side, thus it always extend my desktop right. Can I do anything to extend my desktop to the left instead of to the right so I can have background application on the screen to the left?
View 8 Replies
View Related
Jan 20, 2011
The first is about implementing function calls. The way I currently have it is that functions are called with a C++ std::vector of nodes as the parameters. How would I turn a comma-seperated list of expressions into a C++ vector in the grammar?Second, how do you implement left-associative operators in a parser that does not allow left recursion?
And third, what would be the best internal representation of integers? A C++ int seems simplest, but limited. Using GMP seems more versatile, but I'm afraid it might seriously slow down the interpreter compared to C++ ints.
View 3 Replies
View Related
Apr 20, 2010
is there a way to have gnome open in the upper right or left corner instead of the lower left corner when i start it?
View 3 Replies
View Related
Jul 10, 2011
When I swap my left alt with my left win key using the gnome keyboard layout options, the swap only works intermittently. I have an aluminum Apple keyboard with no numpad. No matter what layout options I choose, I can't seem to get it working.I also have the same setup on my laptop and work desktop and it works without issue. I've ensured my .Xmodmap doesn't exist.When I say "works intermittently" I mean when I'm trying to use "alt+b, alt+f" navigation in emacs or bash, it doesn't work but if I click around a bit then try again, it works. Also, I use alt+arrows to switch workspaces and that always works
View 7 Replies
View Related
Aug 31, 2009
1) Write a C program using the fork() system call that that generates the Fibonacci sequence in the child process. The number of the sequence will be provided in the command line. For example, if 5 is provided, the first five numbers in the Fibonacci sequence will be output by the child process. Because the parent and child processes have their own copies of the data, it will be necessary for the child to output the sequence. Have the parent invoke the wait() call to wait for the child process to complete before exiting the program. Perform necessary error checking to ensure that a non-negative number is passed on the command line.
2) Repeat the preceding exercise, this time using the CreateProcess () in the Win32 API. In this instance, you will need to specify a separate program to be invoked from CreateProcess(). It is this separate program that will run as a child process outputting the Fibonacci sequence. Perform necessary error checking to ensure that a non-negative number is passed on the command line.i have done with Fibonacci sequence .but i dont know how to include tht fork() function and win32 api .any one can help to finish?
View 4 Replies
View Related
Sep 16, 2010
As part of my ongoing project I need to put together a messaging server of sorts. So far I have coded a server which accepts multiple connections, which then runs a function that will perform a task, see below.On this sever I have a global structure which is populated using the data found in a read() buffer. However with each fork() that runs the below function each process is handed a blank structure. How could I go about allowing each fork() child process access the same structure?
My code should hopefully show what I am trying to do?
Code: void listen_for_client(int sock)
{
[code]....
View 5 Replies
View Related
Apr 10, 2011
Now,I created one parent and two children. I must create some value as random in child1 and child1 has to send these values to child2.Child2 must read them.. now,I cant create some random values and i can send them.But child2 doesnt work. I have two functions. One them is writing, another one is reading. Child2 uses reading function,but it doesnt work (child2 cant call it, because writing function in endless loop) What i must do? I used wait,usleep... No way.. I attached my file and also there is code..
PHP Code: #include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <signal.h>
#include <stdarg.h>
#include <sys/types.h>
[Code].....
View 2 Replies
View Related
Aug 19, 2010
I've a script that forks to another script.
The problem is that the child will not return to main process.
Main script "fork.sh"
Code:
The child process "smb_fork.sh"
Code:
when running it from the terminal "sh -x ./foork.sh"
Code:
My goal is via cron connect to ~100 remote winXP computers and download a single file. There fore I like to fork the process.
View 1 Replies
View Related
Aug 2, 2011
trying to fork multiple child but the program does not go as i want...
My code :
Code:
#include <stdio.h>
#include <sys/types.h>
#include <unistd.h>
[code].....
View 14 Replies
View Related
Feb 10, 2010
I realize the information found here is potentially biased, but it made me curious where Fedora stands. Now that even Debian has agreed to distribute the original fork of Cdrtools, is Fedora considering that option? Several other distros are distributing the original fork now, and it's where active development is ongoing.
View 6 Replies
View Related
Mar 18, 2011
my code is very simple:
int pid, status;
printf("parent process id=%d, to call fork
",getpid());
if(pid=fork()<0)
[Code].....
but everytime I can only get two fork return pid=0. In parent process, the pid returned by fork() should be >0 and equal to the child process id.
View 1 Replies
View Related
Apr 30, 2010
I am continuously getting fork: resources temporarily unavailable even when I am typing ls command.
View 1 Replies
View Related
Sep 26, 2010
I am working on a project where I need to use the C language to generate a tree of processes. I understand how fork() works but I cant seem to get fork() to create two children from one parent and then have the two children create two more children.
Right now what i am seeing is a chain...where the parent creates one child...and that child creates another ONE child..etc.
Here is what I have so far:
for (i=0; i<n;i++){
if (childpid = fork()) break;
}
if (childpid == -1){
perror ("
[Code]....
View 3 Replies
View Related
Sep 30, 2010
Just coming over from Windows here... where I've been using "CreateProcess" which returns a value depending on whether the process was created successfully or not.
Now I'm trying to create a process on linux and I've been learning about fork/exec, and I've been struggling with the fact that there seems to be no easy way to know (within the original parent process) if exec succeeded or not. (without forcing the parent process to hang around polling it or something).
Anyway, I've now just discovered the posix_spawn function, and it seems exactly what I need. However I'm finding the documentation a little hard to understand. In particular, I can't find actual confirmation that it will definitely return an error if creating the process fails (like CreateProcess does on windows). So can anyone confirm that for me?
The text on the documentation states: "If posix_spawn() or posix_spawnp() fail for any of the reasons that would cause fork() or one of the exec family of functions to fail, an error value shall be returned as described by fork() and exec"
This makes me think it uses exec/fork under the hood, and so I wonder if it can be trusted..?
And also, most of the examples on the internet for creating processes use fork/exec, so I wonder if there is some catch with posix_spawn I haven't read about... (since it seems a much simpler way of doing things)
View 2 Replies
View Related
Aug 19, 2010
I have been struggling with this for about a week now. I'm working with QuickUSB to send video streams to and from a device. I get the fastest results by fork()ing and exec()ing new processes everytime I run a pipeline, which works great when reading from files, but now i have to transition it so that i am reading/writing data over a QuickUSB bus. I have it working for each individual process, but i can't run multiple processes because it won't let me open the device. After looking through QuickUSB's API a little closer, i found that the QHANDLE type that they use to describe the usb device is actually just a usb_dev_handle *. From what i have found, this is an incomplete structure, so i am having trouble with opening it in the main process and passing it to each new process to write to it. I already have semaphores set up to prevent multiple processes using it at the same time. I just CANT find out how to utilize the same usb device between two process that are forked and exec. i also must do the exec() because otherwise my gtk and gstreamer fails for trying to share resources.
View 1 Replies
View Related
Oct 23, 2010
As an assignment i was doing a program to create two process using fork and pass messages between them using message queue.Did it worked well until my friend tried to copy it using scp.suddenly all hell broke loose as processes without ran syncronisation ie. in tech terms the process just wont wait wen a message queue is empty.it keeps on executing randomly.but after a reboot .. everything worked fine. until again i tried to do scp on my system on purpose. and again the program just went mad.
View 3 Replies
View Related
May 25, 2011
I am learning about OS and I wrote this simple forking program... Here's the code..
Code:
#include <sys/types.h>
#include <unistd.h>
#include <stdio.h>
[Code].....
How can it print the first statement, that is BEFORE the fork() statement twice?
I am running Natty 11.04 btw..
View 8 Replies
View Related
Aug 31, 2010
I would like to run versions of Mozilla Firefox 3.6.5+ as a single process, just as it was in versions 3.6.3 and prior. The reason is that, on Linux, I am running within proxychains - which doesn't bind to forked processes. Because the plugins in versions 3.6.5+ run in a forked process I can't use proxychains to redirect Flash streams. Is there a setting in modern versions of Firefox that allow me to run plugins in the main process?
View 1 Replies
View Related
May 6, 2011
When a application is ran from the shell:fork() is calledexecve() is calledI know the shell stats the file to make sure the required permissions are allowed in the child shell. But I can not find this in the man fork. Nor can I find this in man execve. Which one of these processes/calls stats the binary to be ran?
View 1 Replies
View Related
Jun 17, 2010
I am quite confused about the following description on fork. Could you please explain it ?The child process shall have its own copy of the parent's file descriptors. Each of the child's file descriptors shall refer to the same open file description with the corresponding file descriptor of the parent.For example, I am opening a socket and then fork. Now, does the child have a separate socket or is shares it with the parent. Does I have any impact on using it in child?
View 2 Replies
View Related
Feb 6, 2011
While Apache is off, then everything is OK, but if I start apache server after some time I get messages "Unable to fork: Cannot allocate memory" when trying to do some commands with ssh(dir,rm,top and so on).
P.S. There is free RAM when I get that message.
View 2 Replies
View Related
May 12, 2011
i got basic knowledge about creating a single child from a parent using fork(). But when it comes into creating multiple children, i am simply stuck. I am trying to create two processes from a parent and it would wait for both two processes to finish. my attempt is as below
[Code]....
View 3 Replies
View Related
Jun 28, 2010
Annuncing Utopia a fork (only 64bits) with KDE and Gnome?
View 3 Replies
View Related