Thanks for the strace and logs!
It looks very much like the OS is refusing the MySQL daemon access to
the config file and datadir, even though the user can read them. Are
you perhaps using SELinux or apparmor? If you are, dmesg should tell
you what's going on.
Regards,
Norvald H. Ryeng
Forwarding issue to pkg-mysql-maint as requested by Robie Basak. If there are
any questions, feel free to ask.
Hey,
I have no glue why mysql refuses to start. Did you tried to copy the data dir
to tmp and try again?
Maybe mysql maintainer can help here, why mysqld doesn't want to start.
mysqld
Hey,
I have no glue why mysql refuses to start. Did you tried to copy the data dir
to tmp and try again?
Maybe mysql maintainer can help here, why mysqld doesn't want to start.
mysqld tells us, that the defaults-file and data dir is not accessable anymore
with the new version. But if we use ls
OK, good idea, this gets me a bit further:
USERNAME@HOST:~/.local/share/akonadi$ /usr/sbin/mysqld --defaults-
file=/tmp/mysql.conf --datadir=/home/USERNAME/.local/share/akonadi/db_data/ --
socket=/tmp/akonadi-USERNAME.gzrNgH/mysql.socket
161110 13:28:37 [Warning] Insecure configuration for --secur
Hey,
just try tp copy the file to /tmp/ and than try to start the server?
/usr/sbin/mysqld --defaults-file=/tmp/mysql.conf --datadir=[...]
maybe you have strange permission in one folder?
But mysqld is runas normal so if this user can read the file this
should be enough. Does 5.5.23 somehow a
When I run the same command using strace, I get
...
getcwd("/home/USERNAME/.local/share/akonadi", 510) = 34
stat("/home/USERNAME/.local/share/akonadi/mysql.conf", {st_mode=S_IFREG|0644,
st_size=3486, ...}) = 0
open("/home/USERNAME/.local/share/akonadi/mysql.conf", O_RDONLY) = -1 EACCES
(Permiss
Also, when I do
su mysql
I can read the file without problems, e.g. cat mysql.conf works.
signature.asc
Description: This is a digitally signed message part.
Hello,
> Test 14: ERROR
>
>
> Current Akonadi server error log found.
> Details: The Akonadi server reported errors during its current startup. The
> log can be found in href='/home/USERNAME/.local/share/akonadi/akonadiserver.error'>/home/USERNA
> ME/.local/share/akonadi/akonadiserver.
Package: akonadi-server
Version: 1.13.0-2+deb8u1
Followup-For: Bug #843534
I have added "secure_file_priv=" to ~/.local/share/akonadi/mysql.conf as
suggested in the original bug report. This did not help. I also added
this instruction to /etc/akonadi/mysql-global.conf.
Finally, I have created the
9 matches
Mail list logo