booga |
05-11-2006 01:24 PM |
this is all the contents of the file in /usr/local/mysql/data/workx.err
This includes some logged errors from other attempts.
From the last half, it appears to be running, I'm not sure what the log is telling me.
Linux is fairly new to me, MYSQL is beyond that. :-)
Code:
060509 04:39:05 mysqld started
060509 4:39:05 InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: 'create'.
InnoDB: Cannot continue operation.
060509 04:39:05 mysqld ended
060510 00:47:45 mysqld started
/usr/mysql/mysql/bin/mysqld: Too many arguments (first extra is '.user=mysql').
Use --help to get a list of available options
060510 00:47:45 mysqld ended
060510 00:50:50 mysqld started
/usr/mysql/mysql/bin/mysqld: Too many arguments (first extra is '.user=mysql').
Use --help to get a list of available options
060510 00:50:50 mysqld ended
060510 00:54:11 mysqld started
/usr/mysql/mysql/bin/mysqld: Too many arguments (first extra is '.user=mysql').
Use --help to get a list of available options
060510 00:54:11 mysqld ended
060510 00:54:24 mysqld started
/usr/mysql/mysql/bin/mysqld: Too many arguments (first extra is '.user=mysql').
Use --help to get a list of available options
060510 00:54:24 mysqld ended
060510 01:10:22 mysqld started
/usr/mysql/mysql/bin/mysqld: Too many arguments (first extra is '.user=mysql').
Use --help to get a list of available options
060510 01:10:22 mysqld ended
060510 01:10:49 mysqld started
/usr/mysql/mysql/bin/mysqld: Too many arguments (first extra is '.user=mysql').
Use --help to get a list of available options
060510 01:10:49 mysqld ended
060510 13:18:53 mysqld started
InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a new database to be created!
060510 13:18:54 InnoDB: Setting file ./ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
060510 13:18:58 InnoDB: Log file ./ib_logfile0 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
060510 13:19:00 InnoDB: Log file ./ib_logfile1 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile1 size to 5 MBStatus information:
Current dir: /usr/mysql/mysql/data/
Running threads: 0 Stack size: 196608
Current locks:
lock: 0x8a7b774:
lock: 0x8a763dc:
lock: 0x8a71be4:
lock: 0x8a6487c:
lock: 0x8a61914:
lock: 0x8a5cb9c:
Key caches:
default
Buffer_size: 8388600
Block_size: 1024
Division_limit: 100
Age_limit: 300
blocks used: 0
not flushed: 0
w_requests: 0
writes: 0
r_requests: 0
reads: 0
handler status:
read_key: 0
read_next: 0
read_rnd 0
read_first: 3
write: 0
delete 0
update: 0
Table status:
Opened tables: 12
Open tables: 6
Open files: 12
Open streams: 0
Alarm status:
Active alarms: 0
Max used alarms: 0
Next alarm time: 0
A mysqld process already exists at Wed May 10 20:21:42 UTC 2006
A mysqld process already exists at Wed May 10 20:22:35 UTC 2006
A mysqld process already exists at Thu May 11 10:13:01 UTC 2006
As I am digging around, I find a post suggestingto make sure that MYSQLD is started.
Code:
$ /usr/local/mysql/bin/mysqld
060511 14:43:46 [Warning] Can't create test file /usr/local/mysql-standard-5.0.21-linux-i686-glibc23/data/workx.lower-test
/usr/local/mysql/bin/mysqld: Can't change dir to '/usr/local/mysql-standard-5.0.21-linux-i686-glibc23/data/' (Errcode: 13)
060511 14:43:46 [ERROR] Aborting
060511 14:43:46 [Note] /usr/local/mysql/bin/mysqld: Shutdown complete
It appears to be some kind of issue with permissions. But I'm not sure what file or folder. And what permissions to set.
I checked the following folder for permissions
/var/lib/mysql drwxr-x--- 4 mysql mysql 248 2006-05-10 01:44
|