LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-22-2005, 10:40 AM   #1
ddaas
Member
 
Registered: Oct 2004
Location: Romania
Distribution: Ubuntu server, FreeBsd
Posts: 474

Rep: Reputation: 30
mysql installation problem


Hi,
I try to compile mysql-4.0.24 on my RHEL 3.
As root I run:./configure -localstatedir=/usr/local/mysql/data -disable-maintainer-mode -with-mysql-user=mysql -prefix=/usr/local/mysql -enable-large-files-without-debug

I get the following error:

050322 17:30:50 mysqld started
050322 17:30:51 InnoDB: Operating system error number 13 in a file operation.
InnoDB: See http://dev.mysql.com/doc/mysql/en/InnoDB.html
InnoDB: for installation help.
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.
050322 17:30:51 mysqld ended

I've already created the mysql user and group.

What I do wrong??


thanks,
ddaas
 
Old 03-22-2005, 12:47 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
It looks like the server doesn't have write access to the data directory. What do you get from:
ls -la /usr/local/mysql/data
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with my MySQL installation jabird Red Hat 12 03-07-2005 07:40 PM
Installation problem in MySQL mchithu Linux - Software 0 01-07-2005 08:25 AM
mysql installation problem. sixth_sense Linux - General 1 04-12-2004 07:57 AM
MySQL Installation Problem userini Linux - Software 2 07-12-2003 01:13 PM
MySQL 4.0.12 installation problem. Swift&Smart Linux - Software 10 04-07-2003 10:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration