I have upgraded a clean install of debian 7 to 9 (stretch) in a VPS, after upgraded I have installed mariadb-server-10.1.37, but mariadb doesn't start, the output from systemctl status mariadb.service is:
root@xxxxxx:/etc/systemd/system# systemctl status mariadb.service * mariadb.service - MariaDB 10.1.37 database server Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Sat 2019-01-18 00:56:28 CET; 7s ago Docs: man:mysqld(8) https://mariadb.com/kb/en/library/systemd/ Process: 6183 ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld (code=exited, status=226/NAMESPACE)
ene 18 00:56:28 xxxxx.server.info install: mariadb.service: Failed at step NAMESPACE spawning /usr/bin/install: Value too large for defined data type
I have googled for this problem but I don't find any solution to solve it.
If i run mysqld --verbose, it seems to be ok, the output is:
2019-01-18 1:11:22 140380893467072 [Note] mysqld (mysqld 10.1.37-MariaDB-0+deb9u1) starting as process 6297 ...
On Sat, Jan 19, 2019 at 08:52:13AM +0100, Jose Velasco wrote:
> It's true, I did an upgrade 7 to 8 and after 8 to 9.
> the output of uname -a:
> Linux xxxxx-server.info 3.2.41-042stab127.2 #1 SMP Thu Jan 4 16:41:44 MSK
> 2018 x86_64 GNU/Linux
> I suppose that it is a custom kernel by VPS provider.
OpenVZ, to be precise ("stab" is a dead giveaway). You're lucky yours
is so new!
greg@remote:~$ uname -a
Linux remote 2.6.32-042stab127.2 #1 SMP Thu Jan 4 16:41:44 MSK 2018 i686 GNU/Linux