XMailforum is a readonly knowledge archive now.

Registering as a new user or answering posts is not possible anymore.

Might the force be with you, to find here what you are looking for.

2019-09-20 - hschneider, Admin

Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.

XMail Forum -> wxPython stdout/stderr: operation not permitted

Reply to this topicStart new topicStart Poll

> wxPython stdout/stderr: operation not permitted
ahaji
Posted: May 24 2005, 01:49 AM
Quote Post


Newbie
*

Group: Members
Posts: 12
Member No.: 948
Joined: 23-February 04



Hi all,

I've been enjoying QXM in Windows without problem.
I am now in the process of migrating my daily activity using Debian Linux (SimplyMepis) from Windows XP. Thus, I want to install QXM in my Linux box

I just followed the guideline described by Schneider in his website. But, when I issued command "./xqmwin" or "./xqmwin.sh" or "./xqmwin.start" -- an error console of wxPython showed briefly and stated " .... Operation not permitted in 'qxmwin.start' "

For the information:
a. I installed the package at "/usr/local/bin/xqmwin"
b. I made a symbolic link libwx_gtkd-2.4.so to /usr/lib
c. My qxmwin.start:
QUOTE
#!/bin/sh
export LD_ASSUME_KERNEL=2.4.1
/usr/local/bin/xqmwin/xqmwin

d. And its permission I set to 777

Any idea what may be wrong?

regards,
antonius aji
PMEmail Poster
Top
hschneider
Posted: May 24 2005, 07:28 AM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 6631
Member No.: 195
Joined: 19-June 02



What is the exact error message, you see on the screen ?


--------------------
Bye,
Harald


-- Download XMail Queue Manager 1.46 NOW: XMail Server Tools
-- Cross platform remote queue management!
-- Message analyzing on the fly!
-- Builtin diagnostics knowledge base!
-- Manages multiple mail queues!

Sponsored by
CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg
PMEmail PosterUsers Website
Top
ahaji
Posted: May 24 2005, 10:20 AM
Quote Post


Newbie
*

Group: Members
Posts: 12
Member No.: 948
Joined: 23-February 04



I can't see in the shell, it is only presented briefly in wxPython console. I tried to read that console as follows:
QUOTE
Traceback (most recent last calls):
File "qmgrwin.py", line 1559, in ?
File "/usr/local/lib/python2.3/site-packages/wxPython/wx.py", line 1951, in __init__
File "qmgrwin.py", line 1551, OnInit
File "qmgrwin.py", line 775, __init__
OSError:[Errorno 1]: Operation not pemitted in "xqmwin.start"


* I did not find where "qmgrwin.py"
* I find that "/usr/local/lib/python2.3/" was empty folder, so I created a symbolic link to a directory in "/usr/lib/python2.3"

Yet, the error message is still the same.

rgds,
antonius aji
BTW - how can I send the error report in wxPython console to screen or file? I hardly can read as it is so fast to auto-close.
PMEmail Poster
Top
hschneider
Posted: May 24 2005, 10:58 AM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 6631
Member No.: 195
Joined: 19-June 02



This is a permission problem. Pls make sure that the Agent's folder is read- and writeable : chmod -R 766 foldername

This is needed by the wxPython runtime environment, which unpacks several things dynamically.


--------------------
Bye,
Harald


-- Download XMail Queue Manager 1.46 NOW: XMail Server Tools
-- Cross platform remote queue management!
-- Message analyzing on the fly!
-- Builtin diagnostics knowledge base!
-- Manages multiple mail queues!

Sponsored by
CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg
PMEmail PosterUsers Website
Top
ahaji
Posted: May 25 2005, 08:23 AM
Quote Post


Newbie
*

Group: Members
Posts: 12
Member No.: 948
Joined: 23-February 04



Hi Harald,

You mean the folder of "xqmwin" ?

I just want to install the Queue Manager in my laptop (which is Debian Linux), while the server itself (and the agent) is on other machine (which is Windows 2000 machine).

rgds,
antonius aji
PMEmail Poster
Top
hschneider
Posted: May 25 2005, 08:27 AM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 6631
Member No.: 195
Joined: 19-June 02



Yes - it's just the same with XQM (xqmwin)


--------------------
Bye,
Harald


-- Download XMail Queue Manager 1.46 NOW: XMail Server Tools
-- Cross platform remote queue management!
-- Message analyzing on the fly!
-- Builtin diagnostics knowledge base!
-- Manages multiple mail queues!

Sponsored by
CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg
PMEmail PosterUsers Website
Top
ahaji
Posted: May 26 2005, 06:30 AM
Quote Post


Newbie
*

Group: Members
Posts: 12
Member No.: 948
Joined: 23-February 04



Hi Harald,

I changed to folder using CHMOD -R 766 as root, ( as well as CHMOD -R 777 as root, just in case) ~ but the error report is still the same.

Definitely, I made some mistake somewhere, but don't know where to pinpoint.

Any test that I should do help you troubleshooting.

Thank you for the support

rgds,
a.aji
PMEmail Poster
Top
hschneider
Posted: May 26 2005, 06:54 AM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 6631
Member No.: 195
Joined: 19-June 02



As the error description tells, it is an OsError, which is directly generated from the operating system. Alls informations I find about that are about screwed up permissions or ownerships of files or folders. Please double check them ...


--------------------
Bye,
Harald


-- Download XMail Queue Manager 1.46 NOW: XMail Server Tools
-- Cross platform remote queue management!
-- Message analyzing on the fly!
-- Builtin diagnostics knowledge base!
-- Manages multiple mail queues!

Sponsored by
CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg
PMEmail PosterUsers Website
Top
ahaji
Posted: May 26 2005, 11:24 AM
Quote Post


Newbie
*

Group: Members
Posts: 12
Member No.: 948
Joined: 23-February 04



Hi Harald,

Please give me some advice to help pin-pointing the problem:
a. Based on error, it says that there is a problem in file "qmgrwin.py" ~ but, I cann't find "qmgrwin.py" in the package.
b. Based on error, it says that there is a problem in file "/usr/local/lib/python2.3/site-packages/wxPython/wx.py" ~ but, I cann't find that folder

Questions:
a. Are all the files generated automatically? Which files and where?
b. Do I need to create folder "/usr/local/lib/python2.3/site-packages/wxPython/" and change the permission accordingly??
c. What files (configuration) are read by the package

rgds,
antonius aji
PMEmail Poster
Top
hschneider
Posted: May 26 2005, 11:42 AM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 6631
Member No.: 195
Joined: 19-June 02



a. All these files are unpacked when XQM starts. They all are placed in the xqmwin folder. Don't worry about path strings in the error message, they are handled virtually by the runtime environment and have nothing to do with your system paths.
b. No!
c. All inside the xqmwin folder and the libs mentioned in INSTALL.txt: wxGTK, libssl and libcrypto.

What is your Debian release and which Desktop environment (KDE; Gnome etc) do you use ?

Is there any difference when you
- start XQM from command line or
- start XQM with a click from the Desktop ?



--------------------
Bye,
Harald


-- Download XMail Queue Manager 1.46 NOW: XMail Server Tools
-- Cross platform remote queue management!
-- Message analyzing on the fly!
-- Builtin diagnostics knowledge base!
-- Manages multiple mail queues!

Sponsored by
CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg
PMEmail PosterUsers Website
Top
ahaji
Posted: May 26 2005, 07:40 PM
Quote Post


Newbie
*

Group: Members
Posts: 12
Member No.: 948
Joined: 23-February 04



Hi Harald,

Thanks for still staying with me.

I got new information for you:
* I just recently experimented using "root" to log-in in GUI which means there should be no permission issue, and QXM seems work fine (I have not tested further). So, yes, it confirms your hypothesis that there is permission issue if I run as common "users".

I cann't run XQM in CLI as "superuser" when I log-in as common "users" as it is rejected by X Server which is not started by superuser.

My machine:
* My Linux is Debian-based SimplyMEPIS (www.mepis.org) version 2004.06 on kernel 2.6.7.
* My desktop is KDE 3.3
* And it runs with libwxgtk2.4 2.4.2.6.1, libwxgtk2.4-python 2.4.2.6.1, libssl0.9.7 0.9.7e-2, libcrypto++5.2 5.2.1a-1

Yeah .. at least I can run it from GUI as "root", of course it will be better if I can run QXM as common user.

rgds,
antonius aji
PMEmail Poster
Top
hschneider
Posted: May 27 2005, 05:52 AM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 6631
Member No.: 195
Joined: 19-June 02



Make sure, that you have read access to the content of /var/MailRoot and its sub folders.


--------------------
Bye,
Harald


-- Download XMail Queue Manager 1.46 NOW: XMail Server Tools
-- Cross platform remote queue management!
-- Message analyzing on the fly!
-- Builtin diagnostics knowledge base!
-- Manages multiple mail queues!

Sponsored by
CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg
PMEmail PosterUsers Website
Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
« Next Oldest | XMail Queue Manager | Next Newest »

Reply to this topicStart new topicStart Poll