473,378 Members | 1,368 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

What's Wrong

Could someone please tell me what the problem is? This is what I'm
getting from the logs:
060119 21:04:43 mysqld started
060119 21:04:43 [ERROR] bdb: /opt/mysql: Permission denied
060119 21:04:43 [ERROR] bdb: /opt/mysql/log.0000000001: Permission denied
060119 21:04:43 [ERROR] bdb: PANIC: Permission denied
060119 21:04:43 [ERROR] bdb: PANIC: DB_RUNRECOVERY: Fatal error, run
database recovery
060119 21:04:43 [ERROR] bdb: fatal region error detected; run recovery
060119 21:04:43 [ERROR] bdb: /opt/mysql: Permission denied
060119 21:04:44 InnoDB: Started; log sequence number 0 46747
060119 21:04:44 [ERROR] Can't init databases
060119 21:04:44 [ERROR] Aborting

060119 21:04:44 InnoDB: Starting shutdown...
060119 21:04:46 InnoDB: Shutdown completed; log sequence number 0 46747
060119 21:04:46 [Note] /usr/libexec/mysqld: Shutdown complete

060119 21:04:46 mysqld ended
It's obviously a permission problem, but opt/mysql is set as user mysql
with group mysql
Jan 20 '06 #1
2 2941
Christopher Smith wrote:
Could someone please tell me what the problem is? This is what I'm
getting from the logs:
060119 21:04:43 mysqld started
060119 21:04:43 [ERROR] bdb: /opt/mysql: Permission denied
060119 21:04:43 [ERROR] bdb: /opt/mysql/log.0000000001: Permission denied
060119 21:04:43 [ERROR] bdb: PANIC: Permission denied
060119 21:04:43 [ERROR] bdb: PANIC: DB_RUNRECOVERY: Fatal error, run
database recovery
060119 21:04:43 [ERROR] bdb: fatal region error detected; run recovery
060119 21:04:43 [ERROR] bdb: /opt/mysql: Permission denied
060119 21:04:44 InnoDB: Started; log sequence number 0 46747
060119 21:04:44 [ERROR] Can't init databases
060119 21:04:44 [ERROR] Aborting

060119 21:04:44 InnoDB: Starting shutdown...
060119 21:04:46 InnoDB: Shutdown completed; log sequence number 0 46747
060119 21:04:46 [Note] /usr/libexec/mysqld: Shutdown complete

060119 21:04:46 mysqld ended
It's obviously a permission problem, but opt/mysql is set as user mysql
with group mysql

I've sort of narrowed it down...mysqld_safe will run as --user=root,
just not as mysql. Please advise.
Jan 20 '06 #2
Christopher Smith wrote:
Christopher Smith wrote:
Could someone please tell me what the problem is? This is what I'm
getting from the logs:
060119 21:04:43 mysqld started
060119 21:04:43 [ERROR] bdb: /opt/mysql: Permission denied
060119 21:04:43 [ERROR] bdb: /opt/mysql/log.0000000001: Permission
denied
060119 21:04:43 [ERROR] bdb: PANIC: Permission denied
060119 21:04:43 [ERROR] bdb: PANIC: DB_RUNRECOVERY: Fatal error, run
database recovery
060119 21:04:43 [ERROR] bdb: fatal region error detected; run recovery
060119 21:04:43 [ERROR] bdb: /opt/mysql: Permission denied
060119 21:04:44 InnoDB: Started; log sequence number 0 46747
060119 21:04:44 [ERROR] Can't init databases
060119 21:04:44 [ERROR] Aborting

060119 21:04:44 InnoDB: Starting shutdown...
060119 21:04:46 InnoDB: Shutdown completed; log sequence number 0 46747
060119 21:04:46 [Note] /usr/libexec/mysqld: Shutdown complete

060119 21:04:46 mysqld ended
It's obviously a permission problem, but opt/mysql is set as user
mysql with group mysql

I've sort of narrowed it down...mysqld_safe will run as --user=root,
just not as mysql. Please advise.

Never mind ... figured it out. I overrode permissions on the datadir.
Jan 20 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

125
by: Sarah Tanembaum | last post by:
Beside its an opensource and supported by community, what's the fundamental differences between PostgreSQL and those high-price commercial database (and some are bloated such as Oracle) from...
5
by: titan0111 | last post by:
#include<iostream> #include<iomanip> #include<cstring> #include<fstream> using namespace std; class snowfall { private: int ft;
72
by: E. Robert Tisdale | last post by:
What makes a good C/C++ programmer? Would you be surprised if I told you that it has almost nothing to do with your knowledge of C or C++? There isn't much difference in productivity, for...
121
by: typingcat | last post by:
First of all, I'm an Asian and I need to input Japanese, Korean and so on. I've tried many PHP IDEs today, but almost non of them supported Unicode (UTF-8) file. I've found that the only Unicode...
28
by: Madhur | last post by:
Hello what about this nice way to open a file in single line rather than using if and else. #include<stdio.h> void main() { FILE *nd; clrscr();...
56
by: Cherrish Vaidiyan | last post by:
Frinds, Hope everyone is doing fine.i feel pointers to be the most toughest part in C. i have just completed learning pointers & arrays related portions. I need to attend technical interview on...
46
by: Keith K | last post by:
Having developed with VB since 1992, I am now VERY interested in C#. I've written several applications with C# and I do enjoy the language. What C# Needs: There are a few things that I do...
13
by: Jason Huang | last post by:
Hi, Would someone explain the following coding more detail for me? What's the ( ) for? CurrentText = (TextBox)e.Item.Cells.Controls; Thanks. Jason
9
by: Pyenos | last post by:
import cPickle, shelve could someone tell me what things are wrong with my code? class progress: PROGRESS_TABLE_ACTIONS= DEFAULT_PROGRESS_DATA_FILE="progress_data" PROGRESS_OUTCOMES=
3
by: Siong.Ong | last post by:
Dear all, my PHP aims to update a MySQL database by selecting record one by one and modify then save. Here are my PHP, but I found that it doesnt work as it supposed to be, for example, when...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.