Re: F27 - mariadb won't start after upgrade from F26

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

 



On 11/14/2017 04:17 PM, SternData wrote:
> So, with F26, all was happy. Now, not so much.
> 
> # systemctl start mariadb
> Job for mariadb.service failed because the control process exited with
> error code.
> See "systemctl  status mariadb.service" and "journalctl  -xe" for details.
> [root@sds-desk lib]# systemctl status mariadb.service
> ● mariadb.service - MariaDB 10.2 database server
>    Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled;
> vendor preset: disabled)
>    Active: failed (Result: exit-code) since Tue 2017-11-14 16:13:38 CST;
> 2s ago
>   Process: 10961 ExecStart=/usr/libexec/mysqld --basedir=/usr
> $MYSQLD_OPTS $_WSREP_NEW_CLUSTER (code=exited, status=1/FAILURE)
>   Process: 10924 ExecStartPre=/usr/libexec/mysql-prepare-db-dir
> mariadb.service (code=exited, status=0/SUCCESS)
>   Process: 10899 ExecStartPre=/usr/libexec/mysql-check-socket
> (code=exited, status=0/SUCCESS)
>  Main PID: 10961 (code=exited, status=1/FAILURE)
>    Status: "Starting final batch to recover 7 pages from redo log"
> 
> Nov 14 16:13:37 sds-desk.local mysql-check-socket[10899]: Socket file
> /var/lib/mysql/mysql.sock exists.
> Nov 14 16:13:37 sds-desk.local mysql-check-socket[10899]: No process is
> using /var/lib/mysql/mysql.sock, which means it is a garbage, so it will
> be removed automatically.
> Nov 14 16:13:37 sds-desk.local mysql-prepare-db-dir[10924]: Database
> MariaDB is probably initialized in /var/lib/mysql already, nothing is done.
> Nov 14 16:13:37 sds-desk.local mysql-prepare-db-dir[10924]: If this is
> not the case, make sure the /var/lib/mysql is empty before running
> mysql-prepare-db-dir.
> Nov 14 16:13:37 sds-desk.local mysqld[10961]: 2017-11-14 16:13:37
> 140577406647552 [Note] /usr/libexec/mysqld (mysqld 10.2.9-MariaDB)
> starting as process 10961 ...
> Nov 14 16:13:37 sds-desk.local mysqld[10961]: 2017-11-14 16:13:37
> 140577406647552 [Warning] Changed limits: max_open_files: 1024
> max_connections: 151  table_cache: 431
> Nov 14 16:13:38 sds-desk.local systemd[1]: mariadb.service: Main process
> exited, code=exited, status=1/FAILURE
> Nov 14 16:13:38 sds-desk.local systemd[1]: Failed to start MariaDB 10.2
> database server.
> Nov 14 16:13:38 sds-desk.local systemd[1]: mariadb.service: Unit entered
> failed state.
> Nov 14 16:13:38 sds-desk.local systemd[1]: mariadb.service: Failed with
> result 'exit-code'.
> 

The log says it seems to be an error with "max_open_files"

2017-11-14 16:31:19 140687694683392 [Note] InnoDB: Setting file
'./ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2017-11-14 16:31:19 140687694683392 [Note] InnoDB: File './ibtmp1' size
is now 12 MB.
2017-11-14 16:31:19 140687694683392 [Note] InnoDB: Waiting for purge to
start
2017-11-14 16:31:19 140687694683392 [Note] InnoDB: 5.7.19 started; log
sequence number 2762959954
2017-11-14 16:31:19 140686393329408 [Note] InnoDB: Loading buffer
pool(s) from /var/lib/mysql/ib_buffer_pool
2017-11-14 16:31:19 140686393329408 [Note] InnoDB: Buffer pool(s) load
completed at 171114 16:31:19
2017-11-14 16:31:19 140687694683392 [Note] Plugin 'FEEDBACK' is disabled.
2017-11-14 16:31:19 140687694683392 [ERROR] /usr/libexec/mysqld: unknown
variable 'max_open_files=2048'
2017-11-14 16:31:19 140687694683392 [ERROR] Aborting


-- 
-- Steve
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux