Today (Saturday) We will make some minor tuning adjustments to MySQL.

You may experience 2 up to 10 seconds "glitch time" when we restart MySQL. We expect to make these adjustments around 1AM Eastern Daylight Saving Time (EDT) US.


shmat() permission denied, what's this?


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
shmat() permission denied, what's this?

I have installed an application that runs correctly for root but not other users. The application generates an error that indicates users don't have permission to attach to shared memory. A daemon process creates the shared memory segment. I've checked every permission I can think of but nothing seems to work.

The same application runs properly on an identical system (ie identical OS and hardware). This is an area I know little about so I don't know how to troubleshoot. Is there a way to view shared memory information so that I can see what permission users need?

xyz
# 3  
thanks perderabo,

that's the boost I needed to get me over the hump.

when the daemon process was first started on the system it's executable file had the wrong group designation. I changed the group of the file and restarted the daemon. However "ipcs -m" showed that the deamon memory segment group didn't change. Furthermore, I noticed the segment was not destroyed when the daemon was killed. I used "ipcrm" to remove the memory segment manually. Then I started the daemon again. This time "ipcs -m" showed the daemon's memory segment in the correct group. Now all users can run the app properly.

thanks again for the tip.
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Permission denied
lhareigh890
I created a user so that when he logs in he will be directed to a menu /etc/passwd user1:x:115:1:Support -SysAd:/export/home/user1:/export/home/suppotrmenu/script.sh However when I logged in remotely from another server by ssh user1@1.1.1.1 , it saysexport/home/suppotrmenu/script.sh:...... Shell Programming and Scripting
4
Shell Programming and Scripting
Permission denied
varma917989
Hi guys im new to this db i have a small prob while installing websphereportal6.1i think i was installed succesfully but the error im getting is while starting server. check this out # ./serverStatus.sh -all Error loading: /usr/wps61/AppServer/java/jre/bin/classic/libjvm.so: cannot...... Red Hat
1
Red Hat
Permission denied
su_in99
I would like to copy data from local mechine to cluster. Basically, I typed scp -r DVD/ acount@cluster:/ it shows Permission denied. Could anyone please give me a clue to write permission on cluster, please? The poperty of where on cluster I'd like to put is drwxr-xr-x Any idea would...... UNIX for Dummies Questions & Answers
1
UNIX for Dummies Questions & Answers
Permission Denied
howeezy
I just started computer science at UW Milwaukee. When I access the university Solaris system from PuTTY, I get permission denied when I try to access the file I wrote. Now I really have no idea what I'm doing, I just don't understand why I get permission denied in my won directory. Thank You ...... UNIX for Dummies Questions & Answers
0
UNIX for Dummies Questions & Answers
./ Permission Denied.
trouscaillon
Could someone tell me why I am getting a permission denied message when I attempt to run this on an out file? Thanks!... UNIX for Dummies Questions & Answers
8
UNIX for Dummies Questions & Answers

Featured Tech Videos