[Mailman-Users] OSError: [Errno 1] Operation not permitted

Barbara Johansen barbara at sprog.auc.dk
Thu Feb 8 14:04:08 CET 2001


Theese locked files come as soon as I try to subscribe to a list.
I does not help to remove them.

I try a complete new installation,
run the securelinux_fix
but the problem is the same:

No subscribing mail after newlist, newalias.
But the logs/smtp said:
Feb 08 13:26:00 2001 (5182) smtp for 1 recips, completed in 0.424 seconds
Does that indicate that a message IS send?
Where can I find it?

When I try to subscribe through the web the "Hit a bug" message appears.

The error log shows nothing until I try to subscribe through the web.

Feb 08 13:59:45 2001 admin(5568):
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
admin(5568): [----- Mailman Version: 2.0.1 -----]
admin(5568): [----- Traceback ------]
admin(5568): Traceback (innermost last):
admin(5568):   File "/pack/mailman/scripts/driver", line 96, in run_main
admin(5568):     main()
admin(5568):   File "../Mailman/Cgi/subscribe.py", line 55, in main
admin(5568):     mlist.Save()
admin(5568):   File "../Mailman/MailList.py", line 856, in Save
admin(5568):     self.__save(dict)
admin(5568):   File "../Mailman/MailList.py", line 832, in __save
admin(5568):     os.link(fname, fname_last)
admin(5568): OSError: [Errno 1] Operation not permitted
admin(5568): [----- Python Information -----]
admin(5568): sys.version    = 1.5.2 (#1, May  9 2000, 15:05:56)  [GCC
2.95.3 19991030 (prerelease)]
admin(5568): sys.executable = /usr/bin/python
admin(5568): sys.prefix     = /usr
admin(5568): sys.exec_prefix= /usr
admin(5568): sys.path       = /usr
admin(5568): sys.platform   = linux-i386
admin(5568): [----- Environment Variables -----]
admin(5568):    DOCUMENT_ROOT: /home/httpd/html
admin(5568):    SERVER_ADDR: 130.225.50.60
admin(5568):    HTTP_ACCEPT_ENCODING: gzip
admin(5568):    CONTENT_LENGTH: 60
admin(5568):    CONTENT_TYPE: application/x-www-form-urlencoded
admin(5568):    PATH_TRANSLATED: /home/httpd/html/atest
admin(5568):    REMOTE_ADDR: 192.168.209.2
admin(5568):    SERVER_SOFTWARE: Apache-AdvancedExtranetServer/1.3.12
(NetRevolution/Linux-Mandrake) PHP
/3.0.16 mod_perl/1.22
admin(5568):    GATEWAY_INTERFACE: CGI/1.1
admin(5568):    HTTP_ACCEPT_LANGUAGE: da,en
admin(5568):    REMOTE_PORT: 1178
admin(5568):    SERVER_PORT: 80
admin(5568):    HTTP_CONNECTION: Keep-Alive
admin(5568):    HTTP_USER_AGENT: Mozilla/4.73 [en] (WinNT; U)
admin(5568):    HTTP_ACCEPT_CHARSET: iso-8859-1,*,utf-8
admin(5568):    HTTP_ACCEPT: image/gif, image/x-xbitmap, image/jpeg,
image/pjpeg, image/png, */*
admin(5568):    REQUEST_URI: /mailman/subscribe/atest
admin(5568):    QUERY_STRING: 
admin(5568):    SERVER_PROTOCOL: HTTP/1.0
admin(5568):    PATH_INFO: /atest
admin(5568):    HTTP_HOST: miiisp.control.auc.dk
admin(5568):    REQUEST_METHOD: POST
admin(5568):    SERVER_SIGNATURE: 
admin(5568):    SCRIPT_NAME: /mailman/subscribe
admin(5568):    SERVER_ADMIN: root at localhost
admin(5568):    SCRIPT_FILENAME: /pack/mailman/cgi-bin/subscribe
admin(5568):    PYTHONPATH: /pack/mailman
admin(5568):    HTTP_REFERER:
http://miiisp.control.auc.dk/mailman/listinfo/atest
admin(5568):    SERVER_NAME: www.miiisp.control.auc.dk

I'm close to giving up... hope you have any suggestions?
regards
Barbara


On Mon, 5 Feb 2001, Marc MERLIN wrote:

> On Mon, Feb 05, 2001 at 09:53:31PM +0100, Barbara Johansen wrote:
> > > Anyway, another option is to just copy securelinux_fix.py from the contrib
> > > dir in the source code tree to ~mailman/bin, and run it.
> > > 
> > > Marc
> > 
> > I did.
> > Nothing changed.
> > No notification mail to the owner.
> > Hit a bug when I try to subscribe through the webpage.
> > This results in an error in the mailman/logs/error (at the end og this
> > mail)
> > I wonder if it's the serurelinux_fix.py who is setting a capital S in some
> > of the directories? What does that mean?
> > 
> > I also wonder what the securelinux_fix means with
> > 
> > 	 run %(PROGRAM) -f
> > What does PROGRAM stands for?
> > 
> > Here comes the error log. Can you figure out what's wrong?
> > 
> > 
> > Feb 05 21:53:18 2001 (27075) Delivery exception: 
> > Feb 05 21:53:18 2001 (27075) Traceback (innermost last):
> >   File "../Mailman/Handlers/HandlerAPI.py", line 82, in do_pipeline
> >     func(mlist, msg, msgdata)
> >   File "../Mailman/Handlers/SMTPDirect.py", line 77, in process
> >     mlist.Lock()
> >   File "../Mailman/MailList.py", line 1338, in Lock
> >     self.__lock.lock(timeout)
> >   File "../Mailman/LockFile.py", line 266, in lock
> >     raise AlreadyLockedError
> > AlreadyLockedError: 
> 
> Yeah, you have some old locks left behind due to the problem you had.
> rm ~mailman/locks/* and things should be better after that.
> 
> Marc
> -- 
> Microsoft is to operating systems & security ....
>                                       .... what McDonalds is to gourmet cooking
>   
> Home page: http://marc.merlins.org/   |   Finger marc_f at merlins.org for PGP key
> 
> ------------------------------------------------------
> Mailman-Users maillist  -  Mailman-Users at python.org
> http://mail..python.org/mailman/listinfo/mailman-users
> 

Barbara B. Johansen
Faculty of Humanities
Computing office
Aalborg University
Kroghstraede 3
DK 9220 Aalborg





More information about the Mailman-Users mailing list