[Mailman-Users] Read-only file system

2024-07-01 Thread John
We're attempting to install mailman on our new server. It's been running 
happily on our old one for years.
This server is running Oracle 9 RHEL Linux. It uses postfix for its MTA. We 
built mailman 2. 1.39 from source, with the options ./configure 
--with-cgi-gid=apache –with-mail-gid=nobody .
If someone subscribes to our mailing list, mailman will successfully send a 
confirmation message.
Messages posted to the list, however, fail with:

Command died with status 1:
"/usr/local/mailman/mail/mailman post newsletter". Command output:
Traceback (most recent call last): File
"/usr/local/mailman/scripts/post", line 69, in  main() File
"/usr/local/mailman/scripts/post", line 64, in main tolist=1,
_plaintext=1) File "/usr/local/mailman/Mailman/Queue/Switchboard.py",
line 136, in enqueue fp = open(tmpfile, 'w') IOError: [Errno 30]
Read-only file system:
'/usr/local/mailman/qfiles/in/1719765141.057583+cb104828efdd0023821ead337d3d60f72e949690.pck.tmp'

Setting /usr/local/mailman/qfiles/in/ to have write permissions for all didn’t 
fix the problem.
Does anyone have any experience with this issue, and a suggestion as to how to 
resolve it? We’ve tried everything we can think of, and madness is setting in.
Thanks.
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/
Member address: arch...@mail-archive.com


[Mailman-Users] Re: Read-only file system

2024-07-01 Thread Carl Zwanzig

On 6/30/2024 5:27 PM, John wrote:


Setting /usr/local/mailman/qfiles/in/ to have write permissions for all didn’t 
fix the problem.


Have you run bin/check_perms? If not, that will flag all the permission 
problems; adding -f will fix them.


Later,

z!


--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
   https://mail.python.org/archives/list/mailman-users@python.org/
Member address: arch...@mail-archive.com


[Mailman-Users] Re: Read-only file system

2024-07-01 Thread Dmitri Maziuk

On 6/30/24 19:27, John wrote:


Does anyone have any experience with this issue, and a suggestion as to how to 
resolve it? We’ve tried everything we can think of, and madness is setting in.


What are you running on? "Read-only filesystem" with shell looking like 
everything's fine happens on dead drives and (more often) messed-up VM 
storage volumes. "Read-only" bit doesn't eve show up in `mount` when 
that happens, as I recall.


Dima

--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
   https://mail.python.org/archives/list/mailman-users@python.org/
Member address: arch...@mail-archive.com


[Mailman-Users] Re: Read-only file system

2024-07-01 Thread Mark Sapiro

On 6/30/24 17:27, John wrote:


line 136, in enqueue fp = open(tmpfile, 'w') IOError: [Errno 30]
Read-only file system:
'/usr/local/mailman/qfiles/in/1719765141.057583+cb104828efdd0023821ead337d3d60f72e949690.pck.tmp'

Setting /usr/local/mailman/qfiles/in/ to have write permissions for all didn’t 
fix the problem.



It is not clear what directory is the mount pount for this, but it is 
mounted read-only. No one, not even root, can write to it. Look at 
/etc/fstab


--
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
   https://mail.python.org/archives/list/mailman-users@python.org/
Member address: arch...@mail-archive.com


[Mailman-Users] Re: Read-only file system

2024-07-01 Thread Robert Heller
At Mon, 1 Jul 2024 12:45:11 -0700 Mark Sapiro  wrote:

>
> On 6/30/24 17:27, John wrote:
>
> > line 136, in enqueue fp = open(tmpfile, 'w') IOError: [Errno 30]
> > Read-only file system:
> > '/usr/local/mailman/qfiles/in/1719765141.057583+cb104828efdd0023821ead337d3d60f72e949690.pck.tmp'
> >
> > Setting /usr/local/mailman/qfiles/in/ to have write permissions for all 
> > didn’t fix the problem.
>
>
> It is not clear what directory is the mount pount for this, but it is
> mounted read-only. No one, not even root, can write to it. Look at
> /etc/fstab

If there was some sort of error, the file system would automatically be
re-mounted read-only.  Something like a power glitch, etc. can do this.  Also
a failing disk (sudden bad sector reads or writes).

>
> --
> Mark Sapiro The highway is for gamblers,
> San Francisco Bay Area, Californiabetter use your sense - B. Dylan
>
> --
> Mailman-Users mailing list -- mailman-users@python.org
> To unsubscribe send an email to mailman-users-le...@python.org
> https://mail.python.org/mailman3/lists/mailman-users.python.org/
> Mailman FAQ: http://wiki.list.org/x/AgA3
> Security Policy: http://wiki.list.org/x/QIA9
> Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
> https://mail.python.org/archives/list/mailman-users@python.org/
> Member address: hel...@deepsoft.com
>
>

--
Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software-- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
hel...@deepsoft.com   -- Webhosting Services

--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/
Member address: arch...@jab.org


[Mailman-Users] Re: Read-only file system

2024-07-01 Thread Steven Jones via Mailman-Users
Yes a disk "failure" is possible,

I recently had a Samsung 980 pro nvme drive runout of spare blocks (due to bad 
firmware), this made the file system readonly.

Run smartctl on the disk(s)  to check.


regards

Steven


From: Robert Heller 
Sent: Tuesday, 2 July 2024 8:21 am
To: Mark Sapiro 
Cc: mailman-users@python.org 
Subject: [Mailman-Users] Re: Read-only file system

At Mon, 1 Jul 2024 12:45:11 -0700 Mark Sapiro  wrote:

>
> On 6/30/24 17:27, John wrote:
>
> > line 136, in enqueue fp =en(tmpfile, 'w') IOError: [Errno 30]
> > Read-only file system:
> > '/usr/local/mailman/qfiles/in/1719765141.057583+cb104828efdd0023821ead337d3d60f72e949690.pck.tmp'
> >
> > Setting /usr/local/mailman/qfiles/in/ to have write permissions for all 
> > didnâEUR(tm)t fix the problem.
>
>
> It is not clear what directory is the mount pount for this, but it is
> mounted read-only. No one, not even root, can write to it. Look at
> /etc/fstab

If there was some sort of error, the file system would automatically be
re-mounted read-only.  Something like a power glitch, etc. can do this.  Also
a failing disk (sudden bad sector reads or writes).

>
> --
> Mark Sapiro The highway is for gamblers,
> San Francisco Bay Area, Californiabetter use your sense - B. Dylan
>
> --
> Mailman-Users mailing list -- mailman-users@python.org
> To unsubscribe send an email to mailman-users-le...@python.org
> https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.python.org%2Fmailman3%2Flists%2Fmailman-users.python.org%2F&data=05%7C02%7Csteven.jones%40vuw.ac.nz%7C854ca3d22ee94fee6d9808dc9a0cd701%7Ccfe63e236951427e8683bb84dcf1d20c%7C0%7C0%7C638554627167833322%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=ogMZWlOauOoLoMVcfdjkAbd31MmOW8fV7k9YFLZny74%3D&reserved=0
> Mailman FAQ: 
> https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.list.org%2Fx%2FAgA3&data=05%7C02%7Csteven.jones%40vuw.ac.nz%7C854ca3d22ee94fee6d9808dc9a0cd701%7Ccfe63e236951427e8683bb84dcf1d20c%7C0%7C0%7C638554627167844037%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=8tpu08ng90WCrxVLekk7ArywQyn9tOqPOzv3W4KJCUE%3D&reserved=0
> Security Policy: 
> https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.list.org%2Fx%2FQIA9&data=05%7C02%7Csteven.jones%40vuw.ac.nz%7C854ca3d22ee94fee6d9808dc9a0cd701%7Ccfe63e236951427e8683bb84dcf1d20c%7C0%7C0%7C638554627167851045%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=qyqhZvR8GPPZtF34Pw1svprYSYAFq6ZfKmRZGm3MyLs%3D&reserved=0
> Searchable Archives: 
> https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.mail-archive.com%2Fmailman-users%40python.org%2F&data=05%7C02%7Csteven.jones%40vuw.ac.nz%7C854ca3d22ee94fee6d9808dc9a0cd701%7Ccfe63e236951427e8683bb84dcf1d20c%7C0%7C0%7C638554627167855494%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=gu7twmNSX68pqL7lzO8%2FOAJDZ1OAPNhCwEbmEnrZU7Y%3D&reserved=0
> 
> https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.python.org%2Farchives%2Flist%2Fmailman-users%40python.org%2F&data=05%7C02%7Csteven.jones%40vuw.ac.nz%7C854ca3d22ee94fee6d9808dc9a0cd701%7Ccfe63e236951427e8683bb84dcf1d20c%7C0%7C0%7C638554627167859589%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=Xp9r6kY0SNCCPXOJ%2BWcSyOd%2FNxBXiNIt1ZxF8udHHIk%3D&reserved=0
> Member address: hel...@deepsoft.com
>
>

--
Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software-- Custom Software Services
https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.deepsoft.com%2F&data=05%7C02%7Csteven.jones%40vuw.ac.nz%7C854ca3d22ee94fee6d9808dc9a0cd701%7Ccfe63e236951427e8683bb84dcf1d20c%7C0%7C0%7C638554627167864182%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=qm4l7rMm9RxwLTB%2FT%2FtTqj7Iswnbn4nIiPsm5pqRCnY%3D&reserved=0
  -- Linux Administration Services
hel...@deepsoft.com   -- Webhosting Services

--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.