I have written a demon/service listening to a socket to accept and process connecting clients. I've modelled the service on the multi-threaded example given by [url].
The service seems to work correctly, processing clients then at what appears to be random points, it will terminate and I don't seem to get any error messages or information.
I'm executing the demon script by using another script, attempting to catch any output.
After launching the gnome-keyring-demon my mounted mp3-player is no longer accessible. In /var/log/messages I get the message "gnome-keyring-demon removes usb device". As long as the gnome-keyring-demon is running, I cant not remount the device though it is visible using lsusb. I'm running an FC12 system.
So, "unable to update .IECauthority hit me yesterday in a big way. After trying all sorts of suggested remedies in the [solved] and unsolved threads, it became quite evident that the chown and chmod would not work coz ubuntu cant find the "file or directory specified" by .IECauthority. {pardon the n00bspeak}
So i looked around for the "new user" option, i.e. creating a new user so i can log in. That worked. i got to terminal and used sudo adduser guest and now i can at least log in but, predictably i cant access the files of my home directory that was under my "owner" login.
How i can access these files as my new "guest" user alias?
I feel like im so close to beating this friggin .IECauthority error though i am well aware i brought all this misery upon myself coz i just had to have the extra skins for this particular screenlet...
I am developing palm in my ubuntu 10.04 . unfortunately i have install a empty palm file. now i can not remove it or remove the virtual box. because it gives this error
I recently installed Lenny 5.0.3 i386 onto an old HP XE783 box. I've got a couple of errors that pop up on boot, and I'm not sure how to troubleshoot them. A couple of the lines from /var/dmesg that strike me:weird, boot CPU (#0) not listedby the BIOS. ACPI Error (dsopcode-0595): Field [ALB2] at 120 exceeds Buffer [CRSA] size 104 (bits) [20080321] {along with two other ACPI Errors (psparse-0530): Method parse/execution failed; and (uteval-0233): Method execution failed.}.Error: Driver 'pcspkr' is already registered, aborting.
The most annoying thing (I think) has to do with the ACPI errors: the box won't power down after issuing a shutdown command; it bumps into single user mode then prompts for the root PW.
I was updating all the installed packages on my system yesterday via YAST. The package manager seemed to hang when downloading a small update for YAST itself (related to ncurses, I think) so I hit the abort button. The package manager quit but now it doesn't work. Trying to start the software management module (Qt version) give me the following error: UI Syntax Error Couldn't load plug-in qt-pkg Check the log file!
So I then tried the console version of YAST. The software management module doesn't work here either. It give me the following error: UI Syntax Error Couldn't load plug-in ncurses_pkg Check the log file!
I Googled a bit and came to the conclusion that for the second error I should try the following command: zypper install yast2-ncurses-pkg But this just gives me another error: zypper: error while loading shared libraries: libzypp.so.619: cannot open shared object file: No such file or directory So now it appears that both YAST and zypper are corrupt!
I have a system running CentOS 5.5 (194.32 Kernel) that has been working fine for about 8 months. I found it stuck one morning dumping a Soft Lockup Kernel message every 10 seconds and have been trying to find out what is going on - here is what I've done and found.
System is a Core i3 with 4Gb DDR3 ram and 2 1.5Tb SATA drives - everything is less then 1 year old with not too much load (this is a backup system for my server - a twin and the other works fine)
Intel Mobo: DM55HC
Rebooting the system (after doing a fsck on the drives with lots of errors) it runs for about 20 hours or so and then drops back into this problem.
Prior to going into the soft lockup it reports that the Journal has aborted on one drive or the other and drops into a Read Only FS.
There is nothing in the logs apart from the aborting journal message and the soft-lockup)
Tried fsck with badblocks check on the 2 mountpoints for both drives (dunno how to check the swap partition) - nothing I could see there.
I have tried memtest for about 36hours. No errors
I ran smartctl long tests on both drives. No Errors
Wondering if any one else is having this problem lately under 11.4. My Skype does not want to launch any more. When I click to open Skype, the tray icon will pop up for 1 second and then just disappear. Have tried launching from command line to see if there are any messages, but it just says aborted when you try launch it.
I noticed this started happening randomly when I had the laptop in hibernate and then would resume, Skype would then just disappear and then I would just relaunch it and it would be find again.
i have a vaio, with a nvidia geforce 330m. i upgraded from 10.4 to 10.10, using the same driver i had before (256.44, form the nvidia web site) and following the same instructions i found useful the previous time [URL]. my problem: now my login has no graphic interface: i am displayed this error:
Quote: thermal reporting for required devices not enabled, aborting.
and i can log in and use ubuntu only by command line interface, i tried also to make a clean install using a live cd, but nothing changes. have i to go back and use 10.4?
I try to install IPsec-Tools on Slackware 13, but I get an configure error: configure: error: Security Context requested, bu no selinux support! Aborting. I'm linux newbie and I'm following a slackware-basics tutorial, I did as in the tutorial, but the configure stops and aborts:
[Code]... What can I do? How can I enable/install selinux support? I guess it's related with AH and ESP protocols, which in my kernel are defined as modules (m). If so, how can I enable them?
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 did compiled and installed kernel 3.0.0 on ubuntu 10.04 lucid lynx. well everything is fine except, a error message shown during the booting. Code: error: driver mdio-gpio already registered aborting how can i solve this error?
Once a while, during boot, Debian forces checking of hard disks. I understand that's a wise thing to do. However, I wonder what you could do to abort such process and postpone it to next boot (let's suppose you are in a hurry and you have switched on your computer only for a quick glimpse to a document).
I am having a strange problem with the Opensuse 11.2 Xorg server. Graphics hardware is Nvidia Quadro FX-5000, driver is ver 190.53. 90% of the time, I am getting a seg violation from the Xserver on trying to login via kdm:
[Code]...
...is the error that is present in the "kdm.log" file. So far, it doesn't seem to be user dependent (happens either as root or joe random user,) Again, so far, it only seems to happen with "driver nvidia" enabled in the config file, not with "driver nv" The failure occurs shortly after hitting return on the login screen. After it fails, it starts up a new Xserver, and presents a new login screen. Repeated attempts seem to *eventually* succeed, but 90% of the time, it fails I strongly suspect the Nvidia driver, but I have not been able to find anything documenting any similar problems.
I'm trying to debug a gtk app on ubuntu that crashes from time to time when I open a dialog. Lately I have found a sequence of actions that always reproduces the bug. And I always get this error: Assertion 'pthread_setspecific(t->key, userdata) == 0' failed at pulsecore/thread-posic.c:200, function pa_tls_set(). Aborting.
So my app seems to crash because an error in pulseaudio, which is strange. I made some google search and apparently, this problem exists with other apps. Then, following a suggestion in a bug report, I opened sound-preferences and disabled windows and buttons sounds. And surprise? No more crash. I know that gtk handles events from windows and buttons and so does pulseaudio. So, could it possibly be a bug in pulseaudio instead of in my app? Does anyone have an idea of what's going on here?
i have ubuntu karmic 9.10 and when i try to update anything or install anything the a very similar error occurs."(Reading database . . . 55%dpkg: unrecoverable fatal error , aborting: files list file for package `com.palm.net.precoddr.fcoaster' contains empty filenameit repeats this message 3 times then gives up i believe.
I have a high priority service that I start with sudo nice -n -10 process. This process does not need superuser rights though, except for the priority elevation. But nice requires superuser privileges to elevate priority.
Description of what the code does or what i intended to do:
1. Created a child process from parent process using 'fork()'
2. Sent a signal 'SIGALRM' from child process to parent process using 'sigqueue' function.
(The Third parameter of 'siqueue' function contains the message (message msg) which the child process wants to send to the parent process.'msg' is a stucture instance containing a) pid of child and b) string) 5. Print the 'msg' sent by child process inside the signal handler function 'sig_action_function' of the parent process I am getting some junk value when this line is executed
Code:
printf("%d ",msg->cpid);
I expected to get the pid of child process, which the child process sent to parent process through the signal.
as we all know Process Scheduler does Process scheduling and its a process as well. I was just wondering that if this happens then the Process "Process Scheduler" should be a part of Process queue as well.
So if there are 5 process are there in Process queue & process scheduler is administrating them then since its also a process, once it puts a process under RUN state it should itself go inside queue because at one instant only one process can get executed on a processor. This is quite confusing for me. Please help me out. I tried to search on this but could not find any relevant topics.
I have a shell script to identify whether the process is running or not. If the process is not running, then I execute another script file to run my application. Below is my script and saved this script as monitorprocess.sh Code: #!/bin/bash
I have a process running on Linux.When i do ps -eaf | grep <myProcess>, it show muliple entries for <myProcess> with different pids for each entry.Kindly tell me what could be the reason for a process having multiple pids?
Is there any difference in cpu usage for process in init.rc(runs automatic when boot is happened) and manually running process. Will these both have same priority by default...?
I tried googling but didn't get any answer for this.I have a process called "abc" and it is running with PID "123".I have a putty session opened with PID "999".I am giving kill -TERM 123 from putty session.My process "abc" before dying it should catch the PID of the terminal which provided TERM signal to it.Is there any way to find this out