Subject: The mailing list for listmasters using Sympa
List archive
Re: [sympa-users] Message::new() Cannot open message file ... Permission
- From: David Verdin <address@concealed>
- To: Simon Taylor <address@concealed>
- Cc: address@concealed
- Subject: Re: [sympa-users] Message::new() Cannot open message file ... Permission
- Date: Tue, 18 Nov 2008 13:51:54 +0100
Hi,
Which version of Sympa do you use?
Anyway, could you make sure wwsympa is run under the Sympa user uid? As it is the FCGI script that produces the message in the first place, it must be done as Sympa, so that sympa.pl can then use the produced file.
cheers,
Simon Taylor a écrit :
Hello all,
I researched this problem, but to no avail. I'm hoping someone here can help me.
I'm setting up sympa for the first time, but when I try to send a message via the "Post"
screen in the Sympa web interface to a test list I have set up, I see these errors in the
/var/log/messages file, and the message just ends up in the spool/msg/bad folder:
Nov 18 21:48:27 anzaas sympa[23595]: main::DoFile() Processing /address@concealed ; sender: <address@concealed> ; message-id: <address@concealed>
Nov 18 21:48:27 anzaas sympa[23595]: main::DoSendMessage() Processing web message for address@concealed
Nov 18 21:48:28 anzaas sympa[23595]: main::DoSendMessage() Message for address@concealed sent
Nov 18 21:48:33 anzaas sympa[23595]: Message::new() Cannot open message file /address@concealed : Permission denied
Nov 18 21:48:33 anzaas sympa[23595]: main::DoFile() Unable to create Message object /address@concealed
Nov 18 21:48:33 anzaas sympa[23595]: Moving bad file address@concealed to bad/
I believe my permissions are correct:
# ls -l queue bouncequeue
-rwsr-xr-x 1 sympa sympa 11094 Nov 2 22:58 bouncequeue
-rwsr-xr-x 1 sympa sympa 12156 Nov 2 22:58 queue
[root@anzaas bin]# ps -ef|grep s[y]mpa
sympa 23595 1 0 19:29 ? 00:00:00 /usr/bin/perl /home/sympa/bin/sympa.pl
sympa 23602 1 0 19:29 ? 00:00:00 /usr/bin/perl /home/sympa/bin/archived.pl
sympa 23609 1 0 19:29 ? 00:00:00 /usr/bin/perl /home/sympa/bin/bounced.pl
sympa 23616 1 0 19:29 ? 00:00:00 /usr/bin/perl /home/sympa/bin/task_manager.pl
Even when I temporarily make the spool dirs world accessible and world writable I see the same
error.
Can anyone offer any suggestions?
I'm running sympa 5.4.3 on Centos 4.6 with selinux disabled
Regards,
Simon Taylor
--
David Verdin
Comité réseau des universités
-
[sympa-users] Message::new() Cannot open message file ... Permission denied,
Simon Taylor, 11/18/2008
-
Re: [sympa-users] Message::new() Cannot open message file ... Permission,
David Verdin, 11/18/2008
-
Re: [sympa-users] Message::new() Cannot open message file ... Permission,
Simon Taylor, 11/18/2008
- Re: [sympa-users] Message::new() Cannot open message file ... Permission, Simon Taylor, 11/19/2008
-
Re: [sympa-users] Message::new() Cannot open message file ... Permission,
David Verdin, 11/19/2008
-
Re: [sympa-users] Message::new() Cannot open message file ... Permission,
Simon Taylor, 11/19/2008
- Re: [sympa-users] Message::new() Cannot open message file ... Permission, Thomas Berry, 11/19/2008
-
Re: [sympa-users] Message::new() Cannot open message file ... Permission,
Simon Taylor, 11/19/2008
-
Re: [sympa-users] Message::new() Cannot open message file ... Permission,
Simon Taylor, 11/19/2008
-
Re: [sympa-users] Message::new() Cannot open message file ... Permission,
Muhammed Sameer, 11/20/2008
- Re: [sympa-users] Message::new() Cannot open message file ... Permission, Simon Taylor, 11/20/2008
-
Re: [sympa-users] Message::new() Cannot open message file ... Permission,
Muhammed Sameer, 11/20/2008
-
Re: [sympa-users] Message::new() Cannot open message file ... Permission,
Simon Taylor, 11/19/2008
-
Re: [sympa-users] Message::new() Cannot open message file ... Permission,
Simon Taylor, 11/19/2008
-
Re: [sympa-users] Message::new() Cannot open message file ... Permission,
Simon Taylor, 11/18/2008
-
Re: [sympa-users] Message::new() Cannot open message file ... Permission,
David Verdin, 11/18/2008
Archive powered by MHonArc 2.6.19+.