Fedora :: Failure Of Creating Shared Memory In Fedora 8

Nov 19, 2009

I am using Fedora 8 in my PC and i'm trying to create a shared memory (below is the sample program) i'm getting error while creating shared memory. Can anyone pl tell what is the possible cause for this.

View 2 Replies


ADVERTISEMENT

CentOS 5 Server :: Apache - Anonymous Shared Memory Failure

Jan 12, 2010

I just opened an (unmanaged) VPS account and and have been encountering nothing but problems with trying to get Apache up and running (its something I've done many times before).Basically the inital error was with LDAP not having enough space, so I disabled the related extensions and Apache still would not run. Looking at the log, it contains: (28)No space left on device: Unable to create scoreboard (anonymous shared memory failure)

View 1 Replies View Related

Fedora :: Creating Local Shared Directory

Dec 18, 2009

I have recently installed Fedora 12 on a desktop PC and as my first experience of Linux, I am really impressed. I have now installed several packages and have reached a point where I would like to share the PC with other user (family members in the same house).My question seems so basic I am almost embarrassed to ask it but could some one explain the best way to create a local shared directory that could be used to store files accessible to everyone (e.g. music, photos, videos, documents etc.)There will be three users and as it is a family PC, they will all have full access.

Reading posts from various forums, I am little confused about what is the best way to proceed (i.e. what is Linux best practice). The simpler of the two methods is to simply make the directory using the mkdir command, followed by the chmod command to assign full access rights. Fore example if the local shared directory is called 'share'. The alternative approach assigns a group, a group administrator etc and then adds users to the group.

View 5 Replies View Related

Red Hat / Fedora :: Unable To Remove Shared Memory?

Aug 20, 2010

When I boot into Linux i see some shared memory which is blocked, due to this I am unable to start my processes which needs some shared memory.I tried removing the shared memory using ipcrm -m but no use, the shared memory is not cleaned but its still in use.I tried removing the shared memory using root user also normal user but unable to remove the shared memory.

[pin01]$ ipcs -m
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status

[code]...

View 1 Replies View Related

Red Hat / Fedora :: Creating Trusted Connection Between Machines For Shared Accou

Jan 20, 2011

I tried to create trusted connection between two machines (named "master" and "node1") for shared account, but no luck. what I had done are as follows:

1.create user account "tester" in "master"
2.set NFS server configuration to have RW for /home/tester for "node1"
3.create user account "tester" without creating home dir in "node1" with same userID and groupID as the one in "master"
4.create dir "homester" in "node1" and mount to "master" (mount -t nfs master:/home/tester /home/tester).in master node: ssh-keygen -t rsa
5.generate authorized_keys in "node1" (details not shown)

but it is not working, if I don't use home/tester as shared dir, and two machines have their own /home/tester , the trusted connection gets created and scp works fine. can we create trusted connection for shared account, if yes, how and did I do miss anything.

View 1 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

Fedora Hardware :: Checking Computer Memory - Specification Shows 2 GB Of Memory Instead Of GB

Feb 7, 2011

Fedora 14 xfce
HP Mini 210

I am looking to buy some memory for my netbook. Currently I have 1 GB of DDR3 memory. However, the specification says that 2 GB of memory is the max. However, when I do the following it says that 4GB is the max:

[Code].....

View 3 Replies View Related

Programming :: Creating C++ Shared Libraries

Apr 4, 2010

I have 2 questions... I couldn't find answers by Googling (more precisely, by Blackling) and in GCC documents, so I'm asking here.

1. There are 2 flags for position independent code, -fpic and -fPIC. All the examples I read use -fPIC... so when is -fpic useful and what is the difference?

2. Some tutorials use "g++ -shared" while others use "ld" for the creation of the shared library. Why? Does it matter which method I use? Is there a difference? Why does nobody mention both options?

View 11 Replies View Related

Software :: CUPS Installation / Shared Printer And Not Able To Access Shared Printer From Any Of Fedora Machine?

Jul 21, 2010

Installed fedora/configued samba, shared printer and i am not able to access shared printer from any of the fedora machine. I am able to access the printer /shared folder from windows machine. I dont know the process of cups installation.

View 1 Replies View Related

Programming :: Shared Memory IPC Variations ?

Apr 19, 2010

I have 2 applications that send and receive messages through shared memory IPC. When I run the app ..it works but the number of messages per sec keeps changing drastically sometimes it is 400-500 per sec..then 800 then 1200 then 2000. is this normal with SHM IPC or could it be a code related issue.

View 9 Replies View Related

Hardware :: Shared Memory Is Only Using 4 Gigs Of Ram?

Feb 4, 2011

how come shared memory is only using 4 gigs of ram?

Code:

localhost router # free -m
total used free shared buffers cached
Mem: 8001 858 7142 0 130 235
-/+ buffers/cache: 492 7508

[code]...

View 3 Replies View Related

Server :: Does RES In Top Reflect Any Shared Memory?

Apr 20, 2010

I am trying to troubleshoot an Apache/Mysql server that once every few days falls over due to memory starvation. I thought I had tuned my httpd.conf file with relativley small MaxClients and so on, but then noticed some unusual RES values in top while monitoring.

In short, `top -b -n1 -u apache` shows that I have 28 httpd processes. their VIRT is ~300MB for each process (I understand this is shared), and the RES ~50MB for each. I thought this wasn't shared. Is this true? I just noticed 2 of the processes jump to 1.2g. If RES represents non-shared memory then concievably 1.2g x 28 processes would be a problem on an 8GB server.

View 2 Replies View Related

Red Hat :: Shared Memory Limitations In RHEL AS 4?

Jul 16, 2010

Does anyone know if there is a size limitation for shared-memory segments in RHEL AS 4?

View 1 Replies View Related

Fedora Networking :: How To Access Shared Windows Files From Fedora System?

Mar 24, 2009

How can I access shared Windows files from a fedora system

View 3 Replies View Related

Fedora Networking :: Unable To Access Fedora 10 Shared Folder From Windows

Aug 17, 2009

Linux OS : Fedora 10 (No graphical mode)Windows OS : XP and Windows Server NT...I am able to access from my windows to linux using following step//fedora10 ip username of admin and password...I am able to view the admin and shared printer of fedora 10.When i try to enter in the admin folder i am not able to access it. It is giving error "Access is denied".

View 6 Replies View Related

Ubuntu Installation :: Creating Shared Partition For 9.10 And Win 7

Jan 18, 2010

i already reserved the space for the partition, from what i have read so far, it has to be FAT32 or NTFS. also my major question is how i would be able to point both OS to save my files to the 3rd partition i am creating for sharing. cos in my experience, windows likes to store files in its home partition without even giving u an option to see other partitions in ur system, ubuntu at leastb allows me see the other partitions on the drive.

View 3 Replies View Related

Ubuntu :: Creating A Shared FAT32 Partition

Oct 3, 2010

I am dual booting windows 7 and ubuntu 10.04 using grub. I am using a 1tb samsung hard drive. Ubuntu has 750gb and windows has 250gb. I want 500gb of my HD to be FAT32 so I can put all of my music, pictures, and videos on it. I don't have more than 100gb used on either partition.

I have done quite a bit of searching and browsing, but I can't find a good step by step guide to do this. I am guessing I need to figure out how to use fdisk?

View 3 Replies View Related

Networking :: Creating Server Over Shared Internet

Oct 25, 2010

I have a sunfire server that I connect to my dell inspiron 6000 laptop for internet. The wireless router and cable modem are in another room of the house, and I can't move the stuff in the same room. The inspiron 6000 and sunfire have the same external IP address, but I want to run a game server off of it, how can I get that to work if they have the same address?

View 2 Replies View Related

Fedora Networking :: Can't Print To Shared Windows Printer From Fedora

Feb 20, 2011

I am trying to set up printing on my Fedora 14 laptop, on my home network.

Details:

- Home network, single subnet, the desktops are connected to the switch portion of my Linksys via Ethernet and all have static addresses. Name resolution between them is via hosts file entries. The router is running wireless (WPA2/AES/DHCP) to accommodate my laptop which is dual boot XP Pro and Linux Fedora 14.

- The printer is an HP Deskjet F4180 printer. It is attached via USB to a Windows XP Pro box and shared. The XP box is wired and static ip.

- I am able to see all the shares and print to the shared printer from any of the Windows boxes, wired and wireless, including my laptop when I run Windows on it.

- My Fedora 14 is working fine on wireless, using Network Manager and KDE desktop. I am able to access all the Windows shares on both of my wired desktops. One desktop is XP Pro, the other is Windows 7.

This is what happens when I try to set up printing on Fedora:

- I go to Administration / Printing and click to Add a Printer.
- I am prompted for the root password twice, which I put in.
- I select Network Printer / Windows printer via samba and click on Browse...
- It finds my WORKGROOUP and machine name mig29 and prompts for user ID and password which I type in.

[code]....

the user ID and logon on Fedora is different from the one on Windows. During setup I am prompted for credentials. It seems to me that somewhere down the line Fedora supplies not the credentials I supply but my local user ID and password and it obviously fails.

View 8 Replies View Related

Debian Configuration :: Shared Memory Segments ?

Apr 5, 2010

I'm running a Debian based distro.

When I run ipcs this pops up:

This happens only while KDE3 is running. Regardless of the runlevel, if kdm is not started, this will not show.

By running ipcs -p the PID points to process

Is there anything wrong with that command?

View 8 Replies View Related

Software :: Shared Memory Between Fortran & C++ Applications?

May 7, 2010

I have to figure out how to pass data between a Fortran application and a C++ application. The memory has to be locked/unlocked to prevent data corruption. I know very little about Fortran. I have done mutex lock/unlock stuff in Linux apps, multi-threaded, using mutex locks before.

Digging around on the Web, I do not find any info on a Fortran app including linux headers, library calls such as those in ipc.h, shm.h and sem.h. What is an approach to this problem?

View 1 Replies View Related

Programming :: Dynamic Memory Across Shared Libraries

Jun 1, 2009

Any good tutorial on sharing dynamically allocated objects across shared libraries in the same process and between shared libaries and main(). In particular, I need to know what creation and destruction sequences are valid when libraries are being loaded and unloaded. For example, is it valid to allocate an object from inside a shared library procedure, and then delete that pointer from a different module, especially in the case where the allocating module has already been unloaded.

I imagine there might be all kinds of problems with this. Although my preliminary tests seem to work most of the time, I get crashes from time to time, but I'm not sure if they're caused by memory management or by threading issues. I've been restructuring my code to use a global context object to manage object creation and destruction from main(), but I'd like to find a clear exposition of the specific issues I'm dealing with before I go too much further.

View 4 Replies View Related

Programming :: Getting Segmentation Fault Using Shared Memory?

Jan 8, 2011

I'm writing a producer-consumer program, where the producer and the consumer are different processes and they communicate using queued signals, and when I run it it comes out always 'segmentation fault'.

Here is my code:

(note: I tried using both 'shm_open()' and 'mmap()', and 'shmget()' and shmat()')

Code:

#include <stdio.h>
#include <stdlib.h>
#include <signal.h>

[code]....

View 10 Replies View Related

Programming :: Shared Memory - Should They Show The Same Address?

Mar 17, 2010

So I'll try to be brief and to the point here: I've got a couple of C / C++ apps that communicate with one another via shared memory. These worked completely fine until.. well, about twenty minutes ago when I finished making some network card changes and suddenly, I've got a weird problem going on. At one point, Parent app waits for Child app to set a boolean indicating it's finished initialization. This worked fine the last time I ran this app up (a few days ago). But right now, the shared flag never seems to get triggered (I've added a printf("Waiting..."); in Parent app until the flag is set). All the code leading up to it being set in Child app seem to be running smoothly, so I tried spitting out the addresses of the shared memory locations. The addresses mapped by Parent app and Child app are different; this seemed odd, so I went back and wrote a simple miniature app that just opened a shared structure on my own box, and I get the same thing - different addresses - but the miniature apps work just fine.

Is it normal for a shared memory space to be mapped to two different addresses across two processes?

If so, does anyone have any idea what might be the issue at hand with my Parent / Child app scenario? The Child creates the shared memory, the Parent has a wait before it opens it, and if it doesn't exist should fail (opening with PROT_READ | PROT_WRITE)... it doesn't fail so it's evidently there.

All of this worked until literally just a few hours ago and I made some changes to my network cards, and I can't even imagine how that could have changed whether or not shared memory mapping worked...

View 2 Replies View Related

Ubuntu :: Can't Boot To Windows Xp After Creating Shared Folder

Feb 16, 2011

i had created a thread in desktop environment and had received no comments, so posting it here again.

Had installed ubuntu alongside windows xp in dual boot. everything was working fine untill last week.

last week i did share a folder on NTFS partition from ubuntu to be accessed by my laptop which runs XP. i could access the folder after i ran this command from terminal "sudo smbpasswd -a myusername". After this i cannot boot to windows. it shows up windows screen and reboots again. ubuntu works fine. what do i do to get back windows XP to working again?

View 2 Replies View Related

Programming :: Creating A Memory Leak In C++?

Dec 16, 2010

I need to write a small program that eats away at availabe memory. I need to creaty a memory leak to test how other programs cope. I need to run this program on linux and see if the available memory is decreasing.

So I have done:
Code:
int main()
{
int *buffer;
while(1)

[Code]...

View 10 Replies View Related

Fedora :: Creating Custom Fedora Install/Live Media

Oct 17, 2009

I've recent begun to want to create a spin of Fedora for my high school to offer as an alternative to Mac OS X and Windows. My first attempt with any distro was to try and use Suse Studio, however nothing with packages that I downloaded myself would successfully compile. I then thought that I might try and use some sort of local program do create it with and tried Revisor, however when I made Live Media, Xorg wouldn't start and when I made DVD Install Media the kernel would kernel panic every time on boot.

Is there anyway to solve the problem with Revisor or are there any alternatives?

I have also tried using Ubuntu with the Ubuntu Customization Kit however that didn't work either considering I have to have it in a virtual machine.

View 1 Replies View Related

OpenSUSE Hardware :: Memory Swapping Causes System Failure?

Jan 11, 2010

We have a four socket amd machine, running barcelona processors, with 64gb ram.The system runs for extended periods just fine when the system is running up to or below the 64gb memory limit. A typical load on the machine has short periods where the machine uses heavy amounts of swap space (30+ Gb). We have a swap partition of around 96Gb. When we push the machine into heavy swapping, the machine will fail within 24hrs. Has anyone experienced this problem and is there a solution other than buying more physical memory? Or am I wrong and maybe the physical memory is the issue? I thought maybe it was the memory itself, and after stripping the memory down, I get the same problem...failure upon heavy swapping

View 7 Replies View Related

OpenSUSE Hardware :: 11.3 / Failure To Mount Sd Memory Card?

Jul 17, 2010

My SD card is recognised by OS 11.3 if it is inserted at boot up. If I remove it and reinsert it, the devise monitor states 'no devices plugged in'. This is a problem that I have also had (and reported in these forums) with 11.0, 11.1, 11.2.Now I notice that there is a section for 'removable devices' in the system configuration. But even if I click the box 'enable automatic mounting of removable media' and the sub-box 'automatically mount removable media when attached' the SD card is not remounted, there remain 'no devices plugged in'.

View 9 Replies View Related

OpenSUSE Install :: Kthreads Uses No Cpu Time Or Shared Memory

Aug 13, 2010

When the systen is running there is a program/utility/kernel-driver? kthreadd in system monitor all the following programs are a child process of kthreadd. Is kthreadd part of elevator=cfq and can kthreadd be influenced by params. kthreads uses no cpu time memory or shared memory so it must be in kernel. is there any documentation on this subject? System 11.3 on quad processor 8 gb mem nvidia-card and driver.

View 3 Replies View Related







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