Programming :: C - Resource Temporarily Unavailable?
Mar 7, 2010
I'm working a program to implement a simple multi-process browser. The browser works by having a ROUTER process as the parent of everything else in the program. There's another process called the CONTROLLER which is part of where the user can input information. To tell the ROUTER to make a new tab in the browser the user activates a function from the CONTROLLER to send the create new tab information to the ROUTER:
Code:
void new_tab_created_cb(GtkButton *button, gpointer data)
{
[code]...
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
Mar 25, 2010
I have had ubuntu installed for a few months now and have been loving it. Yesterday I wanted to get JDK installed for a found a forum that said how to install it on ubuntu. The installation was not a success (I am not sure why because I am not skilled when it comes to the command line and I didn't understand the error). Later, I tried to install a different application just through the ubuntu software center and it said it was waiting for a different software manager to finish. I didn't understand what was still running because I had all other applications closed that I know of.
Once I restarted the problem was the same. Then I found a bug where people had the same problem with the software manager and they entered this and fixed it:
sudo dpkg --configure -a Now whenever I try to apt-get anything I get:
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
View 2 Replies
View Related
Apr 10, 2010
Today when tried to install a software from the terminal...d command dint work. Check this.
calvin@calvin-desktop:~$ sudo apt-get install pidgin
[sudo] password for calvin:
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
calvin@calvin-desktop:~$
It says that it cannot get lock! I have installed ubuntu along with windows! and drive E: is in windows.
View 4 Replies
View Related
Feb 2, 2011
I am running ubuntu 10.04 and am trying to get updates via the update manager but continue to get the following errors:
"E: could not get lock /var/cache/apt/archives/lock - open(11:Resource temporarily unavailable)
E: Unable to lock the download directory"
View 2 Replies
View Related
Jan 19, 2010
I have a few updates that I can install using the Update Manager but when I click the "Install Updates" button I get this pop up window message
E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the download directory
How to get the updates?
View 1 Replies
View Related
Sep 9, 2010
I was just mucking about in xfce, trying out new window buttons in conjunction with the black theme - dusk?? - when POW! - X shut down. Rebooting didn't restore things. Error is along these lines:
xfce4-session: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0. xfwm4: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
[Code]....
Is there a config file I can edit to get away from the window button setting it dislikes, or is reinstalling xfce the only option?
View 2 Replies
View Related
Mar 25, 2010
When i connect windows server 2003 from ubuntu these error displayed .When i installing the tsclient, by executing these following command from a Terminal window:
sudo apt-get install tsclient
When i run these command the following error displayed.
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
View 1 Replies
View Related
Jun 12, 2011
I recently installed Ubuntu 11.04 on an old Sony Vaio laptop. I was following some of the steps here..[url]
The step "Enable Full DVD Playback(Dual Layer DVD Support)" did not finish correctly doh and now I can't use 'sudo apt-get' for anything or the software center or using the 'Update Manager' does not work.
The update manger says it may be caused by an update not finishing correctly which sounds correct as explained above. The apt-get command gives me back the following....'Could not get lock /var/lib/dpkg/lock resource temporarily unavailable' 'unable to lock administration directory /var/lib/dpkg is another process using it?'
I tried the obvious restart but that hasn't worked.
View 6 Replies
View Related
Jun 30, 2010
I've been running Samba on Gentoo as a PDC for a Windows XP domain for several years. We are using the IdealX smbldap tools to maintain users, we are storing accounts in OpenLDAP, and everything has been just golden for quite a while. However, for various reasons, we are migrating our servers away from Gentoo and onto Ubuntu 10.04 (64-bit). Unfortunately, replicating our Samba PDC/OpenLDAP backend on Ubuntu is kicking our backsides.I've got Samba 3.4.7 running. I've got OpenLDAP running. ldapsearch/ldapmodify/ldapadd all work correctly. However, when I try to mount a Samba share on another Ubuntu machine, I get...:
Code:
testuser@testhost:~$ sudo mount.cifs //192.168.4.173/testuser /home/testuser/mnt/testuser --verbose -o
[code]...
View 3 Replies
View Related
Apr 3, 2010
I have pidgin2.5.2. I want to install pidgin2.6.6.How can I do that?E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
View 1 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
May 6, 2009
I am working with a C++ program consisting of two threads. The first threads receives packets through an UDP unicast connection and stores them in a buffer. The second thread reads the packets from the buffer and sends them through an UDP multicast connection. Both use blocking sockets and share a common buffer and a linked list L1, which are protected by mutexes. The program seemed to work just fine, receiving a packet and sending it almost immediately, but started giving some trouble recently. The synchronization between both thread started failing, and I decided to use a non-blocking socket in the sending thread. As a consequence, sendto() doesn't work in some cases, causing an errno 11 (Resource unavailable).
[Code] ...
View 4 Replies
View Related
Jun 14, 2011
I am new to linux and am trying to write a script that will ping IP addresses and say either online or unavailable.
View 3 Replies
View Related
May 21, 2010
I'm just beginning to program with GTK+, and I'm facing this issue: I want to inhibit a signal emission inside one and only one function. I've down cut my code into the smallest example I can to show you what I want to do:The "Emitter" contains a "GtkSpinBox" and it relays the "value-changed" signal, it's header:
Code:
#ifndef EMITTER_H
#define EMITTER_H
[code]....
View 1 Replies
View Related
Jul 19, 2010
Recently I use a program "pktlogdump" in IXP platform. But the system print an error message as follow:"error while loading shared libraries: libm.so.6: cannot open shared object file: No such file or directory".So where can I get this file? Or how can I get the resource file?
View 2 Replies
View Related
May 28, 2010
I want to disallow one user using Solaris machine when some process is active. I will store the PID of my process. If that PID is alive then i do not want one specific user to use the machine.
View 1 Replies
View Related
Jun 26, 2010
I want to change the resource limits for a specific processOr to create a new process and give it limits as I want, There is a function setrlimit, Which is possible to change it but for a programmatic I want to apply it to another Process, The problem is that this function does not receive process ID for example. I read in most books on the subject of The Linux system programming
View 1 Replies
View Related
May 5, 2010
I am trying to develop a video resource manager in Linux.By that what I mean is, if two applications (may be running in two different machines) are trying to play videos, the video resources will be served by this video resource manager (running at a center location). Pardon me as I donot have much idea about video resource handling in Linux , first of all , it is feasible to have this kind of a layer, in between the applications and the available resource hardware.
Kindly give me some pointer as to how do I start? Pl. give me some reference URLs.
View 2 Replies
View Related
Jan 8, 2010
I am trying to play some of my old dvds, they play in Windows 7, but I get the following using vlc in Fedora 12 (all software in up to date).
[jerry@bigbox Desktop]$ vlc dvd:///dev/sr0
VLC media player 1.0.4 Goldeneye
[0x93058b0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
libdvdnav: Using dvdnav version 4.1.4
libdvdread: Encrypted DVD support unavailable.
libdvdnav: DVD Title: OKLAHM
libdvdnav: DVD Serial Number: 26654F88
libdvdnav: DVD Title (Alternative): OKLAHM
libdvdnav: Unable to find map file '/home/jerry/.dvdnav/OKLAHM.map'
libdvdnav: DVD disk reports itself with Region mask 0x00fe0000. Regions: 1
libdvdnav: Suspected RCE Region Protection!!!
libdvdnav: Suspected RCE Region Protection!!!
[0xb7300710] main input error: ES_OUT_RESET_PCR called
[0xb7300710] main input error: ES_OUT_RESET_PCR called
libdvdnav: Suspected RCE Region Protection!!!
[0xb7300710] main input error: ES_OUT_RESET_PCR called
[0xb7300710] main input error: ES_OUT_RESET_PCR called
I have a dual boot Win7/Fedora 12 laptop. I set the region to 1 on the windows side.
View 7 Replies
View Related
May 4, 2010
I'd like to upgrade my 9.10 desktop to 10.04 but I can't get past step 1.I've done alt-f2 and issued update-manager -d, but no "New distribution" option is presented.I've clicked the "check" button and updated all my repo information but that doesn't help.I've done a wireshark trace and observed that the update-manager's requests get through the corporate firewall, and responses come back.Somehow it determines that no new distro is available.I'll explore further if someone could help me out with getting hold of the relevant update-manager source code.
View 2 Replies
View Related
Dec 23, 2009
Fedora 11 was being run on a Toshiba Satellite Intel Core2 Duo @ 2.1 with 180 gig hard drive and 3 gigs of RAM. The laptop is encrypted, using Fedora's encryption option when installing 11. Just finished upgrading using the upgrading DVD. Fedora boots and runs fine, when update manager is accessed it says 338 updates available. When updating is attempted there is one unavailable package after another. Have attempted to break the updates down into manageable sections to no avail. There is no repository manager (that can be located). Where to from here?
View 1 Replies
View Related
Apr 16, 2010
I just set up Suse 11.1 64bit and installed Virtual Box 3.1.6. I had it running previously with no problems, however, this time I can't get it to recognize any USB ports. In fstab I entered the line
None /proc/bus/usb usbfs devgid=1000,devmode=664 0 0
and ran mount -a (no go)
I loaded Vmware Player and it uses the USB ports perfectly fine (go figure) I added to the "none" line auto,
busgid=1000,busmode=0775,devgid= etc.
Still a no go - vmware uses them no matter what I have in "fstab" what am I missing with Vbox?
View 4 Replies
View Related
Nov 5, 2009
I've been trying for a long time to send emails via gmail, but without any success.
I always got the following error: "Must issue a STARTTLS command first"
I then added the following to my main.cf file: smtp_enforce_tls = yes
I now get this when running postqueue -p
(TLS is required, but our TLS engine is unavailable)
How to set up gmail, but none worked.
This is what I added to main.cf:
View 7 Replies
View Related
Jul 28, 2010
WARNING No path in service <printername> - Making it unavailable!
I'm runing a CentOS 5.4 server. I have a Windows NT Domain. My CentOS server is in the Domain, Samba works fine (both ways). I haven't needed to print from the CentOS box until now. I have a shared HP LaserJet 2100 printer connected to a workstation and shared. Everyone can use it. I'm not using SELinux
I want to be able to print from the CentOS box to that printer.
I used Webmin to set it up, but no joy so I've searched the entire web for any info to do it manually but I'm stuck.
My smb.conf file looks OK. It's just the printer.
View 1 Replies
View Related
Jul 2, 2011
(and new-ish to Linux in general) and would appreciate some assistance with fixing a problem I'm having with getting wireless working on my computer.Computer specs: Lenovo Thinkpad Edge 520, I5Wireless card: Intel WiFi Link 1000 b/g/n(Note: I also have a Netgear USB wireless adapter, and trying to use this does not solve my problem)I cannot activate wireless. When I go to Network Settings > Wireless, it is listed as "unavailable", and "off". When I try to switch wireless "on", it says "disconnected", but then immediately switches back to "off".Having tried to browse various forums and such for a solution, I tried looking for the file ifcfg-wlan0 under /etc/sysconfig/network-scripts, but it doesn't exist
View 4 Replies
View Related
Aug 2, 2011
I am facing a problem with Linux fedora 9 mail server. I cant send any mails outside, since in log I found that
dsn= 5.0.0, stat = service unavailable
View 1 Replies
View Related
Jul 18, 2011
I have a directory that needs to be owned by nginx user and I need to access it via other users in order to add/edit/delete files in it. So I created a group called www and added both then chgrp -R on the directory. However I am still getting a "unavailable to access no permissions" sort of error in my SSH/SCP/what ever you want to call Mac's Transmit.
ls -a output
drwxr----- 3 nginx www 4096 Jul 17 23:56 nginx
View 1 Replies
View Related
Jun 22, 2011
I've installed transmission-daemon on my headless Ubuntu 11.04 server and use the web interface to manage it. This is all working fine. However, after a reboot it seems that transmission daemon starts but the webinterface is unavailable. I get this in the syslog after a reboot:
Code:
Jun 22 10:54:27 localhost transmission-daemon[703]: Transmission 2.31 (12441) started (session.c:706)
Jun 22 10:54:27 localhost transmission-daemon[703]: RPC Server Adding address to whitelist: 192.168.*.* (rpc-server.c:805)
Jun 22 10:54:27 localhost transmission-daemon[703]: RPC Server Serving RPC and Web requests on port 127.0.0.1:9091/transmission/ (rpc-server.c:982)
Jun 22 10:54:27 localhost transmission-daemon[703]: RPC Server Whitelist enabled (rpc-server.c:986)
Jun 22 10:54:27 localhost transmission-daemon[703]: RPC Server Password required (rpc-server.c:989)
Jun 22 10:54:27 localhost transmission-daemon[703]: Port Forwarding Stopped (port-forwarding.c:181)
Jun 22 10:54:27 localhost transmission-daemon[703]: UDP Failed to set receive buffer: requested 4194304, got 262142 (tr-udp.c:75) .....
View 2 Replies
View Related
Mar 26, 2010
I'm using Google Chrome & Arch Linux x86.When I try to log in to my Gmail to check my Email I get this;Quote:The webpage at "A very long URL" might be temporarily down or it may have moved permanently to a new web address.And when I click on 'more information about this error' I get this;
Code:
Error 107 (net::ERR_SSL_PROTOCOL_ERROR): Unknown error.
I've updated openssl and have both SSL 2.0 and 3.0 enabled in options and I still can't log in
View 3 Replies
View Related