[MDEV-6587] Problem starting on FreeBSD Created: 2014-08-14  Updated: 2014-08-16  Due: 2014-09-16  Resolved: 2014-08-16

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: 5.5.38-galera
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Goran Tepsic Assignee: Unassigned
Resolution: Not a Bug Votes: 0
Labels: None
Environment:

FreeBSD 10-RELEASE-p7 amd64, jailed



 Description   

Just set up a dedicated database jail running databases/mariadb55-server port and for some reason it won't start on demand nor on boot.

  1. service mysql-server start
    Starting mysql.
    /usr/sbin/daemon: Permission denied
    /usr/local/etc/rc.d/mysql-server: WARNING: failed to start mysql

Could anyone help debug?



 Comments   
Comment by Elena Stepanova [ 2014-08-16 ]

You should start by locating your MariaDB server error log and checking its contents. Typically, the error log would be either a separate file in the datadir, or written into syslog or its analogue. Find the log, try to start the service, wait till it fails, copy-paste all new contents of the log.

Comment by Goran Tepsic [ 2014-08-16 ]

Seems the problem were the basejail permissions. One of directories had a bit tighter permissions and after i made the more sane and restarted jails mariadb service started and works as intended.

Learnt a valuable lesson today.
Thanks for your help though!

Generated at Thu Feb 08 07:13:02 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.