Software :: No Standard File Descriptors For Init

Jan 10, 2011

I have a weird problem with one of my servers. When system is booted and right before I should se "INIT 2.86 starting..." message, all the messages disappear. Only kernel messages get logged to console and later login prompt, but nothing in betweek (there are 20+ services starting successfully, just without emitting a single character).I checked /proc/PID/fd of the boot script (in my case called /etc/rc.d/rc.boot but that does not matter).

The only significant difference in hardware to other servers is that this one runs RV350 AP [Radeon 9600] graphic card.Now, my question is: where could those FDs go or why are they not opened?Does anyone have a clue about this, or a hint?

View 5 Replies


ADVERTISEMENT

General :: Program That Reads Multiple Pipes / File Descriptors And Writes To Standard Output

Feb 23, 2011

Is there already a program that reads multiple pipes or file descriptors and writes to the standard output (not splitting lines).Like cat, but reading all files simultaneously and preserving lines.It is needed to avoid coding of select/epoll loops or using multithreading in simple programs. Like "select loop for bash".

View 1 Replies View Related

Ubuntu :: How Can Max File Descriptors Be Set

Jan 14, 2010

I have run into a limit of 1024 file descriptors. I have searched a lot and have tried various solutions.How can the max file descriptors be set in Ubuntu?

View 1 Replies View Related

Red Hat :: Default File Descriptors

Sep 2, 2009

Can someone please tell me how to permanently increase the default file descriptors limit on RHEL4?right now ulimit -n is 1024...I'd like to increase it to around 10000

View 1 Replies View Related

General :: File Descriptors With Pipes

Jun 4, 2010

File descriptors with pipes-Can someone help me with this three situations, what would happen?

a) a process open the same file twice and read through two file descriptors
b) a process does fork and both parent- and child-processes read parallell
c) two processes opens and read from same file.

View 5 Replies View Related

Server :: Runing Out File Descriptors

Nov 9, 2010

Its my Friend Problem .any one can tells that how can the file descriptors limits can be raise for the squid. In cache.log running out of file descriptors warning is coming.

View 3 Replies View Related

General :: How Many File Descriptors Accessing A Given File

Nov 28, 2010

On linux, is there a way to count the number of file descriptors open to a some file?

View 1 Replies View Related

Software :: Free File Descriptors Constantly Zero

May 24, 2010

I am using sabayon 5 - 32bit OS. I experience dullness and sluggish performance now and then.So number of free file descriptors is constantly zero , checked by utilising a while loop sleeping for 5 secs.would this be the root cause of the sluggishness I face in accessing application (media player)Also USB transfer is very very slow and sometimes it gets stuck

View 1 Replies View Related

Red Hat / Fedora :: Any Limitation On Number Of File Descriptors That Can Be Opened

Dec 23, 2008

Is there any limitation on the number of file descriptors that can be opened. If yes how to find the maximum number of file descriptors that can be opened at a time.

View 2 Replies View Related

General :: Fork Behavior While Copying File Descriptors

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

Server :: Total Free Allocated File Descriptors Always Zero

Jul 23, 2010

I have problem with free allocated file descriptors it's always zero!

View 2 Replies View Related

Programming :: Kernel Module - Task_struct / Files Struct, Open_fds, And The Open File Descriptors In Task?

May 1, 2010

This for Kernel 2.6.29.6. I'm trying to code a kernel module that displays process information.

how to count opened file descriptors per task. I have been able to write a module that lists all the current process names along with their pid number in /var/log/messages. Basically, I cycle through the ring of processes using the macro for_each_process(task) and printk the comm and pid of each task. I'm trying to see how many file descriptors each task has open. I've been reading up in books and all over the internet. At first I thought I needed to access max_fds under files_struct, but that just lists the maximum number of file descriptors that can be opened per task, which by default is set at 256. I then thought about counting the elements in the fd_array. But then I learned that every task's fd_array is initially set at 32. Now I know that I need to access open_fds of type fd_set * in files_struct. open_fds is a pointer to all the open file descriptors. The problem is that I don't know how to access a pointer of type fd_set.

Is there a good guide or book that really focuses on type fd_set and open_fds? Every book and resource I've read never really go into depth on this. relationship between files struct, open_fds, and the open file descriptors in task?

View 4 Replies View Related

General :: Standard File Paths?

Aug 23, 2010

Is there some sort of standards file path convention for installing softwares that I could follow through? For example, I just learnt how to build Nginx from source. But the default binary path set by nginx is "/usr/local/nginx/sbin". I have seen a couple of tutorials which they specify the location of the installed binary and it is very different from those usual default paths. Thus, got me thinking whether is there some form of file path convention that I should follow?Is there some kind of list which states where do those packages on Debian.org Repository usually installed to?

View 6 Replies View Related

OpenSUSE Install :: Installation From Standard Iso File?

Jun 21, 2010

I have created virtual cd (using damoen tools) for opensuse 11.2 installation from standard iso file and that installed installer for opensuse in my C drive and asked me to restart. After I restarted it gave me two options during boot, vista and opensuse 11.2 installer. I tried installing opensuse 11.2 from boot option and it asked me for language>country>installation. From the installation window which gave three options, I selected installation option and after preparing system for installation it asked me about sda location....I had separate partition which I selected and after that it is asking me for source which I don�t know what it is. I tried few things but no success and then tried to get in to vista but unfortunately it is not booting in vista as well and takes me though the same process explained above.

So both my boot options are trying to install opensuse 11.2 and stops at provide source window. So in a nutshell I am stuck and not able to use my system. For your information I don�t have vista installation cd so I can�t repair vista.

View 3 Replies View Related

Programming :: Programmatically Getting Standard File Dialog

Jul 14, 2010

Is it possible to do the following in C/C++ in Linux:Without direct linking (my program should NOT depend on Qt or GTK), display a GTK or Qt based file dialog.The behaviour should be something like this when my program runs, when you want to open a file:The program scans whether you have Qt installed. If so, it somehow manages to link itself to Qt (e.g. dynamically loading the .so file) and display its file dialog and get the path from it. If Qt wasn't found, it tries the same with GTK. If that also wasn't found, it displays a less powerful replacement dialog instead (better than nothing).

Or is there any other simple way in Linux to get a standard file dialog somehow (similar to when compiling for Windows you can very easily get its standard file dialog, no matter what version of Windows, in your code, even if your program doesn't use any other Windows GUI at all).

View 4 Replies View Related

General :: Edit Standard Configure File Using Script?

Jan 6, 2011

What I want to do is to find keyword in config file and change its value - that must be done using script.
I could write script usig awk and etc - but maybe there are already prepared ways/commands to change standard configure file setting?

View 1 Replies View Related

Ubuntu :: Cannot See Folder Contents Using Standard File Browser Interface

Nov 5, 2010

I downloaded a FLAC album from a band's label.The weird thing is that I cannot see the folder contents using the standard file browser interface.However, VLC can see and play the files without problem.I don't believe the files have any sort of DRM, but they are legal, FWIW.

View 4 Replies View Related

Software :: MIDI File - No Audio Output From Standard PC Soundcard?

Aug 6, 2011

have recently installed CentOS 5.6 Final on TWO DIFFERENT desktop PC's, and, on EITHER ONE, I can not get any sound output when using KMid to play a "standard .mid file (the file I am using to experiment with is "Canyon.mid", from the Windoze Media directory, a fairly standard midi audio file, I should think?!). I have normal audio output on both of these machines (.mp3 files, system sounds, etc.), so the specific sound cards are NOT the issue, here!I am thinking I must be missing something, as both of these PC's are completely different CPU types, etc. as well. The only significant similiarity in the two machines is the complete lack of MIDI audio output!And, yea, the soundcards are BOTH MPU-401 compatible, and they both have irq's assigned to this port (or, maybe just one has an irq assigned, I will have to double check...).

View 2 Replies View Related

Ubuntu :: Store Expect Standard Output To Excel File?

Mar 16, 2011

I am working on telnet session and excuting commands. I am able to redirect or store expect output to log file but now i want to store in excel file like ispreadsheet showing details of commands and its responses

View 2 Replies View Related

General :: Convert A Large Number Of File Types From None Standard To Text?

Sep 28, 2009

I have on my windows machine several hundred files that are a format of .nc .ncs for a CNC machine. I need to convert them to txt which is something as easy as opening in notepad and then saving as .txt but there are so many that this kind of action would take way too long.

The reason I am writing the linuxquestions is because I would feel more comfortable in loading a live CD and using some sort of terminal command to do this than I would to download one of the many "freeware" type programs I have found for windows (even more so since I have had a root kit before and had to start all the way over to get rid of it).

I need to know:

1. Is this possible to do with the terminal without super advanced knowledge.

2. Can one please point me in the right direction; something to read or an example

View 2 Replies View Related

Ubuntu :: Computer Seemed To Be Frozen - Reboot - No Init Found. Try Passing Init - Bootarg"

Jan 1, 2011

I've been dual booting 10.10 with Windows7 for about a month. Today is the first time I've encountered a serious problem.

This morning, nothing functioned properly after trying to open several programs. The computer seemed to be "frozen", although the mouse was working fine.

I decided to reboot, but then encountered an even bigger problem.

It failed to boot and got this message: no init found. try passing init= bootarg

The problem now is that it requires a Live CD session and I keep getting this: GLib-WARNING **: getpwuid_r(): failed due to unknown user id (0)

In case it matters, I didn't install 10.10 from an ISO, I just upgraded from 10.04.

View 2 Replies View Related

Ubuntu :: Error - No Init Found - Try Passing Init=bootarg

Jan 20, 2010

Ubuntu 9.10 will not boot! System froze this morning, I restarted and it is now failing to boot. Starts loading grub and I get this message:

mount: mounting /dev/disk/by-uuid/04aa3697-7bc0-45b5-b86a-77a1e6534bd5 on /root failed: invalid argument
mount: mounting /sys on /root/sys failed: no such file or directory
mount: mounting /dev on /root/sys failed: no such file or directory

[code]....

I booted with 9.04 LiveCD discovered the drive could not be mounted-ran fsck -ln and it told me the drive has no valid partition table. I have had intermittent problems mounting flash drives before this, so I'm kind of worried it might be a hardware issue.Also have files on that drive I would rather not lose, so reinstalling is hopefully a last resort.

View 9 Replies View Related

Debian :: How To Install A File In /etc/init.d/

Sep 10, 2010

use command dpkg -i ****.deb let my deb install a file in /etc/init.d/ what i need to change in debin/rules file?

View 9 Replies View Related

Fedora :: Text File Manipulation With Standard Commands In BASH - Remove The Stock Code

Oct 10, 2009

I need to do some text file manipulation which I think should be done with standard commands in BASH. I'm looking at comma seperated text files (stock market data). It comes in the form of date, stock code, open, high, low, close, volume. What I need to do first is move all data with same stock code sequentially into individual files.

While doing this since the stock code will now be the file name I need to remove the stock code. Next I need to filter out overlapping data from different files with the same date. ie. where two files contain the same date on the one line only one line will be added to the combined file. I think there must be a tutorial out there for basic text manipulation like this, I just haven't found it yet.

View 11 Replies View Related

Ubuntu :: /etc/init.d/xorg Start : No Such File Or Directory?

Apr 19, 2010

/etc/init.d/xorg start : No such file or directoryWhen the server boots i get a blinking cursor.

View 2 Replies View Related

SUSE / Novell :: Bash File Corrupt, And Sh And Init Went Down With It?

May 23, 2010

Yesterday afternoon, I was playing around with updating my system with RPMs from the openSUSE RPM Search. I had bash v 4.0.18 (I'm running a decaboot, the primary OS being openSUSE 11.2, where the issue is) and I installed a package that was bash 1.0.36. I restarted my Yakuake terminal to see the new bash. Immediately, I noticed the Yakuake terminal flashing rapidly, and the terminal wouldn't go down when I used the key that brings up and down, so I controlled-alt-escaped it and killed it off. Then I wondered if it was just me, so I hit ALT-F2 and logged in as root. It quickly said some symbol file (Something)_(Something)_REWRITE(maybe) then disappeared, giving my the login prompt. I though, well, OK maybe I have to restart it to get it to work. Init said "there is no more processes left on this runlevel" and I had to Power-Button it and reboot. When it rebooted, or tried to, I was greeted with "KERNEL-PANIC Tried to kill init"

I panicked with the kernel, and I went into my 11.3 Milestone 4 installation, tried to chroot it, but I received the same error as when I tried to log into root and was returned to my 11.3 session.

I later tried to do a mock update with the 11.2 DVD, and tried with the YaST package manager to downgrade BASH, but the RPM installation failed, even on good DVDs. I tried the rescue, but it said BASH wasn't a "critical file" while things I don't even use were checked (like openssh)

From 11.3, I tried linking sh from bash to ksh (Korne Shell). For all I know, it is just like bash. It didn't work. Same kernel error.

I relinked sh and bash together, and I am using SUSE 11.1 in the meantime, but does anybody know how to fix this without reinstalling my SUSE 11.2 completely.

View 6 Replies View Related

Server :: Diffrence /etc/init.d And /etc/init.d/rc.d Scripts?

Jul 29, 2010

me the difference between /etc/init.d scripts and /etc/init.d/rc?.d scripts.

View 3 Replies View Related

Networking :: Error: Can't Load Actions File '/etc/privoxy/match-all.action': Invalid Line (9): { +standard.Cautious }

Apr 26, 2011

Every time I try to set to standard.(cautious|medium|advanced) I get Apr 26 17:20:59.960 7f7faff15700 Fatal error: can't load actions file '/etc/privoxy/match-all.action': invalid line (9): { +standard.Cautious } /

or something similar. No additional help is available in the docs. So i try to use http://p.p (i.e. config.privoxy.org), and click on [URL]... expecting to get the three mode buttons. It just returns to p.p.

I already set the three edit vars to allow remote editing etc.So I looked in the top 15 Google hits for "Privoxy standard.Cautious". Apparently, nobody else knows how to do this either even tried launching firefox in root. but I'm getting kind-of frustrated with the writers/maintainers of Privoxy 3.

View 4 Replies View Related

Ubuntu :: Targe File System Doesn't Have /sbin/init?

May 26, 2010

I have a Lenovo X60 with Intel Centrino Duo Core @ 1.83GHz 1.83GHz, and 0.99 GB of RAM. I am running a dual boot with Windows XP SP3 and the latest version of Ubuntu desktop. My problem is that after I ran the Defrag my C: drive in Windows, I can into my ubuntu.I was greeted with the following error message when i tried to boot into ubuntu {Target file system doesn't have /sbin/init}

View 2 Replies View Related

OpenSUSE :: EXT4 Group Descriptors Corrupted

Jul 19, 2011

I have a second HD partitioned and formated to EXT4, the whole capacity. It was mounted to a directory in my home folder I'm getting an error that it cannot be mounted.

Running "dmesg | tail" i get this: (rigt now the HD is connected to the computer using a USB adaptor)

Code:
laptop:~> dmesg | tail
[ 375.821495] sd 9:0:0:0: [sdb] Write Protect is off
[ 375.821505] sd 9:0:0:0: [sdb] Mode Sense: 00 38 00 00
[ 375.821512] sd 9:0:0:0: [sdb] Assuming drive cache: write through

[code].....

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved