Re: mysql-server-4.1.0_1 refuse to start on 5.1

2003-07-18 Thread Mats Larsson

perms on var:

marvin# ls -la / | grep var
drwxr-xr-x  20 root  wheel   512 Jul 16 20:51 var

Getting the same error even if a do a chmod 777 on /var, guess something
is fucked up totaly.

the server is started from the default script in /usr/local/etc/rc.d/
which starts the db with --user=mysql

// Mats

On Fri, 18 Jul 2003, Jez Hancock wrote:

 On Fri, Jul 18, 2003 at 01:10:34AM +0200, Mats Larsson wrote:
 
  Hello!
  MySQL on my server just refuse to start with the following error, the
  permission is what i se set correctly, anyone got a clue??
  marvin# ls -la /var/db/ | grep mysql
  drw---   2 mysql mysql  512 Jul 18 01:03 mysql
 What are the perms on /var ?  Is the mysqld definitely running as
 'mysql'?
 --
 Jez

 http://www.munk.nu/
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mysql-server-4.1.0_1 refuse to start on 5.1

2003-07-18 Thread Vitali Malicky
after you inittialized the mysql.* tables do
chown -R mysqluser:mysqlgroup /path/to/mysqldatadir
and read REDME and INSTALL before you install something :)

--
Error Code=-1 Continue?
  Yes | No
--




 Hello!
 MySQL on my server just refuse to start with the following error, the
 permission is what i se set correctly, anyone got a clue??

 // Mats

 marvin# cat marvin.err
 030718 01:03:21  mysqld started
 030718  1:03:21  bdb:  /var/db/mysql: Permission denied
 030718  1:03:21  bdb:  /var/db/mysql/log.01: Permission denied
 030718  1:03:21  bdb:  PANIC: Permission denied
 030718  1:03:21  bdb:  PANIC: DB_RUNRECOVERY: Fatal error, run database
 recovery
 030718  1:03:21  bdb:  fatal region error detected; run recovery
 030718  1:03:21  bdb:  /var/db/mysql: Permission denied
 030718  1:03:21  Can't init databases
 030718  1:03:21  Aborting

 030718  1:03:21  /usr/local/libexec/mysqld: Shutdown Complete

 030718 01:03:21  mysqld ended

 marvin# ls -la /var/db/ | grep mysql
 drw---   2 mysql mysql  512 Jul 18 01:03 mysql

 marvin# pw usershow mysql
 mysql:*:88:88::0:0:MySQL Daemon:/var/db/mysql:/sbin/nologin

 marvin# pw groupshow mysql
 mysql:*:88:

 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mysql-server-4.1.0_1 refuse to start on 5.1

2003-07-18 Thread Jez Hancock
On Fri, Jul 18, 2003 at 09:07:29AM +0200, Mats Larsson wrote:
 
 perms on var:
 
 marvin# ls -la / | grep var
 drwxr-xr-x  20 root  wheel   512 Jul 16 20:51 var
 
 Getting the same error even if a do a chmod 777 on /var, guess something
 is fucked up totaly.
 
 the server is started from the default script in /usr/local/etc/rc.d/
 which starts the db with --user=mysql
MySQL 4.1 is still in alpha so perhaps it's better to use 4.0 for now?
We're using it with no problems on fbsd 5.0.
-- 
Jez

http://www.munk.nu/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mysql-server-4.1.0_1 refuse to start on 5.1

2003-07-17 Thread Jez Hancock
On Fri, Jul 18, 2003 at 01:10:34AM +0200, Mats Larsson wrote:
 
 Hello!
 MySQL on my server just refuse to start with the following error, the
 permission is what i se set correctly, anyone got a clue??
 marvin# ls -la /var/db/ | grep mysql
 drw---   2 mysql mysql  512 Jul 18 01:03 mysql
What are the perms on /var ?  Is the mysqld definitely running as
'mysql'?
-- 
Jez

http://www.munk.nu/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]