473,408 Members | 1,938 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,408 software developers and data experts.

start...error

I installed and started MySQL on Mandriva 10.x and get an "Error" on
screen after a series of "." appears. Where to look for the log?

Sep 27 '05 #1
13 2256
sa************@hotmail.com wrote:
I installed and started MySQL on Mandriva 10.x and get an "Error" on
screen after a series of "." appears. Where to look for the log?


/var/log/mysql ?
Sep 27 '05 #2
Oh, I do not have that directory in /var/log. What can I do?

Aggro wrote:
sa************@hotmail.com wrote:
I installed and started MySQL on Mandriva 10.x and get an "Error" on
screen after a series of "." appears. Where to look for the log?


/var/log/mysql ?


Sep 27 '05 #3
sa************@hotmail.com wrote:
Oh, I do not have that directory in /var/log. What can I do?


How did you install it? Did you use Mandriva package manager or did you
download it from MySQL website?
Sep 27 '05 #4
sa************@hotmail.com wrote:
Oh, I do not have that directory in /var/log. What can I do?


Do you have any files there? Like /var/log/mysql.err or /var/log/mysql.log?
Sep 27 '05 #5
I downloaded and followed instruction file.
No mysql files in the var/log/ directory.

Sep 27 '05 #6
sa************@hotmail.com wrote:
I downloaded and followed instruction file.
No mysql files in the var/log/ directory.


Some MySQL RPM's are configured to put the log files under /var/lib/mysql.

The issue you described, a bunch of "." one per second, and then a
failure to start MySQL, is very similar to the installation issue I was
working on yesterday, on Redhat Enterprise Linux 4.

The solution in my case was found in the last user comment on this page:
http://dev.mysql.com/doc/mysql/en/linux-rpm.html

If you run a Linux server with SELinux enhancements, you cannot start
the MySQL service, or connect to a running MySQL instance. The security
enforcement of SELinux apparently prevents creations of the needed
runtime files.

To solve this, disable SELinux by running the following command as root:

# setenforce 0

It's possible that you can re-enable it after starting the MySQL
service, but I found that if I tried that, I couldn't make local
connections to databases with SELinux enabled.

# setenforce 1

I hope this is relevant to your situation. I know you said you are
using Mandriva Linux, not RHEL, but Mandriva also has some support for
SELinux.

Regards,
Bill K.
Sep 27 '05 #7
sa************@hotmail.com wrote:
I downloaded and followed instruction file.
No mysql files in the var/log/ directory.


Since you don't seem to have skills to install it manually. Is there a
reason why you don't use package manager instead?

Anyway, it is quite hard for me to help without knowing what you have
done, in what condition your system currently is and what you have tried
to start the server. It would propably be hard even if your computer
would be in front of me. But personally, I have always installed MySQL
using the package manager and I have never had a single problem on any
distribution I have tried.
Sep 27 '05 #8
I was not aware that installing it manually was such a big deal, I mean
I just followed the commands in the install file. I am not experienced
at using Linux, I have installed a few things using ./configure etc.
I was not aware that going about an installation this way excluded
package management, I mean why does not the installation register
itself with the package manager?

My Linux install is quite fresh so it is unlikely there is anything
wrong with it.

OK, I try and download the package files for it instead.

Sep 27 '05 #9
BTW, I am using Mandriva, at this stage I don't know if there are any
suitable RPMs.

Sep 27 '05 #10
OK, I got RPM file and ran it with "rpm -i"
I got several errors reported the 1st 2 were...

Warning: Asked for 196608 thread stack, but got
126976
/usr/sbin/mysqld: Can't read dir of '/root/tmp/' (Errcode: 13)

.... then at the end I get the same dots and "Error" as before.

Sep 28 '05 #11
I installed and started MySQL with rpm command, switch -i and get
various errors...
* "asked for 196608 thread stack and got 126976"
* "can't read dir of root/tmp/ Errorcode 13"
* same old "Error" appears on screen after a series of "."

Sep 28 '05 #12
sa************@hotmail.com wrote:
I installed and started MySQL with rpm command, switch -i and get
various errors...
* "asked for 196608 thread stack and got 126976"
* "can't read dir of root/tmp/ Errorcode 13"
* same old "Error" appears on screen after a series of "."


I'm not sure if I know how to help you since I have never seen errors
like that. I'm running Ubuntu and this is what I did to install MySQL:

1. Open command line and login as root
2. Run these two commands:
apt-get update
apt-get install mysql-server

I think it asked few questions after that. Like do you want to start the
server automaticly on startup etc. But that is pretty much it. Since I
don't have experience in Mandriva I would guess that some Mandriva
related newsgroup would be much more of a help than I am to advice you
how to install it there.
Sep 28 '05 #13
I installed it OK with RPMs instead.

Sep 30 '05 #14

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

Similar topics

0
by: Jeff Reed | last post by:
I am experiencing the the problem outlined the below. Unfortunately, I am using WinXP and I not sure if I can apply the solution due to lack of security control Any feed back would be apreciated ...
16
by: Serdar Kalaycý | last post by:
Hi everybody, My problem seems a bit clichè but I could not work around. Well I read lots of MSDN papers and discussions, but my problem is a bit different from them. When I tried to run the...
5
by: Bruce Schechter | last post by:
I just started to develop an ASP.NET application in vs.net 2003 . But each time I try to execute the application (which is basically empty so far), I get a dialog box titled "Microsoft Development...
9
by: Tim D | last post by:
Hi, I originally posted this as a reply to a rather old thread in dotnet.framework.general and didn't get any response. I thought it might be more relevant here; anyone got any ideas? My...
6
by: Joe | last post by:
C# .NET 2.0 I've got a Windows Service that works exactly as I expect it to. However, it does rely on a few Configuration settings. If the customer doesn't configure it correctly, the service...
7
by: shai | last post by:
I am working at .net 1.1, writing in c#. I have windows service with a COM object. Every unexpected time The COM object throw an error that make my service get stuck (do not respond). I can catch...
0
by: sauce | last post by:
Hi, Hm this error has gotten me really frustrated....I wrote a cgi script implementing threads using the threading module, but ran into these errors from my web server: Exception in thread...
0
by: Shalako | last post by:
Today was this second time this happened. It occured at 12:00AM on 7/14 and today 7/18 according to the application event viewer. The event viewer error says: The Apache service named reported...
1
by: stemp1ar | last post by:
I am wondering if it possible to open a single process and run multiple commands on that process and check standard error and standard out after each command? Has anyone done something similar...
1
by: =?Utf-8?B?SkQ=?= | last post by:
ok, I got a windows xp home edition computer from my friend, it is a custom made one. The windows xp is an OEM product, so microsoft is willing to charge me $59 to tell me how to fix it since its...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.