Read-only error (YottaDB 2.06)

70 views
Skip to first unread message

ed de moel

unread,
Jul 13, 2026, 2:49:19 PM (14 days ago) Jul 13
to Everything MUMPS
I'm setting up a new system, and I'm getting this error (sporadically):

%YDB-E-RELINKCTLERR, Error with relink control structure for $ZROUTINES directory /home/ed-de-moel/.yottadb/r2.06_x86_64/o/utf8
%YDB-E-SYSCALL, Error received from system call open() of file /home/ed-de-moel/tmp/ydb-relinkctl-824f1181488ffb2d944d488bf289d42c failed -- called from module /Distrib/YottaDB/R206/sr_unix/relinkctl.c at line 357
%SYSTEM-E-ENO30, Read-only file system


Seems pretty straight-forward: it seems to tell me that I need to have write permission for that directory, but:

ed-de-moel@WebGlyph:~$ ls -ltrA /home/ed-de-moel/.yottadb/r2.06_x86_64/o
total 4
drwxrwxrwx 2 ed-de-moel ed-de-moel 4096 Jul 12 00:11 utf8
ed-de-moel@WebGlyph:~$


that directory has write permission (maybe even for too many people)...
What am I missing?

Thanks in advance,
Ed

Shane Dewitt

unread,
Jul 13, 2026, 3:14:40 PM (14 days ago) Jul 13
to ed de moel, Everything MUMPS
It is talking about your filesystem being mounted Read only not the directory. This typically happens after a crash.

mount -v
/dev/sda2 on /boot type ext4 (ro,relatime,seclabel,stripe=64,data=ordered)

Look for a filesystem that is mounted readonly. Remount the read only filesystem as read/write. Example:

sudo mount -o remount,rw /dev/sda2 /boot

If your root (/) filesystem is readonly, you will have to reboot. 



--
You received this message because you are subscribed to the Google Groups "Everything MUMPS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to everythingmum...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/everythingmumps/3771ab5c-cd9e-4bc5-ba1b-180118aadfaan%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ed de Moel

unread,
Jul 13, 2026, 3:24:57 PM (14 days ago) Jul 13
to Shane Dewitt, ed de moel, Everything MUMPS

I'm afraid not...

It works fine when I'm using the command line interface,
It only happens in background processes started by apache

But I did try that too, at first....

--
Ed de Moel
--
**************************************************************
This electronic mail transmission contains confidential and/or
privileged information intended only for the person(s) named.
Any use, distribution, copying or disclosure by another person
is strictly prohibited.
**************************************************************

Virus-free.www.avg.com

Shane Dewitt

unread,
Jul 13, 2026, 5:58:04 PM (14 days ago) Jul 13
to Ed de Moel, ed de moel, Everything MUMPS
Is selinux enforcing? If so that is probably the culprit.

Sent from my iPhone

On Jul 13, 2026, at 3:24 PM, Ed de Moel <dem...@jacquardsystems.com> wrote:



Ed de Moel

unread,
Jul 13, 2026, 8:18:23 PM (13 days ago) Jul 13
to Shane Dewitt, ed de moel, Everything MUMPS

Running Ubuntu...

Trying this anyway, but doesn't seem to be it.

Thanks anyway,
Ed

Shane Dewitt

unread,
Jul 13, 2026, 9:58:54 PM (13 days ago) Jul 13
to Ed de Moel, ed de moel, Everything MUMPS

What did sestatus say?

 

Image removed by sender.

Virus-free.www.avg.com

Ed de Moel

unread,
Jul 14, 2026, 11:40:46 AM (13 days ago) Jul 14
to Shane Dewitt, ed de moel, Everything MUMPS

sestatus tells me selinux is disabled

Shane Dewitt

unread,
Jul 15, 2026, 4:04:25 PM (12 days ago) Jul 15
to Ed de Moel, ed de moel, Everything MUMPS
Hi Ed,

What are the permissions on this directory?

/home/ed-de-moel/tmp/

Jens Wulf

unread,
Jul 17, 2026, 5:40:05 AM (10 days ago) Jul 17
to Everything MUMPS
This sounds like the apache user (www-data?) has not write-rights on one or more of the needed files.
maybe sudo usermod -aG ed-de-moel www-data helps

K.S. Bhaskar

unread,
Jul 17, 2026, 12:00:21 PM (10 days ago) Jul 17
to Everything MUMPS
Ed -

Some questions:

  • What is the output of: ls -ld /home/ed-de-moel/ /home/ed-de-moel/.yottadb/
  • What are the uid and gid of the process reporting the error?

Regards
- Bhaskar

ed de moel

unread,
Jul 17, 2026, 2:33:13 PM (10 days ago) Jul 17
to Everything MUMPS

All: thanks for the suggestions.
The issue had nothing to do with YottaDB or Linux,
the computer I used had a faulty memory.

I'm using a different computer now, and all works as expected.

Thanks again,
Ed

Reply all
Reply to author
Forward
0 new messages