[MDEV-3161] LP:564542 - Installation on FreeBSD 7.2 x86 Created: 2010-04-16  Updated: 2012-10-04  Resolved: 2012-10-04

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Petr (Inactive) Assignee: Unassigned
Resolution: Not a Bug Votes: 0
Labels: Launchpad

Attachments: XML File LPexportBug564542.xml    

 Description   

I have problem with latest stable mariadb-5.1.44
OS: FreeBSD 7.2 x86
Problem:
after "make install" /usr/bin/mysqld_safe --defaults-extra-file=/etc/mysql/my.cnf --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --syslog

log:
Apr 16 09:26:56 zoneadm mysqld: 100416 9:26:56 [ERROR] mysqld: File '/var/log/mysql/mariadb-bin.index' not found (Errcode: 13)
Apr 16 09:26:56 zoneadm mysqld: 100416 9:26:56 [ERROR] Aborting
Apr 16 09:26:56 zoneadm mysqld:
Apr 16 09:26:56 zoneadm mysqld: 100416 9:26:56 [Note] /usr/sbin/mysqld: Shutdown complete
Apr 16 09:26:56 zoneadm mysqld:
Apr 16 09:26:56 zoneadm mysqld_safe: mysqld from pid file /var/run/mysqld/mysqld.pid ended



 Comments   
Comment by Hakan Küçükyılmaz (Inactive) [ 2010-05-28 ]

Re: Installation on FreeBSD 7.2 x86
Hi Petr,

did you run mysql_install_db before trying to start your server?

Best regards,

Hakan

Comment by Hakan Küçükyılmaz (Inactive) [ 2010-05-28 ]

Re: Installation on FreeBSD 7.2 x86
Actually mysqld: File '/var/log/mysql/mariadb-bin.index' not found (Errcode: 13) also means

au0013:bin hakan$ perror 13
OS error code 13: Permission denied

You have a file system permissions issue. Please make sure that /var/log/mysql is owned by the user mysql and it has write and read access to it. For details check http://dev.mysql.com/doc/refman/5.1/en/quick-install.html for detailed permission settings.

Best regards,

Hakan

Comment by Petr (Inactive) [ 2010-05-28 ]

Re: [Bug 564542] Re: Installation on FreeBSD 7.2 x86
Hi, Hakan!

I ran chown mysql on /var/log/mysql, it's work

Thanks

2010/5/28 Hakan Küçükyılmaz <hakan@askmonty.org>

> Actually mysqld: File '/var/log/mysql/mariadb-bin.index' not found
> (Errcode: 13) also means
>
> au0013:bin hakan$ perror 13
> OS error code 13: Permission denied
>
> You have a file system permissions issue. Please make sure that
> /var/log/mysql is owned by the user mysql and it has write and read
> access to it. For details check http://dev.mysql.com/doc/refman/5.1/en
> /quick-install.html<http://dev.mysql.com/doc/refman/5.1/en%0A/quick-install.html>for detailed permission settings.
>
> Best regards,
>
> Hakan
>
> –
> Installation on FreeBSD 7.2 x86
> https://bugs.launchpad.net/bugs/564542
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Maria: Incomplete
>
> Bug description:
> I have problem with latest stable mariadb-5.1.44
> OS: FreeBSD 7.2 x86
> Problem:
> after "make install" /usr/bin/mysqld_safe
> --defaults-extra-file=/etc/mysql/my.cnf --user=mysql
> --pid-file=/var/run/mysqld/mysqld.pid --syslog
>
> log:
> Apr 16 09:26:56 zoneadm mysqld: 100416 9:26:56 [ERROR] mysqld: File
> '/var/log/mysql/mariadb-bin.index' not found (Errcode: 13)
> Apr 16 09:26:56 zoneadm mysqld: 100416 9:26:56 [ERROR] Aborting
> Apr 16 09:26:56 zoneadm mysqld:
> Apr 16 09:26:56 zoneadm mysqld: 100416 9:26:56 [Note] /usr/sbin/mysqld:
> Shutdown complete
> Apr 16 09:26:56 zoneadm mysqld:
> Apr 16 09:26:56 zoneadm mysqld_safe: mysqld from pid file
> /var/run/mysqld/mysqld.pid ended
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/maria/+bug/564542/+subscribe
>

Comment by Rasmus Johansson (Inactive) [ 2010-06-08 ]

Launchpad bug id: 564542

Generated at Thu Feb 08 06:46:44 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.