[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#843534: akonadi-server: Workarounds don't work



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 <USERNAME> so if this user can read the file this 
should be enough. Does 5.5.23 somehow also limit the paths to load defaults-
file from? Doesn't seems so from changelog

https://dev.mysql.com/doc/relnotes/mysql/5.5/en/news-5-5-53.html

Best regards,

sandro

--
Am Donnerstag, 10. November 2016, 12:51:59 CET schrieb Johannes Ranke:
> 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
> (Permission denied)
> write(2, "Could not open required defaults"..., 84Could not open required
> defaults file: /home/USERNAME/.local/share/akonadi/mysql.conf
> ) = 84
> write(2, "Fatal error in defaults handling"..., 50Fatal error in defaults
> handling. Program aborted
> ) = 50
> exit_group(1)                           = ?
> +++ exited with 1 +++

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: