Sorry, I probably should have re-stated the problem:
We're using Python 2.3.5 on AIX 5.2, and get the follow error messages
from some of our code. I haven't yet tracked down exactly where it's
coming from:
sem_trywait: Permission denied
sem_wait: Permission denied
sem_post: Permission denied
We don't run these scripts as root, so I can't say whether they work as
root. I suspect they would, though, since root has permissions to do
anything.
--
----------------
Mark E. Hamilton
Orion International Technologies, Inc.
Sandia National Laboratory, NM.
505-844-7666 1 4310
Mark E. Hamilton wrote: Sorry, I probably should have re-stated the problem:
We're using Python 2.3.5 on AIX 5.2, and get the follow error messages from some of our code. I haven't yet tracked down exactly where it's coming from:
sem_trywait: Permission denied sem_wait: Permission denied sem_post: Permission denied
I'm I would be very concerned about these. Permission denied is
somewhat baffling to me. man sem_wait on Linux doesn't show EPERM as a
possible error condition.
The code that likely generates these messages is in
Python/thread_pthread. h near line 319.
Do you have lots of threads? Do you make heavy use of semaphores?
Maybe they are running out or something. Do you know if your locking
is really working?
We don't run these scripts as root, so I can't say whether they work as root. I suspect they would, though, since root has permissions to do anything.
I'm not sure. I don't know what the Permission denied really means.
I wonder if there some weird compiler optimization thing going on. Not
that I'm blaming the compiler, it could well be a python problem. I
just don't know.
Do you have any memory debugging tools that you can run python under to
see if there's something weird python is doing? Valgrind should work
on PPC now, but you may need to apply a patch, I'm not sure PPC support
is mainline in v3. Other possibilities include purify if that works on
AIX or sentinel.
n This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Hudson |
last post by:
Hi,
I have just recently build python 2.3.3 on an AIX 5.2 version using gcc
v3.3.2 (i built python as root and installed gcc from a rpm file).
When we run any python script as root they work. But any other
user produces the following three messages;
sem_trywait: Permission denied
sem_wait: Permission denied
sem_post: Permission denied
|
by: Yitzhak |
last post by:
I am having "Permission denied" error while calling
LogEvent method of WScript.Shell component.
Basically, ASP page calls Windows Script Host Shell
component to log events to the OS Application Event log.
My environment:
Windows Server 2003, IIS 6, WSH, Classic ASP, Vbscript
Below is the code and the error:
Code:
|
by: Elie Grouchko |
last post by:
Hi
I am trying to shutdown a COM+ application from an ASP page implemented
using VBScript.
I get:
Err.Number=0x46
Err.Source=Microsoft VBScript runtime error
Err.Description=Permission denied
|
by: Vlad de Mille IV |
last post by:
Well, as the subject says....
Briefly, when I try to run *any* wizard, I get a simple dialog, stating
"Permission Denied", to which I can only click "OK".
I suspect this is a windows (XP) problem rather than an actual Access
one, as the error only occurs in my power user (and any other) account.
It goes away if I am logged on (to windows)...
|
by: ASP.Confused |
last post by:
I have an ASP.NET page writtein in VB that uses ADODB. I just had to
force-install MDAC 2.8 after I tried to rollback to 2.6 (my web host uses
this, and I wanted to be compatible with them.) I had to manually install
all of the ODBC drivers and the rest of the DLL's, and now I am getting
"Access is Denied" errors on any page that uses ADODB....
| |
by: ASP.Confused |
last post by:
The old message looked a little stale, so I am re-posting it here. Anybody
have any ideas of what I could do?!? The previous responses to this
question are below. If you want to look at the original question, the
subject line is:
ADODB.NET and "Access Denied"
I have an ASP.NET page writtein in VB that uses ADODB. I just had to
|
by: Jake Barnes |
last post by:
I can not figure out the meaning of this error:
Error: " nsresult: "0x8057001e
(NS_ERROR_XPC_JS_THREW_STRING)" location: "JS frame ::
http://www.bluecasts.com/pdsIncludes/pdsAjax.js :: submitAnyForm ::
line 635" data: no]
Source File: http://www.bluecasts.com/pdsIncludes/pdsAjax.js
Line: 635
|
by: Russell Warren |
last post by:
I've been having a hard time tracking down a very intermittent problem
where I get a "permission denied" error when trying to rename a file to
something that has just been deleted (on win32).
The code snippet that gets repeatedly called is here:
...
if os.path.exists(oldPath):
os.remove(oldPath)
os.rename(newPath, oldPath)
|
by: British |
last post by:
This file is suppose to display "Welcome to the Zone!" and also write it to a text file instead i get an runtime error 0x800A0046 Permission Denied
The Script:
<html>
<title>File Object</title>
<body>
<hr>
<%
set TestFile=Server.CreateObject("Scripting.FileSystemObject")...
|
by: shriyer |
last post by:
Hey..
, when i try single stepping through the code, after a long time, it abruptly gives the error message .." permission denied ".. ??? what is it for?
If i run it without singlestep, it gives a sigint at diff points in the program...
If it were to be in an endless loop, why would it spit " permission denied"
shrikant
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| |