Ubuntu :: How To Enable POSIX Shared Mem

Jan 29, 2010

I found out from here that it is not enable URL...I ran the command mount | grep "shm" and got.none on /dev/shm type tmpfs (rw,nosuid,nodev)So how do I enable it?It is need for my ATI graphic card.

View 2 Replies


ADVERTISEMENT

Fedora :: HPLib - Enable Publish Shared Printers

Feb 21, 2010

I'm using FC 11 and HP deskjet F2480. the last general update completely upset my printer settings and I can no longer use my printer at all. According to HPlib diagnostics I need to enable publish shared printers which I've dome. But it persists that the printer is not publised.

This is the second time a general update has messed up my printer setting, the time before I managed to fix by reinstalling HPLib. But this time it refuses with the message 'gs (GhostScript - PostScript and PDF language interpreter and previewer)', but I have the latest version of gs already installed.

View 4 Replies View Related

Fedora :: Cannot Enable Executable Stack As Shared Object Requires

Apr 16, 2010

i am trying to install xilinx 11.1 on fedora core 12 FEL.i have mounted the image file using mount -o loop and put it in a directory near opt.i am getting the following error: error while loading shared libraries: libSecurity.so: cannot enable executable stack as shared object requires: Permission denied.I already installed this on a standalone fedora 12 KDE and it did install. i need to mention that this time, the fedora 12 is installed on VMware, could this be creating that problem ?

View 2 Replies View Related

Ubuntu :: When Does The POSIX Thread Start

Feb 3, 2010

i'm trying to understand the POSIX threads and i can't understand when does the thread start: does it start when i do

pthread_create()
or when i do
pthread_join()

or maybe i'm missing something. i do understand that pthread_join() causes the calling thread to wait till the called thread is finished.

View 2 Replies View Related

Ubuntu :: Deluge WebUI Enable / Re-enable Subsequently Unable To Re-enable It (doesn't Appear In The Side Panel Again)?

Feb 10, 2010

I recently installed Deluge 1.2.0 from the following PPA:[URL]I using this on two different Linux computers. One is running Linux Mint 8 and the other is running Ubuntu Netbook Remix 9.10. The first time on either computer when I enable WebUI in the Deluge GUI it works fine. However if I ever disable it in plugins section I am subsequently unable to re-enable it (doesn't appear in the side panel again). Rebooting or reinstalling Deluge seems to have no effect.Is this a bug or am I doing something wrong?

View 3 Replies View Related

Debian :: Posix Related During Compilation?

Sep 4, 2011

I am trying to compile splasutis in my debian wheezy. ./configure run well, but during make I get the following error

make --silent all-recursive
Making all in libs
CONF    libjpeg.a

[code]....

View 7 Replies View Related

General :: Support For POSIX Trace?

Oct 14, 2010

Is it possible to add support for POSIX Trace to my Ubuntu?

# getconf _POSIX_VERSION
200809
# getconf _POSIX_TRACE
undefined

View 2 Replies View Related

General :: Set Distro To Be A POSIX Compliant?

Oct 2, 2010

How to set you distro to be a POSIX compliant?

View 3 Replies View Related

Server :: Use Phpldapadmin Can Add Ou,but Cannot Add Posix Group?

Mar 27, 2010

use phpldapadmin can add ou,but can not add posix group.following is software version

[root@localhost config]# rpm -qa | egrep '(ldap|db4)'
openldap-devel-2.3.27-8.el5_1.3
db4-utils-4.3.29-9.fc6

[code]....

View 1 Replies View Related

Programming :: Synchronize 2 Posix Threads ?

Mar 15, 2011

I have 2 threads and both of them are deleting memory at the end nedded by both.

My problem is that maybe it can happen that a thread start and finish before the other one starts and so it deletes the memory nedded by the other thread. How can I synchronize them so that this can't happend.

As a design my threads look like this:

Code:

The other thread looks the same, but this isn't unoff to stop thread1 to finish before thread2 starts.

View 4 Replies View Related

Security :: SetUID: Limit The Use With POSIX Capabilities?

Nov 15, 2010

It is known that binaries with the SetUID bit enabled are a threat for the system.I saw on this ArchLinux wiki[URL].tead_Of_Setuida way to limit the use of SetUID bit thanks to POSIX capabilities.It looks very interesting.Does anyone of you used it already?Is it a burden for the system afterwards (like binaries not working, needing to be fixed); or is it seamless

View 3 Replies View Related

Programming :: Proper Implementation Of POSIX Threads

Apr 6, 2011

I've implemented a program URL... which reads digital IF data from a radio receiver through a named pipe, measures power levels, and sends the result to stdout. The program is interactive; there is a thread that reads from stdin to watch for commands, a thread that constantly either reads data from the named pipe or throws data away, and an array of processing threads. The program uses GTK+extra to plot the signals. The IF data stream bandwidth exists at the limits of today's technology (is very very fast).

Problem Statement:The program works fine with a few bugs. I've learned since I've made it that using global state variables to coordinate threads isn't a good way of doing it. I also only had knowledge of mutexes and polled the state variable instead of using other methods.My reimplementation will use the following:

- One "Stdin Command Monitoring" thread
- One "Get data from named pipe" thread
- One post-processor thread
- N Processing threads

All threads are alive during the life of main()There are N buffers. Data will come in from the named pipe, and the "Get data" thread will write the data to an "available" buffer. When the buffer is full it will be marked as "full". There will be N processing threads, one for each buffer. When a processing threads' buffer is full, it will process the buffer and save the result to a final buffer. At the end of a number of averages, the post-processor thread will perform a final process on the final buffer and send the results to stdout.

View 2 Replies View Related

Debian :: Permanently Change Locale From POSIX To En_GB?

Apr 3, 2010

All my LC environment variables are currently set to POSIX at boot, though I can't find the startup script that does this. I've grepped through /etc/rcS.d and /etc/rc2.d but no luck. In /etc/default/locale, LANG is set to en_GB.UTF-8, which is my preferred locale. But this doesn't stop all the LC's being set to POSIX. Consequently, my dates follow the American convention, which I find hard to read.

I tried resetting with update-locale LC_TIME=en_GB.UTF-8. This changed all the locales to en_GB but only for the session. When I rebooted, everything went back to POSIX. The only change is that en_GB.utf-8 is now in the /etc/default/locale file as the value of LC_TIME as well as LANG.

View 2 Replies View Related

Programming :: Closing / Unlinking POSIX Message Queues?

Apr 15, 2011

I have a pthread waiting forever on a POSIX message queue and then call mq_close and mq_unlink on the POSIX message queue. I've found that the pthread never wakes up from it's call to mq_receive and remains blocked indefinitely. Is there a way to wakeup all pthreads blocked on a POSIX message queue after calling mq_close/mq_unlink? The goal is to include error handling during message queue deletion to avoid leaving any pthreads blocked forever.

View 2 Replies View Related

Server :: Multiple Users Per Ldsp Posix Group?

Mar 15, 2010

I want to add some users to multiple groups. syntax of the file to pass to ldapadd? or would I use lapmodify? Does one add/modify a user record to specify the groups that user is a member of? Or does one add/modify each group record to specify which users are members?

View 1 Replies View Related

Software :: Posix Semaphores Posting For More Than One Thread At A Time?

Apr 12, 2011

I would like to know can we post more than one thread at a time.I have code like below

Code:
#include <stdio.h>
#include <unistd.h>

[code]...

View 2 Replies View Related

Programming :: Find Number Of Child Processes (C / POSIX)?

May 26, 2010

I'm in the process of writing a program that is a server- it will accept connections and stuff, and spawn a child process for each. However, i've run into a small problem. I do NOT want to bother with keeping track of the processes unless i need to. So, i set SA_NOCLDWAIT (#ifdef) on a SIG_IGN to the SIGCHLD handler through sigaction interface. The standard says that it the kernel will then keep track of reaping zombie processes for me (a HUGE plus). However, upon receiving a SIGINT signal, i want to stop the server from accepting new connections (done), and then wait for there to be no new connections. I was thinking of just putting a loop like so:

Code:

while((wait(NULL) != (pid_t)-1) && errno != ECHILD);

However, I'm not *sure* that this will work, especially with SIGCHLD still ignored. So how can i tell if there are still child processes? I can't find any call like int getnumchld(pid_t proc); (i wish). Plus it would be inefficient to spin on that function anyway. OTOH, i would rather *NOT* have to do the same thing in a loop with a system("ps |...>file"); read(file); etc. either. Is there a way i can portably implement this feature (I was hoping i could run it on linux and the major BSDs, at least).

TO SUM IT UP:

How can i tell if a process has no child processes if i've SIG_IGN'd SA_NOCLDWAIT'd the SIGCHLD? Is there a _reasonably_ portable way to do so? I *don't* want to manually wait for EVERY process. Maybe only those still active at the time of SIGTERM, but that requires keeping track of the number of connections and whether those have terminated...

EDIT: Does anyone know if the above code *would* work, even with SIGCHLD ignored and the kernel cleaning up zombies *for* me? I checked the manpage and it doesn't say much.

EDIT1: Note that all of the processes are in the same process group and session. SO i can find them through this as well. Perhaps even setting the uid/gid and finding all processes run by that group?

EDIT2: i have an idea if the above isn't feasible. If there is no "elegant" way to do it, i could reduce the complexity by sending a SIGUSR1 to the whole process group. Each process would then set a flag telling it to send a SIGUSR1 in reply and send a SIGUSR2 when it is done executing. Then i could keep a count of signals. Maybe that would be *easier*. Or perhaps a count of all child processes and just a termination signal to decrement the counter.

View 2 Replies View Related

Programming :: Posix Message Queues - Communicate Between Two Threads?

Jan 3, 2011

I want to communicate between two threads, each belonging to a different process. Iam using message queues for this. I use mq_open()call. I created the queues with the same queue name starting with a '/'. But when I open the queue, the queue ID is different in both the process. What should I do so that both the process have the same queue ID?

View 1 Replies View Related

Programming :: Related To Pthreads And Timers In POSIX Standard

Feb 17, 2010

I have created two threads:
Thread 1 and thread 2

In the main thread, i have put up a timer which generates a signal periodically when it expires, which reults in execution going to signal catcher function.when this function is invoked, under certain condition it goes to thread 1 and under another condition it goes to thread 2. The problem lies here that when it goes to thread2,i have a loop to process but it doesnt come out of the loop and hence from thread2, even though timer has expired.

View 2 Replies View Related

Ubuntu :: Error While Loading Shared Libraries: LibOpenThreads.so.12: Cannot Open Shared Object File

May 5, 2010

just installed Ubuntu 10.04 and installed the flightgear package and the fgfs-base package. I ran fgfs from a terminal and got this error:

Code:
$ fgfs
fgfs: error while loading shared libraries: libOpenThreads.so.12: cannot open shared object file: No such file or directory
$
So then I did:
Code:
sudo apt-get install libopenthreads12
and it gave me these errors:

[Code]...

View 1 Replies View Related

Ubuntu :: Error While Loading Shared Libraries: LibGLU.so.1: Cannot Open Shared Object File

Aug 3, 2010

I'm trying to run Kega Fusion on my laptop, which can now FINALLY run Linux (ATI drivers finally work on it), and I can't get the emulator to work..

Code:
brandon@brandon-laptop:~/Desktop/Fusion$ ./Fusion
./Fusion: error while loading shared libraries: libGLU.so.1: cannot open shared object file: No such file or directory
brandon@brandon-laptop:~/Desktop/Fusion$ uname -a
Linux brandon-laptop 2.6.32-24-generic #38-Ubuntu SMP Mon Jul 5 09:20:59 UTC 2010 x86_64 GNU/Linux
brandon@brandon-laptop:~/Desktop/Fusion$
Help? I have the ATI proprietary drivers installed. I tried without them and it still wouldn't work. (And OpenGL is seemingly working as Compiz Fusion is running. I also tried with Compiz disabled but the same error pops up).

View 3 Replies View Related

Ubuntu :: Error While Loading Shared Libraries: Libgtk-1.2.so.0: Cannot Open Shared Object File

Aug 21, 2010

I'm running lucid 32-bit. I get this error when I try to run the installer for Unreal Tournament GOTY:

Code:
Verifying archive integrity... All good. Uncompressing Unreal Tournament 436-multilanguage.goty Installer. /home/computer/.setup1548: error while loading shared libraries: libgtk-1.2.so.0: cannot open shared object file: No such file or directory computer@computer-desktop:~/UnrealInstall$ I tried installing libgtk1.2 (as told by some people in other threads), but couldn't do that:

Code:
E: Couldn't find package libgtk1.2
However, I checked that I do have libgtk2.0
So what should I do?

View 2 Replies View Related

Ubuntu :: Shared Folder Is No Longer Shared After Rebooting?

Aug 13, 2010

I have two partitions: one for Ubuntu 64-bit and another one with the format NTFS only for keeping documents. I have shared one folder of this NTFS partition, but every time I reboot the PC (or shutdown and start again for that matter) the folder is no longer shared.Why?How can I prevent this folder to be un-shared when I reboot the computer?

View 3 Replies View Related

Programming :: Program Hang Stuck There Signal Handling On POSIX Message Queue UNIX C Pr

Jun 14, 2011

In a single main() function,so need signal handling. Use Posix Message Queue IPC mechanism , can ignore the priority and other linked list message,to implement the scenario:

View 1 Replies View Related

Software :: Cannot Open Shared Object File - Error While Loading Shared Libraries

Mar 2, 2010

I have an application consisting of different processes and all these processes are linked to shared libraries. I start the application (spawn all the different processes) as say user1. Now with the application up, if I run a process p1, the process gets activated and works. However, if I start the same process p1 as a different user, say user2, which is completely different from user1 the process complains of

"error while loading shared libraries:...."

I set LD_RUN_PATH both in compile and runtime environment. LD_LIBRARY_PATH is set correctly in both places.

All the above works if I set the absolute path of the required shared libraries in /etc/ld.so.conf file and rebuild the /etc/ld.so.cache

View 1 Replies View Related

Software :: Error While Loading Shared Libraries - Cannot Open Shared Object File ?

Aug 16, 2010

Alright, just loaded a fresh copy of OpenSuSE 11.3 x64, went to update manager and let it update, came back and computer was shut down. After booting it back up, I cannot update any software, nor run any commands.

Here is my output:

Code: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory I've tried searching for this error, some people came back saying to run this:

Code:

But all that happens is this:

Code:

Nor ls work either so I'm stuck and thinking about a reinstall.

I don't understand how this system could be so messed up after a failed update.. Used to trust SuSE, not sure anymore after this incident..

View 4 Replies View Related

OpenSUSE :: Error While Loading Shared Libraries: Libpng12.so.0: Cannot Open Shared Object File

Nov 9, 2010

Installed Skype but it wont launch. Running the latest Opensuse Gnome. Ive uninstalled it and reinstalled several times but always with the same error. When I try to run it from terminal I get this:

ig@linux-ljqk:~> skype
skype: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory

Ive just now uninstalled skype and tried reinstalling it again via yast, but now I get the following error [PK_TMP_DIR|dir:///var/tmp/TmpDir.xftzR0] Repository already exists.

View 9 Replies View Related

Slackware :: Ark: Error While Loading Shared Libraries: Liblzma.so.0: Cannot Open Shared Object File

Jan 26, 2011

After finally getting my wireless/graphics drivers working yesterday (thanks to this forum ) I startx to realize that not a single KDE/Qt application will launch, along with Firefox, or Chrome/Chromium. (I did a full install from the DVD, not deselecting anything, and when I upgraded to -current, I also did the same.)

Ark said:

Quote:

ark: error while loading shared libraries: liblzma.so.0: cannot open shared object file: No such file or directory

but I managed to fix that one by commenting out 'aaa_elflibs' in /etc/slackpkg/blacklist (on a recommendation from #slackware), and running slackpkg upgrade-all again, but that's the only one (afaik) that was fixed. Ark still doesn't work, but it doesn't show that error anymore. When I run it, a box pops up that says "Unable to find Ark's KPart component, please check your installation."

Kate still says:

Quote:

kate: error while loading shared libraries: libkemoticons.so.4: cannot open shared object file: No such file or directory

Now, konsole, firefox, and Chromium's errors are a little different.

Konsole:

Quote:

konsole: symbol lookup error: /usr/lib/libphonon.so.4: undefined symbol: _ZN9QMetaType15registerTypedefEPKci

Firefox and Chrome basically say the same thing

Quote:

/usr/lib/firefox-3.6.13/firefox-bin: symbol lookup error: /usr/lib/mozilla/plugins/skypebuttons.so: undefined symbol: _ZN9QListData11detach_growEPii

again, I am completely baffled here, as I had kate, konsole and ark running before I upgraded to -current.

View 5 Replies View Related

Hardware :: Blender: Error While Loading Shared Libraries: Libpython2.5.so.1.0: Cannot Open Shared Object File

Mar 16, 2010

I want to run blender in Ubuntu910,but get below

test@ubuntu:~$ blender

blender: error while loading shared libraries: libpython2.5.so.1.0: cannot open shared object file: No such file or directory

View 4 Replies View Related

Programming :: Create A Shared Memory And Some Shared Objects?

Jun 11, 2010

I want to create a "Shared Memory" in linux, then create multiple "Shared Objects" that can access to a Table for example; And one of them can write something into the Table and the other can access and read it, so that these operations can be handled by programmer! I'm using Ubuntu 9.04 and I've set it's runlevel at 3 (I have commandline environment now!) I've searched the Internet so much, but couldn't find a good sample code for this! I have no experience about it and need your help to introduce me a sample code about it and advise me how to compile and use it with "GCC"?!

View 6 Replies View Related







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