Error = Shmat 13 Permission Denied
Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V. Search Forums Show Threads Show Posts Tag Search shmget permission denied Advanced Search Unanswered Threads Find All Thanked Posts Go to Page... shmat example linux operating commands and unix operating commands shmat() permission denied, what's this? HP-UX ipcrm Thread Tools Search this Thread Display Modes #1 05-30-2005 km4hr Registered User Join Date: May 2005 Last Activity: 31 May 2005, 8:14 AM EDT Posts: 2 Thanks: 0 Thanked 0 Times in 0 Posts 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 Remove advertisements Sponsored Links km4hr View Public Profile Find all posts by km4hr #2 05-30-2005 Perderabo Unix Daemon (Administrator Emeritus) Join Date: Aug 2001 Last Activity: 26 February 2016, 12:31 PM EST Location: Ashburn, Virginia Posts: 9,931 Thanks: 64 Thanked 462 Times in 267 Posts Try: ipcs -m Remove advertisements Sponsored Links Perderabo View Public Profile Find all posts by Perderabo #3 05-30-2005 km4hr Registered User Join Date: May 2005 Last Activity: 31 May 2005, 8:14 AM EDT Posts: 2 Thanks: 0 Thanked 0 Times in 0 Posts thanks perderabo, that's the boost I needed to get me over the hump. when the daemon process was first started on
Port on DB server]))'TNS Ping Utility for IBM/AIX RISC System/6000: Version 9.2.0.8.0 - Production on 07-DEC-2008 07:17:25Copyright (c) 1997, 2006, Oracle Corporation. All rights reserved.Attempting to contact (ADDRESS=(PROTOCOL=tcp)(HOST=[DB server].[server domain])(PORT=[Listener Port on DB server]))OK (0 msec)If telnet is allowed, you can use this command:[XI server]:sidadm> telnet [DB server] [Listener Port]Trying...Connected to [DB server].Escape character is '^]'.You can get the DB server and Port details from CC No comments: Labels: oracle SAP XI: http://www.unix.com/hp-ux/19093-shmat-permission-denied-whats.html Webdispatcher Does Not Start Up Attempts to start web dispatcher fail. Logs show the following:[Thr 1] *** ERROR => shmat(11,0x(nil),SHM_RND) (13: Permission denied) [shmux_mt.c 1566][Thr 1] *** ERROR => shmctl(11,IPC_RMID,0) 0x0xffffffffffff1a8) (1: Not owner) [shmux_mt.c 1577][Thr 1] *** ERROR => shmat(11,0x(nil),SHM_RND) (13: Permission denied) [shmux_mt.c 1566][Thr 1] *** ERROR => shmctl(11,IPC_RMID,0) http://www.sapnwnewbie.com/2008_12_01_archive.html 0x0xffffffffffff1a8) (1: Not owner) [shmux_mt.c 1577][Thr 1] *** ERROR => SemMonIn: Unable to attach Semaphore Monitor Buffer [semxxmo2.h 319][Thr 1] MtxInit: -2 0 0[Thr 1] IcmInit: listening to admin port: 64999[Thr 1] *** ERROR => shmat(1048588,0x(nil),SHM_RND) (13: Permission denied) [shmux_mt.c 1566][Thr 1] *** ERROR => shmctl(1048588,IPC_RMID,0) 0x0xffffffffffff208) (1: Not owner) [shmux_mt.c 1577][Thr 1] *** ERROR => ShmCleanup: ShmCreate(63,0,SHM_ATTACH,...) failed. rtc=1 [shmux_mt.c 3074][Thr 1] *** ERROR => ShmCleanup: Inv. Key=63 [shmux_mt.c 3115][Thr 1] *** ERROR => shmat(1048588,0x(nil),SHM_RND) (13: Permission denied) [sh[Thr 1] *** ERROR => shmctl(1048588,IPC_RMID,0) 0x0xffffffffffff208) (1: Not ow[Thr 1] *** ERROR => ShmCleanup: ShmCreate(63,0,SHM_ATTACH,...) failed. rtc=1 [[Thr 1] *** ERROR => ShmCleanup: Inv. Key=63 [shmux_mt.c 3115][Thr 1] *** ERROR => shmat(1048588,0x(nil),SHM_RND) (13: Permission denied) [sh[Thr 1] *** ERROR => shmctl(1048588,IPC_RMID,0) 0x0xffffffffffff208) (1: Not ow[Thr 1] *** ERROR => ShmCleanup: ShmCreate(63,0,SHM_ATTACH,...) failed. rtc=1 [[Thr 1] *** ERROR => ShmCleanup: Inv. Key=63 [shmux_mt.c 3115][Thr 1] *** ERROR => IcmInit: IcmShmCreate failed (rc=-1) [icxxrout_mt. 17
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn http://stackoverflow.com/questions/30199805/c-programming-shmat-permission-denied more about Stack Overflow the company Business Learn more about hiring developers or posting http://stackoverflow.com/questions/19463957/shmat-returns-segmentation-falut-with-errno-13eacces ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up c programming shmat ( ) permission denied up vote 2 permission denied down vote favorite I have a problem when I run my code. My shmat fails and prints permission denied. I searched on google how to solve it but I can't. My code is the following: #include
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up shmat returns segmentation falut with errno=13(EACCES) up vote 0 down vote favorite I just want test shmget() and shmat() , but something seems wrong. :( shmget() works well but shmat() causes segmentation fault. this is the code: #include